    :root {
      --gold:        #C9A84C;
      --gold-light:  #E8C96A;
      --gold-dark:   #8B6914;
      --gold-glow:   rgba(201,168,76,0.25);
      --black:       #0A0A0A;
      --black-mid:   #111111;
      --black-card:  #151515;
      --black-input: #1A1A1A;
      --white:       #F5F0E8;
      --white-dim:   rgba(245,240,232,0.55);
      --border:      rgba(201,168,76,0.3);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    /*
     * FLUID SKÁLÁZÁS — JavaScript fogja dinamikusan beállítani a --rem
     * CSS változót a tényleges viewport méretéhez igazítva.
     * CSS-ben csak az alapértelmezett fallback van itt (1440px-es design).
     * A JS a <body> előtt fut, így nincs villanás.
     */
    html {
      scroll-behavior: smooth;
      font-size: 16px; /* fallback — JS azonnal felülírja */
    }

    body {
      background: var(--black);
      color: var(--white);
      font-family: 'Raleway', sans-serif;
      font-weight: 400;
      min-height: 100vh;
      overflow-x: hidden;
    }

    body::before {
      content: '';
      position: fixed; inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201,168,76,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 90% 80%, rgba(201,168,76,0.06) 0%, transparent 60%);
      pointer-events: none; z-index: 0;
    }

    body::after {
      content: '';
      position: fixed; inset: 0;
      background-image:
        linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none; z-index: 0;
    }

    /* ═══ NAV ═══ */
    nav {
      position: fixed; top: 0; left: 0; right: 0;
      z-index: 200;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.2rem 5vw;
      background: rgba(10,10,10,0.88);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      transition: border-color .3s;
    }

    .nav-logo {
      font-family: 'Cinzel', serif; font-weight: 900;
      font-size: 1.35rem; letter-spacing: .08em;
      color: var(--gold); text-decoration: none;
    }
    .nav-logo span { color: var(--white); }

    .nav-links {
      display: flex; gap: 2.5rem; list-style: none;
      position: absolute; left: 50%; transform: translateX(-50%);
    }
    .nav-links a {
      color: var(--white-dim); text-decoration: none;
      font-size: .82rem; font-weight: 500;
      letter-spacing: .12em; text-transform: uppercase;
      transition: color .25s;
    }
    .nav-links a:hover { color: var(--gold); }

    .nav-right { display: flex; align-items: center; gap: .75rem; }

    .nav-btn {
      font-family: 'Raleway', sans-serif; font-size: .82rem;
      font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
      padding: .45rem 1.2rem; border-radius: 2px; cursor: pointer;
      transition: all .25s; border: 1px solid var(--gold);
      background: transparent; color: var(--gold);
    }
    .nav-btn:hover { background: var(--gold); color: var(--black); }
    .nav-btn.primary {
      background: linear-gradient(135deg, var(--gold-dark), var(--gold));
      color: var(--black); border-color: transparent;
    }
    .nav-btn.primary:hover { box-shadow: 0 0 20px var(--gold-glow); transform: translateY(-1px); }

    /* ── Zöld overlay gomb a hozzáférési kód begépelése közben ── */
    .nav-login-wrap {
      position: relative;
      display: inline-flex;
    }
    .mobile-login-wrap {
      position: relative;
      width: 100%;
    }
    .nav-code-overlay-btn {
      /* Pozicionálás: pontosan az alatta lévő gombra ül */
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      z-index: 5;
      /* Szín: zöld háttér, fehér szöveg, zöld keret */
      background: #1e8c35 !important;
      color: #fff !important;
      border-color: #1e8c35 !important;
      /* Animáció: alapból rejtett */
      transform: scale(0.8) translateY(6px);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.18s ease;
    }
    .nav-code-overlay-btn.visible {
      transform: scale(1) translateY(0);
      opacity: 1;
      pointer-events: auto;
    }
    .nav-code-overlay-btn.visible:hover {
      background: #27a843 !important;
      border-color: #27a843 !important;
      color: #fff !important;
    }

    .nav-user-info { display: none; align-items: center; gap: .9rem; }
    .nav-user-info.visible { display: flex; }
    .nav-username { font-size: .82rem; color: var(--gold-light); font-weight: 600; }
    .nav-logout {
      background: none; border: 1px solid rgba(201,168,76,0.3);
      color: var(--white-dim); font-family: 'Raleway', sans-serif;
      font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
      padding: .35rem .9rem; border-radius: 2px; cursor: pointer;
      transition: all .2s;
    }
    .nav-logout:hover { border-color: var(--gold); color: var(--gold); }

    /* ═══ HERO ═══ */
    .hero {
      position: relative; z-index: 1;
      min-height: 100vh;
      display: flex; align-items: center; justify-content: center;
      flex-direction: column; text-align: center;
      padding: 8rem 5vw 4rem;
      overflow: hidden;
    }

    /* ═══ DVD BOUNCING SERVICE CARDS ═══ */
    #dvd-layer {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }
    .dvd-card {
      position: absolute;
      width: 14.375rem;
      background: rgba(12,12,12,0.78);
      border: 1px solid rgba(201,168,76,0.28);
      border-radius: 8px;
      padding: 1rem 1.2rem;
      backdrop-filter: blur(12px);
      box-shadow: 0 6px 28px rgba(0,0,0,.5), 0 0 16px rgba(201,168,76,0.07);
      pointer-events: all;
      will-change: transform;
      user-select: none;
      -webkit-user-select: none;
    }
    .dvd-card-mobile {
      width: 140px !important;
      padding: .6rem .8rem !important;
      border-radius: 6px;
    }
    .dvd-card-mobile .dvd-card-icon { font-size: 1.1rem; margin-bottom: .2rem; }
    .dvd-card-mobile .dvd-card-title { font-size: .72rem; }

    .dvd-card-icon { font-size: 1.4rem; margin-bottom: .45rem; }
    .dvd-card-title {
      font-family: 'Cinzel', serif;
      font-size: .88rem; font-weight: 700;
      color: var(--white); letter-spacing: .04em;
      margin-bottom: .3rem;
    }
    .dvd-card-desc {
      font-size: .75rem;
      color: var(--white-dim);
      line-height: 1.6;
    }

    /* hero content sits on top */
    .hero > *:not(#dvd-layer) { position: relative; z-index: 2; }

    .hero-badge {
      display: inline-flex; align-items: center; gap: .55rem;
      background: rgba(201,168,76,0.1); border: 1px solid var(--border);
      border-radius: 999px; padding: .35rem 1rem;
      font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
      color: var(--gold-light); margin-bottom: 2.2rem;
      animation: fadeDown .8s ease both;
    }
    .hero-badge::before {
      content: ''; width: 7px; height: 7px; border-radius: 50%;
      background: var(--gold); box-shadow: 0 0 8px var(--gold);
      animation: pulse 2s infinite;
    }

    .hero-title {
      font-family: 'Cinzel', serif; font-weight: 900;
      font-size: 3.75rem;
      line-height: 1.05; letter-spacing: .04em;
      margin-bottom: 1.6rem;
      animation: fadeDown .9s .1s ease both;
    }
    .hero-title .gold { color: var(--gold); }
    .hero-title .line2 {
      display: block; font-weight: 400;
      font-size: 1.875rem;
      letter-spacing: .18em; color: var(--white-dim); margin-top: .3rem;
    }

    .hero-sub {
      max-width: 560px; font-size: 1.05rem; color: var(--white-dim);
      line-height: 1.75; margin-bottom: 3rem;
      animation: fadeDown 1s .2s ease both;
    }

    .hero-cta-group {
      display: flex; gap: 1rem; flex-wrap: wrap;
      justify-content: center; margin-bottom: 5rem;
      animation: fadeDown 1s .3s ease both;
    }

    .btn-primary {
      display: inline-flex; align-items: center; gap: .6rem;
      background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
      color: var(--black); font-family: 'Raleway', sans-serif;
      font-weight: 700; font-size: .9rem; letter-spacing: .1em;
      text-transform: uppercase; padding: .9rem 2.2rem;
      border: none; border-radius: 2px; cursor: pointer;
      text-decoration: none; transition: transform .2s, box-shadow .2s;
      box-shadow: 0 0 30px rgba(201,168,76,0.3);
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(201,168,76,0.5); }

    .btn-outline {
      display: inline-flex; align-items: center; gap: .6rem;
      background: transparent; color: var(--white);
      font-family: 'Raleway', sans-serif; font-weight: 600;
      font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
      padding: .9rem 2.2rem; border: 1px solid rgba(245,240,232,0.25);
      border-radius: 2px; cursor: pointer; text-decoration: none;
      transition: border-color .2s, color .2s;
    }
    .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

    .stats-strip {
      display: flex; gap: 3rem; flex-wrap: wrap;
      justify-content: center; border-top: 1px solid var(--border);
      padding-top: 3rem; width: 100%; max-width: min(900px, 65vw);
      animation: fadeDown 1s .5s ease both;
    }
    .stat { text-align: center; }
    .stat-num {
      font-family: 'Cinzel', serif; font-size: 2rem;
      font-weight: 900; color: var(--gold); display: block;
    }
    .stat-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white-dim); }

    /* ═══ SERVICES ═══ */
    .section { position: relative; z-index: 1; padding: 7rem 5vw; }
    .section-header { text-align: center; margin-bottom: 4rem; }
    .section-tag { display: inline-block; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
    .section-title { font-family: 'Cinzel', serif; font-size: 2.25rem; font-weight: 700; line-height: 1.15; }
    .section-title span { color: var(--gold); }

    /* ═══ FOOTER ═══ */
    footer {
      position: relative; z-index: 1;
      border-top: 1px solid var(--border);
      padding: 3rem 5vw;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 1.5rem;
    }
    .footer-logo { font-family: 'Cinzel', serif; font-weight: 900; font-size: 1.1rem; color: var(--gold); }
    .footer-copy { font-size: .76rem; color: var(--white-dim); letter-spacing: .08em; }
    .footer-links { display: flex; gap: 1.8rem; list-style: none; }
    .footer-links a { font-size: .76rem; color: var(--white-dim); text-decoration: none; letter-spacing: .08em; transition: color .2s; }
    .footer-links a:hover { color: var(--gold); }

    /* ═══════════════════════════════════
       MODAL ALAP STÍLUS (mindkét ablak)
    ═══════════════════════════════════ */
    .modal-overlay {
      position: fixed; inset: 0; z-index: 500;
      display: flex; align-items: center; justify-content: center;
      padding: 1.5rem;
      background: rgba(0,0,0,0);
      backdrop-filter: blur(0px);
      pointer-events: none;
      transition: background .35s, backdrop-filter .35s;
    }
    .modal-overlay.open {
      background: rgba(0,0,0,0.82);
      backdrop-filter: blur(10px);
      pointer-events: all;
    }

    .modal {
      background: var(--black-card);
      border: 1px solid var(--border);
      border-radius: 6px;
      width: 100%;
      position: relative; overflow: hidden;
      transform: translateY(40px) scale(0.96);
      opacity: 0;
      transition: transform .45s cubic-bezier(.34,1.3,.64,1), opacity .38s;
    }
    .modal-overlay.open .modal {
      transform: translateY(0) scale(1);
      opacity: 1;
    }

    /* Arany csík tetején */
    .modal::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold), var(--gold-dark), transparent);
    }

    .modal-close {
      position: absolute; top: 1.1rem; right: 1.2rem;
      background: none; border: none;
      color: var(--white-dim); font-size: 1.4rem;
      cursor: pointer; line-height: 1; z-index: 2;
      transition: color .2s, transform .25s;
    }
    .modal-close:hover { color: var(--gold); transform: rotate(90deg); }

    /* ═══════════════════
       LOGIN MODAL
    ═══════════════════ */
    #loginOverlay .modal {
      max-width: min(440px, 30vw);
      padding: 3rem 2.8rem;
    }
    #loginOverlay .modal::after {
      content: 'ISM';
      position: absolute; bottom: -1.2rem; right: -.8rem;
      font-family: 'Cinzel', serif; font-size: 7rem; font-weight: 900;
      color: rgba(201,168,76,0.04); pointer-events: none; user-select: none;
    }

    .modal-logo { font-family: 'Cinzel', serif; font-weight: 900; font-size: 1.1rem; color: var(--gold); margin-bottom: 1.6rem; letter-spacing: .06em; }
    .modal-logo span { color: var(--white); }
    .modal-title { font-family: 'Cinzel', serif; font-size: 1.55rem; font-weight: 700; color: var(--white); margin-bottom: .4rem; }
    .modal-sub { font-size: .83rem; color: var(--white-dim); margin-bottom: 1.8rem; line-height: 1.65; }
    .modal-divider { height: 1px; background: var(--border); margin-bottom: 1.8rem; }

    .modal-form { display: flex; flex-direction: column; gap: 1.1rem; }
    .modal-group { display: flex; flex-direction: column; gap: .4rem; }
    .modal-group label { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
    .modal-group input {
      background: var(--black-input); border: 1px solid rgba(201,168,76,0.2);
      border-radius: 2px; color: var(--white); font-family: 'Raleway', sans-serif;
      font-size: .9rem; padding: .78rem 1rem; outline: none; width: 100%;
      transition: border-color .25s, box-shadow .25s;
    }
    .modal-group input::placeholder { color: rgba(245,240,232,0.25); }
    .modal-group input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }

    .pw-wrap { position: relative; }
    .pw-wrap input { padding-right: 3rem; }
    .pw-toggle {
      position: absolute; right: .9rem; top: 50%; transform: translateY(-50%);
      background: none; border: none; color: var(--white-dim);
      cursor: pointer; font-size: 1rem; padding: 0; transition: color .2s;
    }
    .pw-toggle:hover { color: var(--gold); }

    .modal-forgot { text-align: right; margin-top: -.4rem; }
    .modal-forgot a { font-size: .75rem; color: var(--white-dim); text-decoration: none; transition: color .2s; }
    .modal-forgot a:hover { color: var(--gold); }

    .modal-submit {
      display: flex; align-items: center; justify-content: center; gap: .65rem;
      background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
      color: var(--black); font-family: 'Raleway', sans-serif;
      font-weight: 800; font-size: .88rem; letter-spacing: .16em;
      text-transform: uppercase; padding: 1rem; border: none; border-radius: 2px;
      cursor: pointer; transition: transform .2s, box-shadow .2s;
      box-shadow: 0 0 24px rgba(201,168,76,0.25); position: relative; overflow: hidden;
      margin-top: .4rem;
    }
    .modal-submit::before {
      content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
      transition: left .5s;
    }
    .modal-submit:hover::before { left: 150%; }
    .modal-submit:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(201,168,76,0.45); }

    .modal-hint { text-align: center; font-size: .8rem; color: var(--white-dim); margin-top: .8rem; }
    .modal-hint a { color: var(--gold); text-decoration: none; font-weight: 600; }
    .modal-hint a:hover { text-decoration: underline; }

    .modal-error {
      background: rgba(200,50,50,.12); border: 1px solid rgba(200,80,80,.35);
      border-radius: 2px; padding: .7rem 1rem; font-size: .82rem; color: #f08080;
      display: none; align-items: center; gap: .6rem;
    }
    .modal-error.show { display: flex; }

    .spinner {
      width: 16px; height: 16px; border: 2px solid rgba(0,0,0,.3);
      border-top-color: var(--black); border-radius: 50%;
      animation: spin .7s linear infinite; display: none;
    }

    /* ═══════════════════════════════════
       CSOMAGOK MODAL
    ═══════════════════════════════════ */
    #plansOverlay .modal {
      max-width: min(980px, 68vw);
      padding: 3rem 2.5rem 2.5rem;
      max-height: 90vh;
      overflow-y: auto;
    }
    #plansOverlay .modal::-webkit-scrollbar { width: 5px; }
    #plansOverlay .modal::-webkit-scrollbar-track { background: var(--black-mid); }
    #plansOverlay .modal::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 10px; }

    .plans-modal-header { text-align: center; margin-bottom: 2.5rem; }
    .plans-modal-tag { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .7rem; }
    .plans-modal-title { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 700; }
    .plans-modal-title span { color: var(--gold); }
    .plans-modal-sub { font-size: .85rem; color: var(--white-dim); margin-top: .6rem; }

    .plans-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.3rem;
    }

    .plan-card {
      background: var(--black-mid); border: 1px solid var(--border);
      border-radius: 4px; padding: 2.2rem 1.8rem;
      position: relative; transition: transform .3s, box-shadow .3s;
      overflow: hidden;
      animation: cardIn .5s ease both;
    }
    .plan-card:nth-child(1) { animation-delay: .05s; }
    .plan-card:nth-child(2) { animation-delay: .15s; }
    .plan-card:nth-child(3) { animation-delay: .25s; }

    @keyframes cardIn {
      from { opacity:0; transform: translateY(24px) scale(.97); }
      to   { opacity:1; transform: translateY(0) scale(1); }
    }

    .plan-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
      opacity: 0; transition: opacity .3s;
    }
    .plan-card:hover { transform: translateY(-5px); box-shadow: 0 16px 50px rgba(0,0,0,.5), 0 0 30px var(--gold-glow); }
    .plan-card:hover::before { opacity: 1; }

    .plan-card.featured {
      border-color: var(--gold);
      background: linear-gradient(160deg, #1c1600 0%, var(--black-mid) 60%);
    }
    .plan-card.featured::before { opacity: 1; }

    .plan-badge {
      display: inline-block; background: var(--gold); color: var(--black);
      font-size: .62rem; font-weight: 700; letter-spacing: .15em;
      text-transform: uppercase; padding: .22rem .7rem; border-radius: 999px;
      margin-bottom: 1.2rem;
    }
    .plan-name { font-family: 'Cinzel', serif; font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: .35rem; }
    .plan-desc { font-size: .8rem; color: var(--white-dim); margin-bottom: 1.5rem; line-height: 1.6; }
    .plan-price { font-family: 'Cinzel', serif; font-size: 2.2rem; font-weight: 900; color: var(--gold); margin-bottom: .15rem; }
    .plan-price sup { font-size: .9rem; vertical-align: super; }
    .plan-period { font-size: .72rem; color: var(--white-dim); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.6rem; }
    .plan-features { list-style: none; margin-bottom: 1.8rem; display: flex; flex-direction: column; gap: .65rem; }
    .plan-features li { font-size: .82rem; color: var(--white-dim); display: flex; align-items: center; gap: .65rem; }
    .plan-features li::before { content: '◆'; font-size: .42rem; color: var(--gold); flex-shrink: 0; }

    .plan-btn {
      width: 100%; background: transparent; border: 1px solid var(--border);
      color: var(--gold); font-family: 'Raleway', sans-serif; font-weight: 600;
      font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
      padding: .8rem; border-radius: 2px; cursor: pointer; transition: all .25s;
    }
    .plan-card.featured .plan-btn {
      background: linear-gradient(135deg, var(--gold-dark), var(--gold));
      border-color: transparent; color: var(--black);
    }
    .plan-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

    /* ═══════════════════════════════════
       REGISZTRÁCIÓS MODAL
    ═══════════════════════════════════ */
    #registerOverlay .modal {
      max-width: min(700px, 50vw);
      padding: 3rem 2.8rem 2.5rem;
      max-height: 92vh;
      overflow-y: auto;
    }
    #registerOverlay .modal::-webkit-scrollbar { width: 5px; }
    #registerOverlay .modal::-webkit-scrollbar-track { background: var(--black-mid); }
    #registerOverlay .modal::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 10px; }

    #registerOverlay .modal::after {
      content: 'ISM';
      position: absolute; bottom: -1.5rem; right: -.8rem;
      font-family: 'Cinzel', serif; font-size: 8rem; font-weight: 900;
      color: rgba(201,168,76,0.04); pointer-events: none; user-select: none;
    }

    .reg-title { font-family: 'Cinzel', serif; font-size: 1.75rem; font-weight: 700; color: var(--white); margin-bottom: .4rem; }
    .reg-sub { font-size: .85rem; color: var(--white-dim); line-height: 1.7; margin-bottom: 2rem; }
    .reg-divider { height: 1px; background: var(--border); margin-bottom: 2rem; }

    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
    .form-group { display: flex; flex-direction: column; gap: .45rem; }
    .form-group.full { grid-column: 1 / -1; }

    .form-group label {
      font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
      color: var(--gold-light); font-weight: 600;
    }

    .form-group input, .form-group select, .form-group textarea {
      background: var(--black-input); border: 1px solid rgba(201,168,76,0.2);
      border-radius: 2px; color: var(--white); font-family: 'Raleway', sans-serif;
      font-size: .9rem; padding: .75rem 1rem; outline: none; width: 100%;
      transition: border-color .25s, box-shadow .25s; -webkit-appearance: none;
    }
    .form-group input::placeholder, .form-group textarea::placeholder { color: rgba(245,240,232,0.25); }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
      border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
    }
    .form-group textarea { resize: vertical; min-height: 100px; }

    .plan-select-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: .2rem;
    }
    .plan-radio { display: none; }
    .plan-radio-label {
      display: flex; flex-direction: column; align-items: center; gap: .35rem;
      background: var(--black-input); border: 1px solid rgba(201,168,76,0.2);
      border-radius: 3px; padding: .9rem .75rem; cursor: pointer;
      transition: all .2s; text-align: center;
    }
    .plan-radio-label:hover { border-color: var(--gold); }
    .plan-radio:checked + .plan-radio-label {
      border-color: var(--gold); background: rgba(201,168,76,0.1);
      box-shadow: 0 0 20px rgba(201,168,76,0.1);
    }
    .plan-radio-name { font-family: 'Cinzel', serif; font-size: .82rem; font-weight: 700; color: var(--white); }
    .plan-radio-price { font-size: .73rem; color: var(--gold); font-weight: 600; }
    .plan-radio-tag { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white-dim); }

    input[type="checkbox"] { width: 18px; min-width: 18px; height: 18px; accent-color: var(--gold); margin-top: 2px; }
    .checkbox-wrap { display: flex; align-items: flex-start; gap: .7rem; }
    .checkbox-label { font-size: .79rem; color: var(--white-dim); line-height: 1.55; }
    .checkbox-label a { color: var(--gold); text-decoration: none; }
    .checkbox-label a:hover { text-decoration: underline; }

    .submit-btn {
      grid-column: 1 / -1;
      display: flex; align-items: center; justify-content: center; gap: .75rem;
      background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
      color: var(--black); font-family: 'Raleway', sans-serif;
      font-weight: 800; font-size: .9rem; letter-spacing: .18em;
      text-transform: uppercase; padding: 1.05rem;
      border: none; border-radius: 2px; cursor: pointer;
      transition: transform .2s, box-shadow .2s;
      box-shadow: 0 0 30px rgba(201,168,76,0.3);
      position: relative; overflow: hidden;
    }
    .submit-btn::before {
      content: ''; position: absolute; top: 0; left: -100%;
      width: 60%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
      transition: left .5s;
    }
    .submit-btn:hover::before { left: 150%; }
    .submit-btn:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(201,168,76,0.5); }

    /* ═══ TOAST ═══ */
    .toast {
      position: fixed; bottom: 2rem; right: 2rem;
      background: var(--black-card); border: 1px solid var(--gold);
      border-radius: 4px; padding: 1rem 1.5rem; color: var(--white);
      font-size: .85rem; box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 20px var(--gold-glow);
      transform: translateY(120%);
      transition: transform .4s cubic-bezier(.34,1.56,.64,1);
      z-index: 999; display: flex; align-items: center; gap: .75rem; max-width: 340px;
    }
    .toast.show { transform: translateY(0); }
    .toast-icon { font-size: 1.2rem; flex-shrink: 0; }

    /* ═══ ANIMÁCIÓK ═══ */
    @keyframes fadeDown {
      from { opacity:0; transform:translateY(-18px); }
      to   { opacity:1; transform:translateY(0); }
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    @keyframes pulse {
      0%,100% { opacity:1; transform:scale(1); }
      50%      { opacity:.5; transform:scale(1.4); }
    }

    /* ══════════════════════════════════════════════
       RESPONSIVE — tablet és mobil
       Asztali gépen a JS fluid scaler kezeli a rem-et.
       Tablet és mobilon CSS media query veszi át.
    ══════════════════════════════════════════════ */

    /* ── Tablet fekvő: ~1024px ── */
    @media (max-width: 1024px) {
      .nav-links { gap: 1.6rem; }
      .plans-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
      #loginOverlay .modal  { max-width: 90vw; }
      #registerOverlay .modal { max-width: 90vw; }
      #plansOverlay .modal  { max-width: 92vw; }
    }

    /* ── Tablet álló / nagy telefon fekvő: ~900px ── */
    @media (max-width: 900px) {
      .nav-links { gap: 1.2rem; }
      .hero-cta-group { gap: .8rem; }
      .plans-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
      .stats-strip { max-width: 100%; gap: 2rem; }
      #loginOverlay .modal, #registerOverlay .modal, #plansOverlay .modal { max-width: 92vw; }
    }

    /* ── Mobil: max 768px ── */
    @media (max-width: 768px) {
      /* DVD téglalapok elrejtése */
      #dvd-layer { display: none !important; }

      /* Nav */
      nav { padding: 1rem 4vw; }
      .nav-links { display: none; }
      .nav-btn { font-size: .76rem; padding: .38rem .9rem; }

      /* Hero */
      .hero { padding: 6.5rem 5vw 3rem; min-height: auto; }
      .hero-badge { font-size: .68rem; margin-bottom: 1.6rem; }
      .hero-title { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: 1.2rem; }
      .hero-title .line2 { font-size: clamp(1rem, 4.5vw, 1.6rem); letter-spacing: .1em; }
      .hero-sub { font-size: .92rem; max-width: 100%; margin-bottom: 2rem; }
      .hero-cta-group { flex-direction: column; width: 100%; margin-bottom: 3rem; gap: .75rem; }
      .btn-primary, .btn-outline { justify-content: center; width: 100%; }
      .stats-strip { max-width: 100%; gap: 1.5rem; padding-top: 2rem; }
      .stat-num { font-size: 1.6rem; }

      /* Sections */
      .section { padding: 4rem 5vw; }
      .section-header { margin-bottom: 2.5rem; }

      /* Plans */
      .plans-grid { grid-template-columns: 1fr; gap: 1rem; }

      /* Footer */
      footer { flex-direction: column; text-align: center; padding: 2rem 5vw; gap: 1rem; }
      .footer-links { justify-content: center; gap: 1.4rem; }

      /* Modals — alulról csúszik fel */
      .modal-overlay { padding: 1rem; align-items: flex-end; }
      .modal { border-radius: 12px 12px 0 0; }
      #loginOverlay .modal  { max-width: 100%; padding: 2rem 1.6rem 2.4rem; }
      #registerOverlay .modal { max-width: 100%; padding: 2rem 1.4rem 2.2rem; max-height: 88vh; }
      #plansOverlay .modal  { max-width: 100%; padding: 1.8rem 1.2rem 2rem; max-height: 88vh; }
      .form-grid { grid-template-columns: 1fr; gap: 1rem; }
      .plan-select-grid { grid-template-columns: 1fr; gap: .6rem; }

      /* Toast */
      .toast { right: 1rem; left: 1rem; max-width: none; bottom: 1.5rem; }
    }

    /* ── Kis mobil: max 480px ── */
    @media (max-width: 480px) {
      .nav-btn { display: none; }
      .nav-btn.primary { display: inline-flex; font-size: .72rem; padding: .35rem .8rem; }
      .hero { padding: 5.5rem 4vw 2.5rem; }
      .stats-strip { flex-direction: column; align-items: center; gap: 1.2rem; }
    }

    /* ── Hozzáférési Kód ── */

    .nav-access-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 2px;
  background: rgba(201,168,76,0.06);
  transition: border-color .2s, box-shadow .2s;
}
.nav-access-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(201,168,76,0.15);
}
.nav-access-prefix {
  padding: .42rem .75rem .42rem .9rem;
  font-family: 'Cinzel', serif;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .1em;
  white-space: nowrap;
  border-right: 1px solid rgba(201,168,76,0.2);
  user-select: none;
}
.nav-access-input {
  background: transparent;
  border: none;
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  padding: .42rem .9rem;
  width: 13rem;
  outline: none;
}
.nav-access-input::placeholder {
  color: rgba(201,168,76,0.3);
  font-weight: 400;
}

/* Custom checkbox — pipa megjelenítés */
.checkbox-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  border: 1.5px solid rgba(201,168,76,0.4);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color .2s, background .2s;
  margin-top: .1rem;
}
.checkbox-wrap input[type="checkbox"]:hover {
  border-color: var(--gold);
}
.checkbox-wrap input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold);
}
.checkbox-wrap input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: .25rem;
  top: .05rem;
  width: .38rem;
  height: .6rem;
  border: 2px solid #0A0A0A;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}