/* Cyber Casino Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0a0a0a, #1a0a2e, #0a0a0a);
    color: #00ffff;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

/* =============================================
   NAVIGATION BAR
   ============================================= */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-bar.hidden {
    display: none;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    font-size: 28px;
}

.nav-title {
    font-size: 18px;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.nav-game-name {
    font-size: 14px;
    color: #ffd700;
    padding: 4px 12px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    display: none;
}

.nav-game-name.active {
    display: inline-block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-balance {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
}

.balance-amount {
    font-size: 14px;
    font-weight: bold;
    color: #ffd700;
}

.balance-token {
    font-size: 12px;
    color: rgba(0, 255, 255, 0.7);
}

.nav-buy-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    border: none;
    border-radius: 20px;
    color: #000;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.nav-buy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
}

.nav-wallet {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ffff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-wallet:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* =============================================
   TRADING MODAL - Cyberlife Style
   ============================================= */
.trading-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trading-modal.hidden {
    display: none;
}

.trading-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.trading-modal-content {
    position: relative;
    background: #0d0d0d;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 420px;
    margin: 20px;
    max-height: 90vh;
    overflow: visible;
}

.trading-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.trading-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.trading-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.trading-title {
    font-size: 20px;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    margin: 0;
}

/* Mode Toggle - Buy/Sell Tabs */
.trading-mode-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.mode-btn {
    flex: 1;
    padding: 10px 16px;
    background: #0d0d0d;
    border: none;
    border-radius: 10px;
    color: #666;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.mode-btn:hover {
    color: #fff;
}

.mode-btn.buy.active {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.mode-btn.sell.active {
    background: #ff4444;
    color: #fff;
}

/* Token Picker Overlay */
.token-picker-overlay {
    position: absolute;
    inset: 0;
    z-index: 3000;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

.token-picker-overlay.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

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

.token-picker-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid #2a2a2a;
}

.token-search-input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
}

.token-search-input::placeholder {
    color: #666;
}

.token-search-input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.token-picker-close {
    width: 36px;
    height: 36px;
    background: #2a2a2a;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.token-picker-close:hover {
    background: #3a3a3a;
}

.token-picker-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.token-picker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.token-picker-item:hover {
    background: #1f1f1f;
}

.token-picker-item .token-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.token-picker-item .token-icon-wrapper {
    position: relative;
    width: 36px;
    height: 36px;
}

.token-picker-item .token-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #2a2a2a;
}

.token-picker-item .network-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #0d0d0d;
}

.token-picker-item .token-details {
    display: flex;
    flex-direction: column;
}

.token-picker-item .token-symbol {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.token-picker-item .token-network {
    color: #888;
    font-size: 12px;
}

.token-picker-item .token-balance {
    color: #9aa0a6;
    font-size: 12px;
}

/* Trading Body */
.trading-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Input Container */
.trading-input-container {
    position: relative;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 16px;
    transition: border-color 0.2s;
}

.trading-input-container:focus-within {
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.input-label-floating {
    position: absolute;
    left: 12px;
    top: -10px;
    background: #1a1a1a;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
}

.trading-balance-row {
    text-align: right;
    margin-bottom: 8px;
}

.balance-text {
    font-size: 12px;
    color: #666;
}

.trading-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.trading-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    padding: 0;
    padding-right: 120px;
    outline: none;
}

.trading-input::placeholder {
    color: #666;
}

.trading-input.receive-input {
    padding-right: 100px;
}

.input-usd-value {
    position: absolute;
    left: 0;
    bottom: -20px;
    font-size: 12px;
    color: #9aa0a6;
}

/* Token Selector */
.token-selector {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.token-selector:hover {
    background: rgba(0, 255, 255, 0.1);
}

.token-selector.receive-selector {
    cursor: default;
}

.token-selector.receive-selector:hover {
    background: transparent;
}

/* Clickable token selector in sell mode */
.token-selector.receive-selector:not(.receive-selector) {
    cursor: pointer;
}

.token-icon-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
}

.token-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #2a2a2a;
}

.token-icon-wrapper .network-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #0d0d0d;
}

.token-symbol {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
}

.dropdown-arrow {
    color: #666;
}

/* Quote Loader */
.quote-loader {
    position: absolute;
    left: 0;
}

.quote-loader.hidden {
    display: none;
}

.quote-loader .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #00ffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Price Impact */
.price-impact-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
    font-size: 12px;
}

.price-impact-row.hidden {
    display: none;
}

.impact-label {
    color: #666;
    margin-right: 4px;
}

.impact-value {
    font-weight: 500;
}

.impact-value.positive {
    color: #00ff88;
}

.impact-value.negative {
    color: #ff4444;
}

/* Quick Amount Buttons */
.quick-amounts {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 12px;
}

.quick-btn {
    padding: 6px 10px;
    background: #2a2a2a;
    border: none;
    border-radius: 6px;
    color: #888;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-btn:hover {
    background: #3a3a3a;
    color: #fff;
}

.quick-btn.max {
    background: #00ffff;
    color: #000;
    font-weight: 600;
}

.quick-btn.max:hover {
    background: #00dddd;
}

/* Slippage */
.slippage-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slippage-label {
    font-size: 12px;
    color: #666;
}

.slippage-options {
    display: flex;
    gap: 4px;
}

.slippage-btn {
    padding: 6px 10px;
    background: #0d0d0d;
    border: none;
    border-radius: 6px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.slippage-btn:hover {
    color: #fff;
}

.slippage-btn.active {
    background: #00ffff;
    color: #000;
}

/* Swap Button */
.trading-swap-btn {
    width: 100%;
    padding: 14px;
    background: #2a2a2a;
    border: none;
    border-radius: 12px;
    color: #666;
    font-size: 16px;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.2s;
}

.trading-swap-btn:not(:disabled) {
    cursor: pointer;
}

.trading-swap-btn.buy-enabled {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.trading-swap-btn.buy-enabled:hover {
    background: #00dddd;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}

.trading-swap-btn.sell-enabled {
    background: #ff4444;
    color: #fff;
}

.trading-swap-btn.sell-enabled:hover {
    background: #dd3333;
}

.trading-swap-btn.connect {
    background: #00ffff;
    color: #000;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.trading-swap-btn.connect:hover {
    background: #00dddd;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}

/* Swap Info */
.swap-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
}

.swap-info .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border: none;
}

.swap-info .info-label {
    color: #666;
}

.swap-info .info-value {
    color: #fff;
    font-weight: 500;
}

.swap-info .info-value.route {
    color: #00ffff;
    font-size: 11px;
}

/* Swap Status */
.swap-status {
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    display: none;
}

.swap-status.info {
    display: block;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
}

.swap-status.success {
    display: block;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

.swap-status.error {
    display: block;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

/* Legacy Wallet Header (can be removed if not needed) */
.wallet-header {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
    /* Hidden - using nav bar instead */
}

.wallet-header.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

.wallet-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ffff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.wallet-display:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
    transform: scale(1.05);
}

.wallet-icon-small {
    font-size: 16px;
}

#walletAddressDisplay {
    font-size: 14px;
    color: #00ffff;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* Animated Background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.03) 2px,
            rgba(0, 255, 255, 0.03) 4px);
    animation: scanlines 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }

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

#gameContainer {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 2;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding-top: 60px;
    /* Account for fixed navbar */
    box-sizing: border-box;
}

.screen.active {
    display: flex;
    opacity: 1;
}

/* Auth Screen */
#authScreen {
    flex-direction: column;
    padding-top: 0;
    /* No navbar on auth screen */
}

.auth-container {
    max-width: 500px;
}

.auth-title {
    font-size: 56px;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.wallet-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 40px;
}

.wallet-icon {
    font-size: 24px;
}

.wallet-status {
    margin-top: 20px;
    min-height: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wallet-status.show {
    opacity: 1;
}

.wallet-status .connecting {
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
    animation: pulse 1s ease-in-out infinite;
}

.wallet-status .connected {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.wallet-status .error {
    color: #ff4444;
    text-shadow: 0 0 10px #ff4444;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.auth-note {
    margin-top: 30px;
    font-size: 12px;
    color: rgba(0, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* Welcome Screen */
#welcomeScreen {
    flex-direction: column;
}

.neon-border {
    text-align: center;
    padding: 60px 80px;
    border: 3px solid #00ffff;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.7);
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.5),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {

    0%,
    100% {
        box-shadow:
            0 0 20px rgba(0, 255, 255, 0.5),
            inset 0 0 20px rgba(0, 255, 255, 0.1);
    }

    50% {
        box-shadow:
            0 0 40px rgba(0, 255, 255, 0.8),
            inset 0 0 30px rgba(0, 255, 255, 0.2);
    }
}

.neon-title {
    font-size: 72px;
    font-weight: bold;
    color: #00ffff;
    text-shadow:
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 30px #00ffff,
        0 0 40px #ff00ff,
        0 0 70px #ff00ff;
    margin-bottom: 20px;
    letter-spacing: 8px;
    animation: neonFlicker 3s ease-in-out infinite;
}

@keyframes neonFlicker {

    0%,
    100% {
        opacity: 1;
    }

    94% {
        opacity: 0.8;
    }

    96% {
        opacity: 1;
    }

    98% {
        opacity: 0.9;
    }
}

.tagline {
    font-size: 20px;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.neon-button {
    background: transparent;
    border: 2px solid #00ffff;
    color: #00ffff;
    padding: 15px 40px;
    font-size: 20px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    border-radius: 10px;
    text-shadow: 0 0 10px #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.neon-button-small {
    background: transparent;
    color: #00ffff;
    font-size: 10px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    border: none;
}

.neon-button:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
    transform: scale(1.05);
}

.neon-button.small {
    padding: 10px 30px;
    font-size: 16px;
}

.modal-content .neon-button {
    position: relative;
    z-index: 10;
}

/* Game Selection Screen */
#gameSelection {
    flex-direction: column;
    padding: 40px;
}

.selection-title {
    font-size: 48px;
    color: #00ffff;
    text-shadow:
        0 0 10px #00ffff,
        0 0 20px #00ffff;
    margin-bottom: 60px;
    letter-spacing: 6px;
    text-align: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
}

.game-card {
    position: relative;
    width: 280px;
    height: 350px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ff00ff;
    border-radius: 15px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 0, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.game-card:hover::before {
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .card-glow {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #00ffff;
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.6),
        0 0 50px rgba(255, 0, 255, 0.4);
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 30px;
}

.game-icon {
    font-size: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.8));
}

.game-card h3 {
    font-size: 32px;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.game-desc {
    font-size: 16px;
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
    letter-spacing: 1px;
}

/* Coming Soon Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    text-align: center;
    padding: 60px 80px;
    border: 3px solid #ff00ff;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.9);
    box-shadow:
        0 0 30px rgba(255, 0, 255, 0.6),
        inset 0 0 30px rgba(255, 0, 255, 0.2);
}

.modal-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    animation: modalGlow 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes modalGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.8;
    }
}

.coming-soon-text {
    position: relative;
    z-index: 2;
    font-size: 56px;
    color: #ff00ff;
    text-shadow:
        0 0 10px #ff00ff,
        0 0 20px #ff00ff,
        0 0 30px #ff00ff;
    margin-bottom: 20px;
    letter-spacing: 6px;
    animation: comingSoonPulse 1.5s ease-in-out infinite;
}

@keyframes comingSoonPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.modal-message {
    position: relative;
    z-index: 2;
    font-size: 18px;
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* Poker Game Styles */
#pokerScreen {
    padding: 20px;
    padding-top: 80px;
    /* Account for navbar */
}

.poker-container {
    width: 100%;
    max-width: 1400px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.poker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 100;
}

.poker-header .neon-button,
#leavePokerBtn {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    position: relative;
}

.poker-title {
    font-size: 36px;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    letter-spacing: 4px;
}

/* Poker Table */
.poker-table {
    position: relative;
    flex: 1;
    background:
        radial-gradient(ellipse at center, #1a4d2e 0%, #0f2818 100%);
    border: 8px solid #8b4513;
    border-radius: 50% / 40%;
    box-shadow:
        inset 0 0 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(139, 69, 19, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

/* Community Cards */
.community-cards {
    display: flex;
    gap: 15px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.card-slot {
    width: 70px;
    height: 100px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px dashed rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.card-slot.has-card {
    background: white;
    border: 2px solid #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card {
    width: 70px;
    height: 100px;
    background: white;
    border: 2px solid #333;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: cardDeal 0.3s ease;
}

@keyframes cardDeal {
    0% {
        transform: translateY(-100px) rotateY(180deg);
        opacity: 0;
    }

    100% {
        transform: translateY(0) rotateY(0deg);
        opacity: 1;
    }
}

.card.red {
    color: #d32f2f;
}

.card.black {
    color: #212121;
}

.card-value {
    font-size: 18px;
}

.card-suit {
    font-size: 24px;
    text-align: center;
}

/* Pot Display */
.pot-display {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 30px;
    border: 2px solid #ffd700;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.pot-label {
    font-size: 14px;
    color: #ffd700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.pot-amount {
    font-size: 28px;
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 10px #ffd700;
}

/* Player Seats */
.player-seat {
    position: absolute;
    width: 140px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.seat-1 {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.seat-2 {
    top: 20%;
    right: 10%;
}

.seat-3 {
    bottom: 20%;
    right: 10%;
}

.seat-4 {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.seat-5 {
    bottom: 20%;
    left: 10%;
}

.seat-6 {
    top: 20%;
    left: 10%;
}

.player-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 3px solid #00ffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    margin-bottom: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.player-avatar .avatar-img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.player-avatar .avatar-initial {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.player-avatar img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.player-avatar.active {
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    animation: activePulse 1.5s ease-in-out infinite;
}

@keyframes activePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.dealer-button {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #ffd700;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.player-name {
    font-size: 14px;
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
    margin-bottom: 4px;
    text-align: center;
}

.player-chips-display {
    font-size: 12px;
    color: #ffd700;
    text-shadow: 0 0 5px #ffd700;
}

.player-cards-small {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.player-cards-small .card-slot {
    width: 40px;
    height: 60px;
    font-size: 8px;
}

.player-cards-small .card-slot.mini {
    width: 30px;
    height: 45px;
    background: transparent;
    border-radius: 3px;
}

/* Card back for opponent cards */
.card-back {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 25%, #16213e 50%, #1a1a2e 75%);
    border: 2px solid #00ffff;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.4), inset 0 0 15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.card-back::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 3px,
            rgba(0, 255, 255, 0.1) 3px,
            rgba(0, 255, 255, 0.1) 6px);
    border-radius: 2px;
}

.card-back::after {
    content: '🎴';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    opacity: 0.6;
}

.player-action {
    position: absolute;
    top: -25px;
    background: rgba(0, 0, 0, 0.9);
    padding: 5px 10px;
    border: 1px solid #ff00ff;
    border-radius: 5px;
    font-size: 12px;
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
    animation: actionPop 0.3s ease;
}

@keyframes actionPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

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

/* Player Controls */
.player-controls {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    position: relative;
    z-index: 100;
}

.player-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-cards {
    display: flex;
    gap: 15px;
}

.player-cards .card-slot {
    width: 80px;
    height: 110px;
}

.player-chips {
    font-size: 20px;
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
}

.chip-label {
    margin-right: 10px;
}

.chip-amount {
    font-weight: bold;
    font-size: 24px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    position: relative;
    z-index: 100;
}

.action-btn {
    flex: 1;
    padding: 15px 25px;
    font-size: 18px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    border: 2px solid;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    text-shadow: 0 0 5px currentColor;
    box-shadow: 0 0 15px currentColor;
    pointer-events: auto !important;
    position: relative;
    z-index: 101;
}

.action-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none !important;
}

.fold-btn {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff4444;
    color: #ff4444;
}

.fold-btn:hover:not(:disabled) {
    background: rgba(255, 0, 0, 0.3);
    transform: scale(1.05);
}

.check-btn {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    color: #00ffff;
}

.check-btn:hover:not(:disabled) {
    background: rgba(0, 255, 255, 0.3);
    transform: scale(1.05);
}

.call-btn {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    color: #00ff00;
}

.call-btn:hover:not(:disabled) {
    background: rgba(0, 255, 0, 0.3);
    transform: scale(1.05);
}

.raise-btn {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    color: #ffd700;
}

.raise-btn:hover:not(:disabled) {
    background: rgba(255, 215, 0, 0.3);
    transform: scale(1.05);
}

.confirm-btn {
    background: rgba(255, 0, 255, 0.1);
    border-color: #ff00ff;
    color: #ff00ff;
    width: 100%;
    margin-top: 10px;
}

.confirm-btn:hover:not(:disabled) {
    background: rgba(255, 0, 255, 0.3);
    transform: scale(1.05);
}

/* Bet Slider */
.bet-slider-container {
    margin-top: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #ff00ff;
    border-radius: 10px;
}

.bet-slider {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    border-radius: 5px;
    -webkit-appearance: none;
}

.bet-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #ffd700;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffd700;
}

.bet-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #ffd700;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffd700;
    border: none;
}

.bet-amount-display {
    text-align: center;
    margin: 15px 0;
    font-size: 28px;
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 10px #ffd700;
}

/* Game Log - positioned above player controls */
.game-log {
    position: absolute;
    bottom: 220px;
    left: 20px;
    width: 280px;
    max-height: 200px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ffff;
    border-radius: 10px;
    padding: 15px;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    z-index: 50;
}

.log-entry {
    font-size: 12px;
    color: #00ffff;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    line-height: 1.4;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-entry.winner {
    color: #ffd700;
    font-weight: bold;
}

.log-entry.action {
    color: #ff00ff;
}

/* Scrollbar Styling */
.game-log::-webkit-scrollbar {
    width: 8px;
}

.game-log::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.game-log::-webkit-scrollbar-thumb {
    background: #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 5px #00ffff;
}

/* Empty Seat */
.empty-seat {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px dashed rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: rgba(0, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.empty-seat:hover {
    border-color: #00ffff;
    color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* Responsive Design - Large tablets and small laptops */
@media (max-width: 1024px) and (min-width: 769px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .game-card {
        width: 100%;
        max-width: 280px;
    }

    .neon-title {
        font-size: 48px;
    }

    .selection-title {
        font-size: 36px;
    }

    .poker-table {
        border-radius: 40% / 30%;
    }

    .player-seat {
        width: 100px;
        height: 120px;
    }

    .player-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .action-buttons {
        flex-wrap: wrap;
    }

    .action-btn {
        font-size: 14px;
        padding: 12px 15px;
    }
}

/* ===================================
   ROOM SELECTION STYLES
   =================================== */

#roomSelection {
    flex-direction: column;
}

.room-selection-container {
    width: 90%;
    max-width: 900px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ffff;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.room-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.room-balance {
    color: #00ffff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 15px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.room-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.rooms-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.room-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.room-card:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Joinable rooms - show they're tappable */
.room-card.joinable {
    cursor: pointer;
}

.room-card.joinable:active {
    transform: scale(0.98);
    background: rgba(0, 255, 255, 0.15);
}

/* Full room indicator */
.room-full {
    padding: 8px 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.room-card-info {
    flex: 1;
}

.room-card-name {
    font-size: 18px;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 8px;
}

.room-card-details {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: rgba(0, 255, 255, 0.7);
}

.room-card-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.room-status {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.room-status.waiting {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid #ffd700;
    color: #ffd700;
}

.room-status.ready {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid #00ff00;
    color: #00ff00;
}

.room-status.playing {
    background: rgba(255, 0, 255, 0.2);
    border: 1px solid #ff00ff;
    color: #ff00ff;
}

.room-status.full {
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid #ff4444;
    color: #ff4444;
}

.join-room-btn {
    padding: 10px 25px;
    font-size: 14px;
}

.no-rooms {
    text-align: center;
    padding: 40px;
    color: rgba(0, 255, 255, 0.5);
    font-size: 16px;
}

/* ===================================
   CREATE ROOM MODAL STYLES
   =================================== */

.room-modal {
    min-width: 400px;
}

.modal-title {
    font-size: 28px;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #00ffff;
    font-size: 14px;
    letter-spacing: 1px;
}

.neon-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 255, 0.5);
    border-radius: 8px;
    color: #00ffff;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    transition: all 0.3s ease;
}

.neon-input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.neon-input::placeholder {
    color: rgba(0, 255, 255, 0.4);
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

/* ===================================
   ROOM LOBBY STYLES
   =================================== */

#roomLobby {
    flex-direction: column;
}

.room-lobby-container {
    width: 90%;
    max-width: 800px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ffff;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.room-name {
    font-size: 32px;
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff;
}

.room-info {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 10px;
}

.info-item {
    display: flex;
    gap: 10px;
}

.info-label {
    color: rgba(0, 255, 255, 0.6);
}

.info-value {
    color: #ffd700;
    font-weight: bold;
}

/* Buy-in Edit Section */
.buy-in-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.edit-buy-in-btn {
    background: transparent;
    border: none;
    color: #00ffff;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.edit-buy-in-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.edit-buy-in-section {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
}

.buy-in-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.buy-in-input-group input {
    flex: 1;
    min-width: 100px;
    max-width: 150px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #ffd700;
    border-radius: 8px;
    color: #ffd700;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    text-align: center;
}

.buy-in-input-group input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.buy-in-input-group .input-suffix {
    color: rgba(255, 215, 0, 0.7);
    font-size: 14px;
}

.neon-button.small {
    padding: 8px 16px;
    font-size: 13px;
}

.neon-button.small.secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

.neon-button.small.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.edit-hint {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(0, 255, 255, 0.5);
    font-style: italic;
}

.status-badge {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid #ffd700;
}

.players-list {
    margin: 25px 0;
}

.players-list h3 {
    margin-bottom: 15px;
    color: #00ffff;
    font-size: 18px;
}

.player-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
}

.player-item.creator {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.player-address {
    font-family: 'Courier New', monospace;
    color: #00ffff;
}

.player-badge {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 11px;
    text-transform: uppercase;
}

.player-badge.creator {
    background: rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

.player-badge.ready {
    background: rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

.player-badge.deposited {
    background: rgba(0, 255, 255, 0.3);
    color: #00ffff;
}

.deposit-section,
.ready-section {
    text-align: center;
    padding: 25px;
    margin: 20px 0;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px dashed rgba(0, 255, 255, 0.3);
}

.deposit-info {
    margin-bottom: 15px;
    font-size: 16px;
}

.deposit-status {
    margin-top: 15px;
    font-size: 14px;
    min-height: 20px;
}

.deposit-status.pending {
    color: #ffd700;
    animation: pulse 1s infinite;
}

.deposit-status.success {
    color: #00ff00;
}

.deposit-status.error {
    color: #ff4444;
}

.ready-btn {
    padding: 15px 50px;
    font-size: 18px;
    background: rgba(0, 255, 0, 0.2);
    border-color: #00ff00;
    color: #00ff00;
}

.ready-btn:hover {
    background: rgba(0, 255, 0, 0.4);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
}

.ready-btn.is-ready {
    background: rgba(0, 255, 0, 0.5);
    animation: readyPulse 1s infinite;
}

@keyframes readyPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 255, 0, 0.8);
    }
}

.ready-info {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(0, 255, 255, 0.6);
}

.start-info {
    text-align: center;
    padding: 15px;
    color: rgba(0, 255, 255, 0.5);
    font-size: 14px;
}

/* Empty player slot */
.player-slot-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(0, 255, 255, 0.3);
    font-size: 14px;
}

/* Scrollbar for rooms list */
.rooms-list::-webkit-scrollbar {
    width: 8px;
}

.rooms-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.rooms-list::-webkit-scrollbar-thumb {
    background: #00ffff;
    border-radius: 10px;
}

/* =============================================
   START SECTION - New flow
============================================= */
.start-section {
    text-align: center;
    padding: 30px;
    margin: 20px 0;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px dashed rgba(0, 255, 255, 0.3);
}

.start-btn {
    padding: 18px 60px;
    font-size: 22px;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 200, 100, 0.2));
    border-color: #00ff00;
    color: #00ff00;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.start-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.4), rgba(0, 200, 100, 0.4));
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.6);
    transform: scale(1.05);
}

.start-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(50%);
}

.start-btn.started {
    background: rgba(0, 255, 0, 0.5);
    animation: startedPulse 1.5s infinite;
}

@keyframes startedPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 50px rgba(0, 255, 0, 0.9);
    }
}

.balance-check {
    margin-top: 15px;
    font-size: 14px;
    min-height: 20px;
    transition: color 0.3s ease;
}

.balance-check.checking {
    color: #ffd700;
    animation: pulse 1s infinite;
}

.balance-check.sufficient {
    color: #00ff00;
}

.balance-check.insufficient {
    color: #ff6666;
}

.balance-check.error {
    color: #ff4444;
}

.start-section .start-info {
    margin-top: 15px;
    font-size: 13px;
    color: rgba(0, 255, 255, 0.5);
}

/* =============================================
   DEPOSIT MODAL - Full screen overlay
============================================= */
.deposit-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.deposit-modal .modal-content {
    background: linear-gradient(135deg, #0a0a1a, #1a0a2e);
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.4);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.deposit-modal h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.deposit-modal p {
    margin-bottom: 25px;
    font-size: 16px;
    color: #00ffff;
}

.room-wallet-display {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    word-break: break-all;
}

.room-wallet-display .wallet-label {
    display: block;
    font-size: 12px;
    color: rgba(0, 255, 255, 0.6);
    margin-bottom: 5px;
}

.room-wallet-display .wallet-address {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00ff88;
}

.deposit-modal #depositBtn {
    padding: 15px 40px;
    font-size: 18px;
}

/* =============================================
   WAITING FOR DEPOSITS
============================================= */
.waiting-deposits {
    text-align: center;
    padding: 40px;
    margin: 20px 0;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 10px;
    border: 2px solid rgba(0, 255, 0, 0.3);
}

.waiting-deposits .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 255, 255, 0.3);
    border-top: 3px solid #00ffff;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.waiting-deposits p {
    font-size: 18px;
    color: #00ff00;
    margin-bottom: 10px;
}

.waiting-deposits .sub-text {
    font-size: 14px;
    color: rgba(0, 255, 255, 0.6);
}

.deposit-progress {
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    font-size: 16px;
    color: #ffd700;
}

/* Game Starting Animation */
.game-starting {
    animation: gameStartPulse 0.5s ease infinite alternate;
}

.game-starting h2 {
    font-size: 28px;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.game-starting p {
    color: #00ffff;
}

@keyframes gameStartPulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.02);
    }
}

/* =============================================
   GAME STATS ON GAME CARDS
============================================= */
.game-stats {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(0, 255, 255, 0.7);
}

.stat-icon {
    font-size: 14px;
}

.stat-value {
    color: #00ff88;
    font-weight: bold;
    font-size: 14px;
}

/* =============================================
   JOIN PRIVATE ROOM SECTION
============================================= */
.join-private-section {
    margin: 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 100, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
}

.join-private-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.join-label {
    font-size: 14px;
    color: #ffd700;
}

.code-input {
    width: 120px !important;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* =============================================
   PUBLIC/PRIVATE ROOM TOGGLE
============================================= */
.room-type-group {
    margin-top: 15px;
}

.room-type-toggle {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.type-btn {
    flex: 1;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: rgba(0, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-btn:hover {
    border-color: rgba(0, 255, 255, 0.6);
    color: #00ffff;
}

.type-btn.active {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.private-code-group {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px dashed rgba(255, 215, 0, 0.3);
    border-radius: 8px;
}

.code-display {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.code-display .neon-input {
    flex: 1;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    letter-spacing: 5px;
    color: #ffd700;
    background: rgba(0, 0, 0, 0.5);
}

.code-hint {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 215, 0, 0.6);
    text-align: center;
}

/* =============================================
   MOBILE RESPONSIVE STYLES
============================================= */

/* Tablet and small laptop */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    /* Navigation Bar - Mobile */
    .nav-bar {
        height: auto;
        min-height: 50px;
        padding: 8px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-left {
        gap: 8px;
    }

    .nav-logo {
        font-size: 22px;
    }

    .nav-title {
        font-size: 14px;
        display: none;
    }

    .nav-game-name {
        font-size: 12px;
        padding: 3px 8px;
    }

    .nav-right {
        gap: 6px;
    }

    .nav-balance {
        padding: 4px 10px;
        gap: 4px;
    }

    .balance-amount {
        font-size: 12px;
    }

    .balance-token {
        font-size: 10px;
    }

    .nav-buy-btn {
        padding: 5px 12px;
        font-size: 11px;
    }

    .nav-wallet {
        padding: 5px 10px;
        gap: 5px;
    }

    #navWalletAddress {
        font-size: 11px;
    }

    .wallet-icon-small {
        font-size: 12px;
    }

    /* Trading Modal - Mobile */
    .trading-modal-content {
        margin: 10px;
        padding: 20px 15px;
        max-height: 95vh;
        border-radius: 16px;
    }

    .trading-title {
        font-size: 20px;
    }

    .trading-mode-toggle {
        gap: 8px;
    }

    .mode-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .trading-input-section {
        padding: 12px;
    }

    .amount-input {
        font-size: 22px;
    }

    .quick-amounts {
        gap: 6px;
    }

    .quick-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .slippage-options {
        gap: 6px;
    }

    .slippage-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .swap-btn {
        padding: 14px;
        font-size: 15px;
    }

    /* Welcome Screen */
    .neon-title {
        font-size: 36px;
        letter-spacing: 5px;
    }

    .sub-title {
        font-size: 14px;
    }

    .enter-btn {
        padding: 15px 40px;
        font-size: 16px;
    }

    /* Game Selection */
    .game-selection-container {
        padding: 20px 10px;
        width: 100%;
    }

    .selection-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
        max-width: 100%;
    }

    .game-card {
        width: 100%;
        max-width: none;
        height: 180px;
        margin: 0;
    }

    .game-icon {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .game-card h3 {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .game-desc {
        font-size: 14px;
    }

    .game-stats {
        margin-top: 10px;
        padding-top: 10px;
        gap: 15px;
        font-size: 11px;
    }

    .stat-value {
        font-size: 12px;
    }

    .card-content {
        padding: 15px;
    }

    /* Wallet Header */
    .wallet-header {
        top: 10px;
        right: 10px;
    }

    .wallet-display {
        padding: 8px 12px;
        font-size: 12px;
    }

    .wallet-icon {
        width: 20px;
        height: 20px;
    }

    /* Room Selection */
    .room-selection-container {
        width: 95%;
        padding: 15px;
    }

    .room-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .room-actions {
        flex-direction: column;
        gap: 10px;
    }

    .room-actions .neon-button {
        width: 100%;
    }

    .join-private-section {
        padding: 12px 15px;
    }

    .join-private-content {
        flex-direction: column;
        gap: 10px;
    }

    .join-private-content .code-input {
        width: 100% !important;
    }

    .join-private-content .neon-button {
        width: 100%;
    }

    .room-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .room-info {
        width: 100%;
    }

    .room-stats {
        width: 100%;
        justify-content: space-around;
    }

    .join-room-btn {
        width: 100%;
    }

    /* Room Lobby */
    .room-lobby-container {
        width: 95%;
        padding: 15px;
    }

    .room-header {
        flex-direction: column;
        gap: 10px;
    }

    .room-name {
        font-size: 20px;
    }

    /* Create Room Modal */
    .room-modal {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .room-type-toggle {
        flex-direction: column;
    }

    .type-btn {
        width: 100%;
    }

    .code-display {
        flex-direction: column;
    }

    .code-display .neon-button {
        width: 100%;
    }

    /* Start/Deposit sections */
    .start-section {
        padding: 20px 15px;
    }

    .start-btn {
        padding: 15px 40px;
        font-size: 18px;
    }

    .deposit-modal .modal-content {
        width: 95%;
        padding: 25px 20px;
    }

    /* Modal general */
    .modal-content {
        width: 90%;
        max-width: 400px;
        padding: 25px;
    }
}

/* Small phones */
@media (max-width: 480px) {

    /* Navigation Bar - Small phones */
    .nav-bar {
        padding: 6px 10px;
    }

    .nav-left {
        gap: 6px;
    }

    .nav-logo {
        font-size: 18px;
    }

    .nav-game-name {
        font-size: 10px;
        padding: 2px 6px;
    }

    .nav-right {
        gap: 4px;
    }

    .nav-balance {
        padding: 3px 8px;
    }

    .balance-amount {
        font-size: 11px;
    }

    .balance-token {
        font-size: 9px;
    }

    .nav-buy-btn {
        padding: 4px 10px;
        font-size: 10px;
    }

    .nav-wallet {
        padding: 4px 8px;
    }

    #navWalletAddress {
        font-size: 10px;
    }

    /* Trading Modal - Small phones */
    .trading-modal-content {
        margin: 5px;
        padding: 15px 12px;
    }

    .trading-info-box {
        padding: 10px;
    }

    .info-row {
        font-size: 11px;
    }

    .mode-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .amount-input {
        font-size: 20px;
    }

    .quick-btn,
    .slippage-btn {
        padding: 5px 8px;
        font-size: 10px;
    }

    .neon-title {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .selection-title {
        font-size: 22px;
    }

    .games-grid {
        gap: 10px;
    }

    .game-card {
        height: 160px;
    }

    .game-icon {
        font-size: 32px;
    }

    .game-card h3 {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .game-desc {
        font-size: 11px;
    }

    .game-stats {
        font-size: 9px;
        gap: 6px;
        margin-top: 8px;
        padding-top: 8px;
    }

    .stat-value {
        font-size: 10px;
    }

    .card-content {
        padding: 10px;
    }

    .neon-button {
        padding: 12px 20px;
        font-size: 14px;
    }

    .neon-button.small {
        padding: 8px 15px;
        font-size: 12px;
    }

    .wallet-display {
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 15px;
    }

    .wallet-address {
        max-width: 80px;
    }

    /* Players list on mobile */
    .player-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .player-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* Lobby info */
    .info-item {
        flex-direction: column;
        gap: 5px;
    }

    .balance-check {
        font-size: 12px;
    }

    .start-info {
        font-size: 12px;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .neon-title {
        font-size: 24px;
    }

    .games-grid {
        gap: 8px;
    }

    .game-card {
        height: 140px;
    }

    .game-icon {
        font-size: 28px;
    }

    .game-card h3 {
        font-size: 14px;
    }

    .game-desc {
        font-size: 10px;
    }

    .game-stats {
        font-size: 8px;
    }
}

/* Turn Timer */
#turn-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer-bar {
    width: 100px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.timer-fill {
    height: 100%;
    background: #4caf50;
    border-radius: 4px;
    transition: width 1s linear, background-color 0.3s;
}

.timer-text {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    min-width: 35px;
    text-align: center;
}

/* Timer warning states */
.timer-fill.warning {
    background: #ff9800;
}

.timer-fill.critical {
    background: #f44336;
    animation: pulse-critical 0.5s ease-in-out infinite;
}

@keyframes pulse-critical {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Current player highlight */
.player-avatar.current-turn {
    box-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700;
    animation: pulse-turn 1.5s ease-in-out infinite;
}

@keyframes pulse-turn {

    0%,
    100% {
        box-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700;
    }

    50% {
        box-shadow: 0 0 30px #ffd700, 0 0 60px #ffd700;
    }
}

/* Circular Timer Ring around Player Avatar */
.timer-ring-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    pointer-events: none;
}

.timer-ring-svg {
    width: 96px;
    height: 96px;
    transform: rotate(-90deg);
}

.timer-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 4;
}

.timer-ring-progress {
    fill: none;
    stroke: #4caf50;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear, stroke 0.3s ease;
}

.timer-ring-progress.warning {
    stroke: #ff9800;
}

.timer-ring-progress.critical {
    stroke: #f44336;
    animation: ring-blink 0.5s ease-in-out infinite;
}

@keyframes ring-blink {

    0%,
    100% {
        opacity: 1;
        stroke: #f44336;
    }

    50% {
        opacity: 0.4;
        stroke: #ff0000;
    }
}

.timer-ring-text {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: bold;
    color: #4caf50;
    text-shadow: 0 0 5px currentColor;
    white-space: nowrap;
}

.timer-ring-text.warning {
    color: #ff9800;
}

.timer-ring-text.critical {
    color: #f44336;
    animation: text-blink 0.5s ease-in-out infinite;
}

@keyframes text-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Hide old timer bar when circular timer is active */
#turn-timer {
    display: none !important;
}

/* =============================================
   GAME OVER MODAL
   ============================================= */
.game-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.game-modal {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #00ffff;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
    animation: slideUp 0.4s ease;
}

.game-modal.winner {
    border-color: #ffd700;
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.5);
}

.game-modal.loser {
    border-color: #ff4444;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.game-modal .modal-header h2 {
    color: #00ffff;
    font-size: 28px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.game-modal.winner .modal-header h2 {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.winner-info {
    margin: 30px 0;
}

.winner-info .trophy {
    font-size: 80px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {

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

    50% {
        transform: translateY(-10px);
    }
}

.winner-info .winner-name {
    font-size: 24px;
    color: #fff;
    margin: 15px 0;
    font-weight: bold;
}

.winner-info .winnings {
    font-size: 36px;
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.game-stats {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.game-stats h3 {
    color: #00ffff;
    margin-bottom: 15px;
    font-size: 18px;
}

.standings {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.player-standing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #ccc;
}

.player-standing.winner {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #ffd700;
}

.player-standing .player-name {
    font-weight: bold;
}

.player-standing .player-chips {
    color: #00ffff;
}

.payout-info {
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    color: #00ff00;
}

.payout-info p {
    margin: 0;
}

.game-modal .modal-footer {
    margin-top: 25px;
}

.game-modal .btn-primary {
    background: linear-gradient(135deg, #00ffff, #0099cc);
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-modal .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}