:root {
    --base: #08080c;
    --surface: #131318;
    --panel: #1b1b22;
    --line: rgba(255,255,255,.09);
    --text: #f5f5f7;
    --muted: #a6a6af;
    --dim: #71717a;

    --accent: #e50914;        /* Netflix red — hero / featured / library */
    --accent-hover: #f6121d;

    --volt: #b6f34b;          /* Bumpfiends acid-lime */
    --volt-2: #22d3ee;        /* Bumpfiends signal cyan */

    --rpg: #c084fc;           /* Roleplay violet */
    --rpg-2: #f472b6;         /* Roleplay pink */

    --gta: #fbbf24;           /* Fast travel / GTA5 amber */
    --gta-2: #f97316;         /* Fast travel / GTA5 orange */

    --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --card-w: clamp(150px, 17vw, 230px);
  }

  * { box-sizing: border-box; }

  html, body {
    margin: 0;
    background: var(--base);
    color: var(--text);
    font-family: Inter, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    color-scheme: dark;
    scroll-behavior: smooth;
  }

  body { overflow-x: hidden; }

  .app {
    min-height: 100vh;
    background:
      radial-gradient(1100px 520px at 18% -8%, rgba(229,9,20,.16), transparent 60%),
      radial-gradient(900px 500px at 90% 20%, rgba(34,211,238,.06), transparent 60%),
      linear-gradient(to bottom, #101016, var(--base) 420px);
    padding-bottom: 96px;
  }

  /* ================= Top bar ================= */
  .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 26px;
    height: 64px;
    padding: 0 36px;
    background: linear-gradient(to bottom, rgba(0,0,0,.8), rgba(0,0,0,.35) 70%, transparent);
    backdrop-filter: blur(6px);
  }
  .brand {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: .06em;
    font-size: 26px;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    background: linear-gradient(to bottom, var(--accent-hover), #b00710);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .nav { display: flex; gap: 4px; margin-left: auto; }
  .nav a {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    transition: color .15s;
  }
  .nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
  .nav-item { position: relative; }
  .nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
  .nav-item__caret { font-size: 9px; opacity: .7; transition: transform .15s; }
  .nav-item:hover .nav-item__caret { transform: rotate(180deg); }
  .dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
    background: #1b1b22;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(0,0,0,.55);
  }
  .dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
  }
  .nav-item:hover .dropdown,
  .nav-item:focus-within .dropdown { display: flex; }
  .dropdown a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
  }
  .dropdown a:hover { color: #fff; background: rgba(255,255,255,.06); }

  /* ================= Search ================= */
  .search { display: flex; align-items: center; }
  .search__btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }
  .search__btn:hover { background: rgba(255,255,255,.06); }
  .search__input {
    width: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 13px;
    opacity: 0;
    outline: none;
    transition: width .2s ease, opacity .2s ease, padding .2s ease, border-color .2s ease;
  }
  .search.is-open .search__input {
    width: 240px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.15);
    opacity: 1;
  }
  .search__input::placeholder { color: var(--dim); }
  .search__clear {
    display: none;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-left: 6px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-size: 15px;
    cursor: pointer;
  }
  .search.is-open .search__clear { display: grid; }
  .search__clear:hover { color: #fff; background: rgba(255,255,255,.06); }

  a.card { text-decoration: none; color: inherit; }

  .search-results { display: none; }
  body.searching .hero { display: none; }
  body.searching .sec:not(.search-results) { display: none; }
  body.searching .search-results { display: block; }

  /* ================= Sign-in (login-gated Continue) ================= */
  body:not(.logged-in) #continue { display: none; }
  body:not(.logged-in) .nav a[href="#continue"] { display: none; }

  .signin { margin-left: 2px; }
  .signin__btn {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .15s;
  }
  .signin__btn:hover { background: var(--accent-hover); }
  .signin__btn:active { transform: scale(.96); }
  .signin__user {
    display: none;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px 0 14px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }
  body.logged-in .signin__btn { display: none; }
  body.logged-in .signin__user { display: inline-flex; }
  .signin__out {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }
  .signin__out:hover { color: #fff; }

  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    place-items: center;
    background: rgba(0,0,0,.7);
    padding: 24px;
  }
  .modal-overlay.is-open { display: grid; }
  .modal {
    width: min(360px, 92vw);
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 26px;
    animation: rise .3s var(--ease-out-soft) both;
  }
  .modal h3 { margin: 0 0 6px; font-family: "Bebas Neue", sans-serif; font-size: 30px; letter-spacing: .03em; line-height: 1; }
  .modal p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
  .modal input {
    width: 100%;
    height: 42px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(0,0,0,.35);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    padding: 0 13px;
    margin-bottom: 14px;
    outline: none;
  }
  .modal input:focus { border-color: var(--accent); }
  .modal__actions { display: flex; gap: 10px; }

  /* ================= Create / post for review ================= */
  .create { margin-left: 8px; }
  body:not(.logged-in) .create { display: none; }
  .create__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(120deg, var(--rpg), var(--rpg-2));
    color: #0b0b0e;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .15s, filter .15s;
  }
  .create__btn:hover { filter: brightness(1.08); }
  .create__btn:active { transform: scale(.96); }

  body:not(.logged-in) #community { display: none; }
  .card__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
  .card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 40px; background: linear-gradient(135deg, #1b1b22, #131318); }

  .create-types { display: flex; gap: 8px; flex-wrap: wrap; }
  .ctype {
    height: 34px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
  }
  .ctype.is-active { background: var(--rpg); border-color: var(--rpg); color: #0b0b0e; }

  .cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; padding: 4px 40px 0; }
  .cc-card {
    --i: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
    animation: rise .5s var(--ease-out-soft) both;
    animation-delay: calc(var(--i) * 40ms);
    transition: transform .18s ease-out, border-color .18s;
  }
  .cc-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
  .cc-card__media { height: 120px; display: grid; place-items: center; font-size: 44px; }
  .cc-card__video { width: 100%; height: 120px; object-fit: cover; display: block; background: #000; }
  .cc-card__body { padding: 12px 14px; display: grid; gap: 4px; flex: 1; align-content: start; }
  .cc-card__type { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  .cc-card__title { margin: 0; font-weight: 700; font-size: 15px; }
  .cc-card__desc { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cc-card__meta { font-size: 11px; color: var(--dim); font-weight: 600; }
  .cc-card__link { font-size: 12px; color: var(--volt-2); text-decoration: none; font-weight: 700; }
  .cc-card__link:hover { text-decoration: underline; }
  .cc-card__foot { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; }
  .cc-vote {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .1s;
  }
  .cc-vote:hover { background: rgba(255,255,255,.1); }
  .cc-vote:active { transform: scale(.94); }
  .cc-status { color: var(--gta); font-size: 11px; font-weight: 700; }
  .cc-author { margin-left: auto; color: var(--muted); font-size: 12px; }

  .modal--wide { width: min(560px, 94vw); }
  .up-form { display: grid; gap: 14px; }
  .up-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  @media (max-width: 520px) { .up-row { grid-template-columns: 1fr; } }
  .up-form .field { display: grid; gap: 6px; }
  .up-form label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dim);
  }
  .up-form input[type="text"], .up-form textarea, .up-form select {
    width: 100%;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(0,0,0,.35);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    padding: 10px 12px;
    outline: none;
    resize: vertical;
  }
  .up-form select { cursor: pointer; }
  .up-form input:focus, .up-form textarea:focus, .up-form select:focus { border-color: var(--rpg); }
  .drop {
    display: grid;
    place-items: center;
    min-height: 90px;
    border: 1px dashed rgba(255,255,255,.25);
    border-radius: 10px;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
    padding: 14px;
    text-align: center;
    transition: border-color .15s, background .15s;
  }
  .drop:hover { border-color: var(--rpg); background: rgba(192,132,252,.06); }
  .drop input { display: none; }
  #upPreview { width: 100%; border-radius: 10px; background: #000; }
  .toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(20px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    z-index: 200;
    opacity: 0;
    transition: opacity .25s, transform .25s;
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
  }
  .toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

  /* ================= Login & Profiles (Netflix-style) ================= */
  .screen {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(1000px 520px at 50% -10%, rgba(229,9,20,.18), transparent 60%), #08080c;
    padding: 24px;
  }
  .screen.is-open { display: flex; }
  .screen__brand {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: .06em;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1;
    margin-bottom: 26px;
    background: linear-gradient(to bottom, #f6121d, #b00710);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .login-card {
    position: relative;
    width: min(380px, 92vw);
    border-radius: 14px;
    background: rgba(19,19,24,.92);
    border: 1px solid var(--line);
    padding: 30px;
  }
  .login-card__close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
  .login-card__close:hover { color: #fff; background: rgba(255,255,255,.08); }
  .login-card h2 { margin: 0 0 18px; font-size: 22px; font-weight: 800; }
  .login-card .field { display: grid; gap: 6px; margin-bottom: 14px; }
  .login-card label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
  .login-card input {
    height: 44px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(0,0,0,.35);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    padding: 0 13px;
    outline: none;
  }
  .login-card input:focus { border-color: var(--accent); }
  .login-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
  .login-hint { margin: 14px 0 0; font-size: 12px; color: var(--dim); text-align: center; line-height: 1.5; }

  .btn--provider {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 44px;
    margin-bottom: 10px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: filter .15s, transform .1s;
  }
  .btn--provider:hover { filter: brightness(1.12); }
  .btn--provider:active { transform: scale(.98); }
  .btn--github { background: #24292e; border: 1px solid rgba(255,255,255,.15); }
  .btn--cfx { background: linear-gradient(135deg, #ff9900, #e8590c); }
  .login-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 14px;
    color: var(--dim);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
  .login-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
  .login-tab {
    flex: 1;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s;
  }
  .login-tab.is-active { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
  .acct-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .acct-badge[hidden] { display: none; }
  .acct-email {
    margin: -4px 0 10px;
    font-size: 11px;
    color: var(--dim);
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .acct-email[hidden] { display: none; }

  .profiles { max-width: 880px; width: 100%; text-align: center; }
  .profiles h2 { margin: 0 0 26px; font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
  .profiles__grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
  .profile {
    position: relative;
    width: 120px;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    display: grid;
    gap: 10px;
    justify-items: center;
  }
  .profile__avatar {
    width: 104px;
    height: 104px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 44px;
    border: 3px solid transparent;
    transition: border-color .15s, transform .15s;
  }
  .profile:hover .profile__avatar { border-color: #fff; transform: scale(1.04); }
  .profile:hover { color: #fff; }
  .profile--add .profile__avatar { border: 2px dashed rgba(255,255,255,.25); font-size: 40px; background: rgba(255,255,255,.03); }
  .profiles__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
  .profiles__manage, .profiles__signin {
    padding: 9px 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
  }
  .profiles__manage { border: 1px solid rgba(128,128,128,.55); background: transparent; color: #b3b3b3; }
  .profiles__manage:hover { border-color: #fff; color: #fff; }
  .profiles__signin { border: 1px solid transparent; background: #fff; color: #000; }
  .profiles__signin:hover { background: rgba(255,255,255,.85); }
  .profile__remove {
    display: none;
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: #e50914;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }
  .profiles.is-managing .profile__remove { display: grid; place-items: center; }

  body:not(.logged-in) .account { display: none; }
  .account { position: relative; margin-left: 8px; }
  .account__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 10px 0 6px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }
  .account__btn:hover { background: rgba(255,255,255,.08); }
  .account__avatar { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 16px; overflow: hidden; }
  .account__avatar img, .profile__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
  .account__menu {
    position: absolute;
    top: 44px;
    right: 0;
    width: 190px;
    border-radius: 10px;
    background: #1b1b22;
    border: 1px solid var(--line);
    padding: 6px;
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
    display: none;
  }
  .account__menu.is-open { display: block; }
  .account__menu p { margin: 0; padding: 8px 10px 6px; font-size: 13px; color: #fff; border-bottom: 1px solid var(--line); }
  .account__menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
  }
  .account__menu button:hover { background: rgba(255,255,255,.08); color: #fff; }

  /* ================= Marquee ticker ================= */
  .marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.015);
    padding: 9px 0;
    white-space: nowrap;
  }
  .marquee__track { display: inline-flex; animation: marquee 32s linear infinite; }
  .marquee__track span {
    padding: 0 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--dim);
  }
  .marquee__track span b { color: var(--volt); font-weight: 700; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ================= Hero ================= */
  .hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    padding: 120px 48px 56px;
    overflow: hidden;
  }
  .hero__bg { position: absolute; inset: 0; }
  .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
  .hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to top, var(--base) 2%, transparent 40%),
      linear-gradient(to right, rgba(8,8,12,.9) 0%, rgba(8,8,12,.35) 55%, transparent);
  }
  .hero__content { position: relative; max-width: 620px; }
  .hero__kicker { font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--accent-hover); text-transform: uppercase; }
  .hero__title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(56px, 9vw, 110px);
    line-height: .9;
    letter-spacing: .01em;
    margin: 10px 0 12px;
  }
  .hero__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
  .hero__meta b { color: #7dff9b; }
  .hero__desc { margin: 14px 0 22px; max-width: 480px; color: #d4d4d8; font-size: 15px; line-height: 1.6; }
  .hero__btns { display: flex; gap: 12px; }
  .hero__content, .hero__bg img { transition: opacity .45s ease; }
  .hero.is-swapping .hero__content, .hero.is-swapping .hero__bg img { opacity: 0; }
  .hero__dots { display: flex; gap: 8px; margin-top: 22px; }
  .hero__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
  .hero__dot.is-active { background: #fff; transform: scale(1.3); }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s cubic-bezier(.2,0,0,1), background .15s, color .15s;
  }
  .btn:active { transform: scale(.96); }
  .btn--play { background: #fff; color: #000; }
  .btn--play:hover { background: rgba(255,255,255,.85); }
  .btn--info { background: rgba(109,109,110,.6); color: #fff; }
  .btn--info:hover { background: rgba(109,109,110,.42); }

  /* ================= Section shell ================= */
  .sec { padding: 26px 0 8px; }
  .sec__head { padding: 0 40px; margin-bottom: 16px; }
  .sec__kicker {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--dim);
  }
  .sec__title {
    margin: 4px 0 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(28px, 3.4vw, 44px);
    letter-spacing: .02em;
    line-height: 1;
  }
  .sec__title .accent { color: var(--accent); }

  /* ================= Row (horizontal scroll) ================= */
  .row { position: relative; }
  .row__viewport { position: relative; }
  .row__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 40px 18px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 44px), transparent);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 44px), transparent);
  }
  .row__track::-webkit-scrollbar { display: none; }
  .row__arrow {
    position: absolute;
    top: 0;
    bottom: 18px;
    width: 46px;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    z-index: 6;
    opacity: 0;
    transition: opacity .2s ease;
  }
  .row__arrow--left  { left: 0; background: linear-gradient(to right, rgba(8,8,12,.92), transparent); }
  .row__arrow--right { right: 0; background: linear-gradient(to left, rgba(8,8,12,.92), transparent); }
  .row__viewport:hover .row__arrow { opacity: 1; }

  /* ================= Base card (1:1) ================= */
  .card {
    --i: 0;
    position: relative;
    flex: 0 0 var(--card-w);
    width: var(--card-w);
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 6px;
    background: var(--surface);
    outline: 1px solid var(--line);
    outline-offset: -1px;
    transition: transform 180ms ease-out, box-shadow 180ms ease-out;
    animation: rise .5s var(--ease-out-soft) both;
    animation-delay: calc(var(--i) * 40ms);
  }
  .card:hover {
    transition-delay: 300ms;
    transform: scale(1.07) translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
    z-index: 4;
  }
  .card__media { position: relative; width: 100%; height: 100%; }
  .card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,.95), rgba(0,0,0,.6) 45%, transparent);
    opacity: 0;
    transition: opacity .18s ease;
  }
  .card:hover .card__overlay { opacity: 1; }
  .card__badge {
    align-self: flex-start;
    margin-bottom: auto;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(0,0,0,.4);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .card__title { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
  .card__sub { margin: 3px 0 0; font-size: 12px; color: rgba(255,255,255,.7); }
  .card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.92);
    color: #000;
    transform: translate(-50%, -50%) scale(.7);
    opacity: 0;
    transition: opacity .15s ease, transform .15s ease;
    cursor: pointer;
  }
  .card__play svg { margin-left: 3px; }
  .card:hover .card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }

  /* ================= Continue watching (wide + progress) ================= */
  .cont {
    --i: 0;
    position: relative;
    flex: 0 0 clamp(240px, 26vw, 340px);
    width: clamp(240px, 26vw, 340px);
    scroll-snap-align: start;
    animation: rise .5s var(--ease-out-soft) both;
    animation-delay: calc(var(--i) * 40ms);
  }
  .cont__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface);
    outline: 1px solid var(--line);
    outline-offset: -1px;
    transition: transform 180ms ease-out, box-shadow 180ms ease-out;
  }
  .cont:hover .cont__thumb {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.6);
  }
  .cont__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .cont__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    display: grid;
    place-items: center;
    background: #fff;
    color: #000;
    transform: translate(-50%, -50%) scale(.7);
    opacity: 0;
    transition: opacity .15s, transform .15s;
    cursor: pointer;
  }
  .cont__play svg { margin-left: 3px; }
  .cont:hover .cont__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .cont__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); }
  .cont__bar i { display: block; height: 100%; background: var(--accent); }
  .cont__title { margin: 8px 0 0; font-size: 14px; font-weight: 600; }
  .cont__sub { margin: 2px 0 0; font-size: 12px; color: var(--dim); }

  /* ================= Grid ================= */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    padding: 4px 40px 0;
  }
  .grid .card { width: 100%; flex: none; }

  /* ================= Bumpfiends section ================= */
  .bf { --accent-scope: var(--volt); }
  .bf .sec__kicker { color: var(--volt-2); }
  .bf .sec__title .accent { color: var(--volt); }
  .bf-strip {
    margin: 0 40px 18px;
    padding: 0;
  }
  .bf-strip p { margin: 0; color: #d4d4d8; font-size: 15px; line-height: 1.6; }
  .bf-strip strong { color: #fff; font-weight: 700; }

  .bf-card {
    --i: 0;
    position: relative;
    flex: 0 0 var(--card-w);
    width: var(--card-w);
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 6px;
    background: var(--surface);
    border: 1px solid rgba(182,243,75,.18);
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms;
    animation: rise .5s var(--ease-out-soft) both;
    animation-delay: calc(var(--i) * 40ms);
  }
  .bf-card:hover {
    transition-delay: 250ms;
    transform: scale(1.06) translateY(-4px);
    border-color: var(--volt);
    box-shadow: 0 12px 36px rgba(182,243,75,.14), 0 0 0 1px rgba(182,243,75,.25);
    z-index: 4;
  }
  .bf-card__media { position: relative; width: 100%; height: 100%; }
  .bf-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .bf-card:hover .bf-card__media img { animation: glitch .34s steps(2) both; }
  .bf-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,.16) 2px 3px);
    opacity: .5;
    mix-blend-mode: overlay;
  }
  .bf-card__no {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    letter-spacing: .06em;
    color: var(--volt);
    text-shadow: 0 0 12px rgba(182,243,75,.6);
  }
  .bf-card__name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 40px 12px 12px;
    background: linear-gradient(to top, rgba(0,0,0,.95), rgba(0,0,0,.55) 55%, transparent);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s, transform .18s;
  }
  .bf-card:hover .bf-card__name { opacity: 1; transform: translateY(0); }
  .bf-card__name strong {
    display: block;
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    letter-spacing: .04em;
    line-height: 1;
  }
  .bf-card__name span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--volt-2);
  }
  @keyframes glitch {
    0%   { filter: none; transform: translateX(0); }
    20%  { filter: hue-rotate(-35deg) saturate(1.6); transform: translateX(-3px); }
    40%  { filter: hue-rotate(35deg) saturate(1.6); transform: translateX(3px); }
    60%  { filter: none; transform: translateX(-1px); }
    80%  { filter: hue-rotate(-15deg); transform: translateX(1px); }
    100% { filter: none; transform: none; }
  }

  /* ================= Roleplay section ================= */
  .rp { --accent-scope: var(--rpg); }
  .rp .sec__kicker { color: var(--rpg-2); }
  .rp .sec__title .accent { color: var(--rpg); }
  .rp-strip {
    margin: 0 40px 18px;
    padding: 0;
  }
  .rp-strip p { margin: 0; color: #d4d4d8; font-size: 15px; line-height: 1.6; }
  .rp-strip strong { color: #fff; font-weight: 700; }
  .rp-strip a { color: var(--accent); font-weight: 600; text-decoration: none; }
  .rp-strip a:hover { text-decoration: underline; }
  .rp-card {
    --i: 0;
    position: relative;
    flex: 0 0 var(--card-w);
    width: var(--card-w);
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(192,132,252,.2);
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms;
    animation: rise .5s var(--ease-out-soft) both;
    animation-delay: calc(var(--i) * 40ms);
  }
  .rp-card:hover {
    transform: translateY(-6px);
    border-color: var(--rpg);
    box-shadow: 0 16px 40px rgba(192,132,252,.16);
    z-index: 4;
  }
  .rp-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
  .rp-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease-out-soft); }
  .rp-card:hover .rp-card__media img { transform: scale(1.08); }
  .rp-card__class {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #0b0b0e;
    background: var(--rpg);
  }
  .rp-card__level {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 16px;
    letter-spacing: .08em;
    color: #fff;
    text-shadow: 0 0 10px rgba(192,132,252,.7);
  }
  .rp-card__body { padding: 12px 14px 14px; }
  .rp-card__name {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: 26px;
    letter-spacing: .03em;
    line-height: 1;
  }
  .rp-card__role { margin: 4px 0 10px; font-size: 12px; color: var(--muted); }
  .rp-stat { display: flex; align-items: center; gap: 8px; margin-top: 5px; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--dim); }
  .rp-stat i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
  .rp-stat i b { display: block; height: 100%; background: linear-gradient(90deg, var(--rpg), var(--rpg-2)); }

  /* ================= Go to Shop showcase ================= */
  .shopcase {
    margin: 0 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    border-radius: 0;
    padding: 32px;
    background: linear-gradient(120deg, rgba(229,9,20,.10), rgba(0,0,0,.35));
  }
  @media (max-width: 760px) {
    .shopcase { grid-template-columns: minmax(0, 1fr); margin: 0 16px; padding: 22px; }
    .shopcase__tiles { flex-wrap: wrap; }
  }
  .shopcase__text { max-width: 520px; min-width: 0; }
  .shopcase__desc { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 12px 0 20px; }
  a.btn { text-decoration: none; }
  .shopcase__tiles { display: flex; gap: 14px; }
  .tile {
    position: relative;
    width: 140px;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    border: 1px solid var(--line);
    transition: transform .18s ease-out, box-shadow .18s ease-out;
  }
  .tile:hover { transform: scale(1.06) translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.6); }
  .tile img { width: 100%; height: 100%; object-fit: cover; }
  .tile span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: end center;
    padding-bottom: 10px;
    background: linear-gradient(to top, rgba(0,0,0,.85), transparent 55%);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .04em;
  }

  /* ================= Roleplay Videos ================= */
  .vid {
    --i: 0;
    position: relative;
    flex: 0 0 clamp(240px, 26vw, 340px);
    width: clamp(240px, 26vw, 340px);
    scroll-snap-align: start;
    animation: rise .5s var(--ease-out-soft) both;
    animation-delay: calc(var(--i) * 40ms);
  }
  .vid__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: var(--surface);
    outline: 1px solid var(--line);
    outline-offset: -1px;
    transition: transform .18s ease-out, box-shadow .18s ease-out;
  }
  .vid:hover .vid__thumb { transform: scale(1.05) translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.6); }
  .vid__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .vid__flag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .vid__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.92);
    color: #000;
    transform: translate(-50%, -50%) scale(.7);
    opacity: 0;
    transition: opacity .15s, transform .15s;
    cursor: pointer;
  }
  .vid:hover .vid__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .vid__title { margin: 9px 0 0; font-size: 14px; font-weight: 700; line-height: 1.3; }
  .vid__sub { margin: 3px 0 0; font-size: 12px; color: var(--dim); }

  /* ================= Payments ================= */
  .wallet { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; }
  .wallet__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
  .wallet__bal { font-family: 'Bebas Neue', sans-serif; font-size: 34px; letter-spacing: .03em; line-height: 1; }
  .tier { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
  .tier__info { flex: 1; }
  .tier__name { font-weight: 700; font-size: 14px; }
  .tier__price { font-size: 12px; color: var(--muted); }
  .methods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
  .method { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); }
  .method.active { border-color: var(--accent); color: #fff; }
  .pay-note { margin-top: 14px; font-size: 12px; color: var(--dim); line-height: 1.5; }

  /* ================= Animations ================= */
  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    .card, .cont, .bf-card, .rp-card, .marquee__track { animation: none !important; transition: none !important; }
    .card:hover, .cont:hover .cont__thumb, .bf-card:hover, .rp-card:hover { transform: none; }
    .bf-card:hover .bf-card__media img { animation: none !important; }
  }
  /* ================= Mobile nav ================= */
  .nav-toggle {
    display: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  .nav-toggle:hover { background: rgba(255,255,255,.08); }
  .nav__signin {
    display: none;
    margin-top: 8px;
    align-items: center;
    justify-content: center;
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: #e50914;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }
  @media (max-width: 900px) {
    .topbar { gap: 10px; padding: 0 14px; }
    .brand { font-size: 22px; }
    .nav-toggle { display: grid; margin-left: auto; }
    body.logged-in .nav-toggle { margin-left: 0; }
    body.logged-in .account { margin-left: auto; }
    .nav {
      position: fixed;
      top: 64px;
      left: 0;
      right: 0;
      max-height: calc(100vh - 64px);
      overflow-y: auto;
      flex-direction: column;
      align-items: stretch;
      gap: 2px;
      margin-left: 0;
      padding: 10px 14px 16px;
      background: rgba(8,8,12,.98);
      border-bottom: 1px solid rgba(255,255,255,.09);
      box-shadow: 0 24px 60px rgba(0,0,0,.6);
      display: none;
    }
    .nav.is-open { display: flex; }
    .nav a { font-size: 15px; padding: 12px 14px; }
    .nav .search { width: 100%; padding: 2px 6px 12px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.09); }
    .nav .search__btn { display: none; }
    .nav .search__clear { display: none; }
    .nav .search .search__input { width: 100%; opacity: 1; padding: 10px 12px; border: 1px solid rgba(255,255,255,.15); }
    .nav-item { position: static; }
    .nav-item > a { width: 100%; justify-content: space-between; }
    .nav-item__caret { display: none; }
    .dropdown {
      position: static;
      display: flex;
      flex-direction: column;
      min-width: 0;
      padding: 0 0 0 16px;
      background: transparent;
      border: 0;
      box-shadow: none;
    }
    .dropdown::before { display: none; }
    .dropdown a { padding: 10px 14px; }
    .signin { display: none !important; }
    .account__btn #accountName { display: none; }
    .account__btn { padding: 0 6px; }
    body:not(.logged-in) .nav__signin { display: flex; }
  }