:root {
    --bg: #f5f5fa;
    --surface: #ffffff;
    --surface-2: #f8f8fc;
    --ink: #111117;
    --ink-2: #34343f;
    --muted: #757583;
    --muted-2: #9b9ba9;
    --line: #e8e8f0;
    --line-2: #f0f0f6;
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-deep: #5b21b6;
    --primary-soft: #f2edff;
    --yellow: #ffd400;
    --yellow-soft: #fff9d9;
    --green: #16a34a;
    --green-soft: #e9f8ef;
    --red: #e11d48;
    --red-soft: #fff0f4;
    --orange: #f59e0b;
    --orange-soft: #fff7e8;
    --blue: #2563eb;
    --blue-soft: #eef4ff;
    --dark: #0a0a0e;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(17, 17, 23, .05);
    --shadow: 0 16px 36px -18px rgba(17, 17, 23, .18);
    --shadow-lg: 0 32px 80px -28px rgba(17, 17, 23, .32);
    --header-h: 72px;
    --font: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

h1, h2, h3, h4, h5 {
    margin: 0;
    line-height: 1.25;
    letter-spacing: -.02em;
}

p {
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
}

[hidden] {
    display: none !important;
}

::selection {
    background: var(--primary);
    color: #fff;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.mono {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
    letter-spacing: .01em;
}

.text-muted { color: var(--muted) !important; }
.text-primary { color: var(--primary-dark) !important; }
.text-success { color: var(--green) !important; }
.text-danger { color: var(--red) !important; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(139, 92, 246, .28); outline-offset: 2px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-primary {
    background: linear-gradient(135deg, #9568ff 0%, var(--primary) 55%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 8px 20px -10px rgba(124, 58, 237, .7);
}
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 12px 24px -10px rgba(124, 58, 237, .75); }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #22222a; }

.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #f5f2ff; }

.btn-outline { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-outline:hover { border-color: #cfc9e6; color: var(--primary-dark); background: #fcfbff; }

.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }

.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-danger:hover { background: #ffe1e9; }

.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn-xs { height: 30px; padding: 0 11px; font-size: 12px; border-radius: 8px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: inherit;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}
.badge-lg { padding: 7px 13px; font-size: 12.5px; }
.badge-success { background: var(--green-soft); color: #15803d; }
.badge-info { background: var(--blue-soft); color: #1d4ed8; }
.badge-warning { background: var(--orange-soft); color: #b45309; }
.badge-danger { background: var(--red-soft); color: #be123c; }
.badge-neutral { background: #f1f1f6; color: #626271; }
.badge-purple { background: var(--primary-soft); color: var(--primary-dark); }

.chip {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: .18s ease;
}
.chip:hover { border-color: #cfc9e6; color: var(--primary-dark); }
.chip.active { background: var(--dark); border-color: var(--dark); color: #fff; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5f5f70;
    font-size: 13.5px;
    font-weight: 600;
    transition: .18s ease;
}
.link-arrow:hover { color: var(--primary-dark); gap: 9px; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}
.back-link:hover { color: var(--primary-dark); }

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 7px;
    background: rgba(139, 92, 246, .1);
    color: var(--primary-dark);
    vertical-align: middle;
    transition: .15s ease;
}
.copy-btn:hover { background: rgba(139, 92, 246, .2); }
.copy-btn.copied { background: var(--green-soft); color: var(--green); }

.field-label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 600;
}
.field-label .req { color: var(--red); }
.field-label .optional { color: var(--muted-2); font-weight: 400; }
.field-hint {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
}
.field-hint code { background: #f1f1f6; padding: 1px 5px; border-radius: 4px; }

.input,
.select,
.textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input,
.select { height: 46px; padding: 0 14px; }
.select {
    appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23757583' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
}
.textarea { padding: 12px 14px; resize: vertical; min-height: 96px; }
.input:focus,
.select:focus,
.textarea:focus {
    outline: 0;
    border-color: rgba(139, 92, 246, .7);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, .1);
}
.input::placeholder,
.textarea::placeholder { color: var(--muted-2); }
.input-sm { height: 36px; padding: 0 11px; border-radius: 9px; font-size: 13px; }
.select-sm { height: 36px; padding: 0 32px 0 11px; border-radius: 9px; font-size: 13px; }

.fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fields-grid .full { grid-column: 1 / -1; }
.fields-grid.two { grid-template-columns: 1fr 1fr; }

.input-icon { position: relative; }
.input-icon > svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-2);
    pointer-events: none;
}
.input-icon .input { padding-left: 42px; }
.input-icon.has-action .input { padding-right: 48px; }
.input-action {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
}
.input-action:hover { background: var(--surface-2); color: var(--ink); }

.amount-input-wrap { position: relative; }
.amount-input-wrap .input {
    height: 56px;
    padding-right: 46px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.amount-input-wrap > span {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.quick-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.quick-amount {
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 600;
    transition: .15s ease;
}
.quick-amount:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-soft); }

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-2);
    cursor: pointer;
}
.checkbox input {
    width: 17px;
    height: 17px;
    border-radius: 5px;
    accent-color: var(--primary);
}

.stack-form { display: flex; flex-direction: column; gap: 16px; }

.flash-wrap { padding-top: 14px; }
.flash-wrap:empty { display: none; }

.alert,
.notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.55;
}
.alert { margin-bottom: 14px; }
.alert > svg, .notice > svg { flex: none; margin-top: 1px; }
.alert strong { display: block; margin-bottom: 2px; }
.alert ul { margin: 4px 0 0 16px; }
.alert ul li { margin: 2px 0; }
.alert-success { background: var(--green-soft); color: #166534; border: 1px solid #c9efd7; }
.alert-danger { background: var(--red-soft); color: #9f1239; border: 1px solid #ffd3df; }
.notice { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.notice-info { background: var(--blue-soft); border-color: #dbe7ff; color: #1e40af; }
.notice-warning { background: var(--orange-soft); border-color: #ffe8bd; color: #92400e; }
.notice-danger { background: var(--red-soft); border-color: #ffd3df; color: #9f1239; }
.notice.notice-info > div { display: flex; flex-direction: column; gap: 2px; }
.notice.compact { padding: 10px 12px; font-size: 12.5px; margin: 0; }
.notice-actions { display: flex; gap: 8px; margin-left: auto; flex: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(10, 10, 14, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    height: 100%;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
}
.brand-mark { width: 38px; height: 38px; display: block; }
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-has-logo .brand-mark { width: auto; height: 52px; }
.brand-has-logo .brand-mark img { width: auto; height: 100%; max-width: 240px; object-fit: contain; }
.brand-has-logo .brand-text { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.03em;
}
.brand-text small {
    margin-top: 4px;
    color: #a78bfa;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.2px;
}
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
    position: relative;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .18s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: #fff; font-weight: 600; }
.main-nav a.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -14px;
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary);
    transform: translateX(-50%);
}
.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 210px;
    height: 38px;
    padding: 0 12px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 11px;
    background: rgba(255, 255, 255, .06);
    color: #8f8f9f;
    transition: .18s ease;
}
.header-search:focus-within { border-color: rgba(139, 92, 246, .7); background: rgba(255, 255, 255, .09); }
.header-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
}
.header-search input::placeholder { color: #858594; }
.header-search input::-webkit-search-cancel-button { filter: invert(1); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 4px; }
.header-icon-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    color: #e8e8f0;
    transition: .18s ease;
}
.header-icon-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.header-login-btn { height: 38px; padding: 0 18px; border-radius: 9px; }
.login-link { color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 500; }
.login-link:hover { color: #fff; }

.wallet-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 11px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 12.5px;
    transition: .18s ease;
}
.wallet-chip:hover { border-color: rgba(255, 212, 0, .4); background: rgba(255, 255, 255, .1); }
.coin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffe45c, #ffc400);
    color: #7a5300;
    flex: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}
.account-dropdown { position: relative; }
.account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 8px 0 5px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #fff;
}
.account-trigger:hover { background: rgba(255, 255, 255, .07); }
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffe45c, #ffcb00);
    color: #1c1500;
    font-size: 14px;
    font-weight: 800;
    flex: none;
}
.avatar.lg { width: 44px; height: 44px; font-size: 17px; }
.avatar.xl { width: 56px; height: 56px; font-size: 21px; }
.avatar.xxl { width: 72px; height: 72px; font-size: 27px; }
.account-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.account-trigger .chev { color: #8f8f9f; transition: transform .18s ease; }
.account-dropdown.open .chev { transform: rotate(180deg); }

.dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 282px;
    padding: 8px;
    border: 1px solid #2b2b34;
    border-radius: 16px;
    background: #17171e;
    box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .18s ease;
}
.account-dropdown.open .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 13px;
    margin-bottom: 5px;
    border-bottom: 1px solid #2a2a33;
}
.dropdown-user strong { display: block; color: #fff; font-size: 13.5px; }
.dropdown-user small { display: block; margin-top: 2px; color: #8e8e9d; font-size: 11.5px; }
.dropdown-user > div { min-width: 0; }
.dropdown-user strong,
.dropdown-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown-panel a,
.dropdown-panel form button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 40px;
    padding: 0 11px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #c3c3cf;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}
.dropdown-panel a:hover,
.dropdown-panel form button:hover { background: #22222b; color: #fff; }
.dropdown-panel form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid #2a2a33; }
.dropdown-panel form button { color: #fda4af; }
.menu-value { margin-left: auto; color: var(--yellow); font-size: 11.5px; font-weight: 700; }

.nav-toggle { display: none; color: #fff; }
.mobile-bottom-nav { display: none; }

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    min-height: 44px;
    padding: 4px 2px;
    color: var(--muted);
    font-size: 8.5px;
    font-weight: 500;
}
.mobile-bottom-nav a.active { color: var(--primary-dark); }
.mobile-bottom-nav a.center { position: relative; color: var(--ink-2); }
.mobile-bottom-nav .center-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-top: -22px;
    border: 4px solid var(--bg);
    border-radius: 50%;
    background: linear-gradient(135deg, #9568ff, var(--primary-dark));
    color: #fff;
    box-shadow: 0 10px 20px -10px rgba(124, 58, 237, .8);
}

.mobile-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 300;
    width: min(330px, 88vw);
    padding: 18px;
    background: #101016;
    color: #fff;
    transform: translateX(-102%);
    transition: transform .25s ease;
    overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer-head .icon-btn { color: #b6b6c4; }
.drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #26262f;
    border-radius: 14px;
    background: #17171e;
    margin-bottom: 16px;
}
.drawer-user strong { display: block; font-size: 14px; }
.drawer-user small { color: #9b9baa; font-size: 12px; }
.drawer-search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 12px;
    margin-bottom: 16px;
    border: 1px solid #2b2b35;
    border-radius: 11px;
    background: #17171e;
    color: #8c8c9b;
}
.drawer-search input { flex: 1; border: 0; outline: 0; background: transparent; color: #fff; }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    color: #c6c6d2;
    font-size: 13.5px;
    font-weight: 500;
}
.drawer-nav a:hover { background: #1d1d26; color: #fff; }
.drawer-logout { margin-top: 18px; padding-top: 18px; border-top: 1px solid #26262f; }
.drawer-logout .btn-outline { background: transparent; border-color: #33333e; color: #d4d4df; }
.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 290;
    background: rgba(5, 5, 10, .55);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
}
.drawer-backdrop.show { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }

.hero {
    position: relative;
    padding: 58px 0 86px;
    background:
        radial-gradient(800px 420px at 82% 10%, rgba(124, 58, 237, .35), transparent 65%),
        radial-gradient(500px 300px at 12% 100%, rgba(139, 92, 246, .13), transparent 70%),
        #0a0a0f;
    color: #fff;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, black, transparent 55%);
    pointer-events: none;
    opacity: .35;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 40px;
    align-items: center;
}
.hero-copy .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid rgba(139, 92, 246, .35);
    border-radius: 999px;
    background: rgba(139, 92, 246, .16);
    color: #d8caff;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .3px;
}
.eyebrow svg { color: var(--yellow); }
.hero h1 {
    margin-top: 20px;
    font-size: clamp(38px, 4.6vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.045em;
}
.hero h1 span {
    color: var(--yellow);
    position: relative;
    white-space: nowrap;
}
.hero h1 span::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 7px;
    background: rgba(255, 212, 0, .18);
    border-radius: 6px;
    z-index: -1;
}
.hero-copy > p {
    max-width: 550px;
    margin-top: 16px;
    color: #b1b1c0;
    font-size: 14.5px;
    line-height: 1.7;
}
.hero-search {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 560px;
    margin-top: 26px;
    padding: 6px 6px 6px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .8);
    color: var(--muted);
}
.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
}
.hero-search input::placeholder { color: var(--muted-2); }
.hero-search .btn { height: 44px; border-radius: 11px; }
.hero-stats { display: flex; gap: 30px; margin-top: 30px; }
.hero-stats div { position: relative; }
.hero-stats div + div::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: rgba(255, 255, 255, .12);
}
.hero-stats strong { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.hero-stats span { display: block; margin-top: 1px; color: #8f8f9f; font-size: 11px; }

.hero-visual {
    position: relative;
    height: 400px;
}
.hero-glow {
    position: absolute;
    inset: 12% 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, .4), transparent 68%);
    filter: blur(20px);
}
.hero-tile {
    position: absolute;
    width: 118px;
    height: 118px;
    padding: 5px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 22px 40px -20px rgba(0, 0, 0, .8);
    backdrop-filter: blur(10px);
}
.hero-tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 17px; }
.hero-tile.tile-1 { width: 160px; height: 160px; left: 24%; top: 20%; transform: rotate(-6deg); z-index: 3; }
.hero-tile.tile-2 { width: 120px; height: 120px; right: 4%; top: 8%; transform: rotate(7deg); }
.hero-tile.tile-3 { width: 108px; height: 108px; left: 0; top: 8%; transform: rotate(-10deg); }
.hero-tile.tile-4 { width: 132px; height: 132px; left: 8%; bottom: 2%; transform: rotate(6deg); }
.hero-tile.tile-5 { width: 112px; height: 112px; right: 8%; bottom: 6%; transform: rotate(-8deg); }
.hero-float {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: rgba(20, 20, 27, .82);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .8);
}
.hero-float small { display: block; color: #9c9cab; font-size: 9.5px; }
.hero-float strong { display: block; color: #fff; font-size: 13px; }
.float-price { right: 0; top: 47%; }
.float-price strong { color: var(--yellow); font-size: 17px; }
.float-status { left: 5%; bottom: 26%; }
.float-status strong { font-size: 15px; }
.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .28); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.trust-strip { position: relative; z-index: 3; margin-top: -44px; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}
.trust-item { display: flex; align-items: center; gap: 11px; padding: 6px 10px; }
.trust-item + .trust-item { border-left: 1px solid var(--line-2); }
.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    flex: none;
}
.trust-item:nth-child(2) .trust-icon { background: var(--green-soft); color: var(--green); }
.trust-item:nth-child(3) .trust-icon { background: var(--yellow-soft); color: #b28600; }
.trust-item:nth-child(4) .trust-icon { background: var(--blue-soft); color: var(--blue); }
.trust-item strong { display: block; font-size: 12.5px; }
.trust-item span { display: block; color: var(--muted); font-size: 10.5px; line-height: 1.4; }

.home-hero { background: #f4f4f9; padding: 22px 0 0; }
.hero-slider {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    background: #150b26;
    overflow: hidden;
    box-shadow: 0 34px 80px -56px rgba(24, 12, 48, .85);
}
.hero-slider-track {
    display: flex;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}
.hero-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 28px;
    align-items: center;
    align-content: center;
    min-height: 392px;
    padding: 42px 64px 50px;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse at 78% 48%, #000 8%, transparent 70%);
    mask-image: radial-gradient(ellipse at 78% 48%, #000 8%, transparent 70%);
    pointer-events: none;
}
.hero-slide-game {
    background:
        radial-gradient(680px 360px at 82% 4%, rgba(192, 132, 252, .38), transparent 62%),
        radial-gradient(460px 320px at 4% 94%, rgba(59, 130, 246, .18), transparent 68%),
        linear-gradient(122deg, #12081f 0%, #261040 48%, #45127c 100%);
}
.hero-slide-wallet {
    background:
        radial-gradient(680px 360px at 82% 4%, rgba(56, 189, 248, .28), transparent 62%),
        radial-gradient(460px 320px at 4% 94%, rgba(37, 99, 235, .22), transparent 68%),
        linear-gradient(122deg, #04101f 0%, #062547 48%, #0a3f69 100%);
}
.hero-slide-card {
    background:
        radial-gradient(680px 360px at 82% 4%, rgba(251, 146, 60, .3), transparent 62%),
        radial-gradient(460px 320px at 4% 94%, rgba(244, 63, 94, .18), transparent 68%),
        linear-gradient(122deg, #1d0d05 0%, #3a1608 48%, #6b2508 100%);
}
.hero-deco { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.hero-deco-a { width: 540px; height: 540px; right: -150px; top: -250px; background: radial-gradient(circle, rgba(192, 132, 252, .32), transparent 68%); }
.hero-deco-b { width: 380px; height: 380px; left: -190px; bottom: -250px; background: radial-gradient(circle, rgba(96, 165, 250, .18), transparent 70%); }
.hero-slide-wallet .hero-deco-a { background: radial-gradient(circle, rgba(56, 189, 248, .26), transparent 68%); }
.hero-slide-card .hero-deco-a { background: radial-gradient(circle, rgba(251, 146, 60, .28), transparent 68%); }
.hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; max-width: 590px; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: #e9ddf8;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.hero-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #c084fc; box-shadow: 0 0 0 4px rgba(192, 132, 252, .14); }
.hero-eyebrow-dot.blue { background: #38bdf8; box-shadow: 0 0 0 4px rgba(56, 189, 248, .14); }
.hero-eyebrow-dot.amber { background: #fb923c; box-shadow: 0 0 0 4px rgba(251, 146, 60, .14); }
.hero-copy h1,
.hero-copy h2 {
    margin-top: 18px;
    color: #fff;
    font-size: clamp(35px, 3.8vw, 48px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.hero-copy h2 { font-size: clamp(31px, 3.3vw, 42px); }
.hero-gradient-text {
    display: inline-block;
    background: linear-gradient(100deg, #f3e8ff 0%, #d8b4fe 44%, #f0abfc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-gradient-text.blue { background-image: linear-gradient(100deg, #e0f2fe 0%, #7dd3fc 48%, #38bdf8 100%); }
.hero-gradient-text.amber { background-image: linear-gradient(100deg, #fff7ed 0%, #fdba74 48%, #fb923c 100%); }
.hero-copy > p {
    max-width: 525px;
    margin-top: 14px;
    color: rgba(239, 235, 247, .72);
    font-size: 13px;
    line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 11px; margin-top: 25px; flex-wrap: wrap; }
.hero-btn-primary {
    border-color: #fff !important;
    background: #fff !important;
    color: #211032 !important;
    box-shadow: 0 18px 36px -20px rgba(255, 255, 255, .55);
}
.hero-btn-primary:hover { background: #f4ecff !important; border-color: #f4ecff !important; color: #4c1d95 !important; }
.hero-btn-ghost {
    border: 1px solid rgba(255, 255, 255, .22) !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #fff !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.hero-btn-ghost:hover { border-color: rgba(255, 255, 255, .4) !important; background: rgba(255, 255, 255, .13) !important; color: #fff !important; }
.hero-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; color: rgba(235, 231, 245, .55); font-size: 10px; }
.hero-meta strong { color: #fff; font-size: 11.5px; font-weight: 700; }
.hero-meta span + span { position: relative; }
.hero-meta span + span::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 1px;
    height: 12px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .17);
}
.hero-visual { position: relative; z-index: 2; height: 300px; }
.hero-halo {
    position: absolute;
    width: 340px;
    height: 340px;
    right: 18px;
    top: -24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 132, 252, .36), transparent 66%);
    filter: blur(8px);
    pointer-events: none;
}
.hero-halo.blue { background: radial-gradient(circle, rgba(56, 189, 248, .3), transparent 66%); }
.hero-halo.amber { background: radial-gradient(circle, rgba(251, 146, 60, .3), transparent 66%); }
.hero-dot-grid {
    position: absolute;
    right: 4px;
    top: 8px;
    width: 190px;
    height: 190px;
    background-image: radial-gradient(rgba(255, 255, 255, .35) 1.2px, transparent 1.2px);
    background-size: 14px 14px;
    opacity: .22;
    -webkit-mask-image: radial-gradient(circle at center, #000, transparent 72%);
    mask-image: radial-gradient(circle at center, #000, transparent 72%);
    pointer-events: none;
}
.hero-game-card {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: #1b1030;
    box-shadow: 0 30px 55px -24px rgba(0, 0, 0, .82);
}
.hero-game-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-game-card-main { width: 208px; height: 250px; left: 50%; top: 18px; z-index: 4; transform: translateX(-62%) rotate(-4deg); }
.hero-game-card-side { width: 118px; height: 118px; border-radius: 16px; }
.hero-game-card-side.side-one { right: -2px; top: 2px; z-index: 3; transform: rotate(5deg); }
.hero-game-card-side.side-two { right: 48px; bottom: 0; z-index: 2; width: 108px; height: 108px; transform: rotate(-6deg); }
.hero-game-tag {
    position: absolute;
    top: 9px;
    right: 9px;
    padding: 3px 6px;
    border-radius: 5px;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    box-shadow: 0 6px 14px -6px rgba(239, 68, 68, .8);
}
.hero-game-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 34px 13px 13px;
    background: linear-gradient(transparent, rgba(8, 4, 16, .94));
}
.hero-game-caption strong { display: block; color: #fff; font-size: 12.5px; line-height: 1.3; }
.hero-game-caption span { display: block; margin-top: 2px; color: #b9a8d9; font-size: 9px; }
.hero-float-card {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 12px;
    background: rgba(255, 255, 255, .97);
    color: #17121f;
    box-shadow: 0 20px 34px -20px rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.hero-float-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: #f1e9ff; color: #6d28d9; flex: none; }
.hero-float-icon.green { background: #dcfce7; color: #15803d; }
.hero-float-icon.blue { background: #e0f2fe; color: #0369a1; }
.hero-float-icon.amber { background: #ffedd5; color: #c2410c; }
.hero-float-card strong { display: block; font-size: 10px; line-height: 1.3; white-space: nowrap; }
.hero-float-card small { display: block; margin-top: 1px; color: #7d7788; font-size: 8.5px; line-height: 1.3; white-space: nowrap; }
.hero-float-auto { left: -8px; bottom: 18px; }
.hero-float-price { right: -4px; bottom: 58px; flex-direction: column; align-items: flex-start; gap: 0; padding: 9px 13px; }
.hero-float-price span { color: #7d7788; font-size: 8px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.hero-float-price strong { margin-top: 1px; color: #6d28d9; font-size: 13px; font-weight: 800; }
.hero-visual-wallet,
.hero-visual-card { display: flex; align-items: center; justify-content: center; height: 280px; }
.hero-wallet-card {
    position: relative;
    z-index: 3;
    width: 350px;
    max-width: 92%;
    min-height: 212px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 22px;
    background: linear-gradient(135deg, #0b2b52 0%, #155e9c 55%, #38bdf8 135%);
    box-shadow: 0 34px 64px -26px rgba(0, 0, 0, .68), inset 0 1px 0 rgba(255, 255, 255, .26);
    transform: rotate(-3deg);
    overflow: hidden;
}
.hero-wallet-card::before {
    content: '';
    position: absolute;
    width: 230px;
    height: 230px;
    right: -80px;
    top: -100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
}
.hero-wallet-card::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    left: -70px;
    bottom: -90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}
.hero-wallet-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hero-wallet-brand strong { display: block; font-size: 13px; font-weight: 800; letter-spacing: .5px; }
.hero-wallet-brand small { display: block; margin-top: 2px; color: rgba(255, 255, 255, .62); font-size: 8.5px; letter-spacing: .6px; text-transform: uppercase; }
.hero-wallet-wifi { display: flex; align-items: flex-end; gap: 2px; height: 16px; padding-top: 3px; }
.hero-wallet-wifi i { display: block; width: 3px; border-radius: 2px; background: rgba(255, 255, 255, .8); }
.hero-wallet-wifi i:nth-child(1) { height: 6px; }
.hero-wallet-wifi i:nth-child(2) { height: 10px; }
.hero-wallet-wifi i:nth-child(3) { height: 14px; }
.hero-wallet-label { position: relative; z-index: 1; display: block; margin-top: 26px; color: rgba(255, 255, 255, .58); font-size: 8.5px; font-weight: 600; letter-spacing: .9px; text-transform: uppercase; }
.hero-wallet-amount { position: relative; z-index: 1; display: block; margin-top: 2px; color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.hero-wallet-amount span { margin-left: 2px; font-size: 18px; }
.hero-wallet-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; color: rgba(255, 255, 255, .72); font-size: 9.5px; font-weight: 600; letter-spacing: .8px; }
.hero-wallet-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .16) 46%, transparent 58%); pointer-events: none; }
.hero-float-fee { left: -4px; bottom: 8px; }
.hero-float-sync { right: -6px; top: 2px; }
.hero-scratch-card {
    position: relative;
    z-index: 3;
    width: 238px;
    min-height: 270px;
    padding: 21px 22px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 20px;
    background: linear-gradient(145deg, #ff9a1f 0%, #f97316 48%, #dc2626 120%);
    box-shadow: 0 34px 64px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .3);
    transform: rotate(4deg);
    overflow: hidden;
}
.hero-scratch-card::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    right: -90px;
    top: -110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}
.hero-scratch-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: rgba(255, 255, 255, .82); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.hero-scratch-amount { position: relative; z-index: 1; display: block; margin-top: 32px; color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.04em; }
.hero-scratch-amount span { margin-left: 2px; font-size: 20px; }
.hero-scratch-code { position: relative; z-index: 1; display: block; margin-top: 20px; color: rgba(255, 255, 255, .82); font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.hero-scratch-note { position: relative; z-index: 1; display: block; margin-top: 8px; color: rgba(255, 255, 255, .62); font-size: 9px; }
.hero-scratch-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .2) 46%, transparent 58%); pointer-events: none; }
.hero-float-telco { left: -14px; bottom: 4px; }
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
    transition: .18s ease;
}
.hero-slider-arrow:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); }
.hero-slider-arrow.prev { left: 16px; }
.hero-slider-arrow.next { right: 16px; }
.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translateX(-50%);
}
.hero-slider-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .3);
    transition: .22s ease;
}
.hero-slider-dots button.active { width: 26px; background: #fff; }

.service-row { background: #fff; border-bottom: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 12px 0; }
.service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 10px;
    transition: background .18s ease;
}
.service-item:hover { background: var(--surface-2); }
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex: none;
}
.service-icon.purple { background: var(--primary-soft); color: var(--primary-dark); }
.service-icon.green { background: var(--green-soft); color: var(--green); }
.service-icon.orange { background: var(--yellow-soft); color: #a97a00; }
.service-icon.blue { background: var(--blue-soft); color: var(--blue); }
.service-item strong { display: block; font-size: 12.5px; font-weight: 600; }
.service-item small { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; }

.home-section { padding: 38px 0; background: var(--bg); }
.home-section-gray { background: #fff; border-bottom: 1px solid var(--line); }
.home-section .section-head { align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 8px 18px; }
.home-section .section-head h2 { font-size: 24px; letter-spacing: -.025em; }

.fund-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fund-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition: .18s ease;
}
.fund-card:hover { border-color: #d8cff1; box-shadow: 0 14px 28px -22px rgba(60, 30, 120, .28); transform: translateY(-2px); }
.fund-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    flex: none;
}
.fund-icon.bank { background: var(--primary-soft); color: var(--primary-dark); }
.fund-icon.card { background: var(--yellow-soft); color: #a97a00; }
.fund-copy { flex: 1; min-width: 0; }
.fund-copy strong { display: block; font-size: 13.5px; }
.fund-copy small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.fund-arrow { color: var(--muted-2); flex: none; }

.section { padding: 54px 0; }
.section-tight { padding: 34px 0; }
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 22px;
}
.section-head.center { justify-content: center; text-align: center; }
.section-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-dark);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.section-head h2 { font-size: 25px; font-weight: 800; }
.section-head p { margin-top: 4px; color: var(--muted); font-size: 13px; }

.game-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}
.game-card {
    display: block;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.game-card:hover {
    transform: translateY(-3px);
    border-color: #ddd6f6;
    box-shadow: 0 18px 34px -24px rgba(91, 33, 182, .45);
}
.game-cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f2f2f8;
}
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card:hover .game-cover img { transform: scale(1.035); }
.discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    left: auto;
    padding: 4px 7px;
    border-radius: 4px;
    background: #dc2626;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.1;
    box-shadow: 0 3px 8px -3px rgba(0, 0, 0, .35);
}
.game-hover { display: none; }
.game-info { padding: 11px 12px 13px; }
.game-info h3 {
    min-height: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.game-info p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
}
.game-info p strong { color: var(--ink); font-size: 13px; font-weight: 700; }
.game-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary-dark);
    flex: none;
}

.deposit-promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.promo-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.promo-bank { background: linear-gradient(135deg, #f1ebff 0%, #e7ddff 100%); border: 1px solid #e3d8ff; }
.promo-card-charge { background: linear-gradient(135deg, #fff8d6 0%, #ffefad 100%); border: 1px solid #ffeb9e; }
.promo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #fff;
    color: var(--primary-dark);
    flex: none;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .25);
}
.promo-card-charge .promo-icon { color: #a97a00; }
.promo-copy { max-width: 390px; }
.promo-copy h3 { font-size: 17px; font-weight: 800; }
.promo-copy p { margin-top: 4px; color: #57506b; font-size: 12px; line-height: 1.55; }
.promo-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; color: var(--primary-dark); font-size: 12px; font-weight: 700; }
.promo-card-charge .promo-link { color: #8a6400; }
.promo-amount {
    margin-left: auto;
    color: var(--primary-deep);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    text-align: right;
}
.promo-card-charge .promo-amount { color: #7a5a00; }
.promo-amount small { display: block; margin-top: 5px; color: #6b6185; font-size: 9px; font-weight: 600; letter-spacing: .3px; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card {
    position: relative;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}
.step-num {
    position: absolute;
    right: 18px;
    top: 10px;
    color: #f1eefb;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
}
.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary-dark);
}
.step-card:nth-child(2) .step-icon { background: var(--green-soft); color: var(--green); }
.step-card:nth-child(3) .step-icon { background: var(--yellow-soft); color: #b28600; }
.step-card h3 { position: relative; z-index: 1; font-size: 15.5px; font-weight: 700; }
.step-card p { position: relative; z-index: 1; margin-top: 7px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

.cta-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 38px 42px;
    border-radius: 26px;
    background:
        radial-gradient(500px 240px at 90% 10%, rgba(255, 212, 0, .26), transparent 60%),
        linear-gradient(135deg, #7c3aed 0%, #6d28d9 55%, #4c1d95 100%);
    color: #fff;
    overflow: hidden;
}
.cta-banner::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -60px;
    width: 220px;
    height: 220px;
    border: 36px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}
.cta-banner .eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; color: #e8ddff; font-size: 11px; font-weight: 600; letter-spacing: .4px; }
.cta-banner h2 { font-size: 27px; font-weight: 800; max-width: 660px; }
.cta-banner p { margin-top: 7px; max-width: 600px; color: #d9cef3; font-size: 13px; }
.cta-banner .btn { position: relative; z-index: 1; flex: none; }

.page-hero {
    padding: 26px 0 24px;
    background: linear-gradient(180deg, #fff 0%, #faf9fe 100%);
    border-bottom: 1px solid var(--line);
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12px;
}
.breadcrumb a:hover { color: var(--primary-dark); }
.breadcrumb span { color: var(--ink-2); }
.page-hero h1 { font-size: 31px; font-weight: 800; }
.page-hero p { margin-top: 5px; color: var(--muted); font-size: 13.5px; }
.page-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 320px;
    height: 46px;
    padding: 0 6px 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--muted);
}
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13.5px; }
.search-box button {
    height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: var(--dark);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
}
.filter-chips { display: flex; gap: 8px; margin-top: 20px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 54px 24px;
    text-align: center;
    border: 1px dashed #dcd8ea;
    border-radius: var(--radius);
    background: #fff;
    color: var(--muted);
}
.empty-state > svg { color: #c4b5fd; margin-bottom: 14px; }
.empty-state h1, .empty-state h3 { color: var(--ink); font-size: 19px; }
.empty-state p { max-width: 460px; margin-top: 7px; font-size: 13px; }
.empty-state .btn { margin-top: 16px; }
.empty-state.compact { padding: 34px 20px; border: 0; background: transparent; }
.empty-state.large { padding: 72px 24px; }
.empty-actions { display: flex; gap: 10px; margin-top: 18px; }
.empty-actions .btn { margin-top: 0; }
.coming-cover { width: 120px; height: 120px; object-fit: cover; border-radius: 20px; margin-bottom: 20px; }
.error-code { color: #ded7f8; font-size: 84px; font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.pagination-wrap { margin-top: 26px; }
.pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 600;
}
.page-link:hover { border-color: var(--primary); color: var(--primary-dark); }
.page-link.active { background: var(--dark); border-color: var(--dark); color: #fff; }
.page-link.disabled { opacity: .45; pointer-events: none; }
.page-link.dots { border: 0; background: transparent; }

.game-breadcrumb { padding-top: 18px; }
.game-head { padding: 6px 0 0; }
.game-head-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.game-head-cover {
    width: 116px;
    height: 116px;
    border-radius: 18px;
    overflow: hidden;
    flex: none;
    background: #f2f2f8;
}
.game-head-cover img { width: 100%; height: 100%; object-fit: cover; }
.game-head-info { min-width: 0; }
.game-head-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.game-head-title h1 { font-size: 27px; font-weight: 800; }
.game-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; color: var(--muted); font-size: 11.5px; }
.game-meta span { display: inline-flex; align-items: center; gap: 5px; }
.game-meta strong { color: var(--ink-2); }
.game-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.game-tags a {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
}
.game-tags a:hover { border-color: #d6cbf2; color: var(--primary-dark); }
.game-head-desc { max-width: 640px; margin-top: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.game-head-support {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: auto;
    padding-left: 22px;
    border-left: 1px solid var(--line);
    font-size: 11.5px;
    color: var(--muted);
    flex: none;
}
.game-head-support a { display: inline-flex; align-items: center; gap: 5px; color: var(--primary-dark); font-weight: 700; font-size: 13px; }

.game-section { padding-top: 22px; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 22px; align-items: start; }
.form-card {
    padding: 20px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}
.form-card-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 16px; }
.step-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
    flex: none;
}
.form-card-head h2 { font-size: 17px; font-weight: 700; }
.form-card-head p { margin-top: 3px; color: var(--muted); font-size: 11.5px; }
.form-card-head .step-pill { margin-top: 1px; }

.mode-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.mode-option { position: relative; cursor: pointer; }
.mode-option input { position: absolute; opacity: 0; pointer-events: none; }
.mode-option-body {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition: .18s ease;
}
.mode-option:hover .mode-option-body { border-color: #d5ccef; }
.mode-option input:checked + .mode-option-body { border-color: var(--primary); background: #fbf9ff; box-shadow: 0 0 0 3px rgba(139, 92, 246, .08); }
.mode-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #d6d6e2;
    border-radius: 50%;
    flex: none;
    position: relative;
    transition: .18s ease;
}
.mode-option input:checked + .mode-option-body .mode-radio { border-color: var(--primary); }
.mode-option input:checked + .mode-option-body .mode-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--primary);
}
.mode-option-body strong { display: block; font-size: 13px; }
.mode-option-body small { display: block; margin-top: 1px; color: var(--muted); font-size: 10.5px; }

.group-tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; padding-bottom: 2px; }
.group-tab {
    height: 32px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.group-tab.active { background: var(--dark); border-color: var(--dark); color: #fff; }
.package-group { display: none; }
.package-group.active { display: block; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.package-card { position: relative; cursor: pointer; }
.package-card input { position: absolute; opacity: 0; pointer-events: none; }
.package-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 74px;
    padding: 10px 12px;
    border: 1.5px solid var(--line);
    border-radius: 11px;
    background: #fff;
    transition: .18s ease;
}
.package-card:hover .package-body { border-color: #d5ccef; background: #fdfcff; }
.package-card input:checked + .package-body { border-color: var(--primary); background: #fbf9ff; box-shadow: 0 0 0 3px rgba(139, 92, 246, .08); }
.package-name { font-size: 11.5px; font-weight: 500; color: var(--ink-2); line-height: 1.35; }
.package-price { margin-top: 5px; color: var(--primary-dark); font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.package-original { margin-top: 1px; color: var(--muted-2); font-size: 10px; }

.discount-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 9px; }
.discount-option { position: relative; cursor: pointer; }
.discount-option input { position: absolute; opacity: 0; pointer-events: none; }
.discount-option-body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 72px;
    padding: 11px 13px;
    border: 1.5px solid var(--line);
    border-radius: 11px;
    background: #fff;
    transition: .18s ease;
}
.discount-option:hover .discount-option-body { border-color: #d5ccef; background: #fdfcff; }
.discount-option input:checked + .discount-option-body { border-color: var(--primary); background: #fbf9ff; box-shadow: 0 0 0 3px rgba(139, 92, 246, .08); }
.discount-option-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-right: 22px; }
.discount-option-top strong { color: var(--ink); font-size: 12.5px; }
.discount-option-body small { color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.discount-value { color: var(--green); font-size: 12px; font-weight: 800; white-space: nowrap; }
.discount-option-check {
    position: absolute;
    top: 11px;
    right: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #ececf4;
    color: #fff;
    transition: .18s ease;
}
.discount-option input:checked + .discount-option-body .discount-option-check { background: var(--primary); }
.discount-option-check svg { opacity: 0; transition: .18s ease; }
.discount-option input:checked + .discount-option-body .discount-option-check svg { opacity: 1; }
.discount-options.compact { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 7px; }
.discount-option.compact .discount-option-body { min-height: 58px; padding: 8px 9px; }
.discount-option.compact .discount-option-top { flex-direction: column; align-items: flex-start; gap: 1px; padding-right: 15px; }
.discount-option.compact .discount-value { order: -1; font-size: 14px; }
.discount-option.compact .discount-option-top strong { display: block; width: 100%; overflow: hidden; font-size: 9px; font-weight: 600; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.discount-option.compact small { display: none; }
.discount-option.compact .discount-option-check { top: 8px; right: 8px; width: 15px; height: 15px; }

.custom-option { position: relative; display: block; margin-top: 10px; cursor: pointer; }
.custom-option input { position: absolute; opacity: 0; pointer-events: none; }
.custom-option-body {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1.5px dashed #d7d2e8;
    border-radius: 11px;
    transition: .18s ease;
}
.custom-option input:checked + .custom-option-body { border-color: var(--primary); background: #fbf9ff; }
.custom-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #f2f2f8;
    color: var(--muted);
    flex: none;
}
.custom-option-body strong { display: block; font-size: 12.5px; }
.custom-option-body small { display: block; color: var(--muted); font-size: 10.5px; }
.custom-amount-panel { margin-top: 14px; }
.custom-amount-panel .field-hint { margin-bottom: 0; }

.pay-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.pay-option { position: relative; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option-body {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition: .18s ease;
}
.pay-option:hover .pay-option-body { border-color: #d5ccef; }
.pay-option input:checked + .pay-option-body { border-color: var(--primary); background: #fbf9ff; box-shadow: 0 0 0 3px rgba(139, 92, 246, .08); }
.pay-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #f5f4fa;
    color: var(--ink-2);
    flex: none;
}
.pay-option input:checked + .pay-option-body .pay-icon { background: var(--primary-soft); color: var(--primary-dark); }
.pay-copy { flex: 1; }
.pay-copy strong { display: block; font-size: 13px; }
.pay-copy small { display: block; margin-top: 1px; color: var(--muted); font-size: 10.5px; }
.pay-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #d6d6e2;
    border-radius: 50%;
    flex: none;
    position: relative;
}
.pay-option input:checked + .pay-option-body .pay-radio { border-color: var(--primary); }
.pay-option input:checked + .pay-option-body .pay-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--primary);
}
.inline-hint {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
    color: var(--muted);
    font-size: 11.5px;
}
.inline-hint a { color: var(--primary-dark); font-weight: 600; }
.login-payment-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid #dbe7ff;
    border-radius: 10px;
    background: var(--blue-soft);
    color: #1e40af;
    font-size: 12px;
    line-height: 1.5;
}
.login-payment-hint svg { flex: none; }
.server-combobox { position: relative; }
.server-filter {
    height: 46px;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23757583' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.server-combobox-hint { display: none; }
.server-combobox.is-enhanced + .server-combobox-hint { display: block; }
.server-select-enhanced { display: none; }
.server-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 120;
    max-height: min(320px, 50vh);
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 48px -20px rgba(17, 17, 23, .28);
}
.server-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}
.server-option:hover,
.server-option.is-active { background: var(--surface-2); }
.server-option.is-selected { color: var(--primary-dark); font-weight: 700; }
.server-option-empty,
.server-option-more { padding: 10px 12px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

.summary-card {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}
.summary-card-title { margin-bottom: 15px; font-size: 13px; font-weight: 700; }
.summary-game { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid var(--line-2); }
.summary-game img { width: 48px; height: 48px; border-radius: 11px; object-fit: cover; flex: none; }
.summary-game strong { display: block; font-size: 12.5px; line-height: 1.35; }
.summary-game small { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; line-height: 1.3; }
.summary-lines { display: flex; flex-direction: column; gap: 9px; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.summary-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11.5px; color: var(--muted); }
.summary-line strong { color: var(--ink-2); font-size: 11.5px; font-weight: 600; text-align: right; }
.summary-line.discount strong { color: var(--green); }
.summary-total { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.summary-total span { font-size: 12px; color: var(--muted); }
.summary-total strong { font-size: 23px; font-weight: 800; color: var(--primary-dark); letter-spacing: -.04em; }
.summary-card .btn-lg { height: 48px; }
.summary-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.summary-note svg { flex: none; color: var(--green); margin-top: 1px; }
.summary-help { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 10.5px; }
.summary-help a, .summary-help button { color: var(--primary-dark); font-weight: 600; }
.summary-help button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.mobile-submit { display: none; }

.checkout-top { padding-top: 18px; }
.checkout-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.checkout-heading h1 { font-size: 30px; font-weight: 800; }
.checkout-heading p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 20px; align-items: start; }
.checkout-card { padding: 24px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.checkout-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.checkout-card-head h2 { font-size: 17px; }
.checkout-card-head p { margin-top: 2px; color: var(--muted); font-size: 11.5px; }
.transfer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 208px; gap: 20px; align-items: center; }
.bank-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line-2);
    font-size: 12px;
}
.bank-info-row:last-child { border-bottom: 0; }
.bank-info-row > span { color: var(--muted); }
.bank-info-row > strong { color: var(--ink); font-size: 12.5px; text-align: right; word-break: break-word; }
.bank-info-row.highlight {
    margin-top: 6px;
    padding: 11px 13px;
    border: 0;
    border-radius: 9px;
    background: var(--primary-soft);
}
.bank-info-row.highlight > span { color: #6d5a9e; }
.bank-info-row.highlight > strong { color: var(--primary-deep); font-size: 14px; }
.transfer-content { letter-spacing: .05em; }
.copy-value { display: inline-flex; align-items: center; gap: 7px; }
.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px dashed #d9d2ee;
    border-radius: 14px;
    background: #fcfbff;
}
.qr-box img { width: 100%; max-width: 184px; height: auto; border-radius: 8px; }
.qr-box span { color: var(--muted); font-size: 9.5px; text-align: center; }
.deadline-box {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 16px;
    padding: 13px 15px;
    border: 1px solid #ffe6b8;
    border-radius: 12px;
    background: var(--orange-soft);
    color: #92400e;
}
.deadline-box svg { flex: none; }
.deadline-box strong { display: block; font-size: 12.5px; }
.deadline-box span { display: block; margin-top: 1px; color: #a16207; font-size: 10.5px; }
.deadline-box strong span { display: inline; margin: 0; color: inherit; font-size: inherit; font-variant-numeric: tabular-nums; }
.reported-form { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.reported-form .btn { flex: none; }
.reported-form > span { color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.instruction-list { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.instruction-list li {
    position: relative;
    padding: 0 0 14px 34px;
    color: var(--ink-2);
    font-size: 12.5px;
    line-height: 1.55;
    counter-increment: step;
}
.instruction-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f1eefb;
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 700;
}
.instruction-list li:last-child { padding-bottom: 0; }
.instruction-list + .notice { margin-top: 18px; }
.checkout-side .summary-card { position: sticky; }
.checkout-side .summary-card form { margin-top: 8px; }
.support-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.support-card.wide { margin-top: 18px; }
.support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    flex: none;
}
.support-card strong { display: block; font-size: 12.5px; }
.support-card p { margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.support-card a { color: var(--primary-dark); font-weight: 600; }

.auth-page { padding: 44px 0 64px; }
.auth-shell {
    display: block;
    max-width: 470px;
    margin-inline: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 50px -32px rgba(17, 17, 23, .28);
    overflow: hidden;
}
.auth-visual { display: none; }
.auth-card { padding: 34px 36px; }
.auth-card-head h1 { font-size: 25px; font-weight: 800; }
.auth-card-head p { margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.auth-flash { margin-top: 16px; }
.auth-flash .alert { margin-bottom: 0; }
.auth-form { display: flex; flex-direction: column; gap: 15px; margin-top: 22px; }
.captcha-row { display: flex; align-items: center; gap: 8px; }
.captcha-img {
    width: 150px;
    height: 46px;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #f8f7ff;
}
.captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--muted);
    flex: none;
}
.captcha-refresh:hover { color: var(--primary-dark); border-color: #d6cbf2; }
.captcha-input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; }
.auth-body .header-actions { display: none; }
.auth-body .main-nav { margin-left: auto; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.small-link { color: var(--primary-dark); font-size: 12px; font-weight: 600; }
.auth-divider { position: relative; margin: 22px 0; text-align: center; }
.auth-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.auth-divider span { position: relative; padding: 0 12px; background: #fff; color: var(--muted-2); font-size: 10.5px; }
.auth-switch { text-align: center; color: var(--muted); font-size: 12.5px; }
.auth-switch a { color: var(--primary-dark); font-weight: 700; }
.auth-terms { margin-top: 12px; color: var(--muted-2); font-size: 10px; line-height: 1.55; text-align: center; }
.auth-terms a { color: var(--muted); text-decoration: underline; }
.demo-hint {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding: 9px 11px;
    border: 1px dashed #d9d0f5;
    border-radius: 9px;
    background: #fbf9ff;
    color: #6d5a9e;
    font-size: 10.5px;
}
.demo-hint strong { color: var(--primary-deep); }

.account-page { padding: 24px 0 64px; }
.account-layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 20px; align-items: start; }
.account-layout > * { min-width: 0; }
.account-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    min-width: 0;
}
.account-sidebar-user { display: flex; align-items: center; gap: 11px; padding: 4px 4px 15px; border-bottom: 1px solid var(--line-2); }
.account-sidebar-user strong { display: block; font-size: 12.5px; }
.account-sidebar-user small { display: block; color: var(--muted); font-size: 10.5px; }
.account-sidebar-user > div { min-width: 0; }
.account-sidebar-user strong,
.account-sidebar-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-nav { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; }
.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 11px;
    border-radius: 10px;
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 500;
    transition: .15s ease;
}
.account-nav a:hover { background: var(--surface-2); }
.account-nav a.active { background: #f3efff; color: var(--primary-deep); font-weight: 600; }
.nav-badge { margin-left: auto; color: var(--primary-dark); font-size: 10px; font-weight: 700; }
.account-sidebar-footer { padding-top: 10px; border-top: 1px solid var(--line-2); }
.account-sidebar-footer a,
.account-sidebar-footer button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 11.5px;
    text-align: left;
}
.account-sidebar-footer a:hover,
.account-sidebar-footer button:hover { background: var(--surface-2); color: var(--ink); }
.account-sidebar-footer .admin-link { color: var(--primary-dark); font-weight: 600; }
.account-main { min-width: 0; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin: 4px 0 18px; }
.page-heading h1 { font-size: 27px; font-weight: 800; }
.page-heading p { margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid #e2d9fb;
    border-radius: 10px;
    background: #fbf9ff;
    color: var(--primary-deep);
    font-size: 12.5px;
    font-weight: 700;
}

.account-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}
.account-hero-user { display: flex; align-items: center; gap: 16px; }
.account-hello { color: var(--muted); font-size: 11px; }
.account-hero h1 { margin-top: 1px; font-size: 24px; font-weight: 800; }
.account-id { margin-top: 4px; color: var(--muted); font-size: 11px; }
.account-contact { margin-top: 1px; color: var(--muted-2); font-size: 10.5px; }

.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.overview-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.overview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.overview-head h2 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.title-bar { display: inline-block; width: 4px; height: 16px; border-radius: 3px; background: var(--primary); }
.wallet-overview-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.wallet-overview-body .muted { display: block; color: var(--muted); font-size: 10.5px; }
.balance-number { display: block; margin-top: 3px; color: var(--primary-deep); font-size: 28px; font-weight: 800; letter-spacing: -.05em; }
.order-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.order-mini-stats a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-right: 1px solid var(--line-2); text-align: center; color: var(--muted); }
.order-mini-stats a:last-child { border-right: 0; }
.order-mini-stats svg { color: #b7a9e8; margin-bottom: 4px; }
.order-mini-stats strong { color: var(--ink); font-size: 18px; font-weight: 800; }
.order-mini-stats span { font-size: 9.5px; }

.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.quick-actions a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-2);
    transition: .18s ease;
}
.quick-actions a:hover { border-color: #d6cbf2; background: #fdfcff; transform: translateY(-2px); }
.quick-actions a span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--primary-soft); color: var(--primary-dark); flex: none; }
.quick-actions a:nth-child(2) span { background: var(--green-soft); color: var(--green); }
.quick-actions a:nth-child(3) span { background: var(--yellow-soft); color: #a97a00; }
.quick-actions a:nth-child(4) span { background: var(--blue-soft); color: var(--blue); }

.panel { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-top: 16px; }
.account-main > .panel:first-child { margin-top: 0; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.panel-head h2 { font-size: 16px; font-weight: 700; }
.panel-head p { margin-top: 2px; color: var(--muted); font-size: 11px; }
.order-list { display: flex; flex-direction: column; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.order-row:last-child { border-bottom: 0; }
.order-row-main { display: flex; align-items: center; gap: 13px; min-width: 0; }
.order-thumb { flex: none; }
.order-thumb img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.order-row-info { min-width: 0; }
.order-row-title { display: flex; align-items: center; gap: 7px; }
.order-row-title a { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-row-title a:hover { color: var(--primary-dark); }
.order-row-info > p { margin-top: 1px; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-row-meta { display: flex; gap: 5px; margin-top: 3px; color: var(--muted-2); font-size: 9.5px; }
.order-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.order-row-side > strong { font-size: 14px; font-weight: 800; }
.order-row-actions { display: flex; gap: 5px; margin-top: 2px; }

.wallet-hero {
    padding: 24px;
    border-radius: 20px;
    background:
        radial-gradient(360px 200px at 88% 4%, rgba(255, 212, 0, .2), transparent 60%),
        linear-gradient(135deg, #7c3aed 0%, #5b21b6 60%, #3b0764 100%);
    color: #fff;
    box-shadow: 0 24px 50px -28px rgba(91, 33, 182, .8);
}
.wallet-hero-top { display: flex; align-items: center; justify-content: space-between; color: #d9ccf4; font-size: 11.5px; }
.wallet-balance { display: block; margin: 8px 0 18px; font-size: 38px; font-weight: 800; letter-spacing: -.06em; }
.wallet-hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); color: #cfc0ec; font-size: 11px; }
.wallet-hero-bottom a { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: 600; }
.wallet-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.stat-mini { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; flex: none; }
.stat-icon.success { background: var(--green-soft); color: var(--green); }
.stat-icon.info { background: var(--blue-soft); color: var(--blue); }
.stat-icon.warning { background: var(--orange-soft); color: #b45309; }
.stat-mini span { display: block; color: var(--muted); font-size: 10px; }
.stat-mini strong { display: block; margin-top: 1px; font-size: 13px; font-weight: 700; }
.wallet-tx-list { display: flex; flex-direction: column; }
.wallet-tx { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.wallet-tx:last-child { border-bottom: 0; }
.tx-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; flex: none; }
.tx-icon.in { background: var(--green-soft); color: var(--green); }
.tx-icon.out { background: var(--primary-soft); color: var(--primary-dark); }
.tx-info { flex: 1; min-width: 0; }
.tx-info strong { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-info span { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; }
.tx-amount { text-align: right; flex: none; }
.tx-amount strong { display: block; font-size: 12.5px; font-weight: 700; }
.tx-amount span { display: block; color: var(--muted-2); font-size: 9.5px; }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-grid .panel { margin-top: 0; }
.account-meta-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.account-meta-panel .meta-row { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border: 0; }
.account-meta-panel .meta-row span { color: var(--muted); font-size: 10px; }

.tabs { display: flex; gap: 4px; margin-bottom: 16px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow-x: auto; }
.tabs-scroll { scrollbar-width: none; }
.tabs-scroll::-webkit-scrollbar { display: none; }
.tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.tab:hover { color: var(--ink); background: var(--surface-2); }
.tab.active { background: var(--dark); color: #fff; }
.tab span { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 17px; padding: 0 5px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 9px; }
.tab.active span { background: rgba(255, 255, 255, .16); color: #fff; }

.deposit-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; align-items: start; }
.deposit-grid > .panel { margin-top: 0; }
.deposit-summary { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); }
.deposit-summary div { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.deposit-summary strong { color: var(--ink-2); font-size: 12.5px; }
.guide-panel .check-list { margin-bottom: 14px; }
.card-fee-preview {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 13px 15px;
    border: 1px solid #e7defc;
    border-radius: 11px;
    background: #fbf9ff;
}
.card-fee-preview div { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.card-fee-preview strong { color: var(--ink-2); }
.card-fee-preview .receive { padding-top: 7px; border-top: 1px dashed #e3d9f9; }
.card-fee-preview .receive strong { color: var(--green); font-size: 16px; font-weight: 800; }
.mini-list { display: flex; flex-direction: column; }
.mini-row { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.mini-row:last-child { border-bottom: 0; }
.mini-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); color: var(--muted); flex: none; }
.mini-info { flex: 1; min-width: 0; }
.mini-info strong { display: block; font-size: 11.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-info > span { display: block; margin-top: 1px; color: var(--muted); font-size: 9.5px; }
.mini-row > strong { font-size: 12px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.check-list li { display: flex; align-items: flex-start; gap: 7px; color: var(--ink-2); font-size: 11.5px; line-height: 1.45; }
.check-list svg { color: var(--green); flex: none; margin-top: 1px; }

.result-banner { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; padding: 20px 22px; border-radius: 16px; }
.result-banner.success { background: var(--green-soft); border: 1px solid #c9efd7; color: #14532d; }
.result-banner.danger { background: var(--red-soft); border: 1px solid #ffd3df; color: #881337; }
.result-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: #fff; flex: none; }
.result-banner h2 { font-size: 17px; }
.result-banner p { margin-top: 2px; font-size: 11.5px; opacity: .8; }
.result-banner > div { flex: 1; }
.result-banner .btn { flex: none; }

.status-banner { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 16px; margin-bottom: 16px; }
.status-banner.success { background: var(--green-soft); border: 1px solid #c9efd7; color: #14532d; }
.status-banner.info { background: var(--blue-soft); border: 1px solid #dbe7ff; color: #1e3a8a; }
.status-banner.warning { background: var(--orange-soft); border: 1px solid #ffe8bd; color: #78350f; }
.status-banner.danger { background: var(--red-soft); border: 1px solid #ffd3df; color: #881337; }
.status-banner-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 13px; background: rgba(255, 255, 255, .7); flex: none; }
.status-banner h2 { font-size: 16px; }
.status-banner p { margin-top: 2px; font-size: 11.5px; opacity: .85; line-height: 1.5; }
.status-banner-side { margin-left: auto; text-align: right; flex: none; }
.status-banner-side strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.status-banner-side span { font-size: 10px; opacity: .7; }
.order-action-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 15px 18px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.order-action-info strong { display: block; font-size: 13px; }
.order-action-info span { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; }
.order-action-buttons { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.order-action-buttons form { margin: 0; }
.order-action-wait {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 8px;
    background: var(--orange-soft);
    color: #92400e;
    font-size: 10.5px;
}
.order-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}
.timeline-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; text-align: center; color: var(--muted-2); }
.timeline-step::before {
    content: '';
    position: absolute;
    top: 13px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--line);
}
.timeline-step:first-child::before { display: none; }
.timeline-step.done::before, .timeline-step.active::before { background: #c4b5fd; }
.timeline-dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; border-radius: 50%; background: #f0f0f6; color: var(--muted-2); font-size: 10px; font-weight: 700; }
.timeline-step.done .timeline-dot { background: var(--primary); color: #fff; }
.timeline-step.active .timeline-dot { background: var(--primary-soft); color: var(--primary-dark); box-shadow: 0 0 0 4px rgba(139, 92, 246, .12); }
.timeline-step.danger .timeline-dot { background: var(--red); color: #fff; }
.timeline-step strong { font-size: 10.5px; color: var(--ink-2); }
.timeline-step small { font-size: 9px; color: var(--muted-2); }
.order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-detail-grid .panel { margin-top: 0; }
.order-product-panel .order-product { display: flex; align-items: center; gap: 14px; }
.order-product img { width: 74px; height: 74px; border-radius: 14px; object-fit: cover; flex: none; }
.order-product h2 { font-size: 16px; }
.order-product p { margin-top: 2px; color: var(--muted); font-size: 11px; }
.order-product-meta { display: flex; align-items: center; gap: 7px; margin-top: 6px; color: var(--muted-2); font-size: 9px; }
.order-product-price { margin-left: auto; text-align: right; }
.order-product-price strong { display: block; color: var(--primary-deep); font-size: 18px; font-weight: 800; }
.order-product-price s { color: var(--muted-2); font-size: 10px; }
.inline-actions { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.meta-grid.single { grid-template-columns: 1fr; }
.meta-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: 11.5px; }
.meta-row:last-child { border-bottom: 0; }
.meta-row > span:first-child { color: var(--muted); flex: none; }
.meta-row > strong, .meta-row > .badge { color: var(--ink-2); text-align: right; font-weight: 600; word-break: break-word; }

.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.prose-main .panel { margin-top: 0; }
.prose { color: var(--ink-2); font-size: 13px; line-height: 1.8; }
.prose.narrow { max-width: 860px; margin: 0 auto; }
.prose h2 { margin: 26px 0 9px; color: var(--ink); font-size: 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 20px 0 7px; font-size: 15px; }
.prose p { margin: 8px 0; }
.prose ul, .prose ol { margin: 8px 0 8px 20px; }
.prose li { margin: 5px 0; }
.prose a { color: var(--primary-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.prose .notice { margin-top: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.faq-list details { padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 12.5px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.faq-list summary::after { content: '+'; color: var(--muted); font-size: 18px; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin-top: 8px; color: var(--muted); font-size: 12px; }
.prose-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 16px); }
.prose-side .panel { margin-top: 0; }
.support-list { display: flex; flex-direction: column; gap: 7px; }
.support-list a { display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; font-size: 11.5px; font-weight: 600; }
.support-list a:hover { border-color: #d6cbf2; background: #fdfcff; }
.support-list a span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 8px; background: var(--primary-soft); color: var(--primary-dark); }
.cta-side { text-align: center; background: linear-gradient(160deg, #f4efff, #fff); border-color: #e8ddfb; }
.cta-side > svg { color: var(--primary); margin: 0 auto 10px; }
.cta-side h3 { font-size: 15px; }
.cta-side p { margin: 4px 0 14px; color: var(--muted); font-size: 11px; }
.contact-chat-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 20px 22px;
    border: 1px solid #e4dbff;
    border-radius: 18px;
    background: linear-gradient(115deg, #f5f0ff, #fbf9ff 62%, #fff);
}
.contact-chat-copy { display: flex; align-items: flex-start; gap: 14px; }
.contact-chat-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 13px; background: #fff; color: var(--primary-dark); box-shadow: 0 10px 24px -18px rgba(91, 33, 182, .5); flex: none; }
.contact-chat-banner h2 { font-size: 16px; }
.contact-chat-banner p { max-width: 560px; margin-top: 3px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.contact-chat-banner .btn { flex: none; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: .2s ease; }
.contact-card:hover { transform: translateY(-3px); border-color: #d6cbf2; box-shadow: var(--shadow); }
.contact-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 15px; background: var(--primary-soft); color: var(--primary-dark); }
.contact-card h3 { font-size: 16px; }
.contact-card p { margin-top: 3px; color: var(--ink-2); font-size: 13px; font-weight: 600; word-break: break-word; }
.contact-card > span:last-child { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; color: var(--primary-dark); font-size: 11px; font-weight: 700; }
.contact-note.prose.narrow { margin: 28px auto 0; }

.site-footer {
    margin-top: 20px;
    padding-top: 52px;
    background: #0a0a0e;
    color: #a2a2b0;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr 1fr; gap: 34px; padding-bottom: 40px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 340px; color: #858594; font-size: 11.5px; line-height: 1.7; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.footer-contact a { display: flex; align-items: center; gap: 10px; color: #c5c5d2; font-size: 11.5px; line-height: 1.4; }
.footer-contact a:hover { color: #fff; }
.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #26262f;
    border-radius: 8px;
    background: #121218;
    color: #c4b5fd;
    flex: none;
}
.footer-contact a > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.footer-contact small { color: #a1a1b0; font-size: 8.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.footer-contact strong { overflow-wrap: anywhere; font-size: 11px; font-weight: 600; }
.footer-col h4 { margin-bottom: 13px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .2px; }
.footer-col a { display: block; padding: 4px 0; color: #9292a1; font-size: 11.5px; transition: .15s ease; }
.footer-col a:hover { color: #fff; transform: translateX(2px); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-badges span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border: 1px solid #26262f; border-radius: 8px; background: #121218; color: #b9b9c7; font-size: 10px; }
.pay-badges .brand-pay { font-weight: 700; letter-spacing: .1px; }
.pay-badges .zalo { color: #4d9bff; }
.pay-badges .momo { color: #e15a9a; }
.pay-badges .vnpay { color: #58a6e8; }
.pay-badges .vietqr { color: #f0b35b; }
.pay-badges em { margin-left: 2px; padding: 1px 4px; border-radius: 3px; background: #15803d; color: #fff; font-size: 8px; font-style: normal; font-weight: 700; }
.footer-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 13px; color: #a1a1b0; font-size: 10px; line-height: 1.5; }
.footer-note svg { flex: none; color: var(--green); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid #1e1e26; color: #a1a1b0; font-size: 10px; }
.footer-disclaimer { text-align: right; }

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink-2);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.toast-stack { position: fixed; z-index: 500; right: 20px; top: 88px; display: flex; flex-direction: column; gap: 8px; }
.toast {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 220px;
    padding: 11px 14px;
    border-radius: 10px;
    background: #17171e;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .6);
    animation: toastIn .25s ease;
}
.toast.success { background: #14532d; }
.toast.error { background: #881337; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1120px) {
    .hero-inner { grid-template-columns: 1fr .8fr; gap: 20px; }
    .hero-tile.tile-2 { right: 0; }
    .main-nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .header-icon-btn { display: inline-flex; }
    .header-search { display: none; }
    .account-name { display: none; }
    .footer-grid { grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 24px; }
}

@media (max-width: 980px) {
    .header-inner { gap: 12px; }
    .header-actions { margin-left: auto; }
    .hero-visual { height: 340px; }
    .hero-tile { transform: scale(.85); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(3) { border-left: 0; }
    .trust-item:nth-child(n+3) { border-top: 1px solid var(--line-2); padding-top: 12px; }
    .game-layout, .checkout-grid { grid-template-columns: 1fr; }
    .game-sidebar { order: 0; }
    .summary-card { position: static; }
    .game-head-support { display: none; }
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar { position: static; }
    .account-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
    .account-nav::-webkit-scrollbar { display: none; }
    .account-nav a { flex: none; height: 38px; padding: 0 12px; }
    .nav-badge { display: none; }
    .account-sidebar-user, .account-sidebar-footer { display: none; }
    .prose-layout { grid-template-columns: 1fr; }
    .prose-side { position: static; flex-direction: row; flex-wrap: wrap; }
    .prose-side .panel { flex: 1; min-width: 240px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
    .container { width: calc(100% - 32px); }
    .home-hero { padding-top: 14px; }
    .hero-slide { grid-template-columns: 1fr; padding: 28px 24px 46px; min-height: 0; gap: 18px; }
    .hero-slider-track { align-items: flex-start; }
    .hero-simple-art { display: none; }
    .hero-slider-arrow { display: none; }
    .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .hero-copy > p { font-size: 13px; }
    .hero-art { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 0; padding-top: 2px; }
    .hero-art-card { position: relative; width: 30%; max-width: 150px; height: auto; aspect-ratio: 1; transform: none; }
    .hero-art-card.art-1,
    .hero-art-card.art-2,
    .hero-art-card.art-3 { width: 30%; height: auto; left: auto; top: auto; right: auto; bottom: auto; transform: none; }
    .service-item { gap: 8px; }
    .service-item strong { font-size: 11.5px; }
    .service-item small { font-size: 9px; }
    .deposit-promo-grid, .steps-grid, .overview-grid, .profile-grid, .order-detail-grid, .deposit-grid { grid-template-columns: 1fr; }
    .section { padding: 36px 0; }
    .section-head h2 { font-size: 21px; }
    .promo-amount { font-size: 24px; }
    .cta-banner { flex-direction: column; align-items: flex-start; padding: 28px; }
    .cta-banner h2 { font-size: 22px; }
    .page-hero-row { flex-direction: column; align-items: flex-start; }
    .search-box { width: 100%; min-width: 0; }
    .page-hero h1 { font-size: 26px; }
    .game-head-card { flex-wrap: wrap; gap: 15px; padding: 16px; }
    .game-head-cover { width: 88px; height: 88px; }
    .game-head-title h1 { font-size: 22px; }
    .game-head-desc { display: none; }
    .package-grid { grid-template-columns: repeat(2, 1fr); }
    .fields-grid, .fields-grid.two { grid-template-columns: 1fr; }
    .checkout-heading { flex-direction: column; align-items: flex-start; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .auth-card { padding: 30px 24px; }
    .auth-page { padding: 20px 0 40px; }
    .account-hero { flex-direction: row; align-items: center; flex-wrap: wrap; }
    .quick-actions { grid-template-columns: 1fr 1fr; }
    .wallet-stats { grid-template-columns: 1fr; }
    .wallet-balance { font-size: 32px; }
    .account-meta-panel { grid-template-columns: 1fr 1fr; }
    .order-row { align-items: flex-start; }
    .order-row-side { align-items: flex-end; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-chat-banner { align-items: flex-start; flex-direction: column; padding: 18px; }
    .contact-chat-banner .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
    .footer-disclaimer { text-align: left; }
    .toast-stack { left: 16px; right: 16px; top: 76px; }
}

@media (max-width: 720px) {
    .transfer-layout { grid-template-columns: 1fr; }
    .qr-box { flex-direction: row; justify-content: center; }
    .qr-box img { width: 150px; }
}

@media (max-width: 640px) {
    :root { --header-h: 62px; }
    body { font-size: 14px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 95;
        display: flex;
        align-items: center;
        height: 62px;
        padding: 4px 8px calc(4px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(14px);
    }
    .container { width: calc(100% - 28px); }
    .brand-mark { width: 32px; height: 32px; }
    .brand-text strong { font-size: 16px; }
    .brand-text small { font-size: 6px; letter-spacing: 1px; }
    .site-header { height: var(--header-h); }
    .header-search-toggle { display: none; }
    .header-login-btn { height: 34px; padding: 0 13px; font-size: 11.5px; }
    .wallet-chip { height: 34px; padding: 0 9px; }
    .wallet-chip strong { font-size: 11.5px; max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .header-actions { gap: 7px; }
    .login-link { font-size: 12.5px; }
    .header-actions .btn-sm { height: 32px; padding: 0 11px; font-size: 11.5px; }
    .account-trigger .avatar { width: 32px; height: 32px; }
    .account-trigger .chev { display: none; }
    .hero { padding: 30px 0 64px; }
    .hero h1 { font-size: 31px; }
    .hero-copy .eyebrow { font-size: 10px; }
    .hero-copy > p { font-size: 12.5px; }
    .hero-search { padding: 5px 5px 5px 12px; }
    .hero-search .btn { height: 40px; padding: 0 13px; font-size: 12px; }
    .hero-stats { gap: 18px; margin-top: 22px; }
    .hero-stats div + div::before { left: -10px; }
    .hero-stats strong { font-size: 16px; }
    .hero-stats span { font-size: 9px; }
    .trust-grid { grid-template-columns: 1fr 1fr; padding: 12px; gap: 2px; }
    .trust-item { padding: 7px 4px; gap: 8px; }
    .trust-icon { width: 32px; height: 32px; }
    .trust-item strong { font-size: 10.5px; }
    .trust-item span { font-size: 8.5px; }
    .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .game-card { padding: 0; border-radius: 12px; }
    .game-cover { border-radius: 0; }
    .game-info { padding: 9px 9px 10px; }
    .game-info h3 { font-size: 11.5px; min-height: 0; line-height: 1.35; }
    .game-info p { margin-top: 6px; font-size: 9.5px; }
    .game-info p strong { font-size: 11px; }
    .game-arrow { width: 19px; height: 19px; }
    .discount-badge { top: 6px; right: 6px; font-size: 9px; padding: 3px 5px; }
    .hero-slide { padding: 22px 18px 42px; border-radius: 16px; gap: 8px; }
    .hero-copy h1 { font-size: 28px; margin-top: 12px; }
    .hero-copy h2 { font-size: 25px; margin-top: 12px; }
    .hero-copy > p { font-size: 12px; }
    .hero-actions { margin-top: 16px; gap: 8px; }
    .hero-actions .btn { height: 40px; padding: 0 14px; font-size: 12px; }
    .hero-meta { margin-top: 15px; gap: 12px; font-size: 9.5px; }
    .hero-meta span + span::before { left: -6px; }
    .hero-simple-art { min-height: 130px; }
    .hero-art-icon { width: 88px; height: 88px; border-radius: 22px; }
    .hero-art-icon svg { width: 40px; height: 40px; }
    .hero-art { display: flex; min-height: 0; gap: 8px; }
    .hero-art-card { width: 31%; max-width: 120px; border-width: 3px; border-radius: 12px; }
    .hero-art-card.art-1,
    .hero-art-card.art-2,
    .hero-art-card.art-3 { width: 31%; }
    .service-grid { grid-template-columns: repeat(4, 1fr); padding: 8px 0; }
    .service-item { flex-direction: column; gap: 4px; padding: 8px 3px; text-align: center; }
    .service-icon { width: 36px; height: 36px; border-radius: 10px; }
    .service-item strong { font-size: 10px; }
    .service-item small { display: none; }
    .fund-grid { grid-template-columns: 1fr; }
    .home-section { padding: 28px 0; }
    .home-section .section-head h2 { font-size: 20px; }
    .section { padding: 28px 0; }
    .section-kicker { font-size: 9px; }
    .link-arrow { font-size: 11.5px; }
    .promo-card { padding: 18px; gap: 13px; align-items: flex-start; }
    .promo-icon { width: 44px; height: 44px; border-radius: 13px; }
    .promo-copy h3 { font-size: 14px; }
    .promo-copy p { font-size: 10.5px; }
    .promo-amount { font-size: 21px; }
    .step-card { padding: 20px; }
    .cta-banner { padding: 24px 20px; border-radius: 20px; }
    .cta-banner h2 { font-size: 19px; }
    .cta-banner p { font-size: 11.5px; }
    .page-hero { padding: 20px 0; }
    .page-hero h1 { font-size: 23px; }
    .page-hero p { font-size: 12px; }
    .breadcrumb { margin-bottom: 10px; font-size: 10.5px; }
    .filter-chips { margin-top: 14px; gap: 6px; }
    .chip { height: 30px; padding: 0 11px; font-size: 11.5px; }
    .game-head-card { padding: 13px; }
    .game-head-cover { width: 70px; height: 70px; border-radius: 13px; }
    .game-head-title { gap: 7px; }
    .game-head-title h1 { font-size: 18px; }
    .badge { font-size: 10px; }
    .game-meta { gap: 8px; font-size: 9.5px; }
    .game-meta span:nth-child(2) { display: none; }
    .game-section { padding-top: 14px; }
    .game-layout { gap: 12px; }
    .game-sidebar { order: 0; }
    .summary-card { padding: 16px; }
    .summary-card .btn-lg { display: none; }
    .summary-game { padding-bottom: 12px; }
    .summary-lines { padding: 12px 0; }
    .summary-total strong { font-size: 20px; }
    .form-card { padding: 16px; border-radius: 14px; margin-bottom: 11px; }
    .form-card-head h2 { font-size: 15px; }
    .form-card-head p { font-size: 10.5px; }
    .mode-list { grid-template-columns: 1fr; }
    .package-grid { gap: 7px; }
    .package-body { min-height: 72px; padding: 10px; }
    .package-name { font-size: 10.5px; }
    .package-price { font-size: 13.5px; }
    .mobile-submit {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(62px + env(safe-area-inset-bottom));
        z-index: 90;
        padding: 9px 14px;
        border-top: 1px solid var(--line);
        background: rgba(255, 255, 255, .95);
        backdrop-filter: blur(12px);
    }
    .mobile-submit .btn { height: 46px; }
    .mobile-total { margin-left: auto; font-size: 16px; }
    .game-page { padding-bottom: 128px; }
    .checkout-card { padding: 16px; border-radius: 14px; }
    .checkout-heading h1 { font-size: 23px; }
    .bank-info-row { font-size: 11px; }
    .bank-info-row > strong { font-size: 11.5px; }
    .qr-box { flex-direction: column; }
    .qr-box img { width: 180px; }
    .reported-form { flex-direction: column; align-items: stretch; }
    .reported-form > span { text-align: center; }
    .auth-card { padding: 24px 18px; }
    .auth-card-head h1 { font-size: 24px; }
    .account-page { padding: 14px 0 30px; }
    .account-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
    .account-hero .btn { width: 100%; justify-content: center; }
    .account-nav a { font-size: 11px; gap: 6px; }
    .account-nav a svg { width: 16px; height: 16px; }
    .account-nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 2px;
        overflow: visible;
    }
    .account-nav a {
        flex-direction: column;
        justify-content: center;
        height: 54px;
        padding: 3px 2px;
        gap: 3px;
        font-size: 8.5px;
        text-align: center;
    }
    .account-nav a svg { width: 18px; height: 18px; }
    .account-hero { padding: 16px; }
    .account-hero-user { gap: 12px; }
    .avatar.xxl { width: 56px; height: 56px; font-size: 21px; }
    .account-hero h1 { font-size: 19px; }
    .overview-card { padding: 16px; }
    .balance-number { font-size: 24px; }
    .quick-actions { gap: 8px; }
    .quick-actions a { padding: 10px; font-size: 10.5px; }
    .quick-actions a span { width: 30px; height: 30px; }
    .panel { padding: 16px; border-radius: 14px; }
    .panel-head h2 { font-size: 14.5px; }
    .order-row { flex-direction: column; align-items: stretch; gap: 9px; }
    .order-thumb img { width: 46px; height: 46px; border-radius: 10px; }
    .order-row-title a { font-size: 11.5px; }
    .order-row-info > p { font-size: 10px; }
    .order-row-meta { font-size: 8.5px; }
    .order-row-side { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; flex-wrap: wrap; gap: 6px; }
    .order-row-side .badge { font-size: 8.5px; padding: 3px 6px; }
    .order-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; margin-top: 0; }
    .order-row-side > strong { font-size: 12.5px; }
    .wallet-hero { padding: 18px; }
    .wallet-balance { font-size: 28px; }
    .page-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
    .page-heading h1 { font-size: 22px; }
    .tabs { border: 0; background: transparent; padding: 0; gap: 5px; flex-wrap: wrap; overflow: visible; }
    .tab { border: 1px solid var(--line); background: #fff; height: 32px; font-size: 10.5px; padding: 0 10px; }
    .tab.active { background: var(--dark); border-color: var(--dark); }
    .deposit-grid { gap: 11px; }
    .deposit-grid .panel { padding: 16px; }
    .mini-row { flex-wrap: wrap; }
    .mini-row .badge { margin-left: auto; }
    .status-banner { flex-wrap: wrap; padding: 16px; }
    .status-banner-side { margin-left: 0; text-align: left; width: 100%; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, .08); }
    .order-action-panel { align-items: flex-start; flex-direction: column; padding: 14px; }
    .order-action-buttons { width: 100%; }
    .order-action-buttons form { flex: 1; }
    .order-action-buttons .btn { flex: 1; width: 100%; }
    .order-timeline { padding: 14px 10px; }
    .timeline-step strong { font-size: 9px; }
    .timeline-step small { font-size: 8px; }
    .timeline-dot { width: 24px; height: 24px; }
    .timeline-step::before { top: 12px; }
    .order-detail-grid { gap: 11px; }
    .order-product-panel .order-product { flex-wrap: wrap; }
    .order-product-price { margin-left: 0; text-align: left; width: 100%; }
    .meta-grid { grid-template-columns: 1fr; }
    .result-banner { flex-wrap: wrap; padding: 16px; }
    .result-banner .btn { width: 100%; }
    .prose-side { flex-direction: column; }
    .footer-grid { gap: 22px; }
    .footer-bottom { font-size: 9px; }
    .back-to-top { display: none; }
    .support-card.wide { padding: 14px; }
    .checkout-side .summary-card { padding: 16px; }
}

@media (max-width: 380px) {
    .game-grid { gap: 8px; }
    .hero h1 { font-size: 27px; }
    .package-grid { grid-template-columns: 1fr 1fr; }
    .quick-amounts .quick-amount:nth-child(n+5) { display: none; }
    .wallet-chip strong { max-width: 62px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .account-name { display: none; }
}

.support-chat { position: fixed; right: 22px; bottom: 22px; z-index: 130; font-family: var(--font); }
.support-chat-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, #8b5cf6, #6d28d9);
    color: #fff;
    box-shadow: 0 16px 34px -12px rgba(109, 40, 217, .68);
    transition: .2s ease;
}
.support-chat-toggle:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(109, 40, 217, .75); }
.support-chat-toggle-icon,
.support-chat-toggle-close { display: inline-flex; transition: .2s ease; }
.support-chat-toggle-close { position: absolute; opacity: 0; transform: rotate(-45deg) scale(.7); }
.support-chat-toggle.active .support-chat-toggle-icon { opacity: 0; transform: rotate(45deg) scale(.7); }
.support-chat-toggle.active .support-chat-toggle-close { opacity: 1; transform: none; }
.support-chat-toggle-ping {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 11px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #22c55e;
    animation: chatPing 2s infinite;
}
@keyframes chatPing {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); }
    50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}
.support-chat-panel {
    position: fixed;
    right: 22px;
    bottom: 92px;
    display: flex;
    flex-direction: column;
    width: 372px;
    max-width: calc(100vw - 32px);
    height: 560px;
    max-height: calc(100vh - 120px);
    border: 1px solid #e5e0f1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 70px -24px rgba(30, 20, 60, .38);
    overflow: hidden;
    animation: supportChatIn .22s ease;
}
@keyframes supportChatIn {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: none; }
}
.support-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 15px;
    background: linear-gradient(125deg, #2a1452, #4c1d95 58%, #6d28d9);
    color: #fff;
}
.support-chat-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.support-chat-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 11px;
    background: rgba(255, 255, 255, .12);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
    flex: none;
}
.support-chat-brand strong { display: block; font-size: 12.5px; font-weight: 700; }
.support-chat-brand span { display: flex; align-items: center; gap: 5px; margin-top: 2px; color: #d8ccf5; font-size: 9.5px; }
.support-chat-brand span i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .18); }
.support-chat-minimize {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: #e9ddff;
    flex: none;
}
.support-chat-minimize:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.support-chat-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; background: #fbfaff; }
.support-chat-intro { padding: 18px 18px 8px; }
.support-chat-wave { font-size: 25px; line-height: 1; }
.support-chat-intro h3 { margin-top: 7px; font-size: 15px; }
.support-chat-intro p { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.support-chat-start { display: flex; flex-direction: column; gap: 9px; padding: 10px 18px 16px; overflow-y: auto; }
.support-field { display: flex; flex-direction: column; gap: 4px; }
.support-field > span { color: var(--ink-2); font-size: 10.5px; font-weight: 600; }
.support-field input,
.support-field textarea,
.support-chat-compose textarea {
    width: 100%;
    border: 1px solid #e2deee;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 12px;
    outline: none;
    transition: .15s ease;
}
.support-field input { height: 38px; padding: 0 11px; }
.support-field textarea { padding: 9px 11px; resize: none; line-height: 1.5; }
.support-field input:focus,
.support-field textarea:focus,
.support-chat-compose textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139, 92, 246, .09); }
.support-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.support-chat-privacy { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9.5px; line-height: 1.4; }
.support-chat-privacy svg { flex: none; color: var(--green); }
.support-chat-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 10px; overflow-y: auto; }
.support-chat-message { display: flex; }
.support-chat-message.customer { justify-content: flex-end; }
.support-chat-message.admin { justify-content: flex-start; }
.support-chat-bubble {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 84%;
    padding: 9px 11px;
    border-radius: 13px;
    font-size: 11.5px;
    line-height: 1.5;
}
.support-chat-message.customer .support-chat-bubble { border-bottom-right-radius: 4px; background: var(--primary-dark); color: #fff; }
.support-chat-message.admin .support-chat-bubble { border: 1px solid #ebe7f5; border-bottom-left-radius: 4px; background: #fff; color: var(--ink-2); }
.support-chat-text { white-space: pre-wrap; word-break: break-word; }
.support-chat-bubble small { align-self: flex-end; font-size: 8.5px; opacity: .62; }
.support-chat-compose { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid #eeeaf6; background: #fff; }
.support-chat-compose textarea { min-height: 38px; max-height: 110px; padding: 9px 11px; resize: none; line-height: 1.5; }
.support-chat-compose button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: var(--primary-dark);
    color: #fff;
    flex: none;
}
.support-chat-compose button:hover { background: #6d28d9; }
.support-chat-compose button:disabled { opacity: .6; }
.support-chat-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 14px;
    border-top: 1px solid #eeeaf6;
    background: #fff;
    color: var(--muted);
    font-size: 9.5px;
}
.support-chat-foot span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.support-chat-foot a { color: var(--primary-dark); font-weight: 600; }
.support-chat-status { color: var(--muted-2); white-space: nowrap; }
.back-to-top { bottom: 94px; }

@media (max-width: 640px) {
    .support-chat { right: 14px; bottom: calc(82px + env(safe-area-inset-bottom)); }
    .support-chat-toggle { width: 52px; height: 52px; }
    .support-chat-panel {
        inset: calc(var(--header-h) + 8px) 10px calc(76px + env(safe-area-inset-bottom)) 10px !important;
        width: auto;
        max-width: none;
        height: auto;
        max-height: none;
        border-radius: 16px;
    }
    .support-chat-foot { font-size: 9px; }
}

@media (max-width: 980px) {
    .hero-slide { padding: 36px 62px 48px; min-height: 368px; gap: 18px; }
    .hero-copy h1 { font-size: 39px; }
    .hero-copy h2 { font-size: 35px; }
    .hero-visual { transform: scale(.9); transform-origin: center right; }
    .hero-float-card { transform: scale(.94); }
}

@media (max-width: 820px) {
    .hero-slide { grid-template-columns: 1fr; padding: 30px 26px 46px; min-height: 0; gap: 0; }
    .hero-visual { display: none; }
    .hero-copy { max-width: none; }
    .hero-slider-arrow { display: none; }
    .hero-copy h1 { font-size: 36px; }
    .hero-copy h2 { font-size: 32px; }
    .hero-copy > p { max-width: 620px; }
    .hero-meta { gap: 17px; }
}

@media (max-width: 640px) {
    .hero-slider { border-radius: 18px; }
    .hero-slide { padding: 24px 19px 42px; }
    .hero-eyebrow { padding: 6px 10px; font-size: 9px; }
    .hero-copy h1 { margin-top: 14px; font-size: 30px; line-height: 1.14; }
    .hero-copy h2 { margin-top: 14px; font-size: 27px; line-height: 1.15; }
    .hero-copy > p { margin-top: 10px; font-size: 12px; line-height: 1.65; }
    .hero-actions { margin-top: 18px; gap: 8px; }
    .hero-actions .btn { height: 42px; padding: 0 15px; border-radius: 10px; font-size: 12px; }
    .hero-meta { margin-top: 18px; gap: 14px; font-size: 9px; }
    .hero-meta strong { font-size: 10.5px; }
    .hero-slider-dots { bottom: 13px; }
    .hero-slider-dots button { width: 6px; height: 6px; }
    .hero-slider-dots button.active { width: 21px; }
}

@media (max-width: 640px) {
    .pay-options { grid-template-columns: 1fr; }
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.home-hero { padding: 22px 0 24px; }
.hero-slider--image {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}
.hero-slider--image .hero-slider-track {
    align-items: flex-start;
    gap: 14px;
}
.hero-image-slide {
    flex: 0 0 78%;
    min-width: 0;
    padding: 0;
    min-height: 0;
    border-radius: 18px;
    opacity: .52;
    filter: blur(2.2px) saturate(.88) brightness(.88);
    transform: scale(.975);
    transition: opacity .35s ease, filter .35s ease, transform .5s cubic-bezier(.22, .61, .36, 1);
    pointer-events: none;
}
.hero-image-slide.is-active {
    opacity: 1;
    filter: none;
    transform: none;
    pointer-events: auto;
}
.hero-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #0b0b0f;
    box-shadow: 0 24px 54px -32px rgba(20, 12, 40, .45);
}
.hero-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1892 / 640;
    object-fit: cover;
}
.hero-slider--image .hero-slider-arrow {
    top: 50%;
    border-color: rgba(255, 255, 255, .5);
    background: rgba(20, 16, 30, .32);
    color: #fff;
    box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.hero-slider--image .hero-slider-arrow:hover { background: rgba(20, 16, 30, .55); border-color: rgba(255, 255, 255, .75); }
.hero-slider--image .hero-slider-arrow.prev { left: calc(11% + 12px); }
.hero-slider--image .hero-slider-arrow.next { right: calc(11% + 12px); }
.hero-slider--image .hero-slider-dots {
    bottom: 14px;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(18, 14, 26, .42);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.hero-slider--image .hero-slider-dots button {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, .45);
}
.hero-slider--image .hero-slider-dots button.active {
    width: 23px;
    background: #fff;
}

@media (max-width: 820px) {
    .home-hero { padding: 14px 0 18px; }
    .hero-slider--image .hero-slider-track { gap: 0; }
    .hero-image-slide {
        flex: 0 0 100%;
        border-radius: 14px;
        opacity: 1;
        filter: none;
        transform: none;
    }
    .hero-image-link,
    .hero-image-slide { border-radius: 14px; }
    .hero-slider--image .hero-slider-arrow { display: none; }
    .hero-slider--image .hero-slider-dots { bottom: 10px; padding: 6px 10px; }
}

.site-footer {
    margin-top: 36px;
    padding-top: 58px;
    padding-bottom: 86px;
}
.footer-grid { gap: 42px; padding-bottom: 42px; }
.footer-contact { gap: 12px; margin-top: 20px; }
.footer-col a { padding: 5px 0; line-height: 1.5; }
.footer-bottom { padding: 20px 0 6px; }
@media (max-width: 980px) {
    .footer-grid { gap: 34px 26px; }
}
@media (max-width: 820px) {
    .site-footer { margin-top: 26px; padding-top: 44px; padding-bottom: 104px; }
    .footer-grid { gap: 30px 22px; padding-bottom: 32px; }
    .footer-col:last-child { grid-column: 1 / -1; }
    .footer-bottom { gap: 8px; }
}
@media (max-width: 640px) {
    .site-footer { margin-top: 22px; padding-top: 38px; padding-bottom: 112px; }
    .footer-grid { gap: 26px 18px; }
    .footer-brand p { margin-bottom: 2px; }
}

.hero-slider--image .hero-slider-arrow {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, background .2s ease, border-color .2s ease;
}
.hero-slider--image:hover .hero-slider-arrow,
.hero-slider--image:focus-within .hero-slider-arrow {
    opacity: 1;
    pointer-events: auto;
}
@media (hover: none) {
    .hero-slider--image .hero-slider-arrow { display: none; }
}

.amount-input-wrap { position: relative; width: 100%; }
.amount-input-wrap .amount-input {
    width: 100%;
    height: 58px;
    padding: 0 54px 0 16px;
    border: 1.5px solid #e3def0;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #fcfbff);
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.03em;
    box-shadow: inset 0 1px 2px rgba(30, 20, 60, .03);
}
.amount-input-wrap .amount-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, .1);
}
.amount-input-wrap .amount-currency {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 800;
    pointer-events: none;
}
.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.amount-input { -moz-appearance: textfield; }
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}
.quick-amount {
    height: 42px;
    padding: 0 6px;
    border: 1px solid #e9e5f3;
    border-radius: 11px;
    background: #faf9fd;
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: .15s ease;
}
.quick-amount:hover { border-color: #cdbdf0; background: #f5f0ff; color: var(--primary-dark); }
.quick-amount.active {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .08);
}

.summary-discount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 12px 0 2px;
    padding: 8px 10px 8px 12px;
    border: 1px solid #eae5f5;
    border-radius: 10px;
    background: #fbfaff;
}
.summary-discount > label { color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
.summary-select-wrap { position: relative; width: 118px; flex: none; }
.summary-select-wrap > svg { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.summary-discount-select {
    width: 100%;
    height: 34px;
    padding: 0 28px 0 10px;
    border-color: #e3ddf1;
    border-radius: 8px;
    background-image: none;
    background-color: #fff;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
}

.service-row { background: #fff; border-top: 1px solid #f4f1fb; border-bottom: 1px solid var(--line); }
.service-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 20px 0; }
.service-item { justify-content: center; gap: 12px; padding: 10px 6px; border-radius: 14px; }
.service-item:hover { background: #fbfaff; transform: translateY(-1px); }
.service-item strong { color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.service-icon {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    color: #fff !important;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 22px -14px rgba(50, 25, 100, .45);
}
.service-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .68);
    transform: rotate(45deg);
}
.service-icon::after {
    content: '';
    position: absolute;
    width: 34px;
    height: 34px;
    right: -11px;
    bottom: -13px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}
.service-icon svg { position: relative; z-index: 1; }
.service-icon.purple { background: linear-gradient(145deg, #b69cff, #7c3aed); }
.service-icon.green { background: linear-gradient(145deg, #5ee1a1, #16a34a); }
.service-icon.orange { background: linear-gradient(145deg, #ffc65c, #f97316); }
.service-icon.blue { background: linear-gradient(145deg, #67c7ff, #2563eb); }
.service-icon.pink { background: linear-gradient(145deg, #ff9fc0, #db2777); }

@media (max-width: 980px) {
    .service-grid { gap: 4px; padding: 16px 0; }
    .service-item { gap: 9px; }
    .service-icon { width: 46px; height: 46px; border-radius: 13px; }
    .service-item strong { font-size: 12px; }
}
@media (max-width: 640px) {
    .service-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; padding: 12px 0; }
    .service-item { flex-direction: column; gap: 6px; padding: 8px 2px; text-align: center; }
    .service-icon { width: 42px; height: 42px; border-radius: 12px; }
    .service-icon svg { width: 21px; height: 21px; }
    .service-item strong { font-size: 10.5px; line-height: 1.25; }
}
@media (max-width: 640px) {
    .quick-amounts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .quick-amount { height: 38px; font-size: 11px; }
    .amount-input-wrap .amount-input { height: 54px; font-size: 20px; }
}
@media (max-width: 380px) {
    .quick-amounts .quick-amount:nth-child(n+5) { display: block; }
    .quick-amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service-icon { width: 38px; height: 38px; }
    .service-item strong { font-size: 9.5px; }
}

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: inherit;
    transition: .2s ease;
}
.news-card:hover { transform: translateY(-3px); border-color: #ddd3f3; box-shadow: 0 18px 36px -28px rgba(50, 25, 100, .35); }
.news-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f2effa; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-cover img { transform: scale(1.04); }
.news-body { display: flex; flex-direction: column; gap: 7px; flex: 1; padding: 14px 15px 16px; }
.news-date { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 9.5px; font-weight: 600; }
.news-title { display: -webkit-box; overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-excerpt { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 11.5px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 4px; color: var(--primary-dark); font-size: 10.5px; font-weight: 700; }

.news-search {
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: 560px;
    margin-bottom: 20px;
    padding: 6px 6px 6px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--muted);
}
.news-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 12.5px; }
.news-search .btn { flex: none; }

.article-hero-meta { display: inline-flex; align-items: center; gap: 5px; }
.news-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.news-article { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.news-article-cover { display: block; width: 100%; max-height: 420px; margin-bottom: 20px; border-radius: 14px; object-fit: cover; }
.news-article-content { color: var(--ink-2); font-size: 13.5px; line-height: 1.9; overflow-wrap: anywhere; }
.news-article-content p { margin: 0 0 14px; }
.news-article-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding: 16px 18px; border: 1px solid #e4dbff; border-radius: 13px; background: #f8f4ff; }
.news-article-cta strong { display: block; color: var(--ink); font-size: 13px; }
.news-article-cta span { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; }
.news-article-cta .btn { flex: none; }
.news-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 16px); }
.news-related-list { display: flex; flex-direction: column; gap: 10px; }
.news-related-item { display: flex; align-items: flex-start; gap: 10px; color: inherit; }
.news-related-item img { width: 72px; height: 52px; border-radius: 8px; object-fit: cover; flex: none; }
.news-related-item span { min-width: 0; }
.news-related-item small { display: block; color: var(--muted); font-size: 8.5px; }
.news-related-item strong { display: -webkit-box; overflow: hidden; color: var(--ink-2); font-size: 11.5px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-related-item:hover strong { color: var(--primary-dark); }
.news-side-cta { text-align: center; background: linear-gradient(150deg, #f6f1ff, #fff); border-color: #e7ddfa; }
.news-side-cta > svg { color: var(--primary); margin: 0 auto 6px; }
.news-side-cta h3 { font-size: 14px; }
.news-side-cta p { margin: 4px 0 12px; color: var(--muted); font-size: 10.5px; line-height: 1.5; }

@media (max-width: 980px) {
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-detail-grid { grid-template-columns: 1fr; }
    .news-side { position: static; flex-direction: row; flex-wrap: wrap; }
    .news-side .panel { flex: 1; min-width: 240px; }
}
@media (max-width: 640px) {
    .news-grid { grid-template-columns: 1fr; gap: 12px; }
    .news-article { padding: 16px; }
    .news-article-cta { align-items: flex-start; flex-direction: column; }
    .news-article-cta .btn { width: 100%; }
}

.running-section { background: #fff; border-top: 1px solid var(--line); }
.running-cache-note { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.running-panel { padding: 0; overflow: hidden; }
.running-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: #fbfaff; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.running-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.running-table th { padding: 10px 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 8.5px; font-weight: 700; letter-spacing: .4px; text-align: left; text-transform: uppercase; }
.running-table td { padding: 11px 15px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.running-table tbody tr:last-child td { border-bottom: 0; }
.running-table tbody tr:hover { background: #fcfbff; }
.running-table .badge { font-size: 9.5px; }
@media (max-width: 640px) {
    .running-panel-head { flex-direction: column; align-items: flex-start; gap: 3px; }
    .running-table { min-width: 520px; }
}

.why-section { background: #f3f3f8; }
.why-head { margin-bottom: 20px; }
.why-head h2 { margin-top: 4px; color: var(--ink); font-size: 25px; font-weight: 800; letter-spacing: -.03em; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why-card {
    min-height: 236px;
    padding: 24px 22px;
    border: 1px solid #ebe8f3;
    border-radius: 14px;
    background: #fff;
    transition: .2s ease;
}
.why-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -28px rgba(40, 20, 80, .4); }
.why-icon { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.why-icon.purple { color: var(--primary-dark); }
.why-icon.orange { color: var(--orange); }
.why-card h3 { color: var(--ink); font-size: 18px; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.why-card p { margin-top: 12px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
@media (max-width: 980px) {
    .why-grid { grid-template-columns: 1fr; gap: 12px; }
    .why-card { min-height: 0; padding: 20px; }
    .why-icon { margin-bottom: 14px; }
}

.home-cta { margin-top: 22px; }
@media (max-width: 640px) {
    .home-cta { margin-top: 16px; }
    .home-cta .btn { width: 100%; }
}

.game-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.game-info { padding: 10px 10px 11px; }
.game-info h3 { font-size: 13px; }
.game-info p { margin-top: 6px; gap: 4px; font-size: 10px; }
.game-info p strong { font-size: 12px; }
.game-buy-btn {
    display: block;
    height: 30px;
    margin-top: 8px;
    border: 1px solid #f97316;
    border-radius: 7px;
    background: #fff;
    color: #c2410c;
    font-size: 11px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    transition: .16s ease;
}
.game-card:hover .game-buy-btn { border-color: #c2410c; background: #c2410c; color: #fff; }

@media (max-width: 1100px) {
    .game-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 820px) {
    .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .game-info h3 { font-size: 11.5px; }
    .game-buy-btn { font-size: 10px; }
}
@media (max-width: 380px) {
    .game-grid { gap: 8px; }
}

.trust-feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 22px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.trust-feature-item { display: flex; align-items: flex-start; gap: 13px; padding: 4px 25px; }
.trust-feature-item + .trust-feature-item { border-left: 1px solid var(--line-2); }
.trust-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f7f7fb;
    flex: none;
}
.trust-feature-icon.green { color: #16a34a; }
.trust-feature-icon.blue { color: #2563eb; }
.trust-feature-icon.yellow { color: #f59e0b; }
.trust-feature-item h3 { color: var(--ink); font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.trust-feature-item p { margin-top: 4px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
@media (max-width: 820px) {
    .trust-feature-strip { grid-template-columns: 1fr; padding: 6px 16px; }
    .trust-feature-item { padding: 14px 0; }
    .trust-feature-item + .trust-feature-item { border-left: 0; border-top: 1px solid var(--line-2); }
}

.game-card { display: flex; flex-direction: column; height: 100%; }
.game-cover { flex: none; }
.game-info { display: flex; flex: 1; flex-direction: column; }
.game-info p { margin-bottom: 8px; }
.game-card .game-buy-btn { margin-top: auto; }

.game-card .game-info h3 { min-height: 2.8em; }

.service-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 18px 0; }
.service-item { gap: 14px; padding: 8px 6px; background: transparent !important; }
.service-item:hover { background: transparent !important; transform: none; }
.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 0;
    background: transparent !important;
    color: inherit !important;
    box-shadow: none;
    overflow: visible;
}
.service-icon::before,
.service-icon::after { display: none; }
.service-icon svg { display: none; }
.service-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.service-item strong { font-size: 14px; font-weight: 700; }
@media (max-width: 980px) {
    .service-grid { padding: 14px 0; gap: 2px; }
    .service-item { gap: 10px; padding: 7px 3px; }
    .service-icon { width: 48px; height: 48px; }
    .service-item strong { font-size: 12px; }
}
@media (max-width: 640px) {
    .service-grid { padding: 10px 0; }
    .service-item { flex-direction: column; gap: 5px; padding: 7px 2px; text-align: center; }
    .service-icon { width: 40px; height: 40px; }
    .service-item strong { font-size: 9.5px; line-height: 1.2; }
}

.home-hero { background: #fff; padding: 22px 0 0; }
.service-row { background: #fff; border-top: 0; border-bottom: 0; }
.service-grid { padding: 12px 0 18px; }
@media (max-width: 820px) {
    .home-hero { padding: 14px 0 0; }
    .service-grid { padding: 8px 0 14px; }
}

.running-progress { display: flex; align-items: center; gap: 9px; min-width: 120px; }
.running-progress-track { display: block; width: 86px; height: 7px; overflow: hidden; border-radius: 999px; background: #ece9f4; flex: none; }
.running-progress-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8b5cf6, #22c55e); }
.running-progress strong { color: var(--ink-2); font-size: 11px; font-weight: 700; white-space: nowrap; }

.news-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1200px) {
    .news-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .news-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .news-grid-5 { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 640px) {
    .brand-has-logo .brand-mark { height: 38px; }
}

.hero-slider-dots button,
.hero-slider--image .hero-slider-dots button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
}

.hero-slider-dots button::after,
.hero-slider--image .hero-slider-dots button::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    transition: .22s ease;
}

.hero-slider-dots button.active,
.hero-slider--image .hero-slider-dots button.active {
    width: 24px;
    background: transparent;
}

.hero-slider-dots button.active::after,
.hero-slider--image .hero-slider-dots button.active::after {
    width: 20px;
    background: #fff;
}

.news-article-content h2 {
    margin: 30px 0 12px;
    color: var(--ink);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
}
.news-article-content h3 {
    margin: 22px 0 9px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}
.news-article-content h4 {
    margin: 18px 0 7px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}
.news-article-content ul,
.news-article-content ol { margin: 10px 0 16px 22px; }
.news-article-content li { margin: 5px 0; }
.news-article-content a { color: var(--primary-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.news-article-content blockquote { margin: 18px 0; padding: 12px 16px; border-left: 3px solid var(--primary); background: var(--primary-soft); color: var(--ink-2); }
.news-article-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 16px 0; }
.news-article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 12.5px; }
.news-article-content th,
.news-article-content td { padding: 9px 11px; border: 1px solid var(--line); text-align: left; }
.news-article-content th { background: var(--surface-2); color: var(--ink); }
.news-article-content hr { margin: 24px 0; border: 0; border-top: 1px solid var(--line); }
