:root {
            color-scheme: light;
            --canvas: #0c1b2a;
            --ink: #0a111f;
            --muted: #516070;
            --accent: #2b2f36;
            --accent-strong: #0f3f45;
            --accent-bright: #6ed3c8;
            --accent-warm: #f2c45d;
            --accent-soft: rgba(28, 31, 36, 0.12);
            --panel: rgba(255, 255, 255, 0.88);
            --panel-strong: rgba(255, 255, 255, 0.96);
            --panel-soft: rgba(255, 255, 255, 0.72);
            --stroke: rgba(13, 27, 42, 0.16);
            --shadow: 0 28px 70px rgba(3, 10, 18, 0.35);
            --shadow-soft: 0 14px 34px rgba(3, 10, 18, 0.2);
            --success: #1f8f6f;
            --warning: #c9742a;
            --danger: #c74b4b;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: "Manrope", "Noto Sans", sans-serif;
            color: var(--ink);
            background:
                radial-gradient(1200px 800px at 15% -10%, rgba(110, 211, 200, 0.25), transparent 60%),
                radial-gradient(900px 600px at 85% 0%, rgba(242, 196, 93, 0.2), transparent 55%),
                var(--canvas);
            position: relative;
            overflow-x: hidden;
        }

        body::before {
            content: none;
            display: none;
        }

        body::after {
            content: none;
            display: none;
        }

        .page {
            max-width: 1600px;
            margin: 24px auto 70px;
            padding: 18px;
            position: relative;
            z-index: 1;
        }

        .site-header {
            display: grid;
            gap: 16px;
            padding: 16px 18px;
            background: rgba(255, 255, 255, 0.68);
            border: 1px solid var(--stroke);
            border-radius: 22px;
            box-shadow: var(--shadow-soft);
            backdrop-filter: blur(14px);
        }

        .header-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            flex-wrap: nowrap;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: inherit;
        }

        .brand-mark {
            width: 46px;
            height: 46px;
            border-radius: 16px;
            display: grid;
            place-items: center;
            font-family: "Manrope", "Inter", "SF Pro", sans-serif;
            font-size: 1.35rem;
            font-weight: 700;
            background: linear-gradient(145deg, var(--accent), var(--accent-strong));
            color: #f5fbfb;
            letter-spacing: 0.06em;
            box-shadow: 0 14px 24px rgba(3, 10, 18, 0.3);
        }

        .brand-text {
            display: flex;
            flex-direction: column;
            line-height: 1.05;
        }

        .brand-text span:first-child {
            font-size: 0.65rem;
            letter-spacing: 0.26em;
            text-transform: uppercase;
            color: var(--muted);
        }

        .brand-text span:last-child {
            font-family: "Manrope", "Inter", "SF Pro", sans-serif;
            font-size: 1.35rem;
            font-weight: 700;
        }

        .nav-panel {
            display: flex;
            flex: 1 1 auto;
            min-width: 0;
            flex-wrap: nowrap;
            overflow-x: auto;
            justify-content: center;
            gap: 10px;
            padding: 8px 12px;
            border-radius: 18px;
            background: rgba(13, 27, 42, 0.08);
            border: 1px solid rgba(13, 27, 42, 0.12);
        }

        .nav-group {
            display: contents;
        }

        .nav-group-title {
            display: none;
        }

        .nav-links {
            display: contents;
        }

        .nav-link {
            text-decoration: none;
            color: var(--ink);
            background: rgba(255, 255, 255, 0.9);
            border-radius: 999px;
            border: 1px solid rgba(13, 27, 42, 0.16);
            padding: 6px 14px;
            display: inline-flex;
            white-space: nowrap;
            align-items: center;
            gap: 6px;
            font-size: 0.9rem;
            font-weight: 600;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .nav-link span {
            font-weight: 600;
            font-size: 0.9rem;
        }

        .nav-link small {
            display: none;
        }

        .nav-link:hover {
            transform: translateY(-1px);
            border-color: rgba(28, 31, 36, 0.4);
            box-shadow: 0 10px 18px rgba(3, 10, 18, 0.16);
        }

        .nav-link.primary {
            background: linear-gradient(140deg, var(--accent), var(--accent-strong));
            border-color: rgba(28, 31, 36, 0.5);
            color: #f5fbfb;
            box-shadow: 0 10px 18px rgba(3, 10, 18, 0.24);
        }

        .auth {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            padding: 6px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.78);
            border: 1px solid rgba(18, 20, 24, 0.12);
            box-shadow: var(--shadow-soft);
            backdrop-filter: blur(10px);
        }

        .auth .btn {
            padding: 9px 16px;
            font-size: 0.75rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 20px;
            border-radius: 999px;
            font-weight: 600;
            text-decoration: none;
            border: 1px solid transparent;
            background-clip: padding-box;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
        }

        .btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 20px rgba(0, 0, 0, 0.14);
        }

        .btn:focus-visible {
            outline: 2px solid rgba(17, 17, 17, 0.55);
            outline-offset: 3px;
        }

        .btn:disabled {
            opacity: 0.55;
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }

        .btn.primary {
            background: linear-gradient(145deg, var(--accent), var(--accent-strong));
            color: #f5fbfb;
            box-shadow: 0 12px 20px rgba(3, 10, 18, 0.3);
        }

        .btn.ghost {
            border-color: rgba(13, 27, 42, 0.2);
            color: var(--accent-strong);
            background: rgba(255, 255, 255, 0.84);
        }

        .btn.outline {
            border-color: rgba(13, 27, 42, 0.35);
            color: var(--accent-strong);
            background: transparent;
        }

        .shop {
            margin-top: 24px;
            display: grid;
            gap: 24px;
            animation: pageIn 0.8s ease-out both;
        }

        .shop-notice {
            display: none;
            padding: 12px 16px;
            border-radius: 16px;
            border: 1px solid rgba(13, 27, 42, 0.12);
            background: rgba(255, 255, 255, 0.9);
            color: var(--ink);
            box-shadow: var(--shadow-soft);
        }

        .shop-notice.show {
            display: block;
        }

        .shop-notice.success {
            background: rgba(31, 143, 111, 0.12);
            border-color: rgba(31, 143, 111, 0.3);
            color: #165f4a;
        }

        .shop-notice.warning {
            background: rgba(201, 116, 42, 0.12);
            border-color: rgba(201, 116, 42, 0.3);
            color: #7a4310;
        }

        .shop-notice.error {
            background: rgba(199, 75, 75, 0.12);
            border-color: rgba(199, 75, 75, 0.3);
            color: #6d1f1f;
        }

        .shop-notice.info {
            background: rgba(28, 31, 36, 0.12);
            border-color: rgba(28, 31, 36, 0.3);
            color: var(--accent-strong);
        }

        .reactivation-bonus-banner {
            margin-top: 14px;
            padding: 12px 14px;
            border-radius: 14px;
            border: 1px solid rgba(31, 143, 111, 0.35);
            background: linear-gradient(135deg, rgba(31, 143, 111, 0.12), rgba(110, 211, 200, 0.22));
            display: grid;
            gap: 4px;
        }

        .reactivation-bonus-banner strong {
            font-size: 0.88rem;
            color: #0f4f3c;
            letter-spacing: 0.01em;
        }

        .reactivation-bonus-banner span {
            font-size: 0.8rem;
            color: #1a5a49;
            font-weight: 600;
            line-height: 1.4;
        }

        .hero {
            display: grid;
            grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
            gap: 24px;
            padding: 34px;
            border-radius: 28px;
            background: linear-gradient(130deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82));
            border: 1px solid var(--stroke);
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: "";
            position: absolute;
            right: -18%;
            top: -30%;
            width: 60%;
            height: 90%;
            background: radial-gradient(circle, rgba(110, 211, 200, 0.4), transparent 70%);
            opacity: 0.8;
        }

        .hero::after {
            content: "";
            position: absolute;
            left: -10%;
            bottom: -40%;
            width: 50%;
            height: 80%;
            background: radial-gradient(circle, rgba(242, 196, 93, 0.35), transparent 70%);
            opacity: 0.6;
        }

        .hero-content {
            display: grid;
            gap: 14px;
            position: relative;
            z-index: 1;
        }

        .hero-label {
            font-size: 0.72rem;
            letter-spacing: 0.28em;
            text-transform: uppercase;
            color: var(--accent-strong);
            font-weight: 700;
        }

        .hero-content h1 {
            margin: 0;
            font-family: "Manrope", "Inter", "SF Pro", sans-serif;
            font-size: 2.4rem;
        }

        .hero-lead {
            margin: 0;
            color: #0b1320;
            font-weight: 700;
            line-height: 1.6;
            max-width: 640px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
        }

        .currency-switch {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 8px 14px;
            border-radius: 999px;
            background: linear-gradient(135deg, #fdfdfd, #f4f7fb);
            border: 1px solid rgba(12, 27, 42, 0.08);
            box-shadow: 0 10px 30px rgba(12, 27, 42, 0.08);
        }

        .currency-switch > span {
            font-weight: 800;
            font-size: 0.82rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: #0c1b2a;
            opacity: 0.7;
        }

        .currency-buttons {
            display: inline-flex;
            gap: 6px;
        }

        .currency-buttons .chip {
            padding: 8px 12px;
            border-radius: 999px;
            border: 1px solid transparent;
            background: rgba(12, 27, 42, 0.06);
            color: #0c1b2a;
            font-weight: 800;
            text-decoration: none;
            transition: all 0.18s ease;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
        }

        .currency-buttons .chip:hover {
            background: #e6e8ec;
            color: #0c1b2a;
            border-color: rgba(12, 27, 42, 0.08);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
            transform: translateY(-1px);
        }

        .currency-buttons .chip.active {
            background: #0f1115;
            color: #ffffff;
            border-color: transparent;
            box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
            transform: translateY(-1px);
        }

        .hero-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .tag {
            padding: 6px 12px;
            border-radius: 999px;
            background: rgba(13, 27, 42, 0.08);
            border: 1px solid rgba(13, 27, 42, 0.18);
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--accent-strong);
        }

        .hero-card {
            position: relative;
            z-index: 1;
            padding: 20px;
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.92);
            border: 1px solid rgba(13, 27, 42, 0.18);
            box-shadow: var(--shadow-soft);
            display: grid;
            gap: 14px;
            align-content: start;
        }

        .hero-card-title {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: var(--muted);
            font-weight: 700;
        }

        .hero-balance {
            font-family: "Manrope", "Inter", "SF Pro", sans-serif;
            font-size: 2.1rem;
            font-weight: 700;
        }

        .hero-mini {
            display: grid;
            gap: 8px;
        }

        .hero-mini div {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            color: var(--muted);
        }

        .hero-mini strong {
            color: var(--ink);
        }

        .hero-card-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .hero-note {
            margin: 0;
            font-size: 0.82rem;
            color: var(--muted);
        }

        .shop-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
            gap: 20px;
            align-items: start;
            min-width: 0;
        }

        .shop-main {
            display: grid;
            gap: 18px;
            min-width: 0;
        }

        .shop-sidebar {
            display: grid;
            gap: 18px;
            min-width: 0;
            width: 100%;
        }

        .panel {
            padding: 22px;
            border-radius: 22px;
            background: var(--panel);
            border: 1px solid var(--stroke);
            box-shadow: var(--shadow-soft);
            display: grid;
            gap: 16px;
            min-width: 0;
        }

        .panel-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 14px;
            flex-wrap: wrap;
        }

        .panel-head h2 {
            margin: 0;
            font-size: 1.45rem;
            font-family: "Manrope", "Inter", "SF Pro", sans-serif;
        }

        .panel-head p {
            margin: 6px 0 0;
            color: var(--muted);
        }

        .filter-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .chip {
            padding: 6px 12px;
            border-radius: 999px;
            border: 1px solid rgba(13, 27, 42, 0.2);
            background: rgba(255, 255, 255, 0.92);
            font-weight: 600;
            font-size: 0.78rem;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .chip:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 18px rgba(3, 10, 18, 0.12);
        }

        .chip.active {
            background: linear-gradient(140deg, var(--accent), var(--accent-strong));
            color: #f5fbfb;
            border-color: transparent;
        }

        .product-grid {
            display: grid;
            gap: 8px;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            justify-content: center;
        }

        .product-card {
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid rgba(13, 27, 42, 0.14);
            border-radius: 20px;
            overflow: hidden;
            display: grid;
            grid-template-rows: auto 1fr;
            box-shadow: 0 14px 26px rgba(3, 10, 18, 0.18);
            animation: fadeUp 0.6s ease both;
        }

        .product-card:nth-child(2) {
            animation-delay: 0.05s;
        }

        .product-card:nth-child(3) {
            animation-delay: 0.1s;
        }

        .product-card:nth-child(4) {
            animation-delay: 0.15s;
        }

        .product-media {
            padding: 18px;
            min-height: 120px;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            background:
                radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 60%),
                linear-gradient(140deg, rgba(28, 31, 36, 0.82), rgba(28, 31, 36, 0.92));
            color: #f5fbfb;
        }

        .product-tag {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            padding: 4px 8px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.22);
            font-weight: 700;
        }

        .product-code {
            font-weight: 700;
            letter-spacing: 0.12em;
        }

        .product-body {
            padding: 18px;
            display: grid;
            gap: 12px;
        }

        .product-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .badge {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: var(--accent-strong);
            background: var(--accent-soft);
            padding: 4px 10px;
            border-radius: 999px;
            font-weight: 700;
        }

        .price {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--ink);
        }

        .product-body h3 {
            margin: 0;
            font-size: 1.15rem;
        }

        .product-body p {
            margin: 0;
            color: var(--muted);
            line-height: 1.5;
        }

        .product-list {
            margin: 0;
            padding-left: 18px;
            color: var(--muted);
            display: grid;
            gap: 6px;
        }

        .product-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .product-actions .btn {
            flex: 1 1 auto;
        }

        .step-grid {
            display: grid;
            gap: 14px;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        }

        .step-card {
            padding: 16px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(13, 27, 42, 0.12);
            display: grid;
            gap: 8px;
        }

        .step-index {
            font-size: 0.7rem;
            letter-spacing: 0.24em;
            text-transform: uppercase;
            color: var(--accent-strong);
            font-weight: 700;
        }

        .step-card h3 {
            margin: 0;
            font-size: 1rem;
        }

        .step-card p {
            margin: 0;
            color: var(--muted);
            line-height: 1.45;
        }

        .faq-grid {
            display: grid;
            gap: 12px;
        }

        .faq-item {
            padding: 16px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(13, 27, 42, 0.12);
        }

        .faq-item h3 {
            margin: 0 0 6px;
            font-size: 1rem;
        }

        .faq-item p {
            margin: 0;
            color: var(--muted);
            line-height: 1.5;
        }

        .wallet-summary {
            padding: 16px;
            border-radius: 16px;
            background: var(--panel-strong);
            border: 1px solid rgba(13, 27, 42, 0.12);
            display: grid;
            gap: 12px;
        }

        .wallet-balance {
            font-family: "Manrope", "Inter", "SF Pro", sans-serif;
            font-size: 2rem;
            font-weight: 700;
        }

        .wallet-label {
            display: block;
            font-size: 0.75rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--muted);
        }

        .meta-grid {
            display: grid;
            gap: 8px;
        }

        .meta-row {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            color: var(--muted);
            font-weight: 600;
            min-width: 0;
        }

        .meta-row strong {
            color: var(--ink);
            min-width: 0;
            display: block;
            flex: 1 1 auto;
            overflow-wrap: anywhere;
            text-align: right;
        }

        .status-chip {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            padding: 4px 10px;
            border-radius: 999px;
            background: rgba(31, 143, 111, 0.16);
            color: var(--success);
            font-weight: 700;
        }

        .status-chip.warning {
            background: rgba(201, 116, 42, 0.16);
            color: var(--warning);
        }

        .alert {
            padding: 14px 16px;
            border-radius: 16px;
            border: 1px solid rgba(201, 116, 42, 0.2);
            background: rgba(201, 116, 42, 0.12);
            color: #7a4310;
            display: grid;
            gap: 8px;
        }

        .alert strong {
            font-size: 0.95rem;
        }

        .alert .btn {
            width: 100%;
        }

        .topup-form {
            display: grid;
            gap: 12px;
        }

        .topup-form label {
            font-weight: 600;
            font-size: 0.9rem;
        }

        .input-group {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 12px;
            border-radius: 12px;
            border: 1px solid var(--stroke);
            background: #fff;
        }

        .input-group input {
            border: none;
            background: transparent;
            width: auto;
            min-width: 0;
            flex: 1 1 auto;
            font-size: 1rem;
            outline: none;
            font-family: inherit;
        }

        .input-group span {
            font-weight: 700;
            color: var(--muted);
        }

        .topup-form input[type="email"],
        .topup-form input[type="tel"] {
            padding: 10px 12px;
            border-radius: 12px;
            border: 1px solid var(--stroke);
            background: #fff;
            font-size: 0.95rem;
            font-family: inherit;
        }

        .quick-amounts {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .payment-method-selector {
            margin: 0;
            padding: 12px;
            background: rgba(13, 27, 42, 0.05);
            border: 1px solid rgba(13, 27, 42, 0.12);
            border-radius: 12px;
            display: grid;
            gap: 8px;
        }

        .payment-method-selector.compact {
            margin-top: 4px;
        }

        .selector-title {
            margin: 0;
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--muted);
        }

        .payment-option {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-size: 0.92rem;
            color: var(--ink);
        }

        .payment-option input {
            margin: 0;
            accent-color: var(--accent-strong);
        }

        .payment-option small {
            opacity: 0.72;
        }

        .method-card {
            padding: 14px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(13, 27, 42, 0.12);
            display: flex;
            justify-content: space-between;
            gap: 12px;
            align-items: center;
        }

        .method-card span {
            display: block;
            color: var(--muted);
            font-size: 0.85rem;
        }

        .method-pill {
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(28, 31, 36, 0.16);
            color: var(--accent-strong);
            font-weight: 600;
            font-size: 0.75rem;
            white-space: nowrap;
        }

        .trust-panel {
            border-radius: 14px;
            border: 1px dashed rgba(13, 27, 42, 0.22);
            background: rgba(255, 255, 255, 0.75);
            padding: 12px;
            display: grid;
            gap: 10px;
        }

        .trust-panel h3 {
            margin: 0;
            font-size: 0.98rem;
        }

        .trust-panel ul {
            margin: 0;
            padding: 0;
            list-style: none;
            display: grid;
            gap: 8px;
        }

        .trust-panel li {
            display: grid;
            gap: 2px;
        }

        .trust-panel li strong {
            font-size: 0.88rem;
            color: var(--accent-strong);
        }

        .trust-panel li span {
            color: var(--muted);
            font-size: 0.84rem;
        }

        .topup-popup {
            position: fixed;
            inset: 0;
            display: none;
            z-index: 1200;
        }

        .topup-popup.show {
            display: block;
        }

        .topup-popup-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(6, 12, 20, 0.66);
            backdrop-filter: blur(4px);
        }

        .topup-popup-dialog {
            position: relative;
            width: min(640px, calc(100vw - 28px));
            max-height: calc(100vh - 40px);
            overflow: auto;
            margin: 20px auto;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.98);
            border: 1px solid rgba(13, 27, 42, 0.16);
            box-shadow: 0 24px 56px rgba(3, 10, 18, 0.35);
            padding: 20px;
            display: grid;
            gap: 14px;
        }

        .topup-popup-head {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            align-items: flex-start;
        }

        .topup-popup-head h3 {
            margin: 0;
            font-size: 1.2rem;
        }

        .topup-popup-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 10px;
        }

        .topup-popup-item {
            border: 1px solid rgba(13, 27, 42, 0.18);
            border-radius: 12px;
            background: #fff;
            padding: 12px;
            cursor: pointer;
            display: grid;
            gap: 4px;
            text-align: left;
            transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
        }

        .topup-popup-item:hover {
            transform: translateY(-1px);
            border-color: rgba(15, 63, 69, 0.6);
            box-shadow: 0 10px 20px rgba(3, 10, 18, 0.14);
        }

        .topup-popup-item strong {
            font-size: 1rem;
            color: var(--ink);
        }

        .topup-popup-item span {
            font-size: 0.84rem;
            color: var(--muted);
        }

        .topup-popup-actions {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        .hint {
            margin: 0;
            font-size: 0.82rem;
            color: var(--muted);
        }

        .cart-items {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 12px;
            max-height: 280px;
            overflow: auto;
        }

        .cart-empty {
            padding: 12px 14px;
            border-radius: 12px;
            background: rgba(13, 27, 42, 0.06);
            color: var(--muted);
        }

        .cart-item {
            display: grid;
            gap: 10px;
            padding: 12px;
            border-radius: 14px;
            border: 1px solid rgba(13, 27, 42, 0.12);
            background: rgba(255, 255, 255, 0.92);
        }

        .cart-info {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            font-weight: 600;
        }

        .cart-info span {
            color: var(--muted);
            font-weight: 500;
        }

        .cart-controls {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .qty-btn {
            width: 32px;
            height: 32px;
            border-radius: 10px;
            border: 1px solid rgba(13, 27, 42, 0.16);
            background: rgba(255, 255, 255, 0.9);
            font-weight: 700;
            cursor: pointer;
        }

        .qty-input {
            width: 60px;
            padding: 6px 8px;
            text-align: center;
            border-radius: 10px;
            border: 1px solid rgba(13, 27, 42, 0.16);
            font-family: inherit;
        }

        .remove-btn {
            align-self: flex-start;
            border: none;
            background: transparent;
            color: var(--danger);
            font-weight: 600;
            cursor: pointer;
            padding: 0;
        }

        .cart-summary {
            display: grid;
            gap: 12px;
            border-top: 1px dashed rgba(13, 27, 42, 0.2);
            padding-top: 14px;
        }

        .cart-row {
            display: flex;
            justify-content: space-between;
            color: var(--muted);
            font-weight: 600;
        }

        .cart-row.total {
            font-size: 1.05rem;
            color: var(--ink);
        }

        .cart-row.promo-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }

        .cart-item--discounted {
            position: relative;
            border-color: rgba(31, 143, 111, 0.3) !important;
            background: linear-gradient(135deg, rgba(110, 211, 200, 0.08), rgba(255, 255, 255, 0.92)) !important;
        }

        .cart-item--discounted::before {
            content: "?? Скидка";
            position: absolute;
            top: -8px;
            right: 12px;
            background: linear-gradient(135deg, #1f8f6f, #28a745);
            color: white;
            font-size: 0.7rem;
            padding: 2px 8px;
            border-radius: 8px;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(31, 143, 111, 0.3);
        }

        .promo-details {
            background: linear-gradient(135deg, rgba(110, 211, 200, 0.15), rgba(242, 196, 93, 0.1));
            border: 1px solid rgba(110, 211, 200, 0.3);
            border-radius: 14px;
            padding: 14px;
            margin-bottom: 12px;
            display: none;
        }

        .promo-details.active {
            display: block;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .promo-details-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;
            font-weight: 700;
            color: var(--accent-strong);
        }

        .promo-details-header::before {
            content: "?";
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            background: linear-gradient(135deg, #1f8f6f, #28a745);
            color: white;
            border-radius: 50%;
            font-size: 0.9rem;
        }

        .promo-details-info {
            font-size: 0.85rem;
            color: var(--muted);
            line-height: 1.5;
        }

        .promo-details-info strong {
            color: var(--ink);
        }

        .promo-badge {
            display: inline-block;
            background: rgba(31, 143, 111, 0.15);
            color: #1f8f6f;
            padding: 4px 10px;
            border-radius: 8px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-top: 6px;
        }

        .promo-inline {
            width: 100%;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
        }

        .promo-inline input {
            flex: 1 1 280px;
            min-width: 220px;
            padding: 12px 14px;
            height: 48px;
        }

        .promo-inline .btn {
            flex: 0 0 auto;
            white-space: nowrap;
        }

        .cart-actions {
            display: grid;
            gap: 10px;
        }

        .support-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 10px;
        }

        .support-list li {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 12px;
            color: var(--muted);
            font-weight: 600;
            min-width: 0;
        }

        .support-list span {
            flex: 0 0 auto;
        }

        .support-list strong {
            color: var(--ink);
            min-width: 0;
            display: block;
            flex: 1 1 auto;
            max-width: 70%;
            text-align: right;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .support-list strong a {
            display: inline-block;
            max-width: 100%;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .rate-note {
            margin-top: 6px;
            color: var(--muted);
            font-size: 0.9rem;
        }

        @keyframes particleDrift {
            0% {
                transform: translate3d(0, 0, 0) scale(1);
                opacity: 0.55;
            }
            50% {
                transform: translate3d(-1.4%, 1%, 0) scale(1.02);
                opacity: 0.75;
            }
            100% {
                transform: translate3d(0, 0, 0) scale(1);
                opacity: 0.55;
            }
        }

        @keyframes particleFloat {
            0% {
                transform: translate3d(0, 0, 0) scale(1);
                opacity: 0.4;
            }
            50% {
                transform: translate3d(1.8%, -1%, 0) scale(1.03);
                opacity: 0.6;
            }
            100% {
                transform: translate3d(0, 0, 0) scale(1);
                opacity: 0.4;
            }
        }

        @keyframes pageIn {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 1200px) {
            .hero {
                grid-template-columns: 1fr;
            }

            .shop-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 980px) {
            .site-header {
                padding: 14px;
            }

            .header-top {
                flex-direction: column;
                align-items: stretch;
            }

            .nav-panel {
                width: 100%;
                padding: 10px;
                gap: 8px;
            }

            .auth {
                align-self: stretch;
                justify-content: space-between;
            }
        }

        @media (max-width: 720px) {
            .hero {
                padding: 26px;
            }

            .product-actions .btn {
                flex: 1 1 100%;
            }
        }

        @media (max-width: 640px) {
            .page {
                padding: 14px;
            }

            .site-header {
                padding: 12px 14px;
            }

            .panel {
                padding: 18px;
            }

            .auth {
                width: 100%;
            }

            .auth .btn {
                flex: 1 1 auto;
                text-align: center;
            }

            .support-list li {
                flex-direction: column;
                gap: 4px;
            }

            .support-list strong {
                max-width: 100%;
                width: 100%;
                text-align: left;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            * {
                animation: none !important;
                transition: none !important;
            }
        }
