/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    body {
        height: auto;
        overflow-y: auto;
    }

    .app-container {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    .main-stage {
        padding: 15px;
        min-height: 100vh;
    }

    .sidebar-dashboard {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(0, 243, 255, 0.3);
        padding: 20px 15px;
        gap: 15px;
    }

    .top-banner h1 {
        font-size: 1.5rem;
    }

    .match-info {
        gap: 15px;
    }

    .team .flag {
        font-size: 1.5rem;
    }

    .team .team-name {
        font-size: 1.2rem;
    }

    .vs-badge {
        font-size: 2rem;
    }

    .narrative-text {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 25px;
    }

    .bet-options-row {
        flex-direction: column;
        gap: 15px;
    }

    .bet-option {
        width: 100%;
        height: 80px;
    }

    .pool-banner-content {
        padding: 10px 20px;
        width: 100%;
        justify-content: center;
    }

    .pool-amount {
        font-size: 1.5rem;
    }

    .match-meta-container {
        width: 100%;
        padding: 10px;
    }

    .meta-row {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .cta-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* Reset & Base */
:root {
    --bg-dark: #050510;
    --bg-panel: rgba(13, 15, 30, 0.85);
    --neon-blue: #00f3ff;
    --neon-red: #ff0055;
    --neon-yellow: #ffd700;
    --neon-green: #00ff9d;
    --text-main: #ffffff;
    --text-dim: #8899a6;
    /* Added fallback fonts: Microsoft YaHei for Chinese support */
    --font-head: 'Orbitron', 'Microsoft YaHei', 'SimHei', sans-serif;
    --font-body: 'Rajdhani', 'Microsoft YaHei', 'Arial', sans-serif;
    --border-glow: 0 0 10px rgba(0, 243, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Background Effects */
#star-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
}

@keyframes twinkle {
    0% { opacity: 0.1; transform: scale(0.8); }
    50% { opacity: 0.7; transform: scale(1.1); box-shadow: 0 0 6px rgba(255, 255, 255, 0.6); }
    100% { opacity: 0.1; transform: scale(0.8); }
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 30%, rgba(20, 30, 60, 0.4) 0%, transparent 70%),
        linear-gradient(to bottom, #020205 0%, #0a0c1f 100%);
    z-index: -2;
}

.fire-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(255, 69, 0, 0.1), transparent);
    z-index: -1;
    pointer-events: none;
}

/* App Container */
.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Main Stage */
.main-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    position: relative;
    /* Overlay gradient + Background Image */
    background: 
        linear-gradient(to bottom, rgba(5, 10, 20, 0.7) 0%, rgba(5, 10, 20, 0.3) 40%, rgba(5, 10, 20, 0.85) 100%),
        url('Materials/bak.webp') no-repeat center top;
    background-size: cover, cover;
}

/* Sidebar */
.sidebar-dashboard {
    width: 320px;
    background: rgba(8, 10, 20, 0.95);
    border-left: 1px solid rgba(0, 243, 255, 0.3);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(15px);
}

/* Header */
.top-banner {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.05), transparent);
}

.top-banner h1 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-blue);
    margin-bottom: 10px;
}

.match-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 1.5rem;
    font-weight: 700;
}

.narrative-text {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 35px;
}

.narrative-badge {
    background: transparent;
    border: none;
    padding: 5px 10px;
    color: var(--text-dim);
    font-family: var(--font-head);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    transition: color 0.3s;
}

.narrative-badge i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

/* Holographic Underline Effect */
.narrative-badge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px currentColor;
}

.narrative-badge:hover {
    color: #fff;
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px);
}

.narrative-badge:hover i {
    transform: scale(1.2) rotate(5deg);
}

.narrative-badge:hover::after {
    width: 100%;
}

/* Individual Neon Colors */
.narrative-badge:nth-child(1) i { color: var(--neon-red); filter: drop-shadow(0 0 5px var(--neon-red)); }
.narrative-badge:nth-child(1)::after { background: var(--neon-red); }

.narrative-badge:nth-child(2) i { color: var(--neon-yellow); filter: drop-shadow(0 0 5px var(--neon-yellow)); }
.narrative-badge:nth-child(2)::after { background: var(--neon-yellow); }

.narrative-badge:nth-child(3) i { color: var(--neon-green); filter: drop-shadow(0 0 5px var(--neon-green)); }
.narrative-badge:nth-child(3)::after { background: var(--neon-green); }

.team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flag {
    font-size: 2rem;
}

.vs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.vs-badge {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    color: var(--neon-yellow);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.btn-live {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.btn-live:hover {
    background: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    transform: scale(1.05);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Betting Arena Layout */
.betting-arena {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    padding: 0 20px;
    margin-top: 150px; /* Added spacing for top background */
}

/* Horizontal Betting Options */
.bet-options-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 10px;
}

.bet-option {
    position: relative;
    flex: 1;
    max-width: 280px;
    height: 90px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s;
}

.bet-option:active {
    transform: scale(0.98);
}

.option-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* HUD Style Shape */
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    background: rgba(10, 15, 30, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    backdrop-filter: blur(5px);
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.5), /* Inner shadow for depth */
        0 5px 15px rgba(0,0,0,0.3); /* Drop shadow */
}

.bet-option:hover .option-bg {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        inset 0 0 20px rgba(255,255,255,0.1),
        0 10px 25px rgba(0,0,0,0.5);
}

.option-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    gap: 5px;
}

.opt-main {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.opt-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.3);
    padding: 2px 10px;
    border-radius: 10px;
}

/* Option Specific Colors */
.option-cn .option-bg {
    border-color: #ff3333;
    background: linear-gradient(135deg, rgba(100, 0, 0, 0.8), rgba(40, 0, 0, 0.95));
    box-shadow: 
        inset 0 0 30px rgba(255, 0, 0, 0.3),
        0 0 10px rgba(255, 51, 51, 0.2);
}
.option-cn:hover .option-bg {
    border-color: #ff6666;
    background: linear-gradient(135deg, rgba(160, 0, 0, 0.9), rgba(80, 0, 0, 0.95));
    box-shadow: 
        inset 0 0 40px rgba(255, 50, 50, 0.5),
        0 0 25px rgba(255, 51, 51, 0.6);
}

.option-draw .option-bg {
    border-color: #3388ff;
    background: linear-gradient(135deg, rgba(0, 50, 100, 0.8), rgba(0, 20, 50, 0.95));
    box-shadow: 
        inset 0 0 30px rgba(0, 100, 255, 0.3),
        0 0 10px rgba(51, 136, 255, 0.2);
}
.option-draw:hover .option-bg {
    border-color: #66aaff;
    background: linear-gradient(135deg, rgba(0, 80, 160, 0.9), rgba(0, 40, 80, 0.95));
    box-shadow: 
        inset 0 0 40px rgba(50, 150, 255, 0.5),
        0 0 25px rgba(51, 136, 255, 0.6);
}

.option-jp .option-bg {
    border-color: #ff3333; 
    background: linear-gradient(135deg, rgba(100, 0, 0, 0.8), rgba(40, 0, 0, 0.95));
    box-shadow: 
        inset 0 0 30px rgba(255, 0, 0, 0.3),
        0 0 10px rgba(255, 51, 51, 0.2);
}
.option-jp:hover .option-bg {
    border-color: #ff6666;
    background: linear-gradient(135deg, rgba(160, 0, 0, 0.9), rgba(80, 0, 0, 0.95));
    box-shadow: 
        inset 0 0 40px rgba(255, 50, 50, 0.5),
        0 0 25px rgba(255, 51, 51, 0.6);
}

/* Pool Banner */
.pool-banner-container {
    text-align: center;
    position: relative;
    padding: 10px 0;
}

.pool-banner-content {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.6); /* Darker background */
    padding: 10px 50px;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(4px);
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.pool-label {
    font-size: 1.2rem;
    color: #ddd;
    text-transform: uppercase;
}

.pool-amount {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--neon-yellow);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    transition: color 0.2s, text-shadow 0.2s, transform 0.2s;
}

.pool-flash {
    color: #fff;
    text-shadow: 0 0 20px #fff, 0 0 40px var(--neon-yellow);
    transform: scale(1.1);
}

.gold-icon {
    color: var(--neon-yellow);
    font-size: 1.5rem;
}

/* Meta Info */
.match-meta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 8px;
    backdrop-filter: blur(3px);
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-timer {
    color: var(--neon-yellow);
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
}

.sub-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

.status-dots {
    display: flex;
    gap: 5px;
}

.dot {
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
    transform: rotate(45deg); /* Diamond shape */
}

.dot.active {
    background: var(--neon-blue);
    box-shadow: 0 0 5px var(--neon-blue);
}

/* Adjustments for Mobile */
@media (max-width: 768px) {
    .bet-options-row {
        flex-direction: column;
        align-items: center;
    }
    
    .bet-option {
        width: 100%;
        max-width: none;
        height: 80px;
    }

    .pool-banner-content {
        flex-direction: column;
        gap: 5px;
        padding: 10px 20px;
    }
    
    .pool-amount {
        font-size: 1.8rem;
    }
}

/* CTA Footer */
.cta-area {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-content {
    display: inline-block;
    padding: 10px 40px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 85, 0.2), transparent);
    border-top: 1px solid var(--neon-red);
    border-bottom: 1px solid var(--neon-red);
}

.cta-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin: 0 15px;
    text-shadow: 0 0 5px var(--neon-red);
}

.legal-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-dim);
    transition: 0.3s;
}

.social-icon:hover {
    color: var(--neon-blue);
    transform: scale(1.1);
    text-shadow: 0 0 10px var(--neon-blue);
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-dim);
    opacity: 0.7;
    max-width: 600px;
    line-height: 1.4;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(13, 15, 30, 0.95);
    border: 1px solid var(--neon-blue);
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px;
    width: 20px; height: 20px;
    border-top: 2px solid var(--neon-blue);
    border-left: 2px solid var(--neon-blue);
}

.modal-content::after {
    content: '';
    position: absolute;
    bottom: -2px; right: -2px;
    width: 20px; height: 20px;
    border-bottom: 2px solid var(--neon-blue);
    border-right: 2px solid var(--neon-blue);
}

.modal-title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    color: var(--neon-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.modal-body {
    color: var(--text-dim);
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.btn-modal {
    padding: 8px 20px;
    border: 1px solid var(--text-dim);
    background: transparent;
    color: var(--text-dim);
    cursor: pointer;
    font-family: var(--font-head);
    transition: all 0.2s;
}

.btn-modal:hover {
    color: #fff;
    border-color: #fff;
}

.btn-modal.btn-confirm {
    border-color: var(--neon-red);
    color: var(--neon-red);
    background: rgba(255, 0, 85, 0.1);
}

.btn-modal.btn-confirm:hover {
    background: rgba(255, 0, 85, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.btn-wallet {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #1a237e, #0d47a1);
    border: 1px solid #2962ff;
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-wallet:hover {
    background: linear-gradient(45deg, #283593, #1565c0);
    box-shadow: 0 0 15px rgba(41, 98, 255, 0.5);
}

.balance-display {
    margin-top: 15px;
    padding: 12px 15px;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.balance-row {
    display: flex;
    flex-direction: column;
}

.token-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.token-value {
    font-size: 1.2rem;
    color: var(--neon-green);
    font-weight: 700;
    font-family: var(--font-head);
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 255, 157, 0.3);
}

.token-symbol {
    font-size: 0.9rem;
    color: var(--neon-blue);
    font-weight: 600;
    background: rgba(0, 243, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.hud-border {
    border: 1px solid rgba(0, 243, 255, 0.2);
    background: rgba(0, 243, 255, 0.02);
    padding: 15px;
    position: relative;
}

.hud-border::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--neon-blue);
    border-right: 2px solid var(--neon-blue);
}

.panel-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--neon-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    padding-bottom: 10px;
}

/* Ratio Chart */
.ratio-chart {
    margin-top: 10px;
}

.ratio-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.progress-track {
    height: 12px;
    background: #1a1a2e;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-red) 0%, #ff5e62 100%);
    position: relative;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

.glow-tip {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: #fff;
    box-shadow: 0 0 5px #fff;
}

.ratio-values {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-family: var(--font-head);
    font-weight: 700;
}

.cn-val { color: var(--neon-red); }
.jp-val { color: var(--neon-blue); }

/* Live Feed Animation */
.feed-item-new {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Data Grid */
.data-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.data-item .label {
    font-size: 0.9rem;
    color: var(--text-dim);
    white-space: nowrap;
}

.data-item .mono {
    font-family: 'Courier New', monospace;
    color: var(--neon-green);
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
    word-break: break-all; /* Ensure long numbers wrap if absolutely necessary */
    max-width: 60%; /* Limit width to prevent label squishing */
}

/* Rules Button */
.btn-rules {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px dashed rgba(0, 243, 255, 0.3);
    color: var(--text-dim);
    font-family: var(--font-head);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-rules:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.05);
}

/* Rules Modal Content */
.rules-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rule-step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-num {
    background: var(--neon-blue);
    color: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-text strong {
    color: #fff;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.step-text p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.rule-note {
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid var(--neon-yellow);
    padding: 10px;
    font-size: 0.85rem;
    color: #ddd;
    margin-top: 10px;
}

/* Live Feed */
.flex-grow { flex: 1; display: flex; flex-direction: column; }
.live-feed-container {
    flex: 1;
    overflow-y: auto;
    max-height: 300px;
}

/* Scrollbar */
.live-feed-container::-webkit-scrollbar { width: 4px; }
.live-feed-container::-webkit-scrollbar-thumb { background: var(--neon-blue); }
.live-feed-container::-webkit-scrollbar-track { background: #000; }

.feed-list {
    list-style: none;
}

.feed-list li {
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
}

.feed-list li .addr { color: var(--neon-blue); }
.feed-list li .amt { color: #fff; font-weight: bold; }
.feed-list li .team-choice { font-weight: bold; }
.feed-list li .team-cn { color: var(--neon-red); }
/* Mobile Adaptation */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
    }

    .app-container {
        flex-direction: column;
        height: auto;
        width: 100%;
        overflow-x: hidden;
    }

    .main-stage {
        padding: 15px 15px;
        flex: none;
        background-position: center top;
        /* Ensure background size is cover on mobile too */
        background-size: cover, cover;
    }

    .top-banner h1 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .match-info {
        gap: 20px;
        font-size: 1.2rem;
    }

    .flag {
        font-size: 1.5rem;
    }

    .narrative-text {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
        font-size: 1rem;
    }

    /* Refactored Mobile Styles */
    .betting-arena {
        padding: 0;
        gap: 15px;
        margin-top: 20px; /* Reduce top margin on mobile */
    }

    .bet-options-row {
        flex-direction: column;
        gap: 15px;
    }

    .bet-option {
        width: 100%;
        max-width: none;
        height: 70px; /* Compact height for mobile */
    }

    .opt-main {
        font-size: 1.2rem;
    }

    .pool-banner-content {
        width: 100%;
        padding: 10px;
        flex-direction: column;
        gap: 5px;
    }

    .pool-label { font-size: 1rem; }
    .pool-amount { font-size: 1.8rem; }

    .match-meta-container {
        gap: 5px;
    }
    
    .highlight-timer {
        font-size: 1.2rem;
    }

    .sub-info {
        font-size: 0.8rem;
    }

    .sidebar-dashboard {
        width: 100%;
        height: auto;
        border-left: none;
        border-top: 1px solid rgba(0, 243, 255, 0.3);
        padding: 20px 15px;
    }

    .cta-area {
        padding: 10px;
    }

    .cta-content {
        padding: 8px 15px;
        width: 100%;
    }

    .cta-text {
        font-size: 0.9rem;
        display: block;
        margin: 5px 0;
    }

    .live-feed-container {
        max-height: 250px;
    }
}