
        :root {
            --bg: #0f0d13;
            --bg-soft: #16131c;
            --card: #1d1a25;
            --card-2: #221e2b;
            --line: rgba(255, 255, 255, .08);
            --rose: #e06a95;
            --rose-soft: #f4a7c3;
            --gold: #d9b36a;
            --gold-soft: #eed9a6;
            --text: #f3eef5;
            --muted: #a9a0b2;
            --grad-accent: linear-gradient(135deg, #d9b36a, #e06a95);
        }

        * { scroll-margin-top: 90px; }

        body {
            background: var(--bg);
            color: var(--text);
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            font-weight: 400;
            overflow-x: hidden;
        }

        ::selection { background: rgba(224, 106, 149, .35); color: #fff; }

        h1, h2, h3, h4, .font-display {
            font-family: 'Playfair Display', Georgia, serif;
            font-weight: 700;
            letter-spacing: -.5px;
        }

        a { text-decoration: none; }
        .text-gold { color: var(--gold-soft) !important; }
        .text-rose { color: var(--rose-soft) !important; }

        /* Buttons */
        .btn-grad {
            background: var(--grad-accent);
            color: #191320 !important;
            border: none;
            border-radius: 50px;
            padding: 14px 34px;
            font-weight: 700;
            letter-spacing: .5px;
            box-shadow: 0 10px 30px -10px rgba(224, 106, 149, .55);
            transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
        }
        .btn-grad:hover {
            transform: translateY(-3px);
            filter: brightness(1.06);
            box-shadow: 0 16px 40px -12px rgba(224, 106, 149, .7);
        }
        .btn-outline-light-custom {
            color: var(--text);
            border: 1.5px solid rgba(255, 255, 255, .25);
            border-radius: 50px;
            padding: 13px 32px;
            font-weight: 600;
            transition: all .25s ease;
        }
        .btn-outline-light-custom:hover {
            border-color: var(--gold);
            color: var(--gold-soft);
            transform: translateY(-3px);
        }

        /* Navbar */
        .navbar { padding: 18px 0; transition: all .3s ease; }
        .navbar.scrolled {
            background: rgba(15, 13, 19, .92);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--line);
            padding: 12px 0;
            box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
        }
        .navbar-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            font-size: 1.45rem;
            color: #fff !important;
        }
        .brand-mark {
            width: 38px; height: 38px; border-radius: 50%;
            background: var(--grad-accent);
            display: inline-flex; align-items: center; justify-content: center;
            color: #191320; font-size: 1.05rem;
            box-shadow: 0 0 0 4px rgba(224, 106, 149, .15);
        }
        .navbar-nav .nav-link {
            color: rgba(255, 255, 255, .82) !important;
            font-weight: 500; margin: 0 12px; font-size: .95rem; position: relative;
        }
        .navbar-nav .nav-link::after {
            content: "";
            position: absolute; left: 0; bottom: -4px;
            width: 0; height: 2px; background: var(--grad-accent);
            transition: width .3s ease;
        }
        .navbar-nav .nav-link:hover::after,
        .navbar-nav .nav-link.active::after { width: 100%; }
        .navbar-toggler { border: none; }
        .navbar-toggler:focus { box-shadow: none; }
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(243,238,245,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        /* Mobile menu */
        @media (max-width: 991.98px) {
            .navbar-collapse {
                background: rgba(15, 13, 19, .97);
                border: 1px solid var(--line);
                border-radius: 0 0 18px 18px;
                padding: 12px 16px 18px;
                margin-top: 10px;
                box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .65);
            }
            .navbar-collapse.show {
                max-height: calc(100vh - 90px);
                overflow-y: auto;
            }
            .navbar-collapse .navbar-nav { margin: 6px 0 14px; }
            .navbar-collapse .btn { width: 100%; margin-top: 4px; }
        }

        /* Hero */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex; align-items: center;
            background:
                radial-gradient(900px 500px at 15% 0%, rgba(217, 179, 106, .14), transparent 60%),
                radial-gradient(800px 600px at 85% 20%, rgba(224, 106, 149, .16), transparent 60%),
                radial-gradient(700px 500px at 50% 110%, rgba(224, 106, 149, .10), transparent 60%),
                linear-gradient(180deg, #12101a 0%, var(--bg) 100%);
            padding: 130px 0 90px;
            overflow: hidden;
        }
        .hero::before {
            content: "";
            position: absolute; inset: 0;
            background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
            background-size: 34px 34px;
            -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
            mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
            pointer-events: none;
        }
        .hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
        .hero-orb-1 { width: 380px; height: 380px; background: #e06a95; top: -80px; right: 6%; }
        .hero-orb-2 { width: 300px; height: 300px; background: #d9b36a; bottom: -60px; left: -40px; opacity: .35; }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 8px;
            border: 1px solid rgba(217, 179, 106, .4);
            background: rgba(217, 179, 106, .08);
            color: var(--gold-soft);
            font-size: .85rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
            padding: 9px 20px; border-radius: 50px;
        }
        .hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.08; }
        .hero h1 .accent {
            background: var(--grad-accent);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            font-style: italic;
        }
        .hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 640px; }
        .promo-chip {
            display: inline-flex; align-items: center; gap: 12px;
            background: rgba(255, 255, 255, .04);
            border: 1px dashed rgba(217, 179, 106, .55);
            border-radius: 14px; padding: 12px 18px;
        }
        .promo-chip .code {
            font-family: 'Playfair Display', serif;
            font-weight: 700; font-size: 1.35rem; letter-spacing: 3px;
            background: var(--grad-accent);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .copy-btn {
            border: 1px solid rgba(255, 255, 255, .2);
            background: transparent; color: var(--text);
            border-radius: 10px; padding: 7px 14px; font-size: .85rem; cursor: pointer;
            transition: all .2s ease;
        }
        .copy-btn:hover { border-color: var(--gold); color: var(--gold-soft); }
        .hero-stat { border-left: 2px solid var(--line); padding-left: 18px; }
        .hero-stat .num {
            font-family: 'Playfair Display', serif;
            font-size: 1.9rem; font-weight: 700; line-height: 1.1;
            background: var(--grad-accent);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .hero-stat .lbl { color: var(--muted); font-size: .85rem; }

        /* Sections */
        .section { position: relative; padding: 110px 0; }
        .section.bg-soft { background: var(--bg-soft); }
        .eyebrow {
            display: inline-flex; align-items: center; gap: 10px;
            font-size: .8rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
            color: var(--gold-soft);
        }
        .eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
        .section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); }
        .section-lead { color: var(--muted); max-width: 720px; }

        /* Feature cards */
        .feature-card {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: 20px; padding: 32px 28px; height: 100%;
            transition: transform .3s ease, border-color .3s ease, background .3s ease;
        }
        .feature-card:hover {
            transform: translateY(-6px);
            border-color: rgba(224, 106, 149, .4);
            background: var(--card-2);
        }
        .feature-icon {
            width: 56px; height: 56px; border-radius: 16px;
            background: linear-gradient(135deg, rgba(217, 179, 106, .18), rgba(224, 106, 149, .18));
            border: 1px solid rgba(217, 179, 106, .3);
            display: flex; align-items: center; justify-content: center;
            font-size: 1.3rem; color: var(--gold-soft); margin-bottom: 20px;
        }
        .feature-card h5 { font-size: 1.15rem; margin-bottom: 10px; }
        .feature-card p { color: var(--muted); font-size: .95rem; margin: 0; }
        /* How it works */
        .step-card { position: relative; }
        .step-num {
            font-family: 'Playfair Display', serif;
            font-size: 3.4rem; font-weight: 800; line-height: 1;
            background: var(--grad-accent);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            opacity: .9;
        }
        .step-card h5 { margin: 6px 0 10px; }
        .step-card p { color: var(--muted); font-size: .95rem; }
        .step-line {
            position: absolute; top: 56px;
            left: calc(50% + 40px); right: calc(-50% + 40px);
            height: 2px; border-radius: 2px;
            background: linear-gradient(90deg, rgba(217, 179, 106, .35), rgba(224, 106, 149, .35));
            display: none;
        }
        @media (min-width: 992px) { .step-line { display: block; } }

        /* Levels */
        .level-card {
            position: relative;
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: 22px; padding: 30px 28px; height: 100%;
            display: flex; flex-direction: column;
            overflow: hidden;
            transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
        }
        .level-card:hover {
            transform: translateY(-8px);
            border-color: rgba(217, 179, 106, .5);
            box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
        }
        .level-card::before {
            content: "";
            position: absolute; top: 0; left: 0; right: 0; height: 4px;
            background: var(--grad-accent); opacity: 0; transition: opacity .3s ease;
        }
        .level-card:hover::before { opacity: 1; }
        .level-card.highlight {
            background: linear-gradient(160deg, rgba(217, 179, 106, .10), rgba(224, 106, 149, .10)), var(--card);
            border-color: rgba(217, 179, 106, .35);
        }
        .level-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
        .level-idx {
            font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
            color: var(--gold-soft);
            border: 1px solid rgba(217, 179, 106, .4); border-radius: 50px; padding: 4px 12px;
        }
        .level-title { font-size: 1.35rem; letter-spacing: .5px; margin-bottom: 4px; }
        .level-sub { color: var(--muted); font-size: .82rem; letter-spacing: 1px; text-transform: uppercase; }
        .level-commission {
            font-family: 'Playfair Display', serif;
            font-size: 2.6rem; font-weight: 800; line-height: 1;
            background: var(--grad-accent);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .level-commission small { font-size: 1rem; }
        .level-meta { color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); padding-top: 14px; }
        .level-bonuses { list-style: none; padding: 0; margin: 0 0 6px; }
        .level-bonuses li {
            display: flex; gap: 10px; align-items: flex-start;
            font-size: .9rem; color: rgba(255, 255, 255, .82);
            padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .06);
        }
        .level-bonuses li:last-child { border-bottom: none; }
        .level-bonuses i { color: var(--gold); margin-top: 4px; font-size: .75rem; }

        /* Terms */
        .check-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
        .check-item:last-child { border-bottom: none; }
        .check-icon {
            flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
            background: rgba(217, 179, 106, .12);
            border: 1px solid rgba(217, 179, 106, .4);
            color: var(--gold);
            display: flex; align-items: center; justify-content: center; font-size: .8rem;
        }
        .check-item h6 { margin-bottom: 3px; font-size: 1rem; }
        .check-item p { color: var(--muted); font-size: .92rem; margin: 0; }
        .pay-row {
            display: flex; justify-content: space-between; gap: 20px; align-items: flex-start;
            padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px;
            background: rgba(255, 255, 255, .02);
        }
        .pay-row .k { color: var(--muted); font-size: .85rem; letter-spacing: .5px; text-transform: uppercase; min-width: 120px; }
        .pay-row .v { font-weight: 600; text-align: right; }
        .bonus-note {
            border: 1px solid rgba(217, 179, 106, .4);
            background: linear-gradient(135deg, rgba(217, 179, 106, .12), rgba(224, 106, 149, .12));
            border-radius: 18px; padding: 26px;
        }

        /* Rules */
        .rule-item {
            display: flex; gap: 16px; align-items: flex-start;
            background: var(--card); border: 1px solid var(--line); border-radius: 18px;
            padding: 24px; height: 100%;
            transition: border-color .3s ease, transform .3s ease;
        }
        .rule-item:hover { border-color: rgba(224, 106, 149, .4); transform: translateY(-4px); }
        .rule-icon {
            flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px;
            background: rgba(224, 106, 149, .12);
            border: 1px solid rgba(224, 106, 149, .35);
            color: var(--rose-soft);
            display: flex; align-items: center; justify-content: center; font-size: 1rem;
        }
        .rule-item h6 { margin-bottom: 6px; }
        .rule-item p { color: var(--muted); font-size: .9rem; margin: 0; }

        /* Final CTA */
        .cta-wrap {
            position: relative; border-radius: 28px; padding: 70px 40px; text-align: center;
            background:
                radial-gradient(600px 300px at 20% 10%, rgba(217, 179, 106, .18), transparent 60%),
                radial-gradient(600px 300px at 85% 90%, rgba(224, 106, 149, .18), transparent 60%),
                linear-gradient(160deg, #1d1a25, #141119);
            border: 1px solid var(--line);
            overflow: hidden;
        }
        .cta-wrap::after {
            content: "";
            position: absolute; inset: 0;
            background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
            background-size: 30px 30px; pointer-events: none;
        }
        .cta-wrap > * { position: relative; z-index: 1; }

        /* Footer */
        footer { border-top: 1px solid var(--line); background: #0c0a10; }
        .footer-link { color: var(--muted); transition: color .2s ease; }
        .footer-link:hover { color: var(--gold-soft); }
        .social-btn {
            width: 42px; height: 42px; border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, .18);
            display: inline-flex; align-items: center; justify-content: center;
            color: var(--text); margin: 0 6px;
            transition: all .25s ease;
        }
        .social-btn:hover {
            background: var(--grad-accent); color: #191320; border-color: transparent;
            transform: translateY(-3px);
        }

        /* Reveal animation */
        .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
        .reveal.visible { opacity: 1; transform: none; }
        .reveal-delay-1 { transition-delay: .12s; }
        .reveal-delay-2 { transition-delay: .24s; }
        .reveal-delay-3 { transition-delay: .36s; }

        /* Toast */
        .toast-msg {
            position: fixed; bottom: 28px; left: 50%;
            transform: translateX(-50%) translateY(20px);
            background: var(--card-2);
            border: 1px solid rgba(217, 179, 106, .5);
            color: var(--gold-soft); padding: 12px 24px; border-radius: 50px;
            font-weight: 600; font-size: .9rem;
            box-shadow: 0 20px 50px rgba(0,0,0,.6);
            opacity: 0; pointer-events: none; transition: all .35s ease; z-index: 2000;
        }
        .toast-msg.show { opacity: 1; transform: translateX(-50%) translateY(0); }

        /* ============ Photo & Visual Enhancements ============ */
        /* Generic framed image */
        .img-frame {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, .09);
            box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .75);
        }
        .img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .img-frame::after {
            content: "";
            position: absolute; inset: 0;
            background: linear-gradient(180deg, transparent 45%, rgba(15, 13, 19, .45));
            pointer-events: none;
        }
        .img-zoom { transition: transform .7s cubic-bezier(.22, .68, 0, 1); }
        .img-zoom:hover { transform: scale(1.06); }

        /* Hero photo background */
        .hero-photo-bg {
            position: absolute; inset: 0;
            background: url('img/carousel-1.jpg') center / cover no-repeat;
            opacity: .4;
            filter: saturate(.75) brightness(.72);
            pointer-events: none;
        }
        .hero-photo-bg::after {
            content: "";
            position: absolute; inset: 0;
            background:
                linear-gradient(180deg, rgba(15, 13, 19, .78) 0%, rgba(15, 13, 19, .35) 45%, var(--bg) 100%),
                radial-gradient(ellipse at 25% 20%, rgba(15, 13, 19, .55), transparent 60%);
        }

        /* Hero collage */
        .hero-collage { position: relative; height: 470px; }
        .hero-collage .c-img {
            position: absolute;
            border-radius: 22px; overflow: hidden;
            border: 3px solid rgba(255, 255, 255, .1);
            box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85);
        }
        .c-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
        .c-img:hover img { transform: scale(1.06); }
        .c-img.c-main { width: 66%; height: 60%; top: 0; right: 0; }
        .c-img.c-top { width: 46%; height: 36%; top: 8%; left: -4%; border-radius: 50% !important; border-width: 4px; }
        .c-img.c-bot { width: 54%; height: 44%; bottom: 0; left: 4%; }
        .glass-chip {
            position: absolute;
            display: flex; align-items: center; gap: 10px;
            background: rgba(24, 20, 31, .82);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid rgba(217, 179, 106, .4);
            border-radius: 14px;
            padding: 10px 14px;
            font-size: .82rem; font-weight: 600; line-height: 1.2;
            box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
            z-index: 3;
        }
        .glass-chip i { color: var(--gold); }
        .glass-chip .lbl { color: var(--muted); font-size: .75rem; }
        .glass-chip .big {
            font-family: 'Playfair Display', serif;
            font-size: 1.3rem; font-weight: 800; white-space: nowrap;
            background: var(--grad-accent);
            -webkit-background-clip: text; background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .glass-chip-1 { bottom: 14%; right: -4%; }
        .glass-chip-2 { top: 4%; left: -6%; }

        /* About framed image */
        .about-img-wrap { position: relative; margin-top: 8px; }
        .about-img-wrap::before {
            content: "";
            position: absolute; top: -14px; left: -14px;
            width: 120px; height: 120px;
            border-top: 3px solid rgba(217, 179, 106, .65);
            border-left: 3px solid rgba(217, 179, 106, .65);
            border-radius: 24px 0 0 0;
            z-index: 0;
        }
        .about-img-wrap::after {
            content: "";
            position: absolute; bottom: -14px; right: -14px;
            width: 120px; height: 120px;
            border-right: 3px solid rgba(224, 106, 149, .65);
            border-bottom: 3px solid rgba(224, 106, 149, .65);
            border-radius: 0 0 24px 0;
            z-index: 0;
        }
        .about-img-wrap .img-frame { z-index: 1; }

        /* Circular step photos */
        .step-photo {
            width: 112px; height: 112px; border-radius: 50%;
            object-fit: cover; display: block;
            border: 3px solid rgba(217, 179, 106, .55);
            box-shadow: 0 0 0 7px rgba(224, 106, 149, .14), 0 22px 45px -12px rgba(0, 0, 0, .6);
            margin: 0 auto 20px;
            transition: transform .35s ease, box-shadow .35s ease;
        }
        .step-card:hover .step-photo {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 0 0 10px rgba(224, 106, 149, .2), 0 26px 55px -12px rgba(0, 0, 0, .7);
        }

        /* Level card photo banner */
        .level-photo {
            width: 100%; height: 150px;
            object-fit: cover; display: block;
            border-radius: 18px 18px 0 0;
            border-bottom: 1px solid rgba(255, 255, 255, .1);
            margin: -30px -28px 22px;
        }

        /* Audience categories (Для Бизнеса / Для Рефералов) */
        .audience-card { overflow: hidden; }
        .audience-photo {
            width: 100%; height: 200px;
            object-fit: cover; display: block;
            border-radius: 20px 20px 0 0;
            border-bottom: 1px solid rgba(255, 255, 255, .1);
            margin: -32px -28px 24px;
            filter: saturate(.9) brightness(.95);
            transition: transform .7s ease;
        }
        .audience-card:hover .audience-photo { transform: scale(1.05); }
        .audience-badge {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: .78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
            color: var(--gold-soft);
            border: 1px solid rgba(217, 179, 106, .45);
            background: rgba(217, 179, 106, .08);
            border-radius: 50px; padding: 8px 16px;
            margin-bottom: 16px;
        }
        .audience-badge.business {
            color: var(--rose-soft);
            border-color: rgba(224, 106, 149, .45);
            background: rgba(224, 106, 149, .08);
        }

        /* Business referral button */
        .biz-feature {
            display: flex; gap: 16px; align-items: flex-start;
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: 16px;
            padding: 18px;
            margin-bottom: 12px;
            transition: border-color .3s ease, transform .3s ease;
        }
        .biz-feature:hover { border-color: rgba(217, 179, 106, .4); transform: translateX(6px); }
        .biz-feature-icon {
            flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px;
            background: linear-gradient(135deg, rgba(217, 179, 106, .18), rgba(224, 106, 149, .18));
            border: 1px solid rgba(217, 179, 106, .35);
            color: var(--gold-soft);
            display: flex; align-items: center; justify-content: center; font-size: 1rem;
        }
        .biz-feature h6 { margin-bottom: 4px; }
        .biz-feature p { color: var(--muted); font-size: .9rem; margin: 0; }

        /* Browser mockup */
        .biz-mockup { position: relative; }
        .browser-card {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
        }
        .browser-bar {
            display: flex; align-items: center; gap: 8px;
            padding: 14px 18px;
            background: #14111a;
            border-bottom: 1px solid var(--line);
        }
        .browser-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
        .browser-bar .dot-r { background: #e06a95; }
        .browser-bar .dot-y { background: #d9b36a; }
        .browser-bar .dot-g { background: #4caf7d; }
        .browser-bar .url {
            flex: 1; margin-left: 10px;
            background: rgba(255, 255, 255, .05);
            border: 1px solid var(--line);
            border-radius: 20px;
            padding: 6px 14px;
            font-size: .75rem; color: var(--muted);
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .browser-body {
            position: relative;
            padding: 36px 28px 40px;
            min-height: 320px;
            background:
                radial-gradient(300px 180px at 85% 10%, rgba(224, 106, 149, .18), transparent 60%),
                linear-gradient(160deg, #1d1a25, #141119);
        }
        .mock-title {
            font-family: 'Playfair Display', serif;
            font-weight: 700; font-size: 1.15rem;
        }
        .mock-text {
            height: 8px; border-radius: 4px;
            background: rgba(255, 255, 255, .12);
            margin-top: 12px; width: 100%;
        }
        .mock-text.short { width: 68%; }
        .mock-btn { margin-top: 18px; padding: 10px 20px; font-size: .85rem; }
        .biz-popup {
            position: absolute; top: 30px; right: 24px;
            width: 210px;
            background: rgba(29, 26, 37, .94);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid rgba(217, 179, 106, .45);
            border-radius: 16px;
            padding: 18px;
            box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
            z-index: 2;
        }
        .biz-code {
            font-family: 'Playfair Display', serif;
            font-weight: 800; font-size: 1.5rem; letter-spacing: 4px;
            background: var(--grad-accent);
            -webkit-background-clip: text; background-clip: text;
            -webkit-text-fill-color: transparent;
            margin: 6px 0 4px;
        }
        .biz-popup-note { color: var(--muted); font-size: .78rem; margin-bottom: 12px; }
        .biz-popup .btn { font-size: .8rem; padding: 9px 14px; }
        .mock-chip {
            position: absolute;
            display: inline-flex; align-items: center; gap: 8px;
            background: rgba(24, 20, 31, .85);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid rgba(217, 179, 106, .4);
            border-radius: 50px;
            padding: 8px 14px;
            font-size: .78rem; font-weight: 700;
            box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
            z-index: 3;
            white-space: nowrap;
        }
        .mock-chip i { color: var(--gold); }
        .mock-chip-1 { bottom: -16px; left: 32px; }
        .mock-chip-2 { top: -16px; right: 48px; }

        /* Code snippet */
        .code-snippet {
            margin-top: 18px;
            background: #0c0a10;
            border: 1px solid var(--line);
            border-radius: 14px;
            overflow: hidden;
        }
        .code-snippet-head {
            display: flex; align-items: center; gap: 6px;
            padding: 10px 16px;
            font-size: .76rem; letter-spacing: 1px; text-transform: uppercase;
            color: var(--gold-soft);
            background: rgba(255, 255, 255, .04);
            border-bottom: 1px solid var(--line);
        }
        .code-snippet pre {
            margin: 0; padding: 14px 16px;
            font-family: Consolas, 'Courier New', monospace;
            font-size: .8rem; color: #f4a7c3;
            white-space: pre-wrap; overflow-x: auto;
        }
        .code-snippet pre .t { color: #d9b36a; }

        @media (max-width: 575.98px) {
            .biz-popup { top: 16px; right: 14px; width: 170px; padding: 14px; }
            .mock-chip-1 { left: 10px; }
            .mock-chip-2 { right: 10px; }
        }

        /* Gallery */
        .gallery-item {
            position: relative; overflow: hidden; border-radius: 18px;
            height: 330px;
            border: 1px solid var(--line);
            cursor: pointer;
        }
        .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
        .gallery-item:hover img { transform: scale(1.09); }
        .gallery-overlay {
            position: absolute; inset: 0; z-index: 2;
            display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
            text-align: center;
            padding: 24px;
            background: linear-gradient(180deg, rgba(15, 13, 19, 0) 30%, rgba(15, 13, 19, .9) 100%);
            opacity: 0; transform: translateY(10px);
            transition: opacity .4s ease, transform .4s ease;
        }
        .gallery-item:hover .gallery-overlay { opacity: 1; transform: none; }
        .gallery-overlay h6 { font-size: 1.05rem; margin: 0 0 4px; color: #fff; }
        .gallery-overlay span { font-size: .76rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-soft); }
        .gallery-icon {
            width: 42px; height: 42px; border-radius: 50%;
            border: 1px solid rgba(217, 179, 106, .6); color: var(--gold-soft);
            display: inline-flex; align-items: center; justify-content: center;
            margin-bottom: 10px; font-size: .9rem;
            background: rgba(15, 13, 19, .5); backdrop-filter: blur(6px);
        }

        /* CTA photo background */
        .cta-bg {
            position: absolute; inset: 0;
            background: url('img/carousel-2.jpg') center / cover no-repeat;
            opacity: .22;
            filter: saturate(.7) brightness(.8);
            z-index: 0;
        }

        /* Responsive tweaks for new photo blocks */
        @media (max-width: 991.98px) {
            .hero-collage { height: 400px; margin-top: 20px; }
            .c-img.c-top { left: 0; }
            .glass-chip-1 { right: 0; }
            .glass-chip-2 { left: 0; }
            .gallery-item { height: 260px; }
        }

        @media (max-width: 767.98px) {
            .section { padding: 70px 0; }
            .hero { padding: 110px 0 70px; }
            .cta-wrap { padding: 50px 24px; }
            .pay-row { flex-direction: column; gap: 6px; }
            .pay-row .v { text-align: left; }
            .gallery-item { height: 300px; }
            .level-photo { height: 120px; }
        }
    

        .member-card {
            position: relative;
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: 24px;
            padding: 40px 34px;
            height: 100%;
            display: flex; flex-direction: column;
            overflow: hidden;
            transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
        }
        .member-card:hover {
            transform: translateY(-8px);
            border-color: rgba(217, 179, 106, .5);
            box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
        }
        .member-card.member {
            background: linear-gradient(160deg, rgba(217, 179, 106, .12), rgba(224, 106, 149, .12)), var(--card);
            border-color: rgba(217, 179, 106, .4);
        }
        .member-card::before {
            content: "";
            position: absolute; top: 0; left: 0; right: 0; height: 4px;
            background: var(--grad-accent); opacity: 0; transition: opacity .3s ease;
        }
        .member-card:hover::before,
        .member-card.member::before { opacity: 1; }
        .member-type {
            font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
            display: inline-flex; align-items: center; gap: 8px;
            border: 1px solid rgba(217, 179, 106, .4); border-radius: 50px; padding: 6px 14px;
            align-self: flex-start; margin-bottom: 16px;
        }
        .member-card.member .member-type {
            color: var(--rose-soft);
            border-color: rgba(224, 106, 149, .5);
            background: rgba(224, 106, 149, .1);
        }
        .member-title { font-size: 1.7rem; letter-spacing: .5px; }
        .member-tagline { color: var(--muted); font-size: .9rem; margin-top: 4px; }
        .member-price {
            display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
            margin: 22px 0 18px;
        }
        .member-price .amount {
            font-family: 'Playfair Display', serif;
            font-size: 2.4rem; font-weight: 800; line-height: 1;
            background: var(--grad-accent);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .member-price .note { color: var(--muted); font-size: .85rem; }
        .member-features { list-style: none; padding: 0; margin: 0 0 6px; flex-grow: 1; }
        .member-features li {
            display: flex; gap: 12px; align-items: flex-start;
            font-size: .95rem; color: rgba(255, 255, 255, .85);
            padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .06);
        }
        .member-features li:last-child { border-bottom: none; }
        .member-features i { color: var(--gold); margin-top: 4px; font-size: .78rem; }
        .member-card.member .member-features i { color: var(--rose-soft); }

        /* Comparison table */
        .comparison-table {
            border: 1px solid var(--line);
            border-radius: 20px;
            overflow: hidden;
            background: linear-gradient(160deg, rgba(217, 179, 106, .15), rgba(224, 106, 149, .15)), var(--card);
        }
        .comparison-table table { margin: 0; color: var(--text); --bs-table-bg: transparent; background-color: transparent; }
        .comparison-table thead th {
            background: rgba(255, 255, 255, .03);
            border-bottom: 1px solid var(--line);
            color: var(--text);
            font-family: 'Playfair Display', serif;
            font-size: 1.05rem;
            font-weight: 700;
            padding: 18px 22px;
            letter-spacing: .5px;
        }
        .comparison-table thead th.gold {
            background: linear-gradient(160deg, rgba(217, 179, 106, .20), rgba(224, 106, 149, .20));
            color: var(--gold-soft);
        }
        .comparison-table tbody td {
            padding: 14px 22px;
            border-top: 1px solid var(--line);
            vertical-align: middle;
            font-size: .92rem;
            color: rgba(255, 255, 255, .82);
        }
        .comparison-table tbody td:first-child { color: var(--muted); font-size: .82rem; letter-spacing: .5px; text-transform: uppercase; }
        .comparison-table .yes { color: var(--gold); }
        .comparison-table .no { color: rgba(255, 255, 255, .28); }
        .comparison-table .highlight-row td {
            background: rgba(224, 106, 149, .18);
            color: var(--rose-soft);
            font-weight: 600;
        }

        @media (max-width: 767.98px) {
            .comparison-table,
            .comparison-table .table-responsive {
                border: none;
                background: transparent;
                overflow: visible;
            }
            .comparison-table thead { display: none; }
            .comparison-table tbody { display: block; }
            .comparison-table tbody tr {
                display: block;
                background: linear-gradient(160deg, rgba(217, 179, 106, .15), rgba(224, 106, 149, .15)), var(--card);
                border: 1px solid var(--line);
                border-radius: 16px;
                padding: 14px 18px;
                margin-bottom: 12px;
            }
            .comparison-table tbody td {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 14px;
                padding: 10px 0;
                border-top: 1px solid var(--line);
                font-size: .9rem;
                color: rgba(255, 255, 255, .82);
            }
            .comparison-table tbody td:first-child {
                display: block;
                color: var(--gold-soft);
                font-size: .8rem;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 1px;
                padding: 0 0 8px;
                margin-bottom: 6px;
                border-top: none;
                border-bottom: 1px solid var(--line);
            }
            .comparison-table tbody td:nth-child(2)::before,
            .comparison-table tbody td:nth-child(3)::before {
                content: attr(data-label);
                font-size: .78rem;
                color: var(--muted);
                text-transform: uppercase;
                letter-spacing: .5px;
                white-space: nowrap;
            }
        }

        /* Rules */
        .rule-item {
            display: flex; gap: 16px; align-items: flex-start;
            background: var(--card); border: 1px solid var(--line); border-radius: 18px;
            padding: 24px; height: 100%;
            transition: border-color .3s ease, transform .3s ease;
        }
        .rule-item:hover { border-color: rgba(224, 106, 149, .4); transform: translateY(-4px); }
        .rule-num {
            flex: 0 0 auto;
            width: 46px; height: 46px; border-radius: 14px;
            background: linear-gradient(135deg, rgba(217, 179, 106, .18), rgba(224, 106, 149, .18));
            border: 1px solid rgba(217, 179, 106, .35);
            color: var(--gold-soft);
            display: flex; align-items: center; justify-content: center;
            font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 800;
        }
        .rule-item h6 { margin-bottom: 6px; font-size: 1rem; }
        .rule-item p { color: var(--muted); font-size: .9rem; margin: 0; }

        
/* ============ Page hero (inner pages) ============ */
.hero.page-hero { min-height: 0; padding: 170px 0 80px; }
@media (max-width: 991.98px) { .hero.page-hero { padding: 140px 0 60px; } }
@media (max-width: 767.98px) { .hero.page-hero { padding: 120px 0 50px; } }
/* ============================================================
   User account & shop (login, register, cart, shop)
   ============================================================ */

/* Navbar: cart badge + auth actions */
.cart-link { color: rgba(255,255,255,.82) !important; font-size: 1.15rem; }
.cart-link:hover { color: var(--gold-soft) !important; }
.cart-count-badge {
    position: absolute; top: -6px; right: -10px;
    background: var(--grad-accent); color: #191320;
    font-size: .68rem; font-weight: 800;
    min-width: 18px; height: 18px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 4px; line-height: 1;
}
.nav-actions .btn { white-space: nowrap; }
.user-dropdown .dropdown-menu {
    background: var(--card-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 24px 50px -16px rgba(0,0,0,.7);
    padding: 8px;
    min-width: 210px;
}
.user-dropdown .dropdown-item {
    color: var(--text);
    border-radius: 8px;
    padding: 9px 14px;
    font-size: .9rem;
}
.user-dropdown .dropdown-item:hover { background: rgba(255,255,255,.06); color: var(--gold-soft); }
.user-dropdown .dropdown-item.text-danger:hover { color: var(--rose-soft) !important; }
.user-dropdown .dropdown-header {
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
}
.user-dropdown .dropdown-divider { border-color: var(--line); margin: 6px 0; }
@media (max-width: 991.98px) {
    .nav-actions { flex-wrap: wrap; padding: 10px 0 4px; }
    .nav-actions .btn { flex: 1 1 auto; }
}

/* Dark form controls (auth pages) */
.auth-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 42px 38px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 30px 60px -24px rgba(0,0,0,.7);
}
.auth-card h3 { font-size: 1.6rem; }
.auth-icon {
    width: 62px; height: 62px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(217,179,106,.2), rgba(224,106,149,.2));
    border: 1px solid rgba(217,179,106,.45);
    color: var(--gold-soft);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin: 0 auto 16px;
}
.auth-card .form-label { color: var(--muted); font-size: .85rem; font-weight: 600; }
.form-control-dark {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 12px;
}
.form-control-dark::placeholder { color: rgba(255,255,255,.3); }
.form-control-dark:focus {
    background: rgba(255,255,255,.06);
    border-color: var(--gold);
    color: var(--text);
    box-shadow: 0 0 0 .2rem rgba(217,179,106,.15);
}
.form-control-dark:-webkit-autofill,
.form-control-dark:-webkit-autofill:hover,
.form-control-dark:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px #1d1a25 inset;
    transition: background-color 9999s ease-in-out 0s;
}
.auth-card .form-text { color: var(--muted); font-size: .78rem; }
.auth-card .alert-danger {
    background: rgba(224,106,149,.12);
    border-color: rgba(224,106,149,.4);
    color: var(--rose-soft);
    border-radius: 12px;
}

/* Password show/hide toggle (eye icon) */
.password-wrap { position: relative; }
.password-wrap .form-control-dark { padding-right: 48px; }
.password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 1rem;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 8px;
    line-height: 1;
    transition: color .2s ease, background .2s ease;
    z-index: 2;
}
.password-toggle:hover { color: var(--gold-soft); }
.password-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Shop: category pills */
.category-pill {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--muted);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: .9rem; font-weight: 600;
    transition: all .25s ease;
}
.category-pill:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.category-pill.active {
    background: var(--grad-accent); color: #191320; border-color: transparent;
}

/* Shop: product cards */
.product-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217,179,106,.45);
    box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
}
.product-img { position: relative; height: 220px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-sale-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--grad-accent); color: #191320;
    font-weight: 800; font-size: .75rem;
    padding: 5px 12px; border-radius: 50px;
    z-index: 2;
}
.product-stock-badge {
    position: absolute; top: 12px; right: 12px;
    background: rgba(15,13,19,.8); color: #fff;
    font-weight: 600; font-size: .72rem;
    padding: 5px 12px; border-radius: 50px;
    z-index: 2;
}
.product-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.product-body h5 { font-size: 1.05rem; margin: 0; }
.product-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.product-price .price {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem; font-weight: 800;
    background: var(--grad-accent);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.product-price .old { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.product-body .btn { margin-top: auto; }

/* Cart page */
.cart-item {
    display: flex; gap: 18px; align-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
    transition: border-color .3s ease;
}
.cart-item:hover { border-color: rgba(217,179,106,.4); }
.cart-item-img { flex: 0 0 auto; width: 90px; height: 90px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item-info { flex: 1 1 auto; min-width: 0; }
.cart-item-info h6 { margin-bottom: 4px; font-size: 1rem; }
.cart-item-info h6 a { color: var(--text); }
.cart-item-info h6 a:hover { color: var(--gold-soft); }
.cart-item-price-line { color: var(--muted); font-size: .85rem; margin-bottom: 2px; }
.cart-item-total-line { font-size: .95rem; }
.cart-item-total-line strong { color: var(--gold-soft); font-weight: 700; }

/* Cart item actions: quantity stepper + remove */
.cart-item-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.qty-stepper:focus-within { border-color: var(--gold); box-shadow: 0 0 0 .15rem rgba(217,179,106,.15); }
.qty-btn {
    width: 38px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: none;
    color: var(--text); font-size: .85rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .1s ease;
}
.qty-btn:hover { background: rgba(217,179,106,.16); color: var(--gold-soft); }
.qty-btn:active { transform: scale(.92); }
.qty-input {
    width: 48px; height: 40px;
    background: transparent;
    border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
    color: var(--text);
    text-align: center;
    font-size: 1rem; font-weight: 600;
    padding: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; }

.btn-remove {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--rose-soft);
    border: 1px solid rgba(224,106,149,.35);
    background: rgba(224,106,149,.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s ease;
}
.btn-remove:hover { background: rgba(224,106,149,.2); color: #fff; border-color: rgba(224,106,149,.6); }
.btn-remove:active { transform: scale(.92); }

.cart-summary {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    position: sticky; top: 100px;
}
.cart-summary hr { border-color: var(--line); margin: 14px 0; }
.summary-row {
    display: flex; justify-content: space-between; gap: 12px;
    color: var(--muted); font-size: .92rem; padding: 6px 0;
}
.summary-total {
    display: flex; justify-content: space-between; gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem; font-weight: 800;
}
.cart-empty i { opacity: .5; }
.cart-empty h3 { font-size: 1.7rem; }

@media (max-width: 575.98px) {
    .auth-card { padding: 30px 22px; }
    .cart-item { flex-wrap: wrap; }
    .cart-item-img { width: 76px; height: 76px; }
    .cart-item-actions { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; }
    .cart-summary { position: static; }
}

/* ============================================================
   About the club (aboutus.php): calculator, ladder, stories, FAQ
   ============================================================ */

/* ---- Income calculator ---- */
.calc-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 38px 34px;
    height: 100%;
}
.calc-row { margin-bottom: 30px; }
.calc-row:last-child { margin-bottom: 0; }
.calc-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
    margin-bottom: 12px;
}
.calc-label { color: var(--muted); font-size: .9rem; font-weight: 600; }
.calc-val {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem; font-weight: 800; white-space: nowrap;
    background: var(--grad-accent);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.calc-val small { font-size: .9rem; }

/* Range slider */
.calc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 20px;
    outline: none;
    cursor: pointer;
    background: rgba(255, 255, 255, .1);
    transition: background .2s ease;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--grad-accent);
    border: 3px solid #191320;
    box-shadow: 0 4px 14px rgba(0,0,0,.5), 0 0 0 4px rgba(217,179,106,.25);
    cursor: pointer;
}
.calc-range::-moz-range-thumb {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--grad-accent);
    border: 3px solid #191320;
    box-shadow: 0 4px 14px rgba(0,0,0,.5), 0 0 0 4px rgba(217,179,106,.25);
    cursor: pointer;
}
.calc-range:focus { box-shadow: 0 0 0 3px rgba(217,179,106,.2); }
.calc-range::-moz-range-track { background: transparent; }

/* Rate pills (5% / 7% / 10%) */
.rate-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.rate-pill {
    position: relative;
    flex: 1 1 190px;
    min-width: 0;
    display: flex; align-items: center; gap: 12px;
    border: 1.5px solid var(--line);
    background: rgba(255,255,255,.03);
    color: var(--text);
    border-radius: 16px;
    padding: 14px 16px;
    font-size: .9rem; font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all .25s ease;
    overflow: hidden;
}
.rate-pill::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-accent); opacity: 0; transition: opacity .25s ease;
}
.rate-pill:hover {
    border-color: rgba(217,179,106,.5);
    color: var(--gold-soft);
    transform: translateY(-2px);
}
.rate-pill:hover::before { opacity: .6; }
.rate-pill.active {
    background: linear-gradient(135deg, rgba(217,179,106,.16), rgba(224,106,149,.16));
    border-color: rgba(217,179,106,.65);
    color: var(--gold-soft);
    box-shadow: 0 10px 26px -12px rgba(224,106,149,.45);
}
.rate-pill.active::before { opacity: 1; }

.rp-icon {
    flex: 0 0 auto;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(217,179,106,.18), rgba(224,106,149,.18));
    border: 1px solid rgba(217,179,106,.3);
    color: var(--gold-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
    transition: all .25s ease;
}
.rate-pill.active .rp-icon {
    background: var(--grad-accent);
    color: #191320;
    border-color: transparent;
}
.rp-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.rp-name { font-weight: 700; font-size: .98rem; line-height: 1.2; }
.rp-desc { color: var(--muted); font-size: .74rem; margin-top: 2px; line-height: 1.3; }
.rate-pill.active .rp-desc { color: rgba(255,255,255,.6); }
.rp-pct {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem; font-weight: 800; line-height: 1;
    background: var(--grad-accent);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    transition: transform .25s ease;
}
.rate-pill:hover .rp-pct { transform: scale(1.06); }
.rp-check {
    flex: 0 0 auto;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    color: transparent;
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem;
    transition: all .25s ease;
}
.rate-pill.active .rp-check {
    background: var(--grad-accent);
    border-color: transparent;
    color: #191320;
}

/* Calculator result */
.calc-output {
    position: relative;
    background:
        radial-gradient(500px 240px at 20% 0%, rgba(217,179,106,.18), transparent 60%),
        radial-gradient(500px 260px at 85% 100%, rgba(224,106,149,.18), transparent 60%),
        linear-gradient(160deg, #1d1a25, #141119);
    border: 1px solid rgba(217,179,106,.35);
    border-radius: 22px;
    padding: 46px 36px;
    height: 100%;
    display: flex; flex-direction: column; justify-content: center;
    text-align: center;
    overflow: hidden;
}
.calc-output::after {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 30px 30px; pointer-events: none;
}
.calc-output > * { position: relative; z-index: 1; }
.calc-out-label { color: var(--muted); font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; }
.calc-big {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 800; line-height: 1.1; margin: 8px 0 4px;
    background: var(--grad-accent);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.calc-big small { font-size: 1.4rem; }
.calc-sub { color: var(--muted); font-size: .95rem; }
.calc-yearly { margin-top: 18px; }
.calc-yearly .num {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; font-weight: 800;
    background: var(--grad-accent);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- Career ladder ---- */
.ladder { display: flex; flex-direction: column; }
.ladder-step { margin-bottom: 20px; }
.ladder-card {
    position: relative;
    display: flex; gap: 26px; align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.ladder-card::before {
    content: "";
    position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
    background: var(--grad-accent); opacity: .7;
}
.ladder-card:hover {
    transform: translateY(-5px);
    border-color: rgba(217,179,106,.5);
    box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
}
.ladder-step:nth-child(2) .ladder-card { margin-left: 20px; }
.ladder-step:nth-child(3) .ladder-card { margin-left: 40px; }
.ladder-step:nth-child(4) .ladder-card { margin-left: 60px; }
.ladder-step:nth-child(5) .ladder-card { margin-left: 80px; }
.ladder-step:nth-child(6) .ladder-card { margin-left: 100px; }
.ladder-photo {
    flex: 0 0 auto;
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: cover; display: block;
    border: 3px solid rgba(217,179,106,.55);
    box-shadow: 0 0 0 7px rgba(224,106,149,.14), 0 22px 45px -12px rgba(0,0,0,.6);
}
.ladder-content { flex: 1 1 auto; min-width: 0; }
.ladder-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ladder-title { font-size: 1.35rem; letter-spacing: .5px; margin: 8px 0 2px; }
.ladder-sub { color: var(--muted); font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; }
.ladder-commission {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem; font-weight: 800; line-height: 1;
    background: var(--grad-accent);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
.ladder-commission small { font-size: 1rem; }
.ladder-meta {
    color: var(--muted); font-size: .9rem;
    border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px;
}
.ladder-bonuses { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ladder-bonuses li {
    display: inline-flex; gap: 8px; align-items: center;
    font-size: .84rem; color: rgba(255,255,255,.84);
    background: rgba(255,255,255,.04);
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: 7px 14px;
}
.ladder-bonuses i { color: var(--gold); font-size: .72rem; }

/* ---- Success stories ---- */
.story-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    height: 100%;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.story-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217,179,106,.5);
    box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
}
.story-media { position: relative; height: 230px; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.story-card:hover .story-media img { transform: scale(1.07); }
.story-media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,13,19,0) 40%, rgba(15,13,19,.65) 100%);
    pointer-events: none;
}
.story-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 66px; height: 66px; border-radius: 50%;
    background: rgba(15,13,19,.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,.55);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    transition: all .3s ease;
    z-index: 2;
}
.story-card:hover .story-play {
    background: var(--grad-accent); color: #191320;
    border-color: transparent;
    transform: translate(-50%,-50%) scale(1.08);
}
.story-badge {
    position: absolute; top: 14px; left: 14px; z-index: 3;
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .74rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--gold-soft);
    border: 1px solid rgba(217,179,106,.5);
    background: rgba(15,13,19,.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px; padding: 7px 14px;
}
.story-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.story-quote {
    color: var(--muted); font-size: .95rem; font-style: italic; margin: 0;
}
.story-quote::before { content: "\201C"; font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--gold); line-height: 0; vertical-align: -8px; margin-right: 2px; }
.story-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.story-stat {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .78rem; font-weight: 700; color: var(--gold-soft);
    background: rgba(217,179,106,.08);
    border: 1px solid rgba(217,179,106,.3);
    border-radius: 50px; padding: 6px 12px;
}
.story-author { border-top: 1px solid var(--line); padding-top: 14px; display: flex; align-items: center; gap: 12px; }
.story-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    object-fit: cover; display: block;
    border: 2px solid rgba(217,179,106,.5);
}
.story-name { font-weight: 700; font-size: .98rem; }
.story-role { color: var(--rose-soft); font-size: .8rem; }

/* ---- FAQ accordion (dark theme) ---- */
.faq-accordion .accordion-item {
    background: var(--card);
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 14px;
}
.faq-accordion .accordion-button {
    background: transparent;
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 20px 24px;
    box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(217,179,106,.12), rgba(224,106,149,.12));
    color: var(--gold-soft);
}
.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(217,179,106,.18);
    border-color: rgba(217,179,106,.4);
}
.faq-accordion .accordion-button::after {
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d9b36a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23eed9a6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-accordion .accordion-body { color: var(--muted); font-size: .95rem; padding: 0 24px 22px; }
.faq-accordion .accordion-body a { color: var(--gold-soft); text-decoration: underline; }

/* Responsive */
@media (max-width: 991.98px) {
    .ladder-step:nth-child(n) .ladder-card { margin-left: 0; }
    .ladder-photo { width: 96px; height: 96px; }
}
@media (max-width: 575.98px) {
    .calc-panel { padding: 28px 22px; }
    .calc-output { padding: 36px 22px; }
    .rate-pills { flex-direction: column; }
    .rate-pill { flex: 1 1 auto; }
    .ladder-card { flex-direction: column; align-items: flex-start; padding: 22px; }
    .ladder-photo { width: 84px; height: 84px; }
    .ladder-commission { font-size: 1.9rem; }
    .story-media { height: 200px; }
}

/* ============================================================
   Partners (partners.php): catalog filter, partner cards, form
   ============================================================ */

/* Category filter pills */
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.filter-pill {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--muted);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: .9rem; font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}
.filter-pill:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.filter-pill.active {
    background: var(--grad-accent); color: #191320; border-color: transparent;
    box-shadow: 0 8px 22px -8px rgba(224,106,149,.55);
}

/* Partner card */
.partner-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.partner-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217,179,106,.5);
    box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
}
.partner-logo-area {
    position: relative;
    height: 170px;
    display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(420px 200px at 20% 0%, rgba(217,179,106,.22), transparent 60%),
        radial-gradient(420px 220px at 90% 100%, rgba(224,106,149,.18), transparent 60%),
        linear-gradient(160deg, #f6f3f8, #ece6f0);
    overflow: hidden;
}
.partner-logo {
    max-width: 70%; max-height: 104px;
    object-fit: contain; display: block;
    filter: drop-shadow(0 12px 22px rgba(15,13,19,.22));
    transition: transform .45s ease;
}
.partner-card:hover .partner-logo { transform: scale(1.07); }
.partner-logo-fallback {
    width: 96px; height: 96px; border-radius: 50%;
    background: linear-gradient(135deg, var(--f1, #d9b36a), var(--f2, #e06a95));
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 18px 36px -12px rgba(0,0,0,.35);
}
.partner-badge {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    font-size: .7rem; font-weight: 800; letter-spacing: .3px;
    color: #191320;
    background: linear-gradient(135deg, #d9b36a, #e06a95);
    padding: 8px 12px;
    box-shadow: 0 -6px 20px rgba(0,0,0,.18);
    white-space: nowrap;
}
.partner-badge i { font-size: .68rem; }
.partner-cat {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--gold-soft);
    border: 1px solid rgba(217,179,106,.5);
    background: rgba(15,13,19,.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px; padding: 6px 12px;
}
.partner-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.partner-title { font-size: 1.15rem; margin: 0; }
.partner-loc { color: var(--muted); font-size: .82rem; }
.partner-loc i { color: var(--gold); margin-right: 6px; }
.partner-desc { color: var(--muted); font-size: .9rem; margin: 0; }
.partner-footer {
    margin-top: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-top: 14px; border-top: 1px solid var(--line);
}
.partner-rating { color: var(--gold-soft); font-weight: 700; font-size: .9rem; }
.partner-rating i { color: var(--gold); margin-right: 5px; }
.partner-reviews { color: var(--muted); font-size: .82rem; }

/* Partners: application form */
.partner-form-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 36px 32px;
    height: 100%;
}
.partner-form-card .form-label { color: var(--muted); font-size: .85rem; font-weight: 600; }
.partner-form-card .form-text { color: var(--muted); font-size: .78rem; }
select.form-control-dark option { background: var(--card-2); color: var(--text); }
.form-alert {
    border-radius: 12px;
    padding: 13px 18px;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 16px;
}
.form-alert.success {
    background: rgba(76,175,125,.12);
    border: 1px solid rgba(76,175,125,.4);
    color: #7fd6a5;
}
.form-alert.error {
    background: rgba(224,106,149,.12);
    border: 1px solid rgba(224,106,149,.4);
    color: var(--rose-soft);
}
.partner-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Partners: entrance animation on load & filter */
@keyframes partnerIn {
    from { opacity: 0; transform: translateY(22px) scale(.97); }
    to { opacity: 1; transform: none; }
}
.partner-col.anim-in { animation: partnerIn .5s ease both; }
@media (prefers-reduced-motion: reduce) {
    .partner-col.anim-in { animation: none; }
}

/* ============================================================
   Events (events.php): mosaic gallery, poster, text stories
   ============================================================ */

/* ---- Mosaic gallery ---- */
.events-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 18px;
}
.events-gallery-grid .gallery-item {
    height: 100%;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.events-gallery-grid .g-tall { grid-row: span 2; }
.events-gallery-grid .g-wide { grid-column: span 2; }
.events-gallery-grid .gallery-overlay { padding: 18px; }

@media (max-width: 991.98px) {
    .events-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
    .events-gallery-grid .g-wide { grid-column: span 2; }
}
@media (max-width: 575.98px) {
    .events-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
    .events-gallery-grid .g-tall { grid-row: span 1; }
    .events-gallery-grid .g-wide { grid-column: span 1; }
}

/* ---- Poster / event cards ---- */
.event-list { display: flex; flex-direction: column; gap: 18px; }
.event-card {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px 26px;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.event-card::before {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--grad-accent);
}
.event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217,179,106,.5);
    box-shadow: 0 22px 48px -22px rgba(0,0,0,.75);
}
.event-date {
    flex-shrink: 0;
    width: 88px; height: 98px;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(217,179,106,.16), rgba(224,106,149,.14));
    border: 1px solid rgba(217,179,106,.35);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
}
.event-date .ev-day { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.event-date .ev-mon { font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.event-body { flex-grow: 1; min-width: 0; }
.event-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .72rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--gold-soft);
    background: rgba(217,179,106,.08);
    border: 1px solid rgba(217,179,106,.3);
    border-radius: 50px; padding: 5px 13px;
    margin-bottom: 10px;
}
.event-title { font-family: 'Playfair Display', serif; font-size: 1.28rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.event-desc { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.event-meta span { display: inline-flex; align-items: center; gap: 7px; }
.event-meta i { color: var(--gold); }
.event-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.event-actions .btn { min-width: 150px; }

@media (max-width: 575.98px) {
    .event-card { flex-direction: column; padding: 20px; }
    .event-date { width: 74px; height: 84px; }
    .event-date .ev-day { font-size: 1.7rem; }
}

/* ---- Text stories (без видео) ---- */
.story-card--text .story-media { height: 200px; }
.story-card--text .story-play { display: none; }
.story-status {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .74rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--gold-soft);
    border: 1px solid rgba(217,179,106,.5);
    background: rgba(15,13,19,.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px; padding: 7px 14px;
}

/* ---- Главная: ссылка «Подробнее» в карточках навигации ---- */
.page-link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: .88rem;
    font-weight: 600;
    margin-top: 6px;
}
.page-link-more i { transition: transform .3s ease; }
a:hover .page-link-more { color: var(--rose-soft); }
a:hover .page-link-more i { transform: translateX(4px); }
