﻿    :root{
      --bg0:#070812;
      --bg1:#0b0d1a;
      --text:#e9ecff;
      --muted:#a7add6;
      --radius:18px;
      --shadow: 0 16px 50px rgba(0,0,0,.55);
    }
    *{box-sizing:border-box}
    html,body{height:100%}
    body.page-home{
      margin:0;
      font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
      color:var(--text);
      background:
        radial-gradient(1200px 600px at 70% 10%, rgba(138,92,255,.30), transparent 60%),
        radial-gradient(900px 500px at 15% 35%, rgba(34,211,238,.18), transparent 55%),
        radial-gradient(900px 600px at 70% 70%, rgba(251,113,133,.10), transparent 60%),
        linear-gradient(180deg, var(--bg0), var(--bg1));
      overflow-x:hidden;
    }
    a{color:inherit; text-decoration:none}
    main.container{width:min(1200px, 92vw); margin:0 auto; padding-bottom:34px;}

    /* HERO */
    .hero{padding:26px 0 18px;}
    .hero-wrap{display:grid; grid-template-columns: 1.35fr .95fr; gap:16px; align-items:stretch;}
    .hero-card{
      position:relative; overflow:hidden;
      border-radius: calc(var(--radius) + 6px);
      background: linear-gradient(180deg, rgba(15,18,35,.85), rgba(8,9,20,.55));
      border:1px solid rgba(255,255,255,.08);
      box-shadow: var(--shadow);
      padding:28px;
      min-height: 360px;
    }
    .hero-card:before{
      content:""; position:absolute; inset:-2px;
      background:
        radial-gradient(800px 300px at 30% 15%, rgba(34,211,238,.22), transparent 60%),
        radial-gradient(800px 300px at 70% 35%, rgba(138,92,255,.25), transparent 55%),
        radial-gradient(600px 250px at 80% 85%, rgba(251,113,133,.12), transparent 60%);
      pointer-events:none;
    }
    .hero-content{position:relative; display:flex; flex-direction:column; gap:14px; height:100%;}
    .kicker{color:rgba(233,236,255,.85); font-weight:800; letter-spacing:.12em; text-transform:uppercase; font-size:12px;}
    .headline{
      font-size: clamp(30px, 3.3vw, 52px);
      line-height: 1.05; margin:0;
      font-weight:900; letter-spacing:-.02em;
    }
    .headline .accent{
      background: linear-gradient(90deg, rgba(34,211,238,1), rgba(138,92,255,1), rgba(251,113,133,.95));
      -webkit-background-clip:text; background-clip:text; color:transparent;
    }
    .sub{color:var(--muted); font-weight:650; max-width: 62ch; line-height:1.5; margin:0;}
    .hero-actions{display:flex; gap:10px; align-items:center; margin-top:auto; flex-wrap:wrap;}

    .btn{
      border:0; cursor:pointer; font-weight:900;
      padding:11px 14px; border-radius:14px;
      color:rgba(233,236,255,.95);
      background: rgba(255,255,255,.06);
      border:1px solid rgba(255,255,255,.10);
      transition:.15s ease;
      display:inline-flex; align-items:center; justify-content:center; gap:8px;
    }
    .btn:hover{transform:translateY(-1px); background: rgba(255,255,255,.08);}
    .btn-primary{
      background: linear-gradient(135deg, rgba(34,211,238,.95), rgba(138,92,255,.95));
      border:0; color:#091024;
      box-shadow: 0 18px 50px rgba(138,92,255,.28);
    }

    .case-art{
      position:absolute;
      right:-10px;
      bottom:-14px;
      width: 420px;
      height: 340px;
      pointer-events:none;
    }
    .case-art .glow{
      position:absolute;
      right: 40px;
      bottom: 30px;
      width: 320px;
      height: 260px;
      background:
        radial-gradient(circle at 30% 35%, rgba(34,211,238,.28), transparent 60%),
        radial-gradient(circle at 75% 55%, rgba(138,92,255,.30), transparent 62%),
        radial-gradient(circle at 60% 80%, rgba(251,113,133,.16), transparent 60%);
      filter: blur(18px);
      opacity: .95;
    }
    .case-art .artimg{ position:absolute; inset:0; display:flex; align-items:flex-end; justify-content:flex-end; }
    .case-art .artimg img{
      width: 360px;
      height: 320px;
      object-fit: contain;
      transform: rotate(-6deg) translateY(10px);
      filter:
        drop-shadow(0 40px 90px rgba(0,0,0,.65))
        drop-shadow(0 0 40px rgba(34,211,238,.20))
        drop-shadow(0 0 50px rgba(138,92,255,.18));
    }

    .side-stack{display:flex; flex-direction:column; gap:16px;}
    .panel{
      border-radius: calc(var(--radius) + 6px);
      background: linear-gradient(180deg, rgba(15,18,35,.78), rgba(8,9,20,.55));
      border:1px solid rgba(255,255,255,.08);
      box-shadow: var(--shadow);
      padding:18px;
    }
    .panel h3{margin:0 0 12px; font-size:14px; letter-spacing:.06em; text-transform:uppercase; color:rgba(233,236,255,.85);}

    .drops{display:flex; flex-direction:column; gap:10px; max-height: 292px; overflow:auto; padding-right: 6px;}
    .drop{
      display:grid;
      grid-template-columns: 1fr auto;
      gap:10px;
      align-items:center;
      padding:10px 10px;
      border-radius:14px;
      background: rgba(255,255,255,.04);
      border:1px solid rgba(255,255,255,.06);
    }
    .drop .meta{display:flex; flex-direction:column; gap:2px; min-width:0;}
    .drop .user{font-weight:900; font-size:13px; color:rgba(233,236,255,.92);}
    .drop .item{font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width: 42ch;}
    .amt{
      font-weight:900;
      color: rgba(233,236,255,.92);
      padding:7px 10px;
      border-radius:12px;
      background: rgba(138,92,255,.16);
      border:1px solid rgba(138,92,255,.28);
      min-width:72px;
      text-align:right;
      white-space:nowrap;
    }

.promo{
  border-radius: calc(var(--radius) + 6px);
  padding:16px 18px;

  background: linear-gradient(
    135deg,
    rgba(255, 0, 80, 0.12),
    rgba(255, 220, 0, 0.14),
    rgba(0, 200, 255, 0.12)
  );

  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.promo::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background: linear-gradient(
    135deg,
    rgb(255, 0, 120),
    rgb(255, 220, 0),
    rgb(0, 200, 255)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
}
    .promo h3{ margin:0 0 6px; font-weight:900; }
    .promo p{ margin:0; color:var(--muted); font-weight:650; line-height:1.45; }

    .lvl{
      border-radius: calc(var(--radius) + 6px);
      background: linear-gradient(180deg, rgba(15,18,35,.78), rgba(8,9,20,.55));
      border:1px solid rgba(255,255,255,.08);
      box-shadow: var(--shadow);
      padding:16px 18px;
    }
    .lvl-row{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:10px;}
    .lvl-badge{
      background: linear-gradient(135deg, rgba(34,211,238,.95), rgba(138,92,255,.95));
      color:#091024; font-weight:1000;
      border-radius:14px; padding:8px 12px;
      box-shadow: 0 18px 50px rgba(138,92,255,.22);
    }
    .lvl-meta{ color:rgba(233,236,255,.85); font-weight:800; font-size:12px; }
    .progress-wrap{
      background: rgba(0,0,0,.25);
      border:1px solid rgba(255,255,255,.08);
      border-radius:9999px;
      overflow:hidden;
      height:14px;
    }
    .progress-bar{
      height:100%;
      background: linear-gradient(90deg, rgba(34,211,238,.95), rgba(138,92,255,.95));
      transition: width .4s ease;
      box-shadow: 0 0 22px rgba(34,211,238,.18);
    }
    .lvl-note{ margin-top:8px; color:var(--muted); font-weight:650; font-size:12px; }

    /* Sections */
    .section{padding: 16px 0 30px;}
    .section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin: 4px 0 14px;}
    .section-title{margin:0; font-size:18px; font-weight:900; letter-spacing:-.01em;}
    .section-sub{margin:0; color:var(--muted); font-weight:650; font-size:13px;}

    /* TOP CASES GRID (better cards) */
    .grid{
      display:grid;
      grid-template-columns: repeat(4, 1fr);
      gap:14px;
    }
    .case{
      border-radius: var(--radius);
      background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
      border:1px solid rgba(255,255,255,.09);
      box-shadow: 0 18px 60px rgba(0,0,0,.35);
      overflow:hidden;
      transition:.15s ease;
      display:flex;
      flex-direction:column;
      min-height: 220px;
    }
    .case:hover{ transform: translateY(-2px); border-color: rgba(34,211,238,.25); }
    .case-top{
      position:relative;
      padding:12px;
    }
    .thumb{
      height: 124px;
      border-radius: 14px;
      background: rgba(0,0,0,.25);
      border:1px solid rgba(255,255,255,.06);
      display:flex;
      align-items:center;
      justify-content:center;
      overflow:hidden;
    }
    .thumb img{
      width:100%;
      height:100%;
      object-fit:contain;
      filter: drop-shadow(0 16px 40px rgba(0,0,0,.55));
      transform: translateY(2px);
    }
    .pill{
      position:absolute;
      top: 10px;
      right: 10px;
      font-size:11px;
      font-weight:1000;
      padding:6px 9px;
      border-radius:999px;
      background: rgba(0,0,0,.35);
      border:1px solid rgba(255,255,255,.12);
      color: rgba(233,236,255,.92);
      backdrop-filter: blur(10px);
    }
    .case-body{ padding: 12px 14px 14px; display:flex; flex-direction:column; gap:10px; }
    .case-name{
      font-weight:1000;
      font-size:14px;
      line-height:1.2;
      min-height: 34px;
    }
    .case-meta{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      color: rgba(233,236,255,.92);
      font-weight: 950;
    }
    .case-price small{ color: rgba(167,173,214,.9); font-weight: 900; }
    .case-actions{
      display:flex;
      gap:10px;
      margin-top:auto;
    }
    .btn-mini{
      flex:1;
      padding:10px 12px;
      border-radius:14px;
      font-weight:1000;
      border:1px solid rgba(255,255,255,.10);
      background: rgba(255,255,255,.05);
      color:rgba(233,236,255,.95);
      cursor:pointer;
      transition:.15s ease;
      display:inline-flex;
      align-items:center;
      justify-content:center;
    }
    .btn-mini:hover{ background: rgba(255,255,255,.07); transform: translateY(-1px); }
    .btn-mini.primary{
      border:0;
      background: linear-gradient(135deg, rgba(34,211,238,.95), rgba(138,92,255,.95));
      color:#091024;
    }

    /* Scrollbar */
    .drops::-webkit-scrollbar{width:8px}
    .drops::-webkit-scrollbar-thumb{
      background: rgba(138,92,255,.25);
      border-radius: 999px;
      border: 2px solid rgba(15,18,35,.75);
    }

    @media (max-width: 1080px){
      .hero-wrap{grid-template-columns: 1fr;}
      .case-art{right:-40px; width: 340px;}
      .grid{grid-template-columns: repeat(2, 1fr);}
    }
    @media (max-width: 640px){
      .grid{grid-template-columns: 1fr;}
      .case-art{display:none}
    }