 
[data-theme='dark'] {
    color-scheme: dark;
    --paper: #202422;
    --white: #2a302c;
    --ink: #eef4ef;
    --muted: #a9b6ad;
    --line: #3b463e;
    --dark: #121b15;
    --mint: #b8dea2;
    --error: #ff859b;
    --shadow: 0 14px 45px #0002;
    --surface: #292f2b;
    --surface-raised: #303832;
    --input: #242c26;
    --accent: #a6d58d;
}
[data-theme='light'] {
    color-scheme: light;
    --surface: #fff;
    --surface-raised: #f7faf5;
    --input: #fff;
    --accent: #54783c;
}
.theme-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    flex-shrink: 0;
}
[data-theme='dark'] .moon-icon,
[data-theme='light'] .sun-icon {
    display: none;
}
.theme-toggle:hover {
    border-color: #85b573;
    transform: rotate(12deg);
}
.theme-toggle:active {
    transform: scale(0.93);
}
body {
    position: relative;
    isolation: isolate;
}
body:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url('/assets/img/grid-lines.svg');
    background-size: 1440px 1100px;
    opacity: 0.14;
    pointer-events: none;
    mask-image: linear-gradient(transparent, #000 300px, #000, transparent);
}
[data-theme='dark'] .header {
    background: #202422ed;
    border-color: var(--line);
}
[data-theme='dark'] .header nav.open {
    background: var(--surface);
    border-color: var(--line);
}
[data-theme='dark']
    :is(
        .channel,
        .menu-button,
        .filter,
        .product-card,
        .payment-card,
        .order-panel,
        .white-panel,
        .legal-content,
        .empty,
        .admin-stat,
        .admin-product,
        .admin-method,
        .modal,
        .modal-close,
        .table-scroll,
        .checkout-close,
        .card-choose b
    ) {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line);
}
[data-theme='dark']
    :is(
        .fact-icon,
        .payment-section,
        .region,
        .legal-draft,
        .admin-note,
        .admin-offer,
        .method,
        .offer,
        .steps article
    ) {
    background: var(--surface-raised);
    color: var(--ink);
    border-color: var(--line);
}
[data-theme='dark'] :is(input, select, textarea) {
    background: var(--input);
    color: var(--ink);
    border-color: var(--line);
}
[data-theme='dark'] :is(input, textarea)::placeholder {
    color: #839187;
}
[data-theme='dark']
    :is(
        .product-desc,
        .region,
        .visual-caption,
        .fact-icon,
        .eyebrow.muted,
        .muted,
        .back-link,
        .field-hint,
        .hero-note,
        .text-link
    ) {
    color: var(--muted);
}
[data-theme='dark'] :is(.product-visual, .selected-product).music {
    background: #254b37;
}
[data-theme='dark'] .music .product-visual {
    background: #254b37;
}
[data-theme='dark'] :is(.product-visual, .selected-product).ai,
[data-theme='dark'] .ai .product-visual {
    background: #413343;
}
[data-theme='dark'] :is(.product-visual, .selected-product).video,
[data-theme='dark'] .video .product-visual {
    background: #3c3928;
}
[data-theme='dark'] :is(.product-visual, .selected-product).games,
[data-theme='dark'] .games .product-visual {
    background: #2d3f4b;
}
[data-theme='dark'] :is(.product-visual, .selected-product).topup,
[data-theme='dark'] .topup .product-visual {
    background: #47372f;
}
[data-theme='dark'] :is(.visual-mark, .product-visual:after) {
    color: #dbeed050;
    border-color: #dbeed018;
}
[data-theme='dark'] .visual-caption {
    color: #d6e2d1b3;
}
[data-theme='dark']
    :is(
        .product-bottom,
        .selection-details,
        .facts,
        .faq-list details,
        .footer-bottom,
        .modal-events
    ) {
    border-color: var(--line);
}
[data-theme='dark'] :is(.offer, .method, .filter, .crypto-coin).active {
    background: #344b2e;
    border-color: #98c57e;
    color: #ecf6e7;
}
[data-theme='dark'] .offer .recommend {
    background: #b8dea2;
    color: #18301a;
}
[data-theme='dark'] .radio-mark {
    border-color: #73876a;
}
[data-theme='dark'] .btn {
    background: #b8dea2;
    color: #1a2b1e;
}
[data-theme='dark'] .btn:hover {
    background: #c8e7b5;
    color: #1a2b1e;
}
[data-theme='dark'] .btn.light {
    background: var(--surface-raised);
    color: var(--ink);
    border-color: var(--line);
}
[data-theme='dark'] .btn.light:hover {
    background: #394d35;
    color: #eef4ef;
    border-color: #86a472;
}
[data-theme='dark'] .filter:hover:not(.active),
[data-theme='dark'] .filter:focus-visible:not(.active) {
    background: #344235;
    color: #eef4ef;
    border-color: #7c9871;
}
[data-theme='dark'] :is(.support-banner, .footer) {
    background: #19201b;
    border-color: var(--line);
    color: var(--ink);
}
[data-theme='dark'] :is(.checkout-dialog, .checkout-header) {
    background: #222923;
    border-color: var(--line);
    color: var(--ink);
}
[data-theme='dark'] .checkout-close:hover {
    background: #344b2e;
}
[data-theme='dark'] .success-icon {
    background: #344b2e;
    color: #b8dea2;
}
[data-theme='dark'] :is(th, td) {
    border-color: var(--line);
}
[data-theme='dark'] th {
    background: #273228;
    color: var(--muted);
}
[data-theme='dark'] td button {
    background: var(--surface-raised);
    border-color: var(--line);
    color: var(--ink);
}
[data-theme='dark'] .status-badge {
    background: #443d2c;
    color: #f0dba2;
}
[data-theme='dark'] :is(.status-badge.paid, .status-badge.done) {
    background: #2a4831;
    color: #b0dea9;
}
[data-theme='dark'] .status-badge.in_progress {
    background: #2c3e51;
    color: #b1d2f4;
}
[data-theme='dark'] :is(.status-badge.failed, .status-badge.refunded) {
    background: #4a2c38;
    color: #f6b2c4;
}
[data-theme='dark'] .hero-art {
    background: linear-gradient(135deg, #252c2a, #344738 75%, #68885a);
}
[data-theme='dark'] #toast {
    background: #b8dea2;
    color: #18251b;
}
.custom-amount {
    margin-top: 18px;
    padding: 20px;
    background: var(--surface-raised);
    border: 1px solid var(--line);
    border-radius: 17px;
}
.custom-amount > label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}
.amount-input {
    position: relative;
}
.amount-input input {
    width: 100%;
    padding-right: 45px;
    font-size: 25px;
    letter-spacing: -0.04em;
    height: 60px;
}
.amount-input > span {
    position: absolute;
    right: 18px;
    top: 13px;
    font-size: 23px;
    color: var(--muted);
    pointer-events: none;
}
.amount-breakdown {
    display: grid;
    gap: 7px;
    margin-top: 14px;
    font-size: 12px;
}
.amount-breakdown > span {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.amount-breakdown > span:last-child {
    border-top: 1px solid var(--line);
    padding-top: 9px;
    font-size: 14px;
}
.purchase-instructions {
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
    margin-top: 14px;
}
.offers-many {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.crypto-options {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-raised);
}
.crypto-coins {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0;
}
.crypto-coin {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    text-align: left;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 12px;
}
.crypto-coin small {
    font-size: 10px;
    color: var(--muted);
}
.crypto-coin.active {
    border-color: #7da56a;
    background: #f0f7e9;
}
.crypto-invoice {
    margin: 20px 0;
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--surface-raised);
    border-radius: 20px;
    text-align: left;
    display: grid;
    gap: 12px;
}
.crypto-invoice h3 {
    font-size: 24px;
    overflow-wrap: anywhere;
}
.crypto-invoice p {
    margin: 0;
    font-size: 12px;
}
.crypto-invoice input {
    font-size: 12px;
    width: 100%;
    font-family: monospace;
}
.crypto-invoice .btn {
    font-size: 12px;
    min-height: 42px;
    padding: 11px 18px;
    justify-self: start;
}
.tx-hash {
    overflow-wrap: anywhere;
    font-family: monospace;
}
.crypto-proof-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.admin-rule-form,
.admin-crypto-form,
.admin-new-offer {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
}
.admin-rule-form .full,
.admin-crypto-form .full,
.admin-new-offer .full {
    grid-column: 1/-1;
}
.admin-rule-form .check,
.admin-crypto-form .check {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.admin-product .admin-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 115px 130px;
    align-items: end;
}
.admin-offer label {
    max-width: none;
}
.admin-offer .offer-caption {
    grid-column: 1/-1;
}
.admin-offer .checkbox-label {
    flex-direction: row;
    gap: 8px;
}
.hero-routes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.55;
}
.hero-routes path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation:
        route-in 2.4s cubic-bezier(0.25, 0.75, 0.25, 1) forwards,
        route-breathe 7s ease-in-out 3s infinite;
}
.hero-routes path:nth-child(2) {
    animation-delay: 0.35s, 3.35s;
}
.hero-routes path:nth-child(3) {
    animation-delay: 0.7s, 3.7s;
}
.hero-logo {
    animation: logo-in 0.85s cubic-bezier(0.2, 0.75, 0.2, 1) both;
    will-change: auto;
}
.hero-logo-openai {
    animation-delay: 0.15s;
}
.hero-logo-netflix {
    animation-delay: 0.28s;
}
.hero-logo-telegram {
    animation-delay: 0.4s;
}
.hero-copy h1 {
    animation: copy-in 0.8s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}
.hero-copy > p,
.hero-actions {
    animation: copy-in 0.8s 0.12s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}
.btn,
.filter,
.offer,
.method,
.crypto-coin,
.theme-toggle,
.product-card {
    transition:
        background 0.2s,
        border-color 0.2s,
        transform 0.28s cubic-bezier(0.2, 0.75, 0.2, 1),
        box-shadow 0.28s;
}
.btn:active,
.offer:active,
.method:active {
    transform: scale(0.98);
}
.product-card {
    position: relative;
    overflow: hidden;
}
.product-card:focus-visible {
    outline-offset: 4px;
}
@media (hover: hover) {
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 30px #10251f14;
    }
    .product-card:hover .product-logo img {
        transform: translateY(-3px) rotate(-4deg);
    }
    .product-logo img {
        transition: transform 0.4s cubic-bezier(0.2, 0.75, 0.2, 1);
    }
}
.motion-ready [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.65s ease,
        transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
.checkout-dialog[open] {
    animation: dialog-in 0.3s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.checkout-dialog[open]::backdrop {
    animation: backdrop-in 0.25s ease;
}
@keyframes route-in {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes route-breathe {
    50% {
        opacity: 0.38;
    }
}
@keyframes logo-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.88);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes copy-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes dialog-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes backdrop-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@media (max-width: 600px) {
    .theme-toggle {
        width: 38px;
        height: 38px;
    }
    .brand .brand-logo {
        width: 125px;
        height: 35px;
    }
    .header-inner {
        gap: 10px;
    }
    .header-actions {
        gap: 6px;
    }
    .channel {
        padding: 8px 10px;
    }
    .menu-button {
        width: 38px;
    }
    .custom-amount {
        padding: 15px;
    }
    .offers-many {
        grid-template-columns: 1fr 1fr;
    }
    .admin-offer {
        grid-template-columns: 1fr 1fr;
    }
    .admin-offer > label:first-child {
        grid-column: 1/-1;
    }
    .admin-offer .btn {
        grid-column: 1/-1;
    }
    .admin-rule-form,
    .admin-crypto-form,
    .admin-new-offer {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    .crypto-invoice {
        padding: 17px;
    }
    .hero-routes {
        opacity: 0.4;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
    }
    .hero-routes path {
        stroke-dashoffset: 0;
    }
    .motion-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

[data-theme='dark'] .admin-sidebar button.active {
    color: #20351c;
}
[data-theme='dark'] .menu-button span {
    background: var(--ink);
}
.admin-add {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.admin-add summary {
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
}
.checkout-dialog .selected-product {
    align-self: start;
}

.payment-symbol img {
    width: 30px;
    height: 30px;
}
