:root {
    --bg-dark: #0a0c10;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent-blue: #00d2ff;
    --accent-purple: #9d50bb;
    --highlight-value: #4de8ff;
    /* content emphasis - lighter than button color */
    --text-main: #ffffff;
    --text-bright: #f0f0f0;
    --text-dim: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --gold: #ffcc00;

    /* ============================================ */
    /* Typography Scale — 8 steps (unified system)  */
    /* ============================================ */
    --fs-display: 3rem;      /* 48px — Hero H1, giant numbers (20%, 75%) */
    --fs-h1:      2.25rem;   /* 36px — Section titles */
    --fs-h2:      1.75rem;   /* 28px — Subsection titles, emphasis */
    --fs-h3:      1.25rem;   /* 20px — Card titles, item titles */
    --fs-lg:      1rem;      /* 16px — Hero subtitle, buttons, strong body */
    --fs-md:      0.9375rem; /* 15px — Default body, card description */
    --fs-sm:      0.8125rem; /* 13px — Small text, meta info, captions */
    --fs-xs:      0.6875rem; /* 11px — Labels, tags, badges */
}

@media (max-width: 900px) {
    :root {
        --fs-display: 2.4rem;
        --fs-h1:      1.75rem;
        --fs-h2:      1.4rem;
        --fs-h3:      1.1rem;
    }
}

@media (max-width: 560px) {
    :root {
        --fs-display: 2rem;
        --fs-h1:      1.5rem;
    }
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    word-break: keep-all;
}

/* Glassmorphism Classes */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Hub */
h1,
h2,
h3 {
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Components */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    font-size: var(--fs-lg);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(10px);
}

nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}

.logo {
    display: inline-block;
    justify-self: start;
    width: clamp(230px, 18vw + 42px, 380px);
    height: clamp(52px, 4.5vw + 10px, 92px);
    background: url('/assets/tethercycle-logo-header-final.png?v=20260421-brand-final-6') left center / contain no-repeat;
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-decoration: none;
    flex-shrink: 0;
    overflow: hidden;
    white-space: nowrap;
}

.logo::before {
    display: none;
}

.logo .gradient-text {
    display: inline;
    background: none;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-clip: border-box;
    -webkit-background-clip: border-box;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin-left: 0;
    justify-self: center;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a.current,
.nav-links a[aria-current="page"] {
    color: var(--text-main);
}

/* Mobile Navigation Fix */
@media (max-width: 900px) {
    header nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        row-gap: 10px;
    }

    header .nav-links.mobile-hidden {
        display: flex;
        order: 3;
        width: 100%;
        gap: 8px;
        padding: 2px 0 0;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    header .nav-links.mobile-hidden::-webkit-scrollbar {
        display: none;
    }

    header .nav-links.mobile-hidden li {
        flex: 0 0 auto;
    }

    header .nav-links.mobile-hidden a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.84rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.82);
    }

    header .nav-links.mobile-hidden a.current,
    header .nav-links.mobile-hidden a[aria-current="page"] {
        color: #fff;
        border-color: rgba(0, 210, 255, 0.28);
        background: linear-gradient(180deg, rgba(0, 210, 255, 0.14), rgba(157, 80, 187, 0.12));
    }
}

/* Language Toggle */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    justify-self: end;
}

.nav-actions + .user-profile {
    margin-left: 4px;
}

.lang-switcher {
    position: relative;
    display: inline-block;
    min-width: 58px;
    width: 58px;
    height: 40px;
    overflow: visible;
    isolation: isolate;
}

.lang-switcher::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: height 0.24s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, border-radius 0.2s ease;
    z-index: 0;
}

.lang-switcher:hover,
.lang-switcher:focus-within {
    z-index: 24;
}

.lang-switcher:hover::before,
.lang-switcher:focus-within::before {
    height: calc(8px + (var(--lang-count, 1) * 32px) + ((var(--lang-count, 1) - 1) * 6px));
    border-radius: 22px;
    border-color: rgba(0, 210, 255, 0.24);
    background: rgba(255, 255, 255, 0.07);
}

.lang-chip {
    position: absolute;
    left: 4px;
    right: 4px;
    width: calc(100% - 8px);
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.68);
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
    pointer-events: none;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    z-index: 1;
}

.lang-chip:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.lang-chip:nth-child(1) { top: 4px; }
.lang-chip:nth-child(2) { top: 42px; }
.lang-chip:nth-child(3) { top: 80px; }
.lang-chip:nth-child(4) { top: 118px; }
.lang-chip:nth-child(5) { top: 156px; }

.lang-chip.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.9), rgba(122, 92, 255, 0.9));
    box-shadow: 0 10px 24px rgba(0, 210, 255, 0.22);
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.lang-switcher:hover .lang-chip,
.lang-switcher:focus-within .lang-chip {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    padding: 10px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    height: 40px;
    min-width: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

select.lang-toggle {
    padding-right: 36px;
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.55) 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.55) 50%, transparent 50%);
    background-position:
        calc(100% - 17px) 16px,
        calc(100% - 12px) 16px;
    background-size: 5px 5px;
    background-repeat: no-repeat;
}

button.lang-toggle {
    min-width: 64px;
    padding-inline: 16px;
}

.lang-toggle:hover {
    color: #fff;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.1);
}

.lang-toggle option {
    color: #111;
    background: #fff;
}

/* Google Login Button */
.btn-google-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-google-login:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-google-login svg {
    flex-shrink: 0;
}

/* User Profile (Logged In) */
.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-shell {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 2200;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-right: 0;
}

.notification-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 64px;
    height: 56px;
    padding: 0 14px 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 210, 255, 0.28);
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.16), transparent 42%),
        linear-gradient(135deg, rgba(19, 29, 44, 0.98), rgba(10, 17, 29, 0.94));
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.notification-btn:hover {
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 42%),
        linear-gradient(135deg, rgba(22, 34, 52, 0.98), rgba(12, 20, 33, 0.94));
    border-color: rgba(0, 210, 255, 0.35);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

.notification-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #79e7ff;
    flex-shrink: 0;
}

.notification-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.notification-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.notification-label {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.02;
}

.notification-hint {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    line-height: 1;
}

.notification-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ff4d4f;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.16);
    position: absolute;
    top: 10px;
    right: 12px;
}

.notification-panel {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.72);
    transform-origin: top right;
    position: fixed;
    top: 88px;
    right: 24px;
    width: min(380px, calc(100vw - 30px));
    max-height: 520px;
    overflow-y: auto;
    background: rgba(20, 22, 30, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
    z-index: 2200;
    transition: opacity 0.22s ease, transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.notification-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.notification-panel-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.notification-panel-head strong {
    font-size: 0.95rem;
}

.notification-panel-sub {
    color: var(--text-dim);
    font-size: 0.78rem;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-more {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.77rem;
    padding: 4px 0 2px;
}

.notification-item {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 13px;
}

.notification-item.unread {
    border-color: rgba(0, 210, 255, 0.28);
    box-shadow: inset 0 0 0 1px rgba(0, 210, 255, 0.08);
}

.notification-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.notification-type-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.notification-type {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.12);
    color: var(--highlight-value);
    font-size: 0.72rem;
    font-weight: 700;
}

.notification-item-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ff4d4f;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.14);
    flex-shrink: 0;
}

.notification-time {
    color: var(--text-dim);
    font-size: 0.72rem;
    white-space: nowrap;
}

.notification-title {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 0.9rem;
}

.notification-message {
    color: var(--text-bright);
    font-size: 0.82rem;
    line-height: 1.55;
}

.notification-sender {
    margin-top: 8px;
    color: var(--text-dim);
    font-size: 0.73rem;
}

.notification-empty {
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    padding: 18px 16px;
    background: rgba(255, 255, 255, 0.03);
}

.notification-empty strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
}

.notification-empty p {
    color: var(--text-dim);
    font-size: 0.82rem;
    line-height: 1.6;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Profile Dropdown */
.profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 260px;
    background: rgba(20, 22, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    animation: dropdown-fade 0.2s ease;
}

.profile-dropdown.active {
    display: block;
}

@keyframes dropdown-fade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
}

.dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.dropdown-email {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.dropdown-vip-badge,
.page-vip-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    overflow: hidden;
    border-radius: 999px;
    color: #f8fafc;
    isolation: isolate;
    background:
        linear-gradient(135deg, rgba(8, 18, 36, 0.96), rgba(16, 20, 40, 0.92)),
        linear-gradient(135deg, rgba(0, 210, 255, 0.24), rgba(125, 102, 255, 0.24));
    border: 1px solid rgba(108, 212, 255, 0.3);
    box-shadow:
        0 10px 24px rgba(0, 210, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dropdown-vip-badge.member-standard,
.page-vip-badge.member-standard {
    background:
        linear-gradient(135deg, rgba(13, 18, 28, 0.94), rgba(20, 24, 34, 0.92)),
        linear-gradient(135deg, rgba(148, 163, 184, 0.14), rgba(255, 255, 255, 0.08));
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dropdown-vip-badge::before,
.page-vip-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(0, 210, 255, 0.24), transparent 42%),
        radial-gradient(circle at right center, rgba(125, 102, 255, 0.22), transparent 48%);
    opacity: 0.9;
    z-index: -2;
}

.dropdown-vip-badge.member-standard::before,
.page-vip-badge.member-standard::before {
    background:
        radial-gradient(circle at top left, rgba(148, 163, 184, 0.12), transparent 42%),
        radial-gradient(circle at right center, rgba(100, 116, 139, 0.12), transparent 48%);
}

.dropdown-vip-badge::after,
.page-vip-badge::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    z-index: -1;
}

.vip-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 214, 107, 0.3), rgba(255, 255, 255, 0.08));
    color: #ffd76b;
    font-size: 0.72rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.member-standard .vip-badge-icon {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.18), rgba(255, 255, 255, 0.06));
    color: #cbd5e1;
}

.vip-badge-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.05;
}

.vip-badge-eyebrow {
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(214, 243, 255, 0.74);
}

.member-standard .vip-badge-eyebrow {
    color: rgba(203, 213, 225, 0.62);
}

.vip-badge-title {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: #f8fbff;
}

.member-standard .vip-badge-title {
    color: #e2e8f0;
}

.dropdown-vip-badge {
    margin-top: 8px;
    padding: 7px 11px 7px 9px;
}

.page-vip-badge {
    margin-top: 14px;
    margin-bottom: 14px;
    padding: 10px 16px 10px 12px;
    box-shadow:
        0 14px 34px rgba(0, 210, 255, 0.12),
        0 4px 20px rgba(125, 102, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-vip-badge .vip-badge-icon {
    width: 24px;
    height: 24px;
    font-size: 0.84rem;
}

.page-vip-badge .vip-badge-eyebrow {
    font-size: 0.58rem;
}

.page-vip-badge .vip-badge-title {
    font-size: 0.88rem;
    letter-spacing: 0.16em;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 8px 0;
}

.dropdown-item {
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 107, 107, 0.1);
}

@media (max-width: 900px) {
    .btn-google-login span {
        display: none;
    }

    .btn-google-login {
        padding: 10px;
        border-radius: 50%;
    }

    .user-name {
        display: none;
    }

    .profile-btn {
        padding: 6px;
        border-radius: 50%;
    }

    .user-profile {
        gap: 8px;
    }

    .page-vip-badge {
        margin-top: 12px;
        margin-bottom: 12px;
        padding: 9px 14px 9px 11px;
    }

    .page-vip-badge .vip-badge-title {
        font-size: 0.8rem;
    }

    .notification-shell {
        left: 16px;
        bottom: 16px;
    }

    .notification-btn {
        min-width: 50px;
        height: 50px;
        padding: 0 12px;
    }

    .notification-panel {
        top: 74px;
        right: 0;
        transform-origin: top right;
        width: min(340px, calc(100vw - 20px));
    }

    .notification-hint {
        display: none;
    }

    .notification-label {
        display: none;
    }
}

/* Sections */
section {
    padding: 100px 0;
}

.hero {
    min-height: 40vh;
    padding: 140px 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(157, 80, 187, 0.1) 0%, transparent 70%);
}

.hero h1 {
    font-size: var(--fs-display);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: var(--fs-lg);
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* User Hook: Live Payback Ticker */
.payback-ticker-wrapper {
    margin: 50px auto 0;
    width: 100%;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 20px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.1);
}

.ticker-label {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.ticker-label::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 8px #fff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1.5);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.ticker-content {
    flex: 1;
    height: 24px;
    position: relative;
    overflow: hidden;
}

.ticker-list {
    list-style: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    animation: vertical-ticker 15s linear infinite;
    will-change: transform;
}

.ticker-list li {
    height: 24px;
    display: flex;
    align-items: center;
    font-size: 0.82rem;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-list li strong {
    color: #00d2ff;
    margin: 0 5px;
}

.ticker-list li .exchange-name {
    color: #fff;
    font-weight: 700;
    margin-right: 5px;
}

@keyframes vertical-ticker {

    0%,
    15% {
        transform: translateY(0);
    }

    20%,
    35% {
        transform: translateY(-24px);
    }

    40%,
    55% {
        transform: translateY(-48px);
    }

    60%,
    75% {
        transform: translateY(-72px);
    }

    80%,
    95% {
        transform: translateY(-96px);
    }

    100% {
        transform: translateY(-120px);
    }
}

/* Grid for Rates/Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    padding: 30px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 15px;
}

.vip-badge {
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}

.rate-badge {
    background: rgba(0, 210, 255, 0.1);
    color: var(--highlight-value);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
    margin: 15px 0;
}

/* Exchange Rate Cards V2 */
.exchange-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ========================================== */
/* V4 Minimal Split Design                      */
/* ========================================== */
.exchange-card {
    background: #13131a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
}

.exchange-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 210, 255, 0.1);
}

/* ── Highlighted Exchange Card (추천 거래소) ── */
.exchange-card.card-highlighted {
    border: 2px solid rgba(0, 210, 255, 0.4);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    animation: card-highlight-glow 2.5s ease-in-out infinite;
}

.exchange-card.card-highlighted:hover {
    transform: translateY(-4px);
}

@keyframes card-highlight-glow {
    0%, 100% {
        border-color: rgba(0, 210, 255, 0.2);
        box-shadow: 0 0 15px rgba(0, 210, 255, 0.08);
    }
    50% {
        border-color: rgba(0, 210, 255, 0.8);
        box-shadow: 0 0 30px rgba(0, 210, 255, 0.25), 0 0 60px rgba(0, 210, 255, 0.12), 0 0 100px rgba(0, 210, 255, 0.06);
    }
}

.exchange-card.card-highlighted .exchange-card-left {
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.08), transparent 70%),
        linear-gradient(180deg, #1a1a2e, #13131a);
}

.exchange-card.card-highlighted .payback-highlight-value {
    text-shadow: 0 0 40px rgba(0, 210, 255, 0.6), 0 0 80px rgba(0, 210, 255, 0.3);
}

/* Highlight tag style (추천) */
.exchange-tag.tag-highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    color: #1a1a0a !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    font-weight: 900;
}

/* Left side (logo + tags + payback) */
.exchange-card-left {
    padding: 30px 24px;
    background: linear-gradient(180deg, #1a1a24, #13131a);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Normal cards: no shimmer/pulse (only highlighted cards get these) */
.exchange-card-left::before,
.exchange-card-left::after {
    content: none;
    display: none;
}

/* Ensure card content stays above shimmer overlay */
.exchange-card.card-highlighted .exchange-card-left > * {
    position: relative;
    z-index: 1;
}

.exchange-card-logo {
    height: 80px;
    padding: 0;
    margin-bottom: 18px;
    border-bottom: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.exchange-card-logo img {
    max-height: 44px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.exchange-card-logo img.dark-logo {
    filter: none;
    opacity: 1;
}

/* Per-exchange logo size normalization (visual weight balance) */
.exchange-card-logo img.logo-binance { max-height: 78px; max-width: 190px; }
.exchange-card-logo img.logo-bybit   { max-height: 34px; max-width: 130px; }
.exchange-card-logo img.logo-okx     { max-height: 30px; max-width: 130px; }
.exchange-card-logo img.logo-bitget  { max-height: 40px; max-width: 150px; }
.exchange-card-logo img.logo-gate    { max-height: 48px; max-width: 150px; }
.exchange-card-logo img.logo-mexc    { max-height: 20px; max-width: 110px; }
.exchange-card-logo img.logo-bitmart { max-height: 36px; max-width: 160px; }
.exchange-card-logo img.logo-htx     { max-height: 44px; max-width: 150px; }

/* Right side (fees + bonus + progress + cta) */
.exchange-card-right {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Hide 1인 평균 (no longer used in layout) */
.exchange-card-body > .exchange-card-avg,
.exchange-card-avg {
    display: none !important;
}

/* Legacy .exchange-card-body cleanup (in case used elsewhere) */
.exchange-card-body {
    display: contents;
}

/* ── Exchange Card Tags ── */
.exchange-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin: 0 0 18px 0;
}

.exchange-card-tags:empty {
    display: none;
    margin: 0;
}

.exchange-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: var(--fs-xs);
    font-weight: 800;
    background: rgba(252, 165, 165, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(252, 165, 165, 0.3);
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.exchange-tag:nth-child(2n) {
    background: rgba(253, 224, 71, 0.12);
    color: #fde68a;
    border-color: rgba(253, 224, 71, 0.3);
}

.exchange-tag:nth-child(3n) {
    background: rgba(0, 210, 255, 0.12);
    color: var(--highlight-value);
    border-color: rgba(0, 210, 255, 0.3);
}

/* ── Payback Highlight (V4 large centered) ── */
.payback-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    position: static;
    overflow: visible;
}

.payback-highlight::before,
.payback-highlight::after {
    display: none;
    content: none;
}

.payback-highlight-label {
    font-size: 0.72rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: none;
}

.payback-highlight-value {
    font-size: clamp(2.3rem, 5vw, var(--fs-display));
    font-weight: 900;
    color: var(--highlight-value);
    line-height: 1;
    max-width: 100%;
    white-space: nowrap;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    animation: payback-glow 2.5s ease-in-out infinite;
}

@keyframes payback-glow {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 210, 255, 0.3); }
    50% { text-shadow: 0 0 40px rgba(0, 210, 255, 0.6), 0 0 60px rgba(0, 210, 255, 0.3); }
}

/* ── Fee Rates Section ── */
.fee-rates-section {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin: 0;
}

.fee-rates-title {
    font-size: var(--fs-xs);
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    padding-bottom: 0;
    border-bottom: none;
}

.fee-rate-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 7px 0;
    margin: 0;
    font-size: 1.05rem;
}

.fee-rate-row .fee-label {
    min-width: auto;
    color: #aaa;
    font-size: var(--fs-xs);
    font-weight: 600;
}

.fee-rate-row .fee-right {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.fee-rate-row .fee-original {
    text-decoration: line-through;
    color: #555;
    font-size: 0.95rem;
    opacity: 1;
    font-weight: 400;
}

.fee-rate-row .fee-discounted {
    color: var(--highlight-value);
    font-weight: 900;
    font-size: 1.25rem;
    margin-left: 0;
}

/* ── Bonus Section ── */
.bonus-section {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(251, 146, 60, 0.1);
    border: none;
    border-left: 3px solid #fb923c;
    border-radius: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fed7aa;
    line-height: 1.4;
    margin: 0;
}

.bonus-section:empty {
    display: none;
}

.bonus-section .bonus-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.bonus-section .bonus-text {
    flex: 1;
    word-break: keep-all;
}

/* Rate Info Row */
.rate-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.rate-info-label {
    font-weight: 700;
    min-width: 75px;
}

.rate-info-label.payback {
    color: var(--highlight-value);
}

.rate-info-label.discount {
    color: #ff9f0a;
}

/* 5-Box Indicator */
.box-indicator {
    display: flex;
    gap: 4px;
}

.box-indicator .box {
    width: 28px;
    height: 14px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.box-indicator .box.filled-blue {
    background: var(--accent-blue);
}

.box-indicator .box.filled-orange {
    background: #ff9f0a;
}

.rate-percent {
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 35px;
    text-align: right;
}

/* Rate Wrapper */
.rates-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.rates-main {
    flex: 1;
}

/* Effective Rate */
.effective-rate {
    padding: 10px 14px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
}

.effective-rate-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.effective-rate-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--highlight-value);
    line-height: 1;
}

/* Progress Bar (V4: sticks to bottom above CTA) */
.progress-bar-container {
    margin-top: auto;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
    padding-top: 8px;
    align-items: center;
}

.progress-bar-container::before {
    content: attr(data-label);
    font-size: 0.78rem;
    color: #aaa;
    font-weight: 600;
    grid-column: 1;
    grid-row: 1;
}

.progress-bar-bg {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-blue), #3b82f6);
    transition: width 0.6s ease;
}

.progress-label {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.78rem;
    color: #aaa;
    background: none;
    border: none;
    padding: 0;
    white-space: nowrap;
    font-weight: 600;
}

.exchange-card-status {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-dim);
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: inline-block;
}

.exchange-card-cta {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    background: #fff;
    color: #0a0a0f;
    border: none;
    border-radius: 10px;
    font-weight: 900;
    font-size: var(--fs-lg);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.exchange-card-cta:hover {
    background: #00d2ff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 210, 255, 0.3);
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--text-bright);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1.5px solid var(--glass-border);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

header nav > a.btn-secondary,
.nav-actions > a.btn-secondary {
    justify-self: end;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    white-space: nowrap;
    line-height: 1;
}

/* Responsive Overrides */
@media screen and (max-width: 900px) {
    .exchange-grid {
        grid-template-columns: 1fr;
    }

    /* V4 Card: 좌우 분할 → 상하 분할 */
    .exchange-card {
        grid-template-columns: 1fr;
    }
    .exchange-card-left {
        padding: 26px 20px 22px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .exchange-card-logo { margin-bottom: 14px; }
    .exchange-card-logo img { max-height: 32px; }
    .exchange-card-tags { margin-bottom: 14px; }
    .payback-highlight-value { font-size: 3.2rem; }
    .exchange-card-right {
        padding: 20px;
        gap: 12px;
    }
    .fee-rates-section { padding: 14px 16px; }
    .fee-rates-title { margin-bottom: 10px; font-size: 0.72rem; }
    .fee-rate-row { font-size: 0.92rem; padding: 5px 0; }
    .fee-rate-row .fee-label { font-size: 0.85rem; }
    .fee-rate-row .fee-original { font-size: 0.85rem; }
    .fee-rate-row .fee-discounted { font-size: 1.1rem; }

    .hero h1 {
        font-size: 2.2rem;
    }

    .logo {
        width: 270px;
        height: 64px;
    }
}

@media screen and (max-width: 480px) {
    .exchange-card-left {
        padding: 22px 16px 18px;
    }
    .payback-highlight-value { font-size: 2.8rem; }
    .exchange-card-right {
        padding: 16px;
    }
    .fee-rates-section { padding: 12px 14px; }
}


/* Reviews Section Enhanced */
.reviews-header {
    margin-bottom: 40px;
    display: flex;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rating-number {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}

.rating-stars-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.star-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar-bg {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: var(--text-dim);
    border-radius: 2px;
}

#reviews {
    padding: 120px 0;
    overflow: hidden;
}

.reviews-scroll-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    display: flex;
    /* Ensure it behaves as flex container */
}

.reviews-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 0 12px;
    animation: scroll-left 50s linear infinite;
    align-items: flex-start;
    /* Prevent vertical stretching */
    will-change: transform;
}

.reviews-scroll-container:hover .reviews-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 12px));
    }
}

.review-card {
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    padding: 24px;
    background: #1c1c1e;
    /* Apple Style Dark */
    border: none;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.review-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.review-stars {
    color: #ff9f0a;
    /* Apple Star Color */
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.review-content {
    font-size: 0.95rem;
    color: #f5f5f7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.review-content.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
}

.see-more {
    color: #0071e3;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    cursor: pointer;
    align-self: flex-start;
}

.review-user {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-dim);
    text-align: right;
}

/* API Section */
/* V1 Dark Premium Glass — API Section */
.api-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(0, 210, 255, 0.12), transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(59, 130, 246, 0.1), transparent 50%),
        #0a0a0f;
    text-align: center;
    color: white;
}

.api-section::before {
    content: none;
}

.api-section .container {
    position: relative;
    z-index: 1;
}

.api-section h2 {
    font-size: var(--fs-h1);
    margin-bottom: 15px;
}

.api-section h2 .gradient-text,
.api-section h2 .highlight {
    background: linear-gradient(90deg, #00d2ff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.api-section .subtitle {
    color: #aaa;
    font-size: var(--fs-md);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.api-section .section-label {
    color: #00d2ff;
    font-size: var(--fs-xs);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.exchange-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
}

.exchange-logo-item {
    aspect-ratio: 1.6;
    height: auto;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.exchange-logo-item img {
    max-width: 72%;
    max-height: 45%;
    object-fit: contain;
    opacity: 1;
    filter: none;
    transition: all 0.3s ease;
}

/* Enhanced Logo Scaling & Brand Color Preservation */
.exchange-card-logo img {
    height: auto;
    object-fit: contain;
}

/* Base Scaling to Unify Visual Font Sizes (1.5x Increase, 2x for Binance) */
.exchange-card-logo img.logo-binance {
    max-width: 95%;
    height: 88px;
}

/* 44px * 2 */
.exchange-card-logo img.logo-bybit {
    max-width: 90%;
    height: 42px;
}

/* 28px * 1.5 */
.exchange-card-logo img.logo-okx {
    max-width: 85%;
    height: 39px;
}

/* 26px * 1.5 */
.exchange-card-logo img.logo-bitget {
    max-width: 95%;
    height: 60px;
}

/* 40px * 1.5 */
/* 38px * 1.5 */
.exchange-card-logo img.logo-gate {
    max-width: 95%;
    height: 57px;
}

.exchange-card-logo img.logo-mexc {
    max-width: 95%;
    height: 42px;
}

.exchange-card-logo img.logo-bitmart {
    max-width: 95%;
    height: 48px;
}

.exchange-card-logo img.logo-htx {
    max-width: 95%;
    height: 60px;
}

.exchange-card-logo img.logo-edgex {
    max-width: 92%;
    height: 42px;
}

.exchange-card-logo img.logo-aster {
    max-width: 88%;
    height: 40px;
}

.exchange-card-logo img.logo-edgex-mark-card {
    max-width: 88%;
    height: 28px;
}

.exchange-card-logo img.logo-aster-mark-card {
    max-width: 88%;
    height: 24px;
}

/* Icon+Text: medium height */

/* Grid logo scaling (normalized for V1 glass boxes) */
.exchange-logo-item img.logo-binance { max-height: 62px; max-width: 80%; }
.exchange-logo-item img.logo-bybit   { max-height: 30px; max-width: 70%; }
.exchange-logo-item img.logo-okx     { max-height: 28px; max-width: 68%; }
.exchange-logo-item img.logo-bitget  { max-height: 34px; max-width: 72%; }
.exchange-logo-item img.logo-gate    { max-height: 42px; max-width: 72%; }
.exchange-logo-item img.logo-mexc    { max-height: 20px; max-width: 68%; }
.exchange-logo-item img.logo-bitmart { max-height: 32px; max-width: 76%; }
.exchange-logo-item img.logo-htx     { max-height: 36px; max-width: 72%; }

/* Invert trick to keep brand colors (Orange/Yellow) while making black text white */
.dark-logo {
    filter: none;
}

.exchange-logo-item .dark-logo {
    filter: none;
}

.exchange-logo-item:hover .dark-logo {
    filter: none;
}

.exchange-logo-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.15);
}

.exchange-logo-item:hover img {
    opacity: 1;
    filter: grayscale(0);
}

.tag-label {
    position: absolute;
    background: #ffcc00;
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 2;
}

.api-footer-text {
    color: #aaa;
    font-size: var(--fs-md);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto;
}

.api-footer-text strong {
    color: #00d2ff;
    font-weight: 700;
}

/* V1 Dark Premium Glass — Payback Section */
.payback-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(168, 85, 247, 0.12), transparent 50%),
        radial-gradient(ellipse at 20% 100%, rgba(236, 72, 153, 0.1), transparent 50%),
        #0a0a0f;
    text-align: center;
    color: white;
}

.payback-section::before {
    content: none;
}

.payback-section .container {
    position: relative;
    z-index: 1;
}

.payback-section h2 {
    font-size: var(--fs-h1);
    margin-bottom: 15px;
}

.payback-section h2 .gradient-text,
.payback-section h2 .highlight {
    background: linear-gradient(90deg, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.payback-section .subtitle {
    color: #aaa;
    font-size: var(--fs-md);
    max-width: 780px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.payback-section .section-label {
    color: #c084fc;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.compare-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.compare-card:hover {
    transform: translateY(-4px);
    border-color: rgba(192, 132, 252, 0.3);
}

.compare-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.compare-card-header h3 {
    font-size: var(--fs-h3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.compare-card-header .arrow {
    font-size: 1.4rem;
    color: #666;
}

.compare-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.compare-row:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-label {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    min-width: 70px;
    text-align: center;
}

.compare-label.other {
    background: rgba(156, 163, 175, 0.15);
    color: #9ca3af;
}

.compare-label.ours {
    background: linear-gradient(135deg, #c084fc, #ec4899);
    color: #fff;
}

.compare-label.boost {
    background: linear-gradient(135deg, #fb923c, #f87171);
    color: #fff;
}

.compare-row strong {
    color: #c084fc;
    font-weight: 900;
}

.compare-row .boost-val,
.compare-row:last-child strong {
    color: #fb923c;
}

.strikethrough {
    text-decoration: line-through;
    color: #555;
}

.formula-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.formula-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(192, 132, 252, 0.2);
    border-radius: 14px;
    padding: 22px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    min-width: 180px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.formula-box:last-of-type {
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.15), rgba(236, 72, 153, 0.08));
    border-color: rgba(192, 132, 252, 0.4);
    color: #f5d0fe;
}

.formula-op {
    font-size: 1.8rem;
    font-weight: 900;
    color: #c084fc;
}


/* ========================================== */
/* Q&A Section — V2 Q→A Conversation Flow       */
/* ========================================== */
.qna-section {
    padding: 120px 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.08), transparent 60%),
        #0a0a0f;
}

.qna-section .container {
    max-width: 920px;
}

.qna-header {
    text-align: center;
    margin-bottom: 60px;
}

.qna-header .section-label {
    font-size: var(--fs-xs);
    color: #666;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 600;
}

.qna-header h2 {
    font-size: var(--fs-h1);
    font-weight: 900;
    line-height: 1.3;
}

/* Remove glass card wrapper — V2 uses timeline layout instead */
.qna-card {
    padding: 0;
    max-width: none;
    margin: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.qna-card.glass {
    background: transparent !important;
    border: none !important;
}

/* Q→A Flow with timeline */
.qna-main-text {
    position: relative;
    padding-left: 70px;
    text-align: left;
    margin-bottom: 24px;
}

.qna-main-text::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 210, 255, 0.4), rgba(168, 85, 247, 0.3), transparent);
}

.qna-main-text p {
    position: relative;
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    font-size: 1.1rem;
    color: #ccc;
    font-weight: 500;
    margin: 0 0 36px 0;
}

.qna-main-text p::before {
    content: 'Q';
    position: absolute;
    left: -70px;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #888;
}

.qna-main-text .highlight-text {
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.08), rgba(59, 130, 246, 0.04));
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 18px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0;
}

.qna-main-text .highlight-text::before {
    content: 'A';
    background: linear-gradient(135deg, #00d2ff, #60a5fa);
    border: none;
    color: #000;
    box-shadow: 0 0 24px rgba(0, 210, 255, 0.4);
}

.qna-main-text .highlight-text strong {
    background: linear-gradient(90deg, #00d2ff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    text-shadow: none;
    white-space: normal;
}

.qna-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
    margin-left: 70px;
}

.qna-item {
    padding: 24px 22px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 14px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    counter-increment: qna-counter;
}

.qna-grid {
    counter-reset: qna-counter;
}

.qna-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 210, 255, 0.35);
    background: rgba(0, 210, 255, 0.03);
}

.qna-item::before {
    content: counter(qna-counter, decimal-leading-zero);
    display: inline-block;
    font-size: 0.7rem;
    padding: 3px 10px;
    background: rgba(0, 210, 255, 0.15);
    color: #00d2ff;
    border-radius: 10px;
    font-weight: 800;
    margin-bottom: 10px;
}

.qna-icon {
    display: none;
}

.qna-item h4 {
    font-size: var(--fs-h3);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qna-item h4::before {
    content: attr(data-icon);
    font-size: 1.1rem;
}

.qna-item p {
    font-size: var(--fs-md);
    color: #999;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .qna-section { padding: 80px 0; }
    .qna-header h2 { font-size: 1.8rem; }

    .qna-main-text { padding-left: 52px; }
    .qna-main-text p::before,
    .qna-main-text .highlight-text::before {
        left: -52px;
    }
    .qna-main-text p { font-size: 1rem; padding: 18px 22px; }
    .qna-main-text .highlight-text {
        font-size: 1.2rem;
        padding: 22px 24px;
    }

    .qna-grid {
        grid-template-columns: 1fr;
        margin-left: 0;
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .qna-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .qna-main-text {
        padding-left: 28px;
        margin-bottom: 16px;
    }

    .qna-main-text::before {
        left: 12px;
    }

    .qna-main-text p::before,
    .qna-main-text .highlight-text::before {
        left: -28px;
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .qna-main-text p {
        padding: 16px 16px;
        margin-bottom: 20px;
    }

    .qna-main-text .highlight-text {
        padding: 18px 16px;
        font-size: 1.06rem;
        line-height: 1.36;
    }

    .qna-grid {
        margin-left: 0;
        gap: 10px;
    }

    .qna-item {
        padding: 18px 16px;
    }
}

@media (max-width: 420px) {
    .qna-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .qna-main-text {
        padding-left: 24px;
    }

    .qna-main-text::before {
        left: 10px;
        top: 32px;
    }

    .qna-main-text p::before,
    .qna-main-text .highlight-text::before {
        left: -24px;
        width: 24px;
        height: 24px;
        font-size: 0.72rem;
    }

    .qna-grid {
        margin-left: 0;
    }

    .qna-main-text .highlight-text {
        font-size: 0.98rem;
        padding: 16px 14px;
    }
}

/* Member Pages */
.member-page {
    padding-top: calc(112px + env(safe-area-inset-top, 0px));
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
}

.section-title-link {
    color: inherit;
    text-decoration: none;
}

.section-title-link:hover .gradient-text {
    filter: brightness(1.08);
}

.event-section-more {
    color: var(--accent-blue);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.event-link-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.event-link-card p {
    color: var(--text-bright);
}

.event-link-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    color: var(--accent-blue);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ========================================== */
/* Events Section — V2 Bold Feature Cards       */
/* ========================================== */
.events-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.08), transparent 60%),
        #0a0a0f;
    padding: 100px 0;
}

.events-header {
    text-align: center;
    margin-bottom: 40px;
}

.events-section-label {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 20px;
    font-size: var(--fs-xs);
    font-weight: 800;
    color: #00d2ff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.events-header h2 {
    font-size: var(--fs-h1);
    font-weight: 900;
    line-height: 1.25;
    margin: 0;
}

.events-header h2 a.section-title-link {
    color: inherit;
    text-decoration: none;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.event-big-card {
    padding: 40px;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 210, 255, 0.12), transparent 60%),
        linear-gradient(145deg, #151525, #0f0f1a);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    transition: all 0.3s ease;
}

.event-big-card:hover {
    transform: scale(1.02);
    border-color: rgba(0, 210, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 210, 255, 0.12);
}

.event-big-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1;
}

.event-big-card h3 {
    font-size: var(--fs-h3);
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
}

.event-big-card p {
    color: #aaa;
    font-size: var(--fs-md);
    line-height: 1.6;
    margin: 0;
}

.event-big-footer {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-big-tag {
    padding: 5px 14px;
    background: rgba(0, 210, 255, 0.12);
    color: #00d2ff;
    font-size: var(--fs-xs);
    font-weight: 800;
    border-radius: 20px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.event-big-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d2ff;
    font-size: var(--fs-sm);
    font-weight: 700;
    transition: all 0.3s;
}

.event-big-card:hover .event-big-arrow {
    background: #00d2ff;
    color: #000;
    transform: translateX(4px);
    border-color: #00d2ff;
}

.events-more-link {
    text-align: center;
    margin-top: 32px;
}

.events-more-link a {
    color: #00d2ff;
    font-size: var(--fs-sm);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 210, 255, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.events-more-link a:hover {
    border-bottom-color: #00d2ff;
}

/* ========================================== */
/* VIP Section — V1 Modern Card Grid (Gold)     */
/* ========================================== */
.vip-section {
    padding: 100px 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(251, 191, 36, 0.08), transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(168, 85, 247, 0.08), transparent 50%),
        #0a0a0f;
}

.vip-header {
    text-align: center;
    margin-bottom: 44px;
}

.vip-exclusive-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a0a;
    font-size: var(--fs-xs);
    font-weight: 900;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.25);
}

.vip-exclusive-badge::before {
    content: '⭐';
    font-size: 0.9rem;
}

.vip-header h2 {
    font-size: var(--fs-h1);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 18px 0;
}

.vip-header h2 .vip-gradient,
.vip-header h2 .gradient-text {
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vip-desc {
    color: #aaa;
    font-size: var(--fs-lg);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.vip-card {
    padding: 40px 30px;
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.06), rgba(236, 72, 153, 0.03));
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.vip-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.1);
}

.vip-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(236, 72, 153, 0.08));
    border: 1px solid rgba(251, 191, 36, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 18px;
}

.vip-card h4 {
    font-size: var(--fs-h3);
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
}

.vip-card p {
    font-size: var(--fs-md);
    color: #999;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .events-section, .vip-section { padding: 70px 0; }
    .events-header h2, .vip-header h2 { font-size: 1.8rem; }
    .events-grid { grid-template-columns: 1fr; }
    .vip-grid { grid-template-columns: 1fr; }
    .event-big-card { padding: 32px 24px; min-height: auto; }
    .event-big-card h3 { font-size: 1.3rem; }
    .vip-card { padding: 32px 24px; }
}

.event-page {
    padding-top: 132px;
    min-height: 100vh;
    padding-bottom: 72px;
}

.event-hero {
    padding: 34px;
    margin-bottom: 24px;
}

.event-label-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.event-badge.live {
    color: #7df7d4;
    background: rgba(31, 199, 147, 0.12);
    border: 1px solid rgba(31, 199, 147, 0.24);
}

.event-badge.highlight {
    color: var(--accent-blue);
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.22);
}

.event-date {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
}

.event-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 14px;
}

.event-hero p {
    color: var(--text-dim);
    font-size: 1.02rem;
    max-width: 760px;
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.event-actions .glass {
    padding: 14px 24px;
    text-decoration: none;
    color: white;
    display: inline-block;
}

.event-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.event-list-card {
    display: block;
    padding: 28px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.event-list-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 210, 255, 0.22);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.event-list-card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.event-list-card p {
    color: var(--text-dim);
    margin-bottom: 12px;
}

.event-list-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.event-list-meta strong {
    color: var(--text-main);
}

.event-list-link {
    color: var(--accent-blue);
    font-weight: 700;
}

.vip-status-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
}

.vip-status-chip {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.16);
    color: var(--text-main);
    font-size: 0.95rem;
}

.vip-note-card {
    padding: 28px;
}

.vip-note-card h2 {
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.vip-note-card p {
    color: var(--text-dim);
    margin-bottom: 12px;
}

.vip-checklist {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.vip-checklist-item {
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vip-checklist-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text-main);
}

.event-article {
    padding: 34px;
}

.event-article + .event-article {
    margin-top: 24px;
}

.event-article h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.event-article p + p {
    margin-top: 12px;
}

.event-article p,
.event-article li {
    color: var(--text-dim);
    line-height: 1.85;
}

.event-article strong {
    color: var(--text-main);
}

.event-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.event-feature {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.event-feature span {
    display: block;
    margin-bottom: 8px;
    color: var(--highlight-value);
    font-size: 0.82rem;
    font-weight: 800;
}

.event-feature strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.02rem;
}

.event-bullet-list {
    padding-left: 20px;
}

.event-bullet-list li + li {
    margin-top: 10px;
}

.event-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid rgba(0, 210, 255, 0.16);
}

@media (max-width: 900px) {
    .content-page,
    .event-page {
        padding-top: 164px;
    }

    .event-list-grid,
    .event-feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .event-page {
        padding-top: 176px;
    }

    .content-page {
        padding-top: 176px;
    }

    .event-hero,
    .event-article {
        padding: 24px;
    }

    .event-hero h1 {
        font-size: 2rem;
    }
}

.member-page-hero {
    margin-bottom: 24px;
}

.member-page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.member-page-hero p {
    max-width: 700px;
    color: var(--text-dim);
}

.member-page-note {
    margin-bottom: 24px;
    padding: 18px 22px;
}

.member-page-note strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.member-page-note p {
    color: var(--text-dim);
}

.telegram-link-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 470px);
    gap: 24px;
    align-items: start;
    padding: 30px 30px 24px;
    margin-bottom: 20px;
    background:
        radial-gradient(circle at top right, rgba(0, 210, 255, 0.12), transparent 42%),
        radial-gradient(circle at bottom left, rgba(124, 92, 255, 0.08), transparent 38%),
        rgba(255, 255, 255, 0.04);
    border-radius: 28px;
}

.telegram-link-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(0, 210, 255, 0.18);
    background: rgba(0, 210, 255, 0.08);
    color: var(--accent-blue);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
}

.telegram-link-copy h2 {
    font-size: clamp(2rem, 3.2vw, 2.65rem);
    line-height: 1.08;
    margin-bottom: 12px;
}

.telegram-link-copy p {
    color: var(--text-dim);
    max-width: 620px;
    font-size: 0.96rem;
    line-height: 1.68;
}

.telegram-link-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.telegram-link-stat {
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
        rgba(9, 14, 24, 0.36);
    min-height: 0;
}

.telegram-link-stat strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--text-main);
}

.telegram-link-stat span {
    display: block;
    color: var(--text-dim);
    font-size: 0.84rem;
    line-height: 1.58;
}

.telegram-link-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 22px 18px;
    border-radius: 24px;
    border: 1px solid rgba(0, 210, 255, 0.15);
    background:
        radial-gradient(circle at top right, rgba(0, 210, 255, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(11, 20, 34, 0.94), rgba(8, 14, 24, 0.88));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.telegram-link-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.telegram-link-head-copy p {
    margin-top: 5px;
    color: var(--text-dim);
    font-size: 0.86rem;
    line-height: 1.58;
}

.telegram-link-head strong {
    font-size: 1.02rem;
    line-height: 1.4;
}

.telegram-link-status {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.79rem;
    font-weight: 800;
    white-space: nowrap;
}

.telegram-link-status.connected {
    border-color: rgba(31, 199, 147, 0.2);
    background: rgba(31, 199, 147, 0.12);
    color: #7df7d4;
}

.telegram-link-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
}

.telegram-link-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.telegram-link-field span {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.telegram-link-actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    min-width: 210px;
}

.telegram-link-input {
    flex: 1;
    min-width: 0;
    height: 56px;
    padding: 0 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.045)),
        rgba(255, 255, 255, 0.035);
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.telegram-link-input:focus {
    border-color: rgba(0, 210, 255, 0.38);
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.08);
}

.telegram-link-submit {
    width: 100%;
    min-height: 56px;
    padding: 0 24px;
    border: none;
    border-radius: 18px;
    font-size: 0.93rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
    background: linear-gradient(135deg, rgba(26, 189, 255, 1), rgba(122, 104, 255, 0.96));
    box-shadow: 0 14px 28px rgba(35, 143, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.telegram-link-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(35, 143, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.telegram-link-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.telegram-link-help {
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

.telegram-link-help code {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 2px 6px;
    color: var(--text-main);
}

.telegram-link-feedback {
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 0.86rem;
    line-height: 1.58;
}

.telegram-link-feedback.info {
    color: #d8f7ff;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
}

.telegram-link-feedback.success {
    color: #7df7d4;
    background: rgba(31, 199, 147, 0.1);
    border: 1px solid rgba(31, 199, 147, 0.25);
}

.telegram-link-feedback.error {
    color: #ff9b9b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.25);
}

@media (max-width: 640px) {
    .member-page {
        padding-top: 96px;
    }

    .member-page-hero h1 {
        font-size: 2rem;
    }

    .telegram-link-panel {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .telegram-link-copy h2 {
        font-size: 1.7rem;
    }

    .telegram-link-stats {
        grid-template-columns: 1fr;
    }

    .telegram-link-form {
        grid-template-columns: 1fr;
    }

    .telegram-link-actions {
        min-width: 0;
    }

    .telegram-link-submit {
        width: 100%;
    }
}

/* My Return */
#my-return {
    margin-bottom: 56px;
}

.my-return-panel {
    padding: 36px;
}

.my-return-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.my-return-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent-blue);
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.my-return-heading h2 {
    font-size: 2.35rem;
    margin-bottom: 10px;
}

.my-return-heading p {
    color: var(--text-dim);
    max-width: 640px;
}

.my-return-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 12px;
    min-width: 280px;
}

.my-return-meta-card {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.my-return-meta-card span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.my-return-meta-card strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
}

.my-return-meta-card em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.my-return-feedback {
    margin-bottom: 20px;
    padding: 15px 18px;
    border-radius: 14px;
    font-size: 0.92rem;
}

.my-return-feedback.info {
    color: #d8f7ff;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
}

.my-return-feedback.success {
    color: #7df7d4;
    background: rgba(31, 199, 147, 0.1);
    border: 1px solid rgba(31, 199, 147, 0.25);
}

.my-return-feedback.error {
    color: #ff9b9b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.25);
}

.my-return-content {
    min-height: 180px;
}

.my-return-loading,
.my-return-locked {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 14px;
    padding: 34px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.my-return-lock-badge {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-blue);
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.my-return-locked h3,
.my-return-loading strong {
    font-size: 1.3rem;
    font-weight: 800;
}

.my-return-locked p,
.my-return-loading p {
    max-width: 560px;
    color: var(--text-dim);
}

.my-return-login-btn {
    min-width: 220px;
}

.my-return-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.my-return-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.my-return-card.paused-exchange {
    border: 1px solid rgba(255, 107, 107, 0.24);
    background:
        linear-gradient(180deg, rgba(160, 34, 34, 0.16), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.03);
    opacity: 0.84;
}

.my-return-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.my-return-card-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.my-return-logo-frame {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.my-return-logo-frame.surface {
    background: rgba(255, 255, 255, 0.98);
}

.my-return-logo {
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
}

.my-return-card-brand h3 {
    font-size: 1.02rem;
    margin-bottom: 2px;
}

.my-return-card-brand p {
    color: var(--text-dim);
    font-size: 0.84rem;
}

.my-return-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.my-return-status.pending {
    color: #ffd479;
    background: rgba(255, 184, 0, 0.12);
    border: 1px solid rgba(255, 184, 0, 0.2);
}

.my-return-status.pending-update {
    color: #ffcf8a;
    background: rgba(255, 151, 58, 0.14);
    border: 1px solid rgba(255, 151, 58, 0.22);
}

.my-return-status.verified {
    color: #7df7d4;
    background: rgba(31, 199, 147, 0.12);
    border: 1px solid rgba(31, 199, 147, 0.22);
}

.my-return-status.rejected {
    color: #ff9b9b;
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.22);
}

.my-return-status.paused {
    color: #ffb8b8;
    background: rgba(146, 26, 26, 0.24);
    border: 1px solid rgba(255, 107, 107, 0.28);
}

.my-return-status.processing {
    color: #9feaff;
    background: rgba(36, 115, 170, 0.18);
    border: 1px solid rgba(88, 198, 255, 0.28);
}

.my-return-current {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.my-return-current-pending {
    border-color: rgba(255, 184, 0, 0.16);
    background: rgba(255, 184, 0, 0.06);
}

.my-return-current span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.my-return-current strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.my-return-helper {
    color: var(--text-dim);
    font-size: 0.88rem;
    min-height: 42px;
}

.my-return-warning {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 184, 0, 0.22);
    background: rgba(255, 184, 0, 0.08);
    color: #ffd479;
    font-size: 0.83rem;
    font-weight: 700;
    line-height: 1.5;
}

.my-return-card-feedback {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.84rem;
    line-height: 1.55;
    border: 1px solid transparent;
}

.my-return-card-feedback.info {
    color: #d8f7ff;
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.22);
}

.my-return-card-feedback.success {
    color: #7df7d4;
    background: rgba(31, 199, 147, 0.1);
    border-color: rgba(31, 199, 147, 0.22);
}

.my-return-card-feedback.error {
    color: #ffb3b3;
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.22);
}

.my-return-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
    gap: 10px;
    align-items: start;
    min-width: 0;
}

.my-return-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}

.my-return-actions-standalone {
    margin-top: 10px;
}

.my-return-input {
    min-width: 0;
    width: 100%;
    min-height: 52px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 16px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    align-self: start;
}

.my-return-input:focus {
    border-color: rgba(0, 210, 255, 0.5);
}

.my-return-input:disabled {
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.02);
    cursor: not-allowed;
}

.my-return-input-lock {
    display: grid;
    gap: 6px;
    min-height: 82px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(18, 24, 36, 0.92), rgba(13, 18, 28, 0.92));
    border: 1px solid rgba(255, 196, 74, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.my-return-input-lock-label {
    color: rgba(255, 224, 154, 0.86);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.my-return-input-lock strong {
    color: #fff7d1;
    font-size: 0.98rem;
    line-height: 1.45;
    letter-spacing: -0.02em;
}

.my-return-submit {
    min-height: 48px;
    min-width: 0;
    padding: 0 18px;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.my-return-edit-btn {
    min-height: 40px;
    min-width: 0;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(96, 212, 255, 0.22);
    background: linear-gradient(180deg, rgba(13, 28, 42, 0.92), rgba(10, 21, 33, 0.88));
    color: #dff8ff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    white-space: nowrap;
    align-self: stretch;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.my-return-cancel-btn {
    min-height: 40px;
    min-width: 0;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 120, 120, 0.22);
    background: linear-gradient(180deg, rgba(53, 18, 24, 0.9), rgba(36, 14, 19, 0.9));
    color: #ffd0d0;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    white-space: nowrap;
    align-self: stretch;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.my-return-cancel-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(255, 146, 146, 0.36);
    background: linear-gradient(180deg, rgba(76, 24, 32, 0.94), rgba(47, 17, 23, 0.94));
    color: #fff1f1;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.my-return-cancel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.my-return-edit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(126, 225, 255, 0.38);
    background: linear-gradient(180deg, rgba(18, 42, 60, 0.96), rgba(13, 28, 43, 0.92));
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.my-return-edit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.my-return-update-note {
    margin-top: -4px;
    color: var(--text-dim);
    font-size: 0.78rem;
}

.my-return-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 210, 255, 0.22);
}

.my-return-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

@media (max-width: 900px) {
    .my-return-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .my-return-meta {
        width: 100%;
    }

    .my-return-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .my-return-card {
        padding: 20px;
    }

    .my-return-helper {
        min-height: 0;
    }

    .my-return-input-row {
        grid-template-columns: 1fr;
    }

    .my-return-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .my-return-actions .my-return-submit:first-child:last-child {
        grid-column: 1 / -1;
    }

    .my-return-actions-standalone {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .my-return-panel {
        padding: 24px;
    }

    .my-return-heading h2 {
        font-size: 1.9rem;
    }

    .my-return-meta {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .my-return-input-row {
        grid-template-columns: 1fr;
    }

    .my-return-actions {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .my-return-submit,
    .my-return-edit-btn,
    .my-return-cancel-btn {
        width: 100%;
    }

    .my-return-card {
        padding: 18px;
    }

    .my-return-card-header {
        gap: 10px;
    }

    .my-return-card-brand {
        min-width: 0;
    }

    .my-return-card-brand h3,
    .my-return-card-brand p,
    .my-return-current strong {
        word-break: break-word;
    }
}

/* UID Search Bar */
.uid-search-bar {
    max-width: 600px;
    margin: 0 auto 40px;
}

.uid-search-inner {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: border-color 0.3s ease;
}

.uid-search-inner:focus-within {
    border-color: var(--accent-blue);
}

.uid-select-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0 18px;
    height: 48px;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    min-width: 140px;
    white-space: nowrap;
    transition: background 0.2s ease;
    border-radius: 50px 0 0 50px;
}

.uid-select-trigger:hover {
    background: rgba(255, 255, 255, 0.12);
}

.uid-select-arrow {
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.uid-select-trigger.open .uid-select-arrow {
    transform: rotate(180deg);
}

.uid-select-wrap {
    position: relative;
}

/* Exchange Dropdown */
.exchange-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: #1a1c22;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 6px;
    z-index: 100;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    animation: dropdown-slide 0.2s ease;
}

.exchange-dropdown.open {
    display: block;
}

@keyframes dropdown-slide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.exchange-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.exchange-dropdown-item:hover {
    background: rgba(0, 210, 255, 0.1);
}

.exchange-dropdown-item img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: contain;
}

.exchange-dropdown-item img.logo-edgex-mark,
.exchange-dropdown-item img.logo-aster-mark {
    border-radius: 0;
}

.exchange-dropdown-item .popular-badge {
    margin-left: auto;
    font-size: 0.7rem;
}

.home-hidden-exchange {
    display: none !important;
}

.uid-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 14px 18px;
    font-size: 0.9rem;
    outline: none;
    min-width: 0;
}

.uid-input::placeholder {
    color: var(--text-dim);
}

.uid-check-btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    color: white;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    border-radius: 0 50px 50px 0;
}

.uid-check-btn:hover {
    opacity: 0.9;
}

.uid-result {
    margin-top: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    animation: dropdown-fade 0.3s ease;
}

.uid-result.success {
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: var(--accent-blue);
}

.uid-result.error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

@media (max-width: 640px) {
    .uid-search-inner {
        flex-direction: column;
        border-radius: 16px;
        overflow: visible;
    }

    .uid-select-wrap {
        width: 100%;
    }

    .uid-select-trigger {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px 16px 0 0;
        padding: 0 16px;
        height: 50px;
        font-size: 0.94rem;
    }

    .exchange-dropdown {
        width: 100%;
        min-width: 0;
        max-height: min(52vh, 360px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .uid-input {
        min-height: 52px;
        padding: 0 16px;
        font-size: 0.96rem;
    }

    .uid-check-btn {
        width: 100%;
        min-height: 52px;
        padding: 0 18px;
        font-size: 0.94rem;
        border-radius: 0 0 16px 16px;
    }
}

/* Fee Info Row */
.fee-info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(0, 210, 255, 0.05);
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.fee-arrow {
    color: var(--accent-blue);
    font-weight: 700;
}

.fee-effective {
    color: var(--accent-blue);
    font-weight: 700;
}

/* Floating CTA Bar */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.floating-cta.visible {
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(10, 12, 16, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 50px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
}

.floating-cta-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-dim);
    white-space: normal;
    flex: 1 1 auto;
    min-width: 0;
}

.floating-cta-highlight {
    font-size: 0.75rem;
}

.floating-cta-amount {
    font-size: 1.1rem;
    color: var(--accent-blue);
    font-weight: 800;
}

.floating-cta-btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 0 0 auto;
}

.floating-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.support-telegram-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2aabee, #229ed9);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 16px 34px rgba(8, 20, 40, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-telegram-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(8, 20, 40, 0.4);
}

.support-telegram-fab--with-floating {
    bottom: 24px;
}

.support-telegram-fab__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.support-telegram-fab__icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.support-telegram-fab__label {
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 1240px) {
    .floating-cta {
        padding: 0 20px 20px;
    }

    .floating-cta-inner {
        max-width: min(560px, 100%);
        gap: 12px;
        padding: 12px 16px;
    }

    .floating-cta-text {
        gap: 6px;
        font-size: 0.8rem;
    }

    .floating-cta-highlight {
        font-size: 0.7rem;
    }

    .floating-cta-amount {
        font-size: 1rem;
    }

    .floating-cta-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .support-telegram-fab {
        right: 18px;
        height: 52px;
        padding: 0 14px;
        gap: 8px;
    }

    .support-telegram-fab--with-floating {
        bottom: 96px;
    }

    .support-telegram-fab__label {
        font-size: 0.82rem;
    }
}

@media (max-width: 1080px) {
    .floating-cta {
        padding: 0 16px 16px;
    }

    .floating-cta-inner {
        max-width: min(520px, 100%);
    }

    .support-telegram-fab {
        width: 52px;
        padding: 0;
        border-radius: 18px;
    }

    .support-telegram-fab--with-floating {
        bottom: 92px;
    }

    .support-telegram-fab__label {
        display: none;
    }
}

/* Enhanced Footer */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    margin-bottom: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col .logo {
    width: 180px;
    height: 28px;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-copyright {
    font-size: 0.75rem;
    opacity: 0.6;
}

.footer-status-note {
    font-size: 0.8rem;
    margin-top: 10px;
    max-width: 760px;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.82rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background: rgba(0, 210, 255, 0.1);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-legal {
    display: flex;
    gap: 16px;
}

.footer-legal a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--text-main);
}

.footer-bottom-compact {
    margin-top: 24px;
}

.footer-bottom-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.legal-page {
    background:
        radial-gradient(circle at top, rgba(0, 210, 255, 0.14), transparent 42%),
        linear-gradient(180deg, #07090d 0%, #0a0c10 100%);
}

body.legal-page footer {
    margin-bottom: 0;
}

.legal-main {
    padding: 120px 0 80px;
}

.legal-shell {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-hero {
    padding: 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
        linear-gradient(135deg, rgba(0, 210, 255, 0.08), rgba(157, 80, 187, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
}

.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.24);
    color: #ffd86a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-top: 18px;
    margin-bottom: 10px;
}

.legal-summary {
    max-width: 760px;
    color: var(--text-bright);
    font-size: 1rem;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.legal-callout {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 204, 0, 0.08);
    border: 1px solid rgba(255, 204, 0, 0.18);
    color: #ffe28d;
    font-size: 0.92rem;
}

.legal-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.legal-nav,
.legal-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
}

.legal-nav {
    position: sticky;
    top: 104px;
    padding: 22px;
}

.legal-nav-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 14px;
}

.legal-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-nav-list a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.legal-nav-list a:hover {
    color: var(--text-main);
}

.legal-card {
    padding: 28px;
}

.legal-section {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.legal-section p,
.legal-section li {
    color: var(--text-bright);
}

.legal-section p + p,
.legal-placeholder + p {
    margin-top: 12px;
}

.legal-list {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-placeholder {
    margin-top: 14px;
    padding: 14px 16px;
    border-left: 3px solid var(--gold);
    border-radius: 0 14px 14px 0;
    background: rgba(255, 204, 0, 0.08);
    color: #ffe28d;
}

.legal-inline-note {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.legal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.legal-secondary-link {
    color: var(--text-dim);
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}

.legal-secondary-link:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
    }
}

@media (max-width: 640px) {
    .floating-cta-text {
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
    }

    .floating-cta-highlight {
        font-size: 0.7rem;
    }

    .legal-hero,
    .legal-card,
    .legal-nav {
        padding: 22px;
    }

    .legal-actions {
        flex-direction: column;
    }

    .floating-cta-amount {
        font-size: 0.95rem;
    }

    .floating-cta-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .support-telegram-fab {
        right: 16px;
        bottom: 18px;
        height: 50px;
        padding: 0 14px;
    }

    .support-telegram-fab--with-floating {
        bottom: 18px;
    }

    .support-telegram-fab__label {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 14px;
    }

    header {
        padding: 14px 0;
    }

    nav {
        display: flex;
        gap: 10px;
        row-gap: 10px;
    }

    .logo {
        width: 228px;
        height: 54px;
    }

    .nav-actions {
        gap: 6px;
        margin-left: auto;
    }

    header nav > a.btn-secondary,
    .nav-actions > a.btn-secondary {
        margin-left: auto;
        flex: 0 0 auto;
        min-height: 42px;
        padding: 0 16px;
    }

    header .nav-links.mobile-hidden {
        gap: 7px;
        padding-top: 0;
    }

    header .nav-links.mobile-hidden a {
        min-height: 42px;
        padding: 0 13px;
        font-size: 0.82rem;
    }

    .lang-toggle {
        min-width: 70px;
        height: 42px;
        padding: 0 12px;
        font-size: 0.78rem;
    }

    .lang-switcher {
        min-width: 54px;
        width: 54px;
        height: 36px;
    }

    .lang-chip {
        height: 30px;
        padding: 0 8px;
        font-size: 0.7rem;
        left: 3px;
        right: 3px;
        width: calc(100% - 6px);
    }

    .lang-chip:nth-child(1) { top: 3px; }
    .lang-chip:nth-child(2) { top: 39px; }
    .lang-chip:nth-child(3) { top: 75px; }
    .lang-chip:nth-child(4) { top: 111px; }
    .lang-chip:nth-child(5) { top: 147px; }

    .lang-switcher:hover::before,
    .lang-switcher:focus-within::before {
        height: calc(6px + (var(--lang-count, 1) * 30px) + ((var(--lang-count, 1) - 1) * 6px));
    }

    .btn-google-login {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        border-radius: 14px;
    }

    .profile-btn {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        border-radius: 14px;
    }

    .profile-dropdown {
        min-width: 0;
        width: min(320px, calc(100vw - 24px));
        right: 0;
        padding: 14px;
        border-radius: 14px;
    }

    .notification-shell {
        left: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .notification-btn {
        min-width: 48px;
        height: 48px;
        padding: 0 12px;
    }

    .notification-panel {
        top: 68px;
        right: 10px;
        width: min(336px, calc(100vw - 20px));
        max-height: min(62vh, 520px);
        padding: 15px;
        border-radius: 18px;
    }

    .hero {
        min-height: 0;
        padding: 156px 0 42px;
        background: radial-gradient(circle at center, rgba(157, 80, 187, 0.12) 0%, transparent 72%);
    }

    .hero h1 {
        font-size: 1.92rem;
        line-height: 1.16;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 0.98rem;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .hero .btn-primary {
        width: min(100%, 320px);
        padding: 14px 20px;
        text-align: center;
    }

    .payback-ticker-wrapper {
        margin-top: 24px;
        max-width: 100%;
        padding: 10px 12px;
        gap: 8px;
        border-radius: 16px;
    }

    .ticker-label {
        flex: 0 0 auto;
        min-width: 54px;
        padding: 4px 9px;
        font-size: 0.72rem;
    }

    .ticker-content {
        height: 28px;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ticker-list li {
        height: 28px;
        width: 100%;
        justify-content: center;
        font-size: 0.78rem;
        letter-spacing: -0.01em;
        text-align: center;
    }

    .ticker-list li strong {
        margin: 0 4px;
    }

    .ticker-list li .exchange-name {
        margin-right: 4px;
    }

    section {
        padding: 84px 0;
    }

    #reviews {
        padding: 92px 0;
    }

    .review-card {
        min-width: min(84vw, 310px);
        max-width: min(84vw, 310px);
        padding: 20px;
    }

    .exchange-card-logo {
        height: 132px;
        padding: 14px 14px 10px;
    }

    .exchange-card-body {
        padding: 20px;
    }

    .exchange-card-status {
        line-height: 1.45;
    }

    .exchange-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        max-width: 100%;
    }

    .exchange-logo-item {
        aspect-ratio: 1.6;
        height: auto;
        padding: 12px;
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

    .formula-row {
        flex-direction: column;
    }

    .formula-op {
        transform: rotate(90deg);
    }

    .telegram-link-panel {
        gap: 16px;
    }

    .telegram-link-card {
        padding: 18px 16px 16px;
        border-radius: 20px;
    }

    .floating-cta {
        padding: 0 14px calc(14px + env(safe-area-inset-bottom));
    }

    .floating-cta-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 24px;
    }

    .floating-cta-btn {
        width: 100%;
        text-align: center;
    }

    .support-telegram-fab {
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        height: 48px;
        padding: 0 14px;
        border-radius: 16px;
    }

    .support-telegram-fab--with-floating {
        bottom: calc(14px + env(safe-area-inset-bottom));
    }

    footer {
        margin-bottom: 112px;
    }
}

@media (max-width: 420px) {
    .logo {
        width: 196px;
        height: 48px;
    }

    .hero h1 {
        font-size: 1.74rem;
    }

    .hero p {
        font-size: 0.94rem;
    }

    .exchange-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .notification-panel {
        width: calc(100vw - 18px);
        right: 9px;
    }

    header .nav-links.mobile-hidden a {
        min-height: 40px;
        padding: 0 12px;
        font-size: 0.8rem;
    }
}

/* Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Service Intro / Fee Comparison Table */
.intro-section {
    padding-top: 40px;
}

section.pb-0,
div.pb-0 {
    padding-bottom: 0;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
    border-radius: 12px;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    background: rgba(0, 0, 0, 0.3);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dim);
}

.comparison-table th.highlight-col {
    color: var(--accent-blue);
    background: rgba(0, 210, 255, 0.05);
}

.comparison-table td {
    font-size: var(--fs-md);
    color: var(--text-bright);
}

.comparison-table td.highlight-col {
    background: rgba(0, 210, 255, 0.02);
    border-left: 1px solid rgba(0, 210, 255, 0.1);
    border-right: 1px solid rgba(0, 210, 255, 0.1);
}

/* Clickable comparison rows */
.comparison-table tbody tr.comparison-row-clickable {
    cursor: pointer;
    transition: background 0.25s ease;
}

.comparison-table tbody tr.comparison-row-clickable:hover td {
    background: rgba(0, 210, 255, 0.04);
}

.comparison-table tbody tr.comparison-row-clickable:hover td.highlight-col {
    background: rgba(0, 210, 255, 0.08);
}

.td-exchange {
    text-align: center;
}

.td-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.td-logo-link:hover {
    transform: translateY(-1px);
}

.td-logo-link:focus-visible {
    outline: 2px solid rgba(0, 210, 255, 0.75);
    outline-offset: 4px;
}

.td-logo-chip {
    width: 150px;
    height: 60px;
    margin: 0 auto;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.td-icon {
    width: auto;
    height: auto;
    max-width: 130px;
    max-height: 40px;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: none;
    transform-origin: center center;
}

/* Per-exchange visual weight normalization */
.td-icon--binance { max-height: 58px; max-width: 140px; }
.td-icon--bybit   { max-height: 30px; max-width: 115px; }
.td-icon--mexc    { max-height: 20px; max-width: 100px; }
.td-icon--bitget  { max-height: 36px; max-width: 130px; }
.td-icon--okx     { max-height: 26px; max-width: 110px; }
.td-icon--gate    { max-height: 42px; max-width: 130px; }
.td-icon--bitmart { max-height: 32px; max-width: 135px; }
.td-icon--htx     { max-height: 40px; max-width: 130px; }

.td-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.benefit-tooltip {
    position: relative;
    font-size: 0.75rem;
    color: #888;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.benefit-tooltip:hover {
    color: var(--accent-blue);
}

.benefit-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1c1c1e;
    color: #fff;
    min-width: 220px;
    max-width: 260px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    line-height: 1.45;
    text-align: center;
    white-space: pre-line;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
    border: 1px solid rgba(0, 210, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.benefit-tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* ========================================== */
/* Discount Hero Section (V4 Split + Bars)      */
/* ========================================== */
.discount-hero-wrapper {
    padding: 40px 0 60px;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(0, 210, 255, 0.12), transparent 50%),
        linear-gradient(145deg, #12121c, #0a0a0f);
}

.discount-hero-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.discount-hero-left .discount-hero-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(251, 146, 60, 0.12);
    color: #fdba74;
    border: 1px solid rgba(251, 146, 60, 0.35);
    border-radius: 6px;
    font-size: var(--fs-xs);
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.discount-hero-left h3 {
    font-size: var(--fs-h2);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 18px;
    color: #fff;
}

.discount-hero-left h3 .discount-big-num {
    display: block;
    font-size: var(--fs-display);
    line-height: 1;
    background: linear-gradient(90deg, #fb923c, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 8px 0;
}

.discount-hero-left p {
    color: #aaa;
    font-size: var(--fs-md);
    line-height: 1.7;
    margin-bottom: 26px;
}

.discount-hero-left p strong {
    color: #00d2ff;
    font-weight: 800;
}

.discount-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.discount-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-sm);
    color: #ccc;
}

.discount-checks li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: #00d2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Right column — visual bars */
.discount-hero-right {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 30px 54px 30px 30px;
}

.discount-bar-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.discount-bar-item {
    position: relative;
    min-width: 0;
}

.discount-bar-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.discount-bar-name {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: #888;
}

.discount-bar-value {
    font-size: 1.2rem;
    font-weight: 900;
}

.discount-bar-item.normal .discount-bar-value { color: #555; }
.discount-bar-item.influencer .discount-bar-value { color: #999; }
.discount-bar-item.tc .discount-bar-name { color: #00d2ff; }
.discount-bar-item.tc .discount-bar-value {
    color: #00d2ff;
    font-size: 1.5rem;
}

.discount-bar-bg {
    height: 22px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.discount-bar-fill {
    height: 100%;
    border-radius: 6px;
    position: relative;
    animation: discount-bar-fill 1.2s ease-out;
}

@keyframes discount-bar-fill {
    from { width: 0 !important; }
}

.discount-bar-item.normal .discount-bar-fill {
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
}

.discount-bar-item.influencer .discount-bar-fill {
    width: 60%;
    background: linear-gradient(90deg, rgba(200, 200, 200, 0.2), rgba(200, 200, 200, 0.35));
}

.discount-bar-item.tc .discount-bar-fill {
    width: 25%;
    background: linear-gradient(90deg, #00d2ff, #3b82f6);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.discount-save-pill {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 12px;
    background: linear-gradient(135deg, #fb923c, #f59e0b);
    color: #1a1a0a;
    font-size: 0.72rem;
    font-weight: 900;
    border-radius: 16px;
    white-space: nowrap;
    max-width: calc(100% - 8px);
    box-shadow: 0 6px 20px rgba(251, 146, 60, 0.3);
}

@media (max-width: 1100px) {
    .discount-hero-right {
        padding-right: 30px;
    }

    .discount-save-pill {
        position: static;
        transform: none;
        display: inline-block;
        margin-top: 6px;
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .discount-hero-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    .discount-hero-left h3 {
        font-size: 1.6rem;
    }
    .discount-hero-left h3 .discount-big-num {
        font-size: 3rem;
    }
    .discount-hero-right {
        padding: 0;
    }
    .discount-save-pill {
        position: static;
        transform: none;
        display: inline-block;
        margin-top: 6px;
    }
}

@media (max-width: 560px) {
    .discount-hero-left h3 {
        font-size: 1.4rem;
    }
    .discount-hero-left h3 .discount-big-num {
        font-size: 2.6rem;
    }
}

@media (max-width: 900px) {

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    .td-logo-chip {
        width: 120px;
        height: 48px;
        padding: 8px 10px;
    }

    .td-icon {
        width: auto;
        height: auto;
        max-width: 100px;
        max-height: 32px;
    }

    .td-icon--binance { max-height: 46px; max-width: 108px; }
    .td-icon--bybit   { max-height: 24px; max-width: 90px;  }
    .td-icon--mexc    { max-height: 16px; max-width: 80px;  }
    .td-icon--bitget  { max-height: 28px; max-width: 100px; }
    .td-icon--okx     { max-height: 20px; max-width: 86px;  }
    .td-icon--gate    { max-height: 34px; max-width: 100px; }
    .td-icon--bitmart { max-height: 24px; max-width: 105px; }
    .td-icon--htx     { max-height: 32px; max-width: 100px; }

    .benefit-tooltip::after {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* 카드 하이라이트 글로우는 항상 유지 */
    .exchange-card.card-highlighted {
        animation: card-highlight-glow 2.5s ease-in-out infinite !important;
        animation-duration: 2.5s !important;
        animation-iteration-count: infinite !important;
    }

    /* 티커도 항상 유지 */
    .ticker-list {
        animation: vertical-ticker 15s linear infinite !important;
        animation-duration: 15s !important;
        animation-iteration-count: infinite !important;
    }
}

/* Content Pages */
.content-page {
    min-height: 100vh;
    padding-top: 132px;
    padding-bottom: 80px;
}

.content-shell {
    display: grid;
    gap: 24px;
}

.content-hero,
.content-card,
.resource-card,
.cta-band {
    padding: 34px;
}

.content-hero {
    position: relative;
    overflow: hidden;
}

.content-hero::before {
    content: '';
    position: absolute;
    inset: auto -10% -35% 35%;
    height: 220px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.2), transparent 68%);
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 210, 255, 0.18);
    background: rgba(0, 210, 255, 0.08);
    color: var(--accent-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-hero h1,
.content-card h2 {
    letter-spacing: -0.03em;
}

.content-hero h1 {
    max-width: 840px;
    margin: 18px 0 14px;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.05;
}

.content-hero p,
.content-card p,
.resource-card p,
.faq-item p,
.faq-item li,
.content-table td,
.content-table th {
    color: var(--text-dim);
}

.content-hero p {
    max-width: 760px;
    font-size: 1.05rem;
}

.content-hero-actions,
.inline-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.content-hero-actions {
    margin-top: 24px;
}

.stat-grid,
.step-grid,
.resource-grid,
.split-grid,
.recommend-grid {
    display: grid;
    gap: 18px;
}

.stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-grid,
.recommend-grid,
.split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card,
.step-card,
.content-card,
.resource-card,
.recommend-card,
.cta-band {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.stat-card,
.step-card,
.recommend-card {
    padding: 24px;
}

.stat-card strong,
.step-card h3,
.recommend-card h3,
.resource-card h3,
.content-card h2,
.cta-band h2 {
    color: var(--text-main);
}

.stat-card strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.stat-card span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.step-card-index {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.22), rgba(157, 80, 187, 0.28));
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 800;
}

.step-card h3,
.resource-card h3,
.recommend-card h3,
.content-card h2,
.cta-band h2 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.step-card p,
.recommend-card p,
.resource-card p {
    font-size: 0.95rem;
}

.resource-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.resource-card:hover,
.recommend-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 210, 255, 0.2);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.resource-meta,
.recommend-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.resource-tag,
.recommend-tag,
.link-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.18);
    color: var(--accent-blue);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--accent-blue);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.resource-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.resource-list a {
    color: var(--text-bright);
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.resource-list a:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 210, 255, 0.22);
}

.resource-list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-main);
}

.content-table-wrap {
    overflow-x: auto;
}

.content-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.content-table th,
.content-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.content-table th {
    color: var(--text-main);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.content-table td strong {
    color: var(--text-main);
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    color: var(--accent-blue);
    font-size: 1.2rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item-content {
    padding: 0 22px 22px;
}

.faq-item-content p + p,
.faq-item-content p + ul,
.faq-item-content ul + p,
.faq-item-content li + li {
    margin-top: 10px;
}

.faq-item-content ul {
    padding-left: 18px;
}

.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cta-band p {
    max-width: 680px;
}

.page-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 18px 4px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    font-size: 0.9rem;
}

.page-footer a {
    color: inherit;
    text-decoration: none;
}

.page-footer a:hover,
.page-nav-link.current {
    color: var(--text-main);
}

@media (max-width: 900px) {
    .stat-grid,
    .step-grid,
    .resource-grid,
    .split-grid,
    .recommend-grid,
    .resource-list {
        grid-template-columns: 1fr;
    }

    .content-hero,
    .content-card,
    .resource-card,
    .cta-band {
        padding: 26px 22px;
    }

    .content-hero h1 {
        font-size: 2.35rem;
    }
}

.api-fallback-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(18, 22, 31, 0.98), rgba(13, 16, 24, 0.96));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.api-fallback-shell--inline {
    padding: 24px 24px 22px;
}

.api-fallback-shell--page {
    min-height: min(68vh, 720px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 44px;
    margin-top: 24px;
}

.api-fallback-shell::before {
    content: '';
    position: absolute;
    inset: auto -10% -42% 42%;
    height: 240px;
    pointer-events: none;
    opacity: 0.9;
}

.api-fallback-shell--blue::before,
.api-fallback-shell--cyan::before {
    background: radial-gradient(circle, rgba(0, 210, 255, 0.16), transparent 68%);
}

.api-fallback-shell--amber::before,
.api-fallback-shell--orange::before {
    background: radial-gradient(circle, rgba(255, 170, 0, 0.16), transparent 68%);
}

.api-fallback-shell--rose::before,
.api-fallback-shell--red::before {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.16), transparent 68%);
}

.api-fallback-shell--violet::before {
    background: radial-gradient(circle, rgba(155, 71, 235, 0.16), transparent 68%);
}

.api-fallback-shell--slate::before {
    background: radial-gradient(circle, rgba(148, 163, 184, 0.14), transparent 68%);
}

.api-fallback-badge-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.api-fallback-badge,
.api-fallback-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.api-fallback-badge {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.api-fallback-status {
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.api-fallback-title,
.api-fallback-description,
.api-fallback-detail,
.api-fallback-actions {
    position: relative;
    z-index: 1;
}

.api-fallback-title {
    margin: 0 0 10px;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.15;
    color: #f8fafc;
}

.api-fallback-description {
    margin: 0;
    color: rgba(241, 245, 249, 0.88);
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 760px;
}

.api-fallback-detail {
    margin: 10px 0 0;
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.6;
}

.api-fallback-actions {
    margin-top: 18px;
}

.api-fallback-btn {
    border: 0;
    border-radius: 16px;
    padding: 13px 18px;
    min-height: 48px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(0, 210, 255, 0.18);
}

.api-fallback-table-cell {
    padding: 18px !important;
    background: rgba(255, 255, 255, 0.01);
}

.api-page-fallback {
    margin-bottom: 24px;
}

@media (max-width: 720px) {
    .api-fallback-shell--inline,
    .api-fallback-shell--page {
        padding: 22px 18px;
    }

    .api-fallback-shell--page {
        min-height: auto;
    }

    .api-fallback-title {
        font-size: 1.15rem;
    }

.api-fallback-description {
        font-size: 0.92rem;
    }
}

.tc-popup-host {
    position: fixed;
    inset: 0;
    z-index: 5000;
    pointer-events: none;
}

.tc-popup-backdrop,
.tc-popup-shell {
    position: fixed;
    inset: 0;
}

.tc-popup-backdrop {
    background: rgba(4, 8, 14, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
}

.tc-popup-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
}

.tc-popup-dialog {
    width: min(460px, calc(100vw - 24px));
    padding: 24px 24px 22px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(0, 210, 255, 0.1), transparent 38%),
        linear-gradient(180deg, rgba(18, 22, 31, 0.98), rgba(11, 15, 24, 0.96));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
    transform: translateY(18px) scale(0.96);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: auto;
    overflow: hidden;
    position: relative;
}

.tc-popup-dialog::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 210, 255, 0), rgba(0, 210, 255, 0.22), rgba(157, 80, 187, 0.22), rgba(0, 210, 255, 0));
    pointer-events: none;
}

.tc-popup-shell.active .tc-popup-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tc-popup-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tc-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(240, 245, 255, 0.74);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.tc-popup-close span {
    position: relative;
    width: 16px;
    height: 16px;
    display: block;
}

.tc-popup-close span::before,
.tc-popup-close span::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.tc-popup-close span::before {
    transform: rotate(45deg);
}

.tc-popup-close span::after {
    transform: rotate(-45deg);
}

.tc-popup-close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.tc-popup-badge-blue,
.tc-popup-badge-cyan {
    color: #94efff;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.22);
}

.tc-popup-badge-violet {
    color: #d6c4ff;
    background: rgba(137, 87, 255, 0.14);
    border: 1px solid rgba(157, 80, 187, 0.24);
}

.tc-popup-badge-rose {
    color: #ffb4ba;
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.22);
}

.tc-popup-title {
    margin: 0 0 8px;
    font-size: 1.34rem;
    line-height: 1.2;
    color: #f8fbff;
}

.tc-popup-message {
    margin: 0;
    color: rgba(240, 245, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.7;
    word-break: keep-all;
}

.tc-popup-dialog-confirm .tc-popup-title,
.tc-popup-dialog-prompt .tc-popup-title {
    padding-right: 44px;
}

.tc-popup-backdrop[hidden],
.tc-popup-shell[hidden],
.tc-popup-field[hidden],
.tc-popup-error[hidden] {
    display: none !important;
}

.tc-popup-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.tc-popup-field-label {
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 700;
}

.tc-popup-input {
    min-height: 52px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    padding: 0 16px;
    font-size: 0.95rem;
    outline: none;
}

.tc-popup-textarea {
    min-height: 148px;
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.035));
    color: #fff;
    padding: 14px 16px;
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.65;
    resize: vertical;
    outline: none;
}

.tc-popup-input:focus {
    border-color: rgba(0, 210, 255, 0.36);
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.08);
}

.tc-popup-textarea:focus {
    border-color: rgba(0, 210, 255, 0.36);
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.08);
}

.tc-popup-error {
    margin: 10px 2px 0;
    color: #ff9ea4;
    font-size: 0.84rem;
}

.tc-popup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tc-popup-btn {
    min-width: 96px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.tc-popup-btn:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.tc-popup-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    box-shadow: 0 16px 34px rgba(0, 210, 255, 0.18);
}

.tc-popup-btn-secondary {
    color: #eef5ff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
    .tc-popup-shell {
        align-items: flex-end;
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    }

    .tc-popup-dialog {
        width: 100%;
        border-radius: 26px 26px 22px 22px;
        padding: 20px 18px 16px;
    }

    .tc-popup-title {
        font-size: 1.16rem;
    }

    .tc-popup-message {
        font-size: 0.92rem;
        line-height: 1.62;
    }

    .tc-popup-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 18px;
        padding-top: 14px;
    }

    .tc-popup-btn {
        width: 100%;
        min-height: 50px;
    }
}
