/* Lite Frontend Refresh - Golden Aura Theme */
:root {
    --bg: #0F0F0F;
    --bg-2: #181818;
    --panel: #202020;
    --panel-2: #282828;
    --panel-3: #303030;
    --text: #F8F8F8;
    --muted: rgba(248, 248, 248, 0.6);
    --accent: #5DD62C;
    --accent-strong: #337418;
    --accent-contrast: #5DD62C;
    --border: #337418;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --glow: 0 18px 40px rgba(93, 214, 44, 0.25);
    --radius: 18px;
    --radius-lg: 26px;
    --radius-sm: 12px;
    --header-height: 82px;
    --font: 'Space Grotesk', 'Spline Sans', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: var(--font);
    background: radial-gradient(circle at 12% 18%, #1a2a1a 0%, transparent 25%),
        radial-gradient(circle at 80% 4%, #1f3118 0%, transparent 30%),
        linear-gradient(180deg, #0F0F0F 0%, #0a0a0a 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.app-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-shell {
    padding-top: calc(var(--header-height) + 45px + 28px);
    padding-bottom: 64px;
}

.main-content {
    flex: 1;
    width: 100%;
}

/* Topbar */
.topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 6px;
    flex-wrap: wrap;
}

.topbar-text h1 {
    margin: 4px 0 6px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 260px;
}

@media (max-width: 720px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar-actions {
        width: 100%;
    }

    .topbar-actions .member-button {
        width: 100%;
    }
}

.hero-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 6px;
}

.media-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--panel-2);
    min-height: 240px;
    box-shadow: var(--shadow);
}

.hero-video,
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-placeholder {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    padding: 20px;
}

.media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(8,5,14,0.65) 100%);
}

.media-overlay .badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(93, 214, 44, 0.16);
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    width: fit-content;
}

.overlay-copy {
    color: var(--text);
}

.overlay-title {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.overlay-sub {
    margin: 2px 0 0;
    color: var(--muted);
}

.hero-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.promo-card {
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--panel-2);
    box-shadow: var(--shadow);
}

.promo-card h4 {
    margin: 4px 0 6px;
}

.promo-card p {
    margin: 0;
}

.gradient-card {
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.25), rgba(29, 211, 176, 0.12));
}

.accent-card {
    background: linear-gradient(135deg, rgba(29, 211, 176, 0.16), rgba(93, 214, 44, 0.12));
}

/* Header - Modern Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
    border-bottom: 1px solid rgba(93, 214, 44, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(93, 214, 44, 0.3), transparent);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.brand:hover {
    transform: scale(1.02);
}

.brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(93, 214, 44, 0.3));
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-title {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(93, 214, 44, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-sub {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 50px;
    background: rgba(32, 32, 32, 0.8);
    border: 1px solid rgba(93, 214, 44, 0.15);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.status-chip:hover {
    border-color: rgba(93, 214, 44, 0.3);
    background: rgba(40, 40, 40, 0.9);
}

.status-chip .chip-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(93, 214, 44, 0.2), 0 0 12px rgba(93, 214, 44, 0.4);
    animation: pulse 2s ease-out infinite;
}

/* Balance Chip */
.balance-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.15) 0%, rgba(29, 211, 176, 0.08) 100%);
    border: 1px solid rgba(93, 214, 44, 0.25);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.balance-chip:hover {
    border-color: rgba(93, 214, 44, 0.5);
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.2) 0%, rgba(29, 211, 176, 0.12) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 214, 44, 0.2);
}

.balance-chip .chip-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.balance-chip .balance-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
}

.balance-chip .balance-label {
    font-size: 0.65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.balance-chip .balance-amount {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
}

.balance-chip .chip-arrow {
    width: 14px;
    height: 14px;
    color: var(--muted);
    transition: transform 0.2s ease;
}

.balance-chip:hover .chip-arrow {
    transform: translateX(2px);
    color: var(--accent);
}

/* Modern Login/Member Button */
.member-button {
    border: none;
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.1) 0%, rgba(29, 211, 176, 0.05) 100%);
    color: var(--text);
    padding: 10px 16px;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-button .btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.member-button.solid .btn-icon {
    color: #0a0a0a;
}

.member-button .member-username {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0a0a0a;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.5), rgba(29, 211, 176, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.member-button .member-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent);
}

.member-button .member-sub {
    color: var(--muted);
    font-size: 0.78rem;
}

.member-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.15) 0%, rgba(29, 211, 176, 0.1) 100%);
    box-shadow: 0 8px 25px rgba(93, 214, 44, 0.2);
}

.member-button:active {
    transform: translateY(0) scale(0.98);
}

.member-button.solid {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: 0 4px 20px rgba(93, 214, 44, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.member-button.solid::before {
    display: none;
}

.member-button.solid .member-label {
    color: #0a0a0a;
}

.member-button.solid .member-sub {
    color: rgba(10, 10, 10, 0.7);
}

.member-button.solid:hover {
    box-shadow: 0 8px 30px rgba(93, 214, 44, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.member-button.ghost {
    background: rgba(255, 255, 255, 0.05);
}

/* Typography helpers */
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    color: var(--accent-contrast);
    margin: 0 0 8px;
    font-weight: 700;
}

.lede {
    color: var(--muted);
    margin: 12px 0 0;
}

.muted {
    color: var(--muted);
}

/* Hero */
.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy {
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.08), rgba(29, 211, 176, 0.08));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 18px 0 6px;
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.search-wrapper.hero-search,
.compact-search {
    max-width: 460px;
}

.search-icon svg {
    width: 18px;
    height: 18px;
    color: var(--muted);
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1rem;
    outline: none;
}

.hero-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.meta-card {
    padding: 14px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.meta-label {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
}

.meta-value {
    font-weight: 700;
    font-size: 1.2rem;
}

.hero-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
}

.card-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(93, 214, 44, 0.12);
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.ghost-link {
    color: var(--accent);
    font-weight: 600;
    border: 1px solid rgba(93, 214, 44, 0.35);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(93, 214, 44, 0.08);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.ghost-link:hover {
    border-color: rgba(93, 214, 44, 0.6);
    background: rgba(93, 214, 44, 0.12);
}

.ghost-link.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Toolbar - Modern Providers Section */
.toolbar-panel {
    margin-top: 32px;
    margin-bottom: 40px;
    background: linear-gradient(145deg, rgba(32, 32, 32, 0.9) 0%, rgba(24, 24, 24, 0.95) 100%);
    border: 1px solid rgba(93, 214, 44, 0.15);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.toolbar-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(93, 214, 44, 0.3), transparent);
}

.toolbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.toolbar-header .eyebrow {
    animation: fadeSlideIn 0.5s ease-out;
}

.toolbar-header h3 {
    animation: fadeSlideIn 0.5s ease-out 0.1s backwards;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-scroller {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 6px;
}

/* Modern Search Bar */
.toolbar-search {
    max-width: 380px;
    min-width: 280px;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(93, 214, 44, 0.25);
    border-radius: 50px;
    padding: 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.toolbar-search:hover {
    border-color: rgba(93, 214, 44, 0.4);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(93, 214, 44, 0.1);
}

.toolbar-search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 30px rgba(93, 214, 44, 0.2);
    transform: scale(1.02);
}

.toolbar-search .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    transition: color 0.3s ease;
}

.toolbar-search .search-icon svg {
    color: var(--accent);
    width: 100%;
    height: 100%;
}

.toolbar-search:focus-within .search-icon svg {
    color: var(--accent);
    filter: drop-shadow(0 0 6px rgba(93, 214, 44, 0.5));
}

.toolbar-search .search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
}

.toolbar-search .search-input::placeholder {
    color: var(--muted);
    transition: color 0.3s ease;
}

.toolbar-search:focus-within .search-input::placeholder {
    color: rgba(93, 214, 44, 0.5);
}

/* Provider Pills - Modern with Animations */
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 50px;
    background: rgba(32, 32, 32, 0.8);
    border: 1px solid rgba(93, 214, 44, 0.15);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pillFadeIn 0.4s ease-out backwards;
}

.category-scroller .category-pill:nth-child(1) { animation-delay: 0.05s; }
.category-scroller .category-pill:nth-child(2) { animation-delay: 0.08s; }
.category-scroller .category-pill:nth-child(3) { animation-delay: 0.11s; }
.category-scroller .category-pill:nth-child(4) { animation-delay: 0.14s; }
.category-scroller .category-pill:nth-child(5) { animation-delay: 0.17s; }
.category-scroller .category-pill:nth-child(6) { animation-delay: 0.20s; }
.category-scroller .category-pill:nth-child(7) { animation-delay: 0.23s; }
.category-scroller .category-pill:nth-child(8) { animation-delay: 0.26s; }
.category-scroller .category-pill:nth-child(9) { animation-delay: 0.29s; }
.category-scroller .category-pill:nth-child(10) { animation-delay: 0.32s; }
.category-scroller .category-pill:nth-child(n+11) { animation-delay: 0.35s; }

@keyframes pillFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.category-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-pill:hover {
    border-color: rgba(93, 214, 44, 0.4);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.category-pill:hover::before {
    opacity: 1;
}

.category-pill:active {
    transform: translateY(0) scale(0.98);
}

.category-pill.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #0a0a0a;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(93, 214, 44, 0.35), 0 0 30px rgba(93, 214, 44, 0.15);
    font-weight: 700;
}

.category-pill.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(93, 214, 44, 0.45), 0 0 40px rgba(93, 214, 44, 0.2);
}

.category-pill.active::before {
    opacity: 0;
}

/* Games - Modern Card Design */
.games-section {
    margin-top: 32px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.games-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.game-card {
    background: linear-gradient(145deg, rgba(32, 32, 32, 0.9) 0%, rgba(24, 24, 24, 0.95) 100%);
    border: 1px solid rgba(93, 214, 44, 0.1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardFadeIn 0.5s ease-out backwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(93, 214, 44, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(93, 214, 44, 0.15);
}

.game-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover .game-image {
    transform: scale(1.08);
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0) 0%, rgba(15, 15, 15, 0.4) 50%, rgba(15, 15, 15, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.overlay-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.game-card:hover .overlay-meta {
    transform: translateY(0);
}

.pill.subtle {
    display: inline-block;
    width: fit-content;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(93, 214, 44, 0.15);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(93, 214, 44, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.game-actions {
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.game-card:hover .game-actions {
    transform: translateY(0);
    opacity: 1;
}

.game-actions .play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #0a0a0a;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(93, 214, 44, 0.3);
    transition: all 0.3s ease;
}

.game-actions .play-btn:hover {
    box-shadow: 0 6px 20px rgba(93, 214, 44, 0.45);
    transform: translateY(-2px);
}

.game-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(15, 15, 15, 0.5);
    border-top: 1px solid rgba(93, 214, 44, 0.08);
}

.game-name {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-sub {
    color: var(--muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-sub::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
}

.no-games {
    margin-top: 12px;
    padding: 40px;
    background: linear-gradient(145deg, rgba(32, 32, 32, 0.6) 0%, rgba(24, 24, 24, 0.8) 100%);
    border: 1px solid rgba(93, 214, 44, 0.1);
    border-radius: 16px;
    text-align: center;
}

/* Pagination Styles */
.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: rgba(32, 32, 32, 0.8);
    border: 1px solid rgba(93, 214, 44, 0.15);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.page-btn:hover {
    border-color: rgba(93, 214, 44, 0.4);
    background: rgba(40, 40, 40, 0.9);
    transform: translateY(-2px);
}

.page-btn.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #0a0a0a;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(93, 214, 44, 0.3);
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.page-ellipsis {
    color: var(--muted);
    padding: 0 8px;
}

.page-btn.nav-btn {
    padding: 0 20px;
    gap: 8px;
}

.page-btn.nav-btn svg {
    width: 16px;
    height: 16px;
}

/* Footer - Modern Design */
.main-footer {
    margin-top: 60px;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.98) 0%, rgba(10, 10, 10, 1) 100%);
    border-top: 1px solid rgba(93, 214, 44, 0.1);
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(93, 214, 44, 0.3), transparent);
}

.footer-content {
    padding: 50px 20px 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2.8fr;
    gap: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text);
}

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-brand-name {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(93, 214, 44, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand-tagline {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-description {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(93, 214, 44, 0.1);
    border: 1px solid rgba(93, 214, 44, 0.2);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mt-24 {
    margin-top: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    color: var(--muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(93, 214, 44, 0.15), transparent);
    margin: 40px 0 30px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.footer-legal-text {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

.footer-copyright {
    color: var(--muted);
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        padding: 40px 20px 25px;
    }
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 3, 8, 0.9);
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.show {
    display: flex;
}

.modal-content {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: min(760px, 100%);
    box-shadow: var(--shadow);
    margin: auto;
    max-height: none;
}

.modal-surface {
    width: min(420px, 100%);
}

.modal-wide {
    width: min(900px, 100%);
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    cursor: pointer;
    color: var(--muted);
    background: var(--panel-2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: var(--accent);
    color: #0a0a0a;
}

/* Mobile Modal Fixes */
@media (max-width: 640px) {
    .modal {
        padding: 0;
        align-items: stretch;
    }
    
    .modal-content {
        border-radius: 0;
        min-height: 100vh;
        margin: 0;
        padding: 16px;
        padding-top: 60px;
    }
    
    .modal-surface,
    .modal-wide {
        width: 100%;
    }
    
    .close-modal {
        position: fixed;
        top: 10px;
        right: 10px;
        background: var(--panel);
        border: 1px solid var(--border);
    }
    
    .member-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .member-balance-card {
        width: 100%;
    }
    
    .member-tabs {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    
    .member-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .amount-presets {
        flex-wrap: wrap;
    }
    
    .preset-btn {
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
    }
}

.modal-heading h2 {
    margin: 4px 0;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(93, 214, 44, 0.15);
}

/* Modern Custom Select Dropdown */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235DD62C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: var(--panel);
    color: var(--text);
    padding: 12px;
}

.form-group select:hover {
    border-color: rgba(93, 214, 44, 0.5);
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #0a0512;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--glow);
}

.form-message {
    text-align: center;
    margin-top: 10px;
    color: #ff6b6b;
    display: none;
}

.form-message.error {
    color: #ff6b6b;
}

.form-message.success {
    color: #5DD62C;
}

.btn-primary.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-primary.loading span::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

.switcher {
    margin-top: 12px;
    font-size: 0.9rem;
}

/* Social Auth Buttons */
.social-auth-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--panel-2);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: var(--panel);
    border-color: rgba(93, 214, 44, 0.3);
    transform: translateY(-1px);
}

.social-btn:active {
    transform: translateY(0);
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.google-btn:hover {
    border-color: #4285F4;
    box-shadow: 0 0 12px rgba(66, 133, 244, 0.2);
}

.facebook-btn:hover {
    border-color: #1877F2;
    box-shadow: 0 0 12px rgba(24, 119, 242, 0.2);
}

.twitter-btn:hover {
    border-color: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.twitter-btn .social-icon path {
    fill: #fff;
}

.social-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.social-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    gap: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    color: var(--muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Member hub */
.member-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.member-actions {
    display: flex;
    gap: 10px;
}

.member-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 12px;
}

.member-tab {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--panel-2);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
}

.member-tab.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #0a0512;
    border-color: transparent;
    box-shadow: var(--glow);
}

.member-panels {
    display: grid;
}

.member-panel {
    display: none;
}

.member-panel.active {
    display: block;
}

.panel-surface {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    min-height: 140px;
}

.loading {
    color: var(--muted);
}

.profile-simple {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--panel);
}

.profile-row-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.profile-value {
    font-weight: 700;
    margin: 2px 0 0;
}

.btn-icon-sm {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.profile-edit-form {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* Error State */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    gap: 12px;
}

.error-icon {
    width: 40px;
    height: 40px;
    color: #ff6b6b;
}

.error-state .error {
    color: #ff6b6b;
    margin: 0;
}

.retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.balance-link {
    cursor: pointer;
    color: var(--accent-contrast);
}

.balance-link:hover {
    text-decoration: underline;
}

.txn-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.txn-row {
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--panel);
}

.txn-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 700;
}

.txn-main .pill.add {
    background: rgba(29, 211, 176, 0.12);
    color: var(--accent-contrast);
    border-color: rgba(29, 211, 176, 0.3);
}

.txn-main .pill.deduct {
    background: rgba(93, 214, 44, 0.12);
    color: var(--accent);
    border-color: rgba(93, 214, 44, 0.3);
}

.txn-main .pill.payment {
    background: rgba(255, 193, 7, 0.12);
    color: #f7c948;
    border-color: rgba(255, 193, 7, 0.3);
}

.txn-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.txn-note {
    color: var(--muted);
    margin-top: 4px;
    font-size: 0.9rem;
}

.txn-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.txn-pagination button.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Enhanced Member Header */
.member-header-info {
    flex: 1;
}

.member-header-info .eyebrow {
    display: flex;
    align-items: center;
    gap: 6px;
}

.eyebrow-icon {
    width: 14px;
    height: 14px;
}

.member-balance-card {
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.12) 0%, rgba(29, 211, 176, 0.08) 100%);
    border: 1px solid rgba(93, 214, 44, 0.25);
    border-radius: var(--radius);
    padding: 14px 20px;
    min-width: 160px;
}

.balance-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.balance-card-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.balance-card-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.link-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 4px;
}

/* Enhanced Member Tabs */
.member-tab {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-icon {
    width: 16px;
    height: 16px;
}

/* Loading Spinner */
.loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.spin {
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
}

/* Payment Methods */
.topup-panel {
    padding: 20px;
}

.topup-header {
    margin-bottom: 20px;
}

.topup-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.section-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    background: var(--panel);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.payment-method-card input[type="radio"] {
    display: none;
}

.payment-method-card:hover:not(.disabled) {
    border-color: rgba(93, 214, 44, 0.4);
    background: var(--panel-2);
}

.payment-method-card.active {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.1) 0%, rgba(29, 211, 176, 0.05) 100%);
}

.payment-method-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.method-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crypto-icon {
    background: linear-gradient(135deg, #f7931a 0%, #f7931a 100%);
}

.card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.telegram-icon {
    background: linear-gradient(135deg, #0088cc 0%, #00a1e0 100%);
}

.method-lucide {
    width: 22px;
    height: 22px;
    color: #fff;
}

.method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.method-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.method-desc {
    font-size: 0.78rem;
    color: var(--muted);
}

.method-desc.coming-soon {
    color: #f7c948;
}

.method-check {
    width: 22px;
    height: 22px;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.payment-method-card.active .method-check {
    opacity: 1;
}

.method-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7c948 0%, #d4a934 100%);
    color: #0a0a0a;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Payment Form */
.payment-form-section {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.label-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 4px;
    color: var(--accent);
}

.amount-presets {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.preset-btn {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel-2);
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preset-btn:hover {
    border-color: var(--accent);
    background: rgba(93, 214, 44, 0.1);
}

.preset-btn.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #0a0a0a;
}

/* Crypto Estimate */
.crypto-estimate {
    background: rgba(93, 214, 44, 0.08);
    border: 1px solid rgba(93, 214, 44, 0.2);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin: 16px 0;
}

.estimate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.estimate-value {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
}

.estimate-note {
    margin: 6px 0 0;
    font-size: 0.78rem;
    color: var(--muted);
}

/* Pay Button */
.btn-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
}

.btn-icon-left {
    width: 18px;
    height: 18px;
}

.payment-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.8rem;
}

.note-icon {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 4px rgba(93, 214, 44, 0.15);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(93, 214, 44, 0);
    }
    100% {
        box-shadow: 0 0 0 4px rgba(93, 214, 44, 0.15);
    }
}

/* Win Ticker Navbar - Second Navigation Bar */
.win-ticker-navbar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: 45px;
    background: rgba(15, 15, 15, 0.95);
    border-bottom: 1px solid var(--border);
    z-index: 99;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ticker-nav-container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.ticker-live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.2) 0%, rgba(51, 116, 24, 0.15) 100%);
    border: 1px solid rgba(93, 214, 44, 0.3);
    border-radius: 20px;
    flex-shrink: 0;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: live-pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(93, 214, 44, 0.8);
}

@keyframes live-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.live-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ticker-messages-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-messages {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-message-item {
    position: absolute;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ticker-message-item.active {
    opacity: 1;
    transform: translateX(0);
}

.ticker-player {
    font-weight: 700;
    color: var(--accent);
    text-transform: capitalize;
    font-size: 0.95rem;
}

.ticker-action {
    color: var(--muted);
    font-size: 0.85rem;
}

.ticker-amount {
    font-weight: 700;
    color: var(--accent);
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(93, 214, 44, 0.5);
}

.ticker-on {
    color: var(--muted);
    font-size: 0.85rem;
}

.ticker-game {
    font-weight: 600;
    color: var(--accent-strong);
    font-style: italic;
    font-size: 0.9rem;
}

@media (max-width: 960px) {
    .hero-panel {
        grid-template-columns: 1fr;
    }

    .header-bar {
        gap: 10px;
    }

    .member-button {
        padding: 10px;
    }
}

@media (max-width: 640px) {
    .header-bar {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .status-chip {
        display: none;
    }

    /* Responsive Ticker */
    .win-ticker-navbar {
        height: 40px;
    }
    
    .ticker-nav-container {
        padding: 0 15px;
        gap: 12px;
    }
    
    .ticker-live-indicator {
        padding: 4px 12px;
    }
    
    .live-text {
        font-size: 0.7rem;
    }
    
    .ticker-message-item {
        font-size: 0.8rem;
        gap: 6px;
    }
    
    .ticker-player,
    .ticker-amount {
        font-size: 0.85rem;
    }

    .page-shell {
        padding-top: calc(var(--header-height) + 40px + 20px);
    }
}

/* Hot Games Section */
.hot-games-section {
    margin-bottom: 50px;
    padding-top: 10px;
}

.hot-games-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hot-games-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hot-games-title .fire-icon {
    font-size: 1.6rem;
    animation: fireGlow 1.5s ease-in-out infinite;
}

@keyframes fireGlow {
    0%, 100% { filter: brightness(1); transform: scale(1); }
    50% { filter: brightness(1.3); transform: scale(1.1); }
}

.hot-games-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hot-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(255, 107, 53, 0.2); }
}

.hot-games-nav {
    display: flex;
    gap: 8px;
}

.hot-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--panel-2);
    border: 1px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hot-nav-btn:hover {
    background: var(--accent);
    color: #0a0512;
    border-color: var(--accent);
    transform: scale(1.05);
}

.hot-nav-btn svg {
    width: 20px;
    height: 20px;
}

.hot-games-track-wrapper {
    overflow: hidden;
    margin: 0 -10px;
    padding: 10px;
}

.hot-games-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 5px 0;
    direction: ltr; /* Force LTR for carousel scroll behavior */
}

.hot-game-card {
    flex: 0 0 280px;
    animation: hotCardSlideIn 0.6s ease-out backwards;
    animation-delay: calc(var(--card-index) * 0.08s);
}

@keyframes hotCardSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hot-game-banner {
    position: relative;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hot-game-banner:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(93, 214, 44, 0.15);
}

.hot-game-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hot-game-banner:hover img {
    transform: scale(1.1);
}

.hot-game-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 5, 18, 0.95) 0%,
        rgba(10, 5, 18, 0.6) 40%,
        rgba(10, 5, 18, 0.2) 70%,
        transparent 100%
    );
    pointer-events: none;
}

.hot-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #0a0512;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.hot-game-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
}

.hot-game-label {
    display: inline-block;
    background: rgba(93, 214, 44, 0.2);
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hot-game-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-game-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hot-game-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--muted);
}

.hot-game-stats .stat-item svg {
    width: 14px;
    height: 14px;
    color: #ffd700;
}

.hot-game-actions {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 5, 18, 0.85);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.hot-game-banner:hover .hot-game-actions {
    opacity: 1;
}

.hot-play-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #0a0512;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(93, 214, 44, 0.4);
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.hot-game-banner:hover .hot-play-btn {
    transform: scale(1);
}

.hot-play-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 30px rgba(93, 214, 44, 0.6);
}

.hot-play-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .hot-games-header {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .hot-games-title h3 {
        font-size: 1.2rem;
    }
    
    .hot-badge {
        font-size: 0.6rem;
        padding: 4px 10px;
    }
    
    .hot-game-card {
        flex: 0 0 240px;
    }
    
    .hot-game-banner {
        height: 150px;
    }
    
    .hot-game-name {
        font-size: 0.95rem;
    }
}

/* Biggest Winners Section */
.winners-section {
    margin-bottom: 50px;
}

.winners-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.winners-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.winners-title .trophy-icon {
    font-size: 1.6rem;
    animation: trophyBounce 2s ease-in-out infinite;
}

@keyframes trophyBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

.winners-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.winners-badge {
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: winnerBadgePulse 2s ease-in-out infinite;
}

@keyframes winnerBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(147, 51, 234, 0.2); }
}

.winners-nav {
    display: flex;
    gap: 8px;
}

.winners-track-wrapper {
    overflow: hidden;
    margin: 0 -10px;
    padding: 10px;
}

.winners-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 5px 0;
    direction: ltr; /* Force LTR for carousel scroll behavior */
}

.winner-card {
    flex: 0 0 280px;
    animation: winnerCardSlideIn 0.6s ease-out backwards;
    animation-delay: calc(var(--card-index) * 0.08s);
}

@keyframes winnerCardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.winner-banner {
    position: relative;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.winner-banner:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(147, 51, 234, 0.2);
    border-color: rgba(147, 51, 234, 0.4);
}

.winner-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.7);
}

.winner-banner:hover img {
    transform: scale(1.1);
    filter: brightness(0.5);
}

.winner-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 5, 18, 0.98) 0%,
        rgba(10, 5, 18, 0.7) 50%,
        rgba(147, 51, 234, 0.1) 100%
    );
    pointer-events: none;
}

.winner-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 4px;
}

.winner-rank.top-three {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #0a0512;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.winner-rank .crown {
    font-size: 1rem;
}

.winner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
}

.winner-player {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.player-avatar {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bg);
    overflow: hidden;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.player-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.winner-amount {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #5dd62c 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.winner-game {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 4px;
}

.winner-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .winners-header {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .winners-title h3 {
        font-size: 1.2rem;
    }
    
    .winners-badge {
        font-size: 0.6rem;
        padding: 4px 10px;
    }
    
    .winner-card {
        flex: 0 0 240px;
    }
    
    .winner-banner {
        height: 180px;
    }
    
    .winner-amount {
        font-size: 1.2rem;
    }
}

/* Static Pages */
.static-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 0 60px;
}

.page-header {
    margin-bottom: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: var(--accent);
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, rgba(93, 214, 44, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.page-content {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    line-height: 1.7;
}

.page-content h2 {
    font-size: 1.4rem;
    color: var(--text);
    margin: 30px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    font-size: 1.1rem;
    color: var(--accent);
    margin: 24px 0 12px;
}

.page-content p {
    color: var(--muted);
    margin: 0 0 16px;
}

.page-content ul,
.page-content ol {
    color: var(--muted);
    margin: 0 0 20px;
    padding-left: 24px;
}

.page-content li {
    margin-bottom: 8px;
}

.page-content li strong {
    color: var(--text);
}

.page-content a {
    color: var(--accent);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

.page-content .info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--panel-2);
    border-radius: var(--radius);
    overflow: hidden;
}

.page-content .info-table th,
.page-content .info-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.page-content .info-table th {
    background: rgba(93, 214, 44, 0.1);
    color: var(--text);
    font-weight: 600;
}

.page-content .info-table td {
    color: var(--muted);
}

.page-content .info-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .static-page {
        padding: 20px 0 40px;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .page-content {
        padding: 24px;
    }
    
    .page-content h2 {
        font-size: 1.2rem;
    }
}

/* Withdrawal Panel Styles */
.withdraw-panel {
    padding: 20px;
}

.withdraw-balance-info {
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.1) 0%, rgba(29, 211, 176, 0.05) 100%);
    border: 1px solid rgba(93, 214, 44, 0.3);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.balance-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.balance-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.info-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.balance-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.input-hint {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 6px;
}

.withdraw-summary {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.summary-value {
    font-weight: 600;
    color: var(--text);
}

.btn-withdraw {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-withdraw:hover {
    filter: brightness(1.1);
}

.withdraw-history {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.withdraw-history h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 0.95rem;
    color: var(--text);
}

.section-icon-sm {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.withdrawals-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.withdrawal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.withdrawal-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.withdrawal-amount {
    font-weight: 600;
    font-size: 0.95rem;
}

.withdrawal-address {
    font-size: 0.75rem;
    color: var(--muted);
    font-family: monospace;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.withdrawal-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.withdrawal-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.withdrawal-status.pending {
    background: rgba(247, 201, 72, 0.2);
    color: #f7c948;
}

.withdrawal-status.processing {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.withdrawal-status.completed {
    background: rgba(93, 214, 44, 0.2);
    color: var(--accent);
}

.withdrawal-status.failed {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.withdrawal-date {
    font-size: 0.72rem;
    color: var(--muted);
}

.no-withdrawals {
    text-align: center;
    padding: 24px;
    color: var(--muted);
}

/* Payment Address Display */
.payment-address-display {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 16px;
    text-align: center;
}

.payment-qr {
    margin: 16px 0;
}

.payment-qr img {
    max-width: 180px;
    border-radius: 8px;
}

.payment-address-box {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.payment-address-text {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text);
    word-break: break-all;
    flex: 1;
    text-align: left;
}

.copy-btn {
    background: var(--accent);
    color: #0a0a0a;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    filter: brightness(1.1);
}

.payment-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.payment-info-row:last-child {
    border-bottom: none;
}

.payment-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: rgba(247, 201, 72, 0.1);
    border-radius: var(--radius-sm);
    color: #f7c948;
    font-size: 0.9rem;
}

.timer-icon {
    width: 18px;
    height: 18px;
}

/* Success State */
.success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    gap: 12px;
}

.success-icon {
    width: 60px;
    height: 60px;
    color: var(--accent);
}

.success-state h4 {
    color: var(--accent);
    margin: 0;
    font-size: 1.2rem;
}

/* Button icon left */
.btn-icon-left {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Label icon */
.label-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 4px;
    color: var(--muted);
}

/* Note icon */
.note-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 4px;
}

/* Form row for two columns */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Amount presets */
.amount-presets {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.preset-btn {
    flex: 1;
    min-width: 60px;
    padding: 8px 12px;
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preset-btn:hover {
    border-color: var(--accent);
    background: rgba(93, 214, 44, 0.1);
}

.preset-btn.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #0a0a0a;
}

/* Crypto estimate display */
.crypto-estimate {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 16px;
}

.estimate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.estimate-value {
    font-weight: 700;
    color: var(--accent);
}

.estimate-note {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 6px 0 0;
}

/* Payment note */
.payment-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.8rem;
}

/* QR Code Section */
.qr-code-section {
    margin: 16px 0;
    text-align: center;
}

.btn-qr-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-qr-toggle:hover {
    border-color: var(--accent);
    background: rgba(93, 214, 44, 0.1);
}

.qr-code-container {
    margin-top: 16px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.qr-code-img {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.qr-hint {
    color: #333;
    font-size: 0.8rem;
    margin-top: 10px;
    text-align: center;
}

/* Payment status indicator */
.payment-status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(93, 214, 44, 0.1);
    border: 1px solid rgba(93, 214, 44, 0.3);
    border-radius: var(--radius-sm);
    margin: 16px 0;
    color: var(--accent);
    font-size: 0.9rem;
}

.status-icon {
    width: 18px;
    height: 18px;
}

/* Pay amount value */
.pay-amount-value {
    color: var(--accent);
    font-size: 1.1rem;
}

/* Secondary button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(93, 214, 44, 0.1);
}

/* Disabled button state */
.btn-primary.disabled,
.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Promotional Offer Modal */
.promo-modal .promo-modal-content {
    background: linear-gradient(145deg, #1a1225 0%, #0f0a14 100%);
    border: 2px solid var(--accent);
    max-width: 400px;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.promo-offer-container {
    padding: 30px 24px;
}

.promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #4ac31f 100%);
    color: #0a0a0a;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.promo-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 8px;
    background: linear-gradient(135deg, var(--accent) 0%, #7bef52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-subtitle {
    color: var(--text);
    font-size: 1.1rem;
    margin: 0 0 16px;
    font-weight: 600;
}

.promo-highlight {
    background: rgba(93, 214, 44, 0.15);
    border: 1px solid rgba(93, 214, 44, 0.3);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin: 16px 0;
}

.promo-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    margin: 0;
    line-height: 1;
}

.promo-amount-label {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 4px;
}

.promo-winner-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(247, 201, 72, 0.1);
    border: 1px solid rgba(247, 201, 72, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin: 16px 0;
    color: #f7c948;
    font-size: 0.9rem;
}

.promo-winner-icon {
    width: 20px;
    height: 20px;
}

.promo-game-tag {
    display: inline-block;
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin: 8px 0;
}

.promo-description {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 16px 0;
    line-height: 1.5;
}

.promo-cta {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #0a0512;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(93, 214, 44, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(93, 214, 44, 0.6);
}

.promo-skip {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 16px;
    cursor: pointer;
    text-decoration: underline;
}

.promo-skip:hover {
    color: var(--text);
}

.promo-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 12px;
}

.promo-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 12px;
}

/* Withdraw panel mobile improvements */
@media (max-width: 640px) {
    .withdraw-panel {
        padding: 16px;
    }
    
    .withdraw-balance-info {
        margin-bottom: 16px;
    }
    
    .balance-info-row {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .balance-amount {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .amount-presets {
        justify-content: center;
    }
    
    .preset-btn {
        min-width: 50px;
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .withdraw-preset {
        flex: 0 0 auto;
    }
    
    .withdraw-summary {
        padding: 12px;
    }
    
    .withdrawal-item {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .withdrawal-meta {
        width: 100%;
        justify-content: space-between;
    }
    
    .qr-code-img {
        width: 160px;
        height: 160px;
    }
    
    .qr-code-container {
        padding: 16px;
    }
    
    .payment-address-display {
        padding: 16px;
    }
    
    .payment-address-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .payment-address-text {
        font-size: 0.7rem;
        word-break: break-all;
    }
    
    .copy-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Promo modal mobile */
    .promo-modal .promo-modal-content {
        max-width: 100%;
        margin: 20px;
        border-radius: var(--radius-lg);
    }
    
    .promo-offer-container {
        padding: 24px 20px;
    }
    
    .promo-title {
        font-size: 1.4rem;
    }
    
    .promo-amount {
        font-size: 2rem;
    }
    
    .promo-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Comprehensive mobile form fixes */
    .form-group input,
    .form-group select {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 14px 12px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    /* Member modal mobile */
    .member-header {
        padding: 0;
    }
    
    .member-info h2 {
        font-size: 1.2rem;
    }
    
    .panel-surface {
        padding: 16px;
    }
    
    .topup-header h3,
    .withdraw-panel h3 {
        font-size: 1.1rem;
    }
    
    /* Profile form mobile */
    .profile-simple {
        padding: 0;
    }
    
    .profile-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .profile-row-content {
        width: 100%;
    }
    
    .ghost-link {
        width: 100%;
        justify-content: center;
    }
    
    /* Payment info mobile */
    .payment-info-row {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    /* Input hint */
    .input-hint {
        font-size: 0.75rem;
    }
    
    /* Transactions mobile */
    .transaction-item {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }
    
    /* Error state mobile */
    .error-state {
        padding: 20px;
    }
    
    .error-icon {
        width: 40px;
        height: 40px;
    }
}

/* ===== ShamCash & Local Provider Styles ===== */
.shamcash-info-box,
.local-info-box {
    background: var(--panel-2);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.shamcash-header,
.local-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.shamcash-icon-lg,
.local-icon-lg {
    width: 48px;
    height: 48px;
    color: var(--accent);
}

.shamcash-header h4,
.local-header h4 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text);
}

.shamcash-steps,
.local-steps {
    text-align: right;
    margin-bottom: 16px;
}

.steps-list {
    margin: 12px 0;
    padding-right: 20px;
    list-style-position: inside;
}

.steps-list li {
    padding: 8px 0;
    color: var(--muted);
    border-bottom: 1px solid var(--panel-3);
}

.steps-list li:last-child {
    border-bottom: none;
}

.shamcash-contact,
.local-contact {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--panel-3);
}

/* ShamCash icon colors */
.shamcash-icon {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.local-icon {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

/* ===== Currency Calculator Styles ===== */
.calculator-panel {
    padding: 24px;
}

.calculator-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calc-input-section {
    background: var(--panel-2);
    border-radius: var(--radius);
    padding: 20px;
}

.calc-input {
    font-size: 1.25rem;
    text-align: center;
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.calc-result-card {
    background: var(--panel-2);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--panel-3);
    transition: all 0.3s ease;
}

.calc-result-card.highlight {
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.1), rgba(93, 214, 44, 0.05));
    border-color: var(--accent);
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.875rem;
}

.result-icon {
    width: 18px;
    height: 18px;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.calc-result-card.highlight .result-value {
    color: var(--accent);
}

.result-note {
    font-size: 0.75rem;
    color: var(--muted);
}

.exchange-rate-info {
    background: var(--panel-2);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.rate-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--muted);
}

.rate-icon {
    width: 16px;
    height: 16px;
}

.rate-display {
    margin-bottom: 12px;
}

.rate-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rate-label {
    color: var(--muted);
}

.rate-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
}

.rate-note {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.calc-presets {
    text-align: center;
}

.calc-presets .preset-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* Withdraw form sections */
.withdraw-form-section {
    margin-top: 20px;
}

@media (max-width: 640px) {
    .calc-results {
        grid-template-columns: 1fr;
    }
    
    .result-value {
        font-size: 1.25rem;
    }
    
    .shamcash-info-box,
    .local-info-box {
        padding: 16px;
    }
}

/* ==========================================
   WITHDRAWAL SYSTEM STYLES
   ========================================== */

/* Balance Info Display */
.withdraw-balance-info {
    background: var(--panel-2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.balance-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.balance-info-row:last-child {
    border-bottom: none;
}

.balance-info-row.highlight {
    background: rgba(212, 175, 55, 0.1);
    margin: 8px -16px -16px;
    padding: 12px 16px;
    border-radius: 0 0 12px 12px;
}

.balance-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.balance-label .info-icon {
    width: 16px;
    height: 16px;
}

.balance-amount {
    font-weight: 600;
    color: var(--text);
}

.balance-amount.frozen {
    color: #f59e0b;
}

.balance-amount.available {
    color: var(--accent);
    font-size: 1.1rem;
}

/* Conversion Preview */
.conversion-preview {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-label {
    color: var(--muted);
    font-size: 0.85rem;
}

.preview-amount {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.conversion-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    font-size: 0.85rem;
}

.conversion-note .note-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* User Invoice Section */
.user-invoice-section {
    margin-top: 20px;
}

.invoice-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.invoice-header {
    background: rgba(212, 175, 55, 0.15);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.invoice-header .invoice-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.invoice-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--accent);
}

.invoice-details {
    padding: 16px;
}

.invoice-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

.invoice-row:last-child {
    border-bottom: none;
}

.invoice-label {
    color: var(--muted);
    font-size: 0.9rem;
}

.invoice-value {
    font-weight: 600;
    color: var(--text);
}

.invoice-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.invoice-status.approved {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.invoice-status.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Withdrawal History */
.withdrawal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--panel-2);
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
    gap: 12px;
}

.withdrawal-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.withdrawal-invoice {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    font-family: monospace;
}

.withdrawal-date {
    font-size: 0.75rem;
    color: var(--muted);
}

.withdrawal-amounts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.withdrawal-amount {
    font-weight: 600;
    color: var(--text);
}

.withdrawal-shamcash {
    font-size: 0.8rem;
    color: var(--accent);
}

.withdrawal-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.withdrawal-status.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.withdrawal-status.success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.withdrawal-status.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.no-data {
    text-align: center;
    color: var(--muted);
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 640px) {
    .withdrawal-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .withdrawal-amounts {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--border);
    }
    
    .conversion-preview {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ==========================================
   DEPOSIT INVOICE & QR CODE STYLES
   ========================================== */

/* Input with scan button */
.input-with-scan {
    display: flex;
    gap: 8px;
}

.input-with-scan input {
    flex: 1;
}

.scan-btn {
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.scan-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.scan-btn .scan-icon {
    width: 20px;
    height: 20px;
}

/* Deposit Invoice Card */
.deposit-invoice-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.deposit-invoice-card .invoice-header {
    background: rgba(34, 197, 94, 0.15);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.deposit-invoice-card .invoice-header .invoice-icon,
.deposit-invoice-card .invoice-header h4 {
    color: #22c55e;
}

.highlight-amount {
    color: #22c55e !important;
    font-size: 1.2rem;
}

/* Deposit Address Section */
.deposit-address-section {
    padding: 16px;
    background: var(--panel-2);
    border-top: 1px solid var(--border);
    text-align: center;
}

.address-label {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.qr-code-img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.address-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.address-text {
    flex: 1;
    font-family: monospace;
    font-size: 0.85rem;
    word-break: break-all;
    color: var(--text);
    text-align: right;
}

.copy-btn {
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--accent-hover);
}

.scan-address-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.scan-address-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Deposit Actions */
.deposit-actions {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--border);
}

.btn-confirm-deposit {
    flex: 2;
}

.btn-cancel-deposit {
    flex: 1;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-cancel-deposit:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

/* Pending Deposit Card */
.pending-deposit-card {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.pending-icon {
    margin-bottom: 16px;
}

.pending-icon-lg {
    width: 48px;
    height: 48px;
    color: #f59e0b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pending-deposit-card h4 {
    color: var(--text);
    margin-bottom: 8px;
}

.pending-details {
    background: var(--panel);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    text-align: right;
}

.pending-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.pending-row:last-child {
    border-bottom: none;
}

.status-pending {
    color: #f59e0b;
    font-weight: 600;
}

/* QR Scanner Modal */
.qr-scanner-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.qr-scanner-container {
    background: var(--panel);
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    overflow: hidden;
}

.qr-scanner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.qr-scanner-header h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--text);
}

.qr-scanner-header .scanner-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.close-scanner-btn {
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.close-scanner-btn:hover {
    background: var(--panel-2);
    color: var(--text);
}

.qr-scanner-video-container {
    position: relative;
    background: black;
}

#qr-video {
    width: 100%;
    display: block;
}

.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-frame {
    width: 200px;
    height: 200px;
    border: 3px solid var(--accent);
    border-radius: 16px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
}

.scanner-hint {
    text-align: center;
    padding: 16px;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 640px) {
    .deposit-actions {
        flex-direction: column;
    }
    
    .btn-confirm-deposit,
    .btn-cancel-deposit {
        flex: 1;
    }
    
    .input-with-scan {
        flex-direction: column;
    }
    
    .scan-btn {
        width: 100%;
    }
    
    .qr-code-img {
        width: 150px;
        height: 150px;
    }
    
    .address-box {
        flex-direction: column;
        text-align: center;
    }
    
    .address-text {
        text-align: center;
    }
}
