/* Base Theme Variables */
:root {
    --primary: #137fec;
    --primary-glow: rgba(19, 127, 236, 0.3);
    --bg-light: #f6f7f8;
    --bg-dark: #0B0E11;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
}

/* Variation 1: Neon Purple/Gold */
.theme-alt-1 {
    --primary: #a855f7;
    --primary-glow: rgba(168, 85, 247, 0.3);
    --bg-light: #faf5ff;
    --bg-dark: #120518;
    --text-primary: #f3e8ff;
    --text-secondary: #d8b4fe;
    --card-border: rgba(168, 85, 247, 0.2);
}

/* Variation 2: Aggressive Red/Dark Grey */
.theme-alt-2 {
    --primary: #ef4444;
    --primary-glow: rgba(239, 68, 68, 0.3);
    --bg-light: #fef2f2;
    --bg-dark: #171717;
    --text-primary: #fee2e2;
    --text-secondary: #fca5a5;
    --card-border: rgba(239, 68, 68, 0.2);
}

/* Global Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Utilities */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Helper layout classes */
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col-gap { display: flex; flex-direction: column; gap: 0.5rem; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-secondary); }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.padding-bottom { padding-bottom: 2.5rem; }
.padding-bottom-large { padding-bottom: 8rem; }

/* 
===========================================
  1. Header Styles  
===========================================
*/
.top-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem; background-color: rgba(11, 14, 17, 0.8);
    backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 50;
}
.header-icon {
    display: flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem; color: var(--primary); cursor: pointer; border-radius: var(--radius-full);
}
.header-title-container { display: flex; flex-direction: column; align-items: center; }
.header-title-main { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.header-title-sub { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }
.user-btn {
    display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem;
    border-radius: var(--radius-full); background-color: rgba(19, 127, 236, 0.1);
    color: var(--primary); border: 1px solid rgba(19, 127, 236, 0.2); cursor: pointer;
}

.simple-header {
    display: flex; align-items: center; padding: 1.5rem 1rem;
    background-color: rgba(11, 14, 17, 0.8); backdrop-filter: blur(12px);
    position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--card-border);
}
.simple-header.transparent-header {
    background-color: rgba(11, 14, 17, 0.3); border-bottom: none;
}
.back-btn {
    display: flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem; border-radius: var(--radius-full);
    transition: background-color 0.2s; cursor: pointer;
}
.back-btn:hover { background-color: rgba(255, 255, 255, 0.1); }
.simple-title {
    flex: 1; text-align: center; font-size: 1.125rem; font-weight: 700;
    letter-spacing: 0.05em; padding-right: 2.5rem;
}

/* 
===========================================
  2. Language Selection (index.html)
===========================================
*/
.lang-selection-body {
    max-width: 28rem; margin: 0 auto;
}
.lang-header {
    display: flex; flex-direction: column; align-items: center;
    margin-bottom: 2.5rem; margin-top: 1rem; padding: 0 1.5rem;
}
.lang-header-top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 2rem; }
.icon-btn-glass {
    display: flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem; border-radius: var(--radius-full);
    background: var(--card-bg); border: 1px solid var(--card-border);
    backdrop-filter: blur(12px); color: var(--text-secondary); cursor: pointer;
}
.lang-title-main { color: var(--primary); font-weight: 700; letter-spacing: -0.05em; font-size: 1.5rem; }
.lang-title-main span { color: var(--text-primary); }
.premium-badge {
    display: inline-block; padding: 0.375rem 1rem; border-radius: var(--radius-full);
    background-color: rgba(19, 127, 236, 0.1); border: 1px solid rgba(19, 127, 236, 0.2); margin-bottom: 0.5rem;
}
.premium-badge span { color: var(--primary); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.lang-main { flex: 1; padding: 0 1.5rem; }
.lang-form { display: flex; flex-direction: column; gap: 1rem; }
.lang-option { cursor: pointer; display: block; position: relative; }
.lang-option input { display: none; }
.lang-card {
    background: var(--card-bg); backdrop-filter: blur(12px); border: 1px solid var(--card-border);
    border-radius: var(--radius-xl); padding: 1.25rem; display: flex; align-items: center; gap: 1rem;
    transition: all 0.3s ease;
}
.lang-option input:checked + .lang-card {
    border-color: rgba(19, 127, 236, 0.5); background-color: rgba(19, 127, 236, 0.05);
}
.lang-flag { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.05); flex-shrink: 0; }
.lang-flag img { width: 100%; height: 100%; object-fit: cover; }
.lang-info { display: flex; flex-direction: column; flex: 1; }
.lang-name { color: white; font-weight: 600; font-size: 1rem; }
.lang-sub { color: var(--text-secondary); font-size: 0.75rem; }
.lang-radio-ui {
    width: 1.5rem; height: 1.5rem; border-radius: var(--radius-full);
    border: 2px solid #334155; display: flex; align-items: center; justify-content: center;
}
.lang-option input:checked + .lang-card .lang-radio-ui { border-color: var(--primary); }
.lang-radio-dot {
    width: 0.75rem; height: 0.75rem; border-radius: var(--radius-full);
    background-color: var(--primary); transform: scale(0); transition: transform 0.2s;
}
.lang-option input:checked + .lang-card .lang-radio-dot { transform: scale(1); }

.lang-footer { padding: 1.5rem; margin-top: 3rem; }
.primary-btn-glow {
    width: 100%; background-color: var(--primary); color: white; font-weight: 700;
    font-size: 1.125rem; padding: 1.25rem; border-radius: var(--radius-xl);
    border: none; box-shadow: 0 0 20px rgba(19, 127, 236, 0.4);
    display: flex; align-items: center; justify-content: center; gap: 0.75rem; cursor: pointer;
    transition: transform 0.2s;
}
.primary-btn-glow:active { transform: scale(0.98); }

/* 
===========================================
  3. Shared Global Components 
===========================================
*/
.main-content { flex: 1; padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: 1.5rem; }
.page-title-group { display: flex; flex-direction: column; gap: 0.25rem; }
.page-title { font-size: 1.875rem; font-weight: 700; line-height: 1.2; }
.page-subtitle { font-size: 0.875rem; color: var(--text-secondary); }

/* Animations & Accents */
.pulse-anim { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.accent-icon-wrap {
    width: 3.5rem; height: 3.5rem; border-radius: var(--radius-full);
    background-color: var(--primary); display: flex; align-items: center; justify-content: center; color: white;
}
.accent-icon-wrap.glow { box-shadow: 0 0 20px var(--primary-glow); }
.accent-icon-wrap.small-icon { width: 2.5rem; height: 2.5rem; }

/* Universe Selection (main_menu.html) & Background Cards */
.universe-card, .sport-banner {
    position: relative; cursor: pointer; overflow: hidden; border-radius: var(--radius-xl);
    height: 280px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); transition: transform 0.2s;
    border: 1px solid var(--card-border);
}
.sport-banner { aspect-ratio: 4/5; height: auto; }
.universe-card:active, .sport-banner:active { transform: scale(0.95); }
.universe-bg, .sport-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.7s; }
.universe-card:hover .universe-bg, .sport-banner:hover .sport-banner-bg { transform: scale(1.1); }
.banner-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 14, 17, 0) 0%, var(--bg-dark) 100%); }

.card-content-wrapper { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
.glass-card {
    background: var(--card-bg); backdrop-filter: blur(12px); border: 1px solid var(--card-border);
    border-radius: var(--radius-xl); padding: 1.5rem; display: flex; align-items: center; justify-content: space-between;
}
.glass-card-hover {
    margin: 1rem; padding: 1.5rem; border-radius: var(--radius-xl); border: 1px solid var(--card-border);
    background: rgba(0,0,0,0.4); backdrop-filter: blur(20px); transition: all 0.3s;
    position: relative; z-index: 10; margin-top: auto;
}
.sport-banner:hover .glass-card-hover { background: rgba(19, 127, 236, 0.1); border-color: rgba(19, 127, 236, 0.3); }

.card-title { color: white; font-size: 2.25rem; font-weight: 700; text-transform: uppercase; font-style: italic; margin-bottom: 0.25rem; }
.card-subtitle { color: var(--text-secondary); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.5rem; }
.pulse-dot { width: 0.5rem; height: 0.5rem; border-radius: var(--radius-full); }
.pulse-green { background-color: #22c55e; animation: pulse 2s infinite; }
.pulse-primary { background-color: var(--primary); animation: pulse 2s infinite; }

.sport-desc { color: #cbd5e1; font-size: 0.875rem; font-weight: 500; line-height: 1.5; max-width: 280px; }
.sport-action { margin-top: 1rem; display: flex; align-items: center; gap: 0.5rem; color: var(--primary); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.sport-action .material-symbols-outlined { font-size: 0.875rem; }

/* 
===========================================
  4. Sports Match Lists & Filters
===========================================
*/
.logo-text { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.05em; }

.tab-bar {
    position: sticky; top: 73px; z-index: 40; background-color: rgba(11, 14, 17, 0.9);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--card-border);
    overflow-x: auto;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-list { display: flex; gap: 2rem; padding: 0 1rem; min-width: max-content; }
.tab-item {
    padding: 1rem 0; color: var(--text-secondary); text-decoration: none; font-size: 0.875rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.2s;
}
.tab-item:hover { color: white; }
.tab-item.active {
    color: var(--primary); border-bottom: 2px solid var(--primary); box-shadow: 0 4px 12px -2px rgba(19, 127, 236, 0.6);
}

.league-section { background: transparent; }
.league-badge {
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
    background-color: rgba(19, 127, 236, 0.1); width: fit-content; padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md); border: 1px solid rgba(19, 127, 236, 0.2);
}
.league-badge h2 { color: var(--primary); font-size: 0.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; }
.league-badge .material-symbols-outlined { color: var(--primary); font-size: 1.125rem; }

.match-card {
    background: rgba(22, 32, 41, 0.7); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl); padding: 1rem; margin-bottom: 1rem;
}
.match-card.glow-accent { box-shadow: 0 0 15px rgba(19, 127, 236, 0.2); }
.match-teams { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.team { display: flex; flex-direction: column; gap: 0.5rem; width: 33.333%; align-items: center; }
.team-logo-wrap {
    width: 3.5rem; height: 3.5rem; border-radius: var(--radius-full); background: rgba(255,255,255,0.05);
    padding: 0.5rem; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.1);
}
.team-logo-wrap img { width: 2.5rem; height: 2.5rem; object-fit: contain; }
.team-name { font-size: 0.75rem; font-weight: 700; text-align: center; line-height: 1.2; }

.match-score { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 33.333%; }
.live-badge {
    background-color: #ef4444; color: white; font-size: 0.625rem; font-weight: 900;
    padding: 0.125rem 0.5rem; border-radius: var(--radius-full); margin-bottom: 0.5rem;
    display: flex; align-items: center; gap: 0.25rem;
}
.live-badge .dot { display: block; width: 0.25rem; height: 0.25rem; background-color: white; border-radius: var(--radius-full); }
.upcoming-badge {
    background-color: rgba(51, 65, 85, 0.5); color: #cbd5e1; font-size: 0.625rem; font-weight: 900;
    padding: 0.125rem 0.5rem; border-radius: var(--radius-full); margin-bottom: 0.5rem;
}
.score { font-size: 1.875rem; font-weight: 900; letter-spacing: -0.05em; color: white; }
.match-time { font-size: 0.625rem; color: var(--text-secondary); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }

.primary-btn-glossy {
    width: 100%; height: 3rem; background: linear-gradient(180deg, #1d8cf8 0%, #137fec 100%);
    box-shadow: 0 4px 15px rgba(19, 127, 236, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    border: none; border-radius: var(--radius-xl); cursor: pointer; color: white; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.875rem;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: transform 0.2s;
}
.primary-btn-glossy:active { transform: scale(0.98); }

/* 
===========================================
  5. Match Analytics specific classes
===========================================
*/
.analytics-body { background-color: #0a0f14; }
.match-header-hero { display: flex; flex-direction: column; align-items: center; padding-top: 0.5rem; }
.match-teams-large { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 20rem; gap: 1rem; }
.team-large { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.logo-box-large {
    width: 5rem; height: 5rem; border-radius: 1rem; background: linear-gradient(to bottom right, #151e27, #1e293b);
    padding: 0.75rem; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #334155; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.logo-box-large img { width: 100%; height: 100%; object-fit: contain; }
.team-large span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); }

.score-center-large { display: flex; flex-direction: column; align-items: center; }
.live-badge-outline { padding: 0.25rem 0.75rem; background-color: rgba(19, 127, 236, 0.2); border-radius: var(--radius-full); border: 1px solid rgba(19, 127, 236, 0.3); color: var(--primary); font-size: 0.625rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; }
.score-large { font-size: 1.875rem; font-weight: 900; color: white; font-style: italic; letter-spacing: -0.05em; }

.match-venue-info { text-align: center; margin-top: 1rem; }
.league-name { font-size: 0.875rem; font-weight: 500; color: #cbd5e1; }
.venue-name { font-size: 0.625rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.25rem; }

.ai-signal-wrapper { position: relative; margin-top: 1.5rem; }
.neon-glow-bg {
    position: absolute; inset: -0.125rem; background: linear-gradient(to right, var(--primary), #00f2ff);
    border-radius: 1rem; filter: blur(8px); opacity: 0.2;
}
.glass-panel {
    position: relative; background: rgba(25, 38, 51, 0.6); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1rem; padding: 1.25rem; overflow: hidden;
}
.signal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem;}
.signal-title-area { display: flex; flex-direction: column; gap: 0.25rem; }
.ai-badge { display: flex; align-items: center; gap: 0.5rem; font-size: 0.625rem; font-weight: 700; color: #00f2ff; text-transform: uppercase; letter-spacing: 0.1em; }
.dot-neon { width: 0.5rem; height: 0.5rem; background-color: #00f2ff; border-radius: var(--radius-full); }
.signal-prediction { font-size: 1.25rem; font-weight: 700; color: white; }

.circular-progress { position: relative; display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; }
.progress-ring { position: absolute; inset: 0; border-radius: var(--radius-full); background: conic-gradient(from 0deg, var(--primary) 0%, #00f2ff 85%, #1e293b 85%); }
.progress-inner { position: absolute; inset: 0.25rem; background-color: #151e27; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; }
.progress-inner .pct { font-size: 0.75rem; font-weight: 700; color: white; }

.strategy-box { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; background: rgba(255,255,255,0.05); border-radius: var(--radius-xl); border: 1px solid rgba(255,255,255,0.1); }
.strategy-box p { font-size: 0.75rem; color: #cbd5e1; line-height: 1.5; }
.strategy-box strong { color: white; }

.stats-overview, .tactics-overview { margin-top: 1.5rem; }
.section-heading { font-size: 0.75rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.1em; margin-left: 0.25rem; margin-bottom: 0.5rem; }
.dark-panel { background-color: #151e27; border-radius: 1rem; padding: 1.25rem; border: 1px solid rgba(51, 65, 85, 0.5); }
.stat-row { margin-bottom: 1.25rem; }
.stat-labels { display: flex; justify-content: space-between; font-size: 0.625rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: -0.05em; margin-bottom: 0.5rem; }
.stat-bar-container { height: 0.375rem; width: 100%; background-color: #1e293b; border-radius: var(--radius-full); overflow: hidden; display: flex; }
.stat-bar { height: 100%; }
.bg-primary { background-color: var(--primary); }
.bg-slate { background-color: #475569; }

.momentum-graph { padding-top: 0.5rem; width: 100%; height: 6rem; background: linear-gradient(to top, rgba(19, 127, 236, 0.05), transparent); border-radius: 0.5rem; border-bottom: 1px solid rgba(19, 127, 236, 0.2); display: flex; align-items: flex-end; justify-content: space-between; padding-left: 0.25rem; padding-right: 0.25rem; }
.momentum-graph .bar { width: 0.375rem; background-color: var(--primary); border-top-left-radius: 0.125rem; border-top-right-radius: 0.125rem; }
.momentum-graph .bar.glow { box-shadow: 0 0 10px rgba(19, 127, 236, 0.5); }
.momentum-graph .bar.opp { background-color: #334155; }

.tactics-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.tactic-card { padding: 1rem; background: rgba(21, 30, 39, 0.5); border: 1px solid #1e293b; border-radius: 0.75rem; }
.tactic-title { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.tactic-title h4 { font-size: 0.875rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: -0.025em; }
.tactic-card p { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.5; }

.sticky-footer-action {
    position: fixed; bottom: 0; left: 0; right: 0; padding: 1rem; padding-bottom: 2rem;
    background: linear-gradient(to top, #0a0f14, #0a0f14, transparent);
}
.mega-btn {
    width: 100%; height: 4rem; background: linear-gradient(to bottom, var(--primary), #0e5db3);
    border-radius: 1rem; display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem;
    box-shadow: 0 10px 30px rgba(19, 127, 236, 0.3); border: none; border-top: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer; transition: transform 0.2s;
}
.mega-btn:active { transform: scale(0.95); }
.mega-text-left { display: flex; flex-direction: column; align-items: flex-start; }
.mega-text-left .conf { font-size: 0.625rem; font-weight: 700; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.1em; }
.mega-text-left .action { font-size: 1.125rem; font-weight: 900; color: white; font-style: italic; }
.mega-metric-right { display: flex; align-items: center; gap: 0.5rem; }
.mega-metric-right .divider { height: 2rem; width: 1px; background-color: rgba(255,255,255,0.2); margin: 0 0.5rem; }
.mega-metric-right .odds { font-size: 1.5rem; font-weight: 900; color: white; letter-spacing: -0.05em; }
.mega-metric-right .material-symbols-outlined { color: white; }

/* 
===========================================
  6. Original Screens (Games Flow)  
===========================================
*/
/* Win Rate Stats */
.stats-card { background: var(--card-bg); backdrop-filter: blur(12px); border: 1px solid var(--card-border); border-radius: var(--radius-xl); padding: 1rem; display: flex; align-items: center; gap: 1rem; }
.stats-icon { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-md); background-color: rgba(19, 127, 236, 0.2); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.stats-info { flex: 1; }
.stats-title { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.stats-bar-bg { width: 100%; background-color: #1e293b; height: 0.375rem; border-radius: var(--radius-full); margin-top: 0.5rem; overflow: hidden; }
.stats-bar-fill { background-color: var(--primary); height: 100%; width: 94%; }
.stats-value { font-size: 1.125rem; font-weight: 700; color: var(--primary); }

/* =============================================
   Game Grid — Premium Glassmorphism
   ============================================= */

/* Choose Game page body */
.choose-game-body {
    background: #060a0f;
    position: relative;
    overflow-x: hidden;
}

/* Ambient background orbs */
.cg-ambient-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.cg-orb-1 {
    top: -8%;
    right: -12%;
    width: 20rem;
    height: 20rem;
    background: radial-gradient(circle, rgba(19, 127, 236, 0.12) 0%, transparent 70%);
    filter: blur(60px);
}
.cg-orb-2 {
    bottom: 5%;
    left: -15%;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(19, 127, 236, 0.08) 0%, transparent 70%);
    filter: blur(80px);
}
.cg-orb-3 {
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.05) 0%, transparent 70%);
    filter: blur(100px);
}

/* Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    position: relative;
    z-index: 1;
}

/* Card */
.game-card {
    position: relative;
    text-decoration: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
}

.game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 40%,
        rgba(19, 127, 236, 0.15) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.game-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 8px 32px rgba(19, 127, 236, 0.15),
        0 0 0 1px rgba(19, 127, 236, 0.1);
}

.game-card:active {
    transform: scale(0.96);
    box-shadow:
        0 2px 12px rgba(19, 127, 236, 0.2),
        0 0 0 1px rgba(19, 127, 236, 0.15);
}

/* Card inner (glassmorphism surface) */
.game-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1rem;
    overflow: hidden;
}

/* Image wrapper */
.game-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.75rem 0.75rem 0 0;
}

/* Placeholder gradients (visible when img fails to load or behind transparent areas) */
.game-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}
.gp-icon {
    font-size: 3.5rem;
    opacity: 0.25;
    color: white;
    font-variation-settings: 'FILL' 0, 'wght' 300;
}

.gp-mines       { background: linear-gradient(145deg, #0a2540 0%, #0d3b66 40%, #0ea5e9 100%); }
.gp-luckyjet    { background: linear-gradient(145deg, #1a0533 0%, #4a1d8e 40%, #f97316 100%); }
.gp-crash       { background: linear-gradient(145deg, #2d0a0a 0%, #991b1b 40%, #f59e0b 100%); }
.gp-rocketqueen { background: linear-gradient(145deg, #1e063a 0%, #7c3aed 40%, #ec4899 100%); }
.gp-coinflip    { background: linear-gradient(145deg, #1a1500 0%, #92400e 40%, #fbbf24 100%); }
.gp-roulette    { background: linear-gradient(145deg, #022c22 0%, #047857 40%, #34d399 100%); }

/* Actual game image */
.game-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.game-card:hover .game-card-img {
    transform: scale(1.08);
}
.game-card:active .game-card-img {
    transform: scale(1.02);
}

/* Shimmer sweep */
.game-card-shimmer {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.06) 45%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.06) 55%,
        transparent 70%
    );
    background-size: 200% 100%;
    animation: cardShimmer 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes cardShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Bottom gradient over image */
.game-card-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, #060a0f, transparent);
    z-index: 2;
    pointer-events: none;
}

/* Label section */
.game-card-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card-name {
    color: #f1f5f9;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.game-card-badge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #00d4ff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    white-space: nowrap;
}

/* Extras */
footer { padding: 1.5rem; text-align: center; }
.footer-text { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 500; color: var(--text-secondary); }

/* Decorative Background element */
.relative-body { position: relative; }
.bg-decoration { position: fixed; z-index: -10; border-radius: var(--radius-full); pointer-events: none; }
.bg-decoration.top-right { top: 0; right: 0; width: 16rem; height: 16rem; background-color: rgba(19, 127, 236, 0.1); filter: blur(120px); }
.bg-decoration.bottom-left { bottom: 0; left: 0; width: 24rem; height: 24rem; background-color: rgba(19, 127, 236, 0.05); filter: blur(150px); }
.bg-decoration.top-left { top: -10%; left: -10%; width: 40%; height: 40%; background-color: rgba(19, 127, 236, 0.1); filter: blur(120px); }
.bg-decoration.bottom-right { bottom: -10%; right: -10%; width: 40%; height: 40%; background-color: rgba(19, 127, 236, 0.05); filter: blur(120px); }

/* 
===========================================
  7. Game Screen Shared Styles  
===========================================
*/
.game-main { padding: 1rem; }
.game-footer { 
    padding: 1.5rem; 
    background: linear-gradient(to top, var(--bg-dark), var(--bg-dark), transparent);
}
.get-signal-btn {
    font-size: 1.125rem; letter-spacing: 0.15em; padding: 1.25rem;
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.info-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    color: var(--text-secondary); font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 0.15em; font-weight: 500; background: none; border: none; cursor: pointer;
    transition: color 0.2s; padding: 0.5rem;
}
.info-btn:hover { color: white; }
.signal-actions { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.icon-btn {
    color: var(--primary); background: none; border: none; cursor: pointer; 
    transition: opacity 0.2s; display: flex; align-items: center; justify-content: center;
}
.icon-btn:hover { opacity: 0.8; }

/* Neon glows */
.neon-glow-green { box-shadow: 0 0 15px rgba(0, 255, 157, 0.3); }
.neon-glow-blue { box-shadow: 0 0 20px rgba(19, 127, 236, 0.4); }
.neon-glow-red { box-shadow: 0 0 20px rgba(255, 49, 49, 0.4); border: 1px solid rgba(255, 49, 49, 0.5); }
.neon-glow-cyan { box-shadow: 0 0 20px rgba(0, 212, 255, 0.4); border: 1px solid rgba(0, 212, 255, 0.5); }

/* 
===========================================
  7a. MINES Screen Styles  
===========================================
*/
.mines-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem;
    aspect-ratio: 1; width: 100%;
}
.cell {
    border-radius: var(--radius-lg); aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.cell-convex {
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    box-shadow: inset 1px 1px 2px rgba(255,255,255,0.1), 4px 4px 10px rgba(0,0,0,0.4);
}
.cell-active {
    background: rgba(19, 127, 236, 0.2); border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(19, 127, 236, 0.4), inset 0 0 10px rgba(19, 127, 236, 0.2);
    animation: cellPulse 2s ease-in-out infinite;
}
.cell-active .material-symbols-outlined { font-size: 2rem; }
@keyframes cellPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(19, 127, 236, 0.4); }
    50% { box-shadow: 0 0 35px rgba(19, 127, 236, 0.6); }
}
.star-gradient {
    background: radial-gradient(circle, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    font-variation-settings: 'FILL' 1;
}
.mines-controls { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.mines-selector {
    display: flex; align-items: center; gap: 2rem; padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
}
.mines-count-display { display: flex; flex-direction: column; align-items: center; }
.mines-count-text { font-size: 1.5rem; font-weight: 700; color: white; letter-spacing: -0.05em; }
.mines-label { font-size: 0.625rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.15em; }

/* 
===========================================
  7b. AVIAMASTERS Screen Styles  
===========================================
*/
.avia-hero-section { width: 100%; }
.avia-hero-display {
    aspect-ratio: 16/9; width: 100%; border-radius: 1.5rem;
    background: radial-gradient(circle, #001a33 0%, #000000 100%);
    border: 1px solid var(--card-border); display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.avia-plane-icon {
    font-size: 5rem; color: white;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.8));
}
.accuracy-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1.5rem; border-radius: var(--radius-full);
}
.accuracy-dot {
    width: 0.5rem; height: 0.5rem; border-radius: var(--radius-full);
    background-color: #60A5FA; animation: pulse 2s infinite;
    box-shadow: 0 0 8px #60A5FA;
}
.accuracy-text {
    color: #60A5FA; font-size: 0.875rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
}
.avia-combo-grid { display: flex; justify-content: center; gap: 1rem; }
.combo-slot {
    width: 5rem; height: 5rem; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05); backdrop-filter: blur(12px);
    border: 1px solid var(--card-border); border-radius: 1rem; transition: all 0.3s;
}
.combo-slot-active {
    background: rgba(37, 99, 235, 0.2); border: 2px solid #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}
.combo-icon { font-size: 2.5rem; color: #60A5FA; filter: drop-shadow(0 0 8px rgba(96,165,250,0.8)); }
.combo-icon-dim { font-size: 2.5rem; color: rgba(255,255,255,0.4); }

/* 
===========================================
  7c. PENALTY Screen Styles  
===========================================
*/
.penalty-status-row { display: flex; gap: 0.75rem; }
.penalty-status-badge {
    flex: 1; border-radius: var(--radius-xl); padding: 1rem;
    border-left: 4px solid #00ff9d; background: var(--card-bg);
    backdrop-filter: blur(12px); border-top: 1px solid var(--card-border);
    border-right: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border);
}
.penalty-status-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: -0.05em; color: var(--text-secondary); margin-bottom: 0.25rem; }
.penalty-status-value { color: #00ff9d; font-weight: 700; font-size: 0.875rem; }

.penalty-goal-container {
    position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 1rem;
    overflow: hidden; border: 1px solid rgba(19, 127, 236, 0.2);
    background: var(--card-bg); backdrop-filter: blur(12px);
}
.penalty-goal-bg {
    position: absolute; inset: 0; z-index: 0; background-size: cover;
    background-position: center; opacity: 0.4;
}
.penalty-goal-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, var(--bg-dark), transparent, transparent);
    z-index: 1;
}
.penalty-keeper {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center; justify-content: center; opacity: 0.6;
}
.penalty-keeper-shape {
    position: relative; width: 12rem; height: 16rem;
    border: 2px solid rgba(19, 127, 236, 0.2); border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
    box-shadow: 0 0 30px rgba(19, 127, 236, 0.3); overflow: hidden;
}
.penalty-keeper-icon { font-size: 12.5rem; color: rgba(19, 127, 236, 0.3); line-height: 1; }

.penalty-grid {
    position: absolute; inset: 1rem; z-index: 3;
    display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr);
    gap: 0.5rem; border: 2px solid rgba(19, 127, 236, 0.3); border-radius: var(--radius-lg);
    padding: 0.5rem;
    background-size: 30px 30px;
    background-image: linear-gradient(to right, rgba(19, 127, 236, 0.1) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(19, 127, 236, 0.1) 1px, transparent 1px);
}
.penalty-cell {
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 2px;
    transition: all 0.3s;
}
.penalty-cell-active {
    position: relative; border: 2px solid #00ff9d;
    background: rgba(0, 255, 157, 0.3); border-radius: 2px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 20px #00ff9d;
    animation: penaltyPulse 1.5s infinite;
}
@keyframes penaltyPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 157, 0.5); }     
    50% { box-shadow: 0 0 35px rgba(0, 255, 157, 0.8); }     
}
.penalty-ball-icon { color: #00ff9d; font-size: 1.75rem; animation: pulse 2s infinite; }

.penalty-info {
    border-radius: 1rem; padding: 1.25rem;
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.penalty-info-left { display: flex; align-items: center; gap: 1rem; }
.penalty-info-icon {
    width: 3rem; height: 3rem; border-radius: var(--radius-xl);
    background: rgba(19, 127, 236, 0.2); display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.penalty-info-title { font-weight: 700; color: white; }
.penalty-info-sub { font-size: 0.75rem; color: var(--text-secondary); }
.penalty-info-right { text-align: right; }
.penalty-info-label { font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; }
.penalty-info-value { font-size: 1.125rem; font-weight: 700; color: #00ff9d; }

/* 
===========================================
  7d. CHICKEN Screen Styles  
===========================================
*/
.chicken-tabs {
    background: rgba(11, 14, 17, 0.4); border-bottom: 1px solid rgba(19, 127, 236, 0.1);
    padding: 0 1rem;
}
.chicken-tab-list { display: flex; justify-content: space-between; }
.chicken-tab {
    flex: 1; text-align: center; padding: 1rem 0; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-secondary); text-decoration: none; border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.chicken-tab:hover { color: white; }
.chicken-tab.active {
    color: var(--primary); border-bottom-color: var(--primary);
    background: rgba(19, 127, 236, 0.05); backdrop-filter: blur(12px);
    text-shadow: 0 0 10px rgba(19, 127, 236, 0.8), 0 0 20px rgba(19, 127, 236, 0.4);
}

.chicken-radar-container {
    position: relative; width: 18rem; height: 18rem;
    display: flex; align-items: center; justify-content: center;
}
.chicken-radar-outer-ring {
    position: absolute; inset: 0; border: 1px solid rgba(19, 127, 236, 0.2);
    border-radius: var(--radius-full); animation: pulse 2s infinite;
}
.chicken-radar-inner-ring {
    position: absolute; inset: 1rem; border: 4px solid rgba(19, 127, 236, 0.1);
    border-top-color: rgba(19, 127, 236, 0.6); border-left-color: rgba(19, 127, 236, 0.6);
    border-radius: var(--radius-full);
}
.chicken-radar-ring {
    width: 16rem; height: 16rem; border-radius: var(--radius-full);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: inset 0 0 50px rgba(19, 127, 236, 0.1);
    border: 2px solid rgba(19, 127, 236, 0.3); position: relative;
}
.chicken-radar-ring::before {
    content: ''; position: absolute; inset: -0.5rem;
    border: 1px solid rgba(19, 127, 236, 0.1); border-radius: var(--radius-full);
}
.chicken-scanning-text {
    position: absolute; top: 2rem; font-size: 0.625rem;
    color: rgba(19, 127, 236, 0.4); font-family: monospace;
}
.chicken-steps-number {
    font-size: 6.25rem; font-weight: 700; color: var(--primary); line-height: 1;
    text-shadow: 0 0 10px rgba(19, 127, 236, 0.8), 0 0 20px rgba(19, 127, 236, 0.4);
    margin-top: 0.25rem;
}
.chicken-steps-label {
    color: #cbd5e1; font-size: 0.875rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    text-shadow: 0 0 10px rgba(19, 127, 236, 0.8);
}
.chicken-ready-indicator { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.chicken-ready-bar {
    width: 3rem; height: 0.25rem; background: rgba(19, 127, 236, 0.2);
    border-radius: var(--radius-full); overflow: hidden;
}
.chicken-ready-fill {
    width: 75%; height: 100%; background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}
.chicken-ready-text { color: var(--primary); font-size: 0.75rem; font-weight: 700; }

.chicken-hud-left, .chicken-hud-right {
    position: absolute; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 1rem; align-items: center;
}
.chicken-hud-left { left: -2rem; }
.chicken-hud-right { right: -2rem; }
.chicken-hud-line { height: 3rem; width: 1px; background: rgba(19, 127, 236, 0.3); }
.chicken-hud-label { font-size: 0.5rem; color: rgba(19, 127, 236, 0.4); white-space: nowrap; }

.chicken-probability { margin-top: 3rem; text-align: center; }
.chicken-prob-badge {
    display: inline-flex; align-items: center; padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full); border: 1px solid rgba(19, 127, 236, 0.3);
}
.chicken-prob-label { color: var(--text-secondary); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.15em; }
.chicken-prob-value {
    color: var(--primary); font-size: 1.5rem; font-weight: 700; margin-left: 0.5rem;
    text-shadow: 0 0 10px rgba(19, 127, 236, 0.8);
}
.chicken-footer-meta {
    display: flex; justify-content: space-between; align-items: center; padding: 0.25rem 0.5rem;
    margin-top: 1rem; font-size: 0.625rem; color: var(--text-secondary); font-family: monospace;
}
.chicken-online-dot { display: flex; align-items: center; gap: 0.25rem; }
.chicken-dot-green {
    width: 0.375rem; height: 0.375rem; background: #22c55e;
    border-radius: var(--radius-full); animation: pulse 2s infinite;
}

/* 
===========================================
  7e. ROULETTE Screen Styles  
===========================================
*/
.roulette-status-row { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.roulette-pill {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; border-radius: var(--radius-full);
}
.roulette-ring-container {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 16rem; height: 16rem; margin: 2rem 0;
}
.roulette-ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.roulette-ring-bg { stroke: #1e293b; }
.roulette-ring-progress { filter: drop-shadow(0 0 10px rgba(19, 127, 236, 0.8)); transition: stroke-dashoffset 0.5s; }
.roulette-ring-center {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
}
.roulette-pct { font-size: 3rem; font-weight: 700; color: white; letter-spacing: -0.05em; }
.roulette-pct-label { font-size: 0.625rem; color: var(--text-secondary); letter-spacing: 0.2em; font-weight: 500; margin-top: 0.25rem; }

.roulette-bets-section { width: 100%; max-width: 28rem; }
.roulette-bets-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.roulette-divider-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, #334155); }
.roulette-bets-title { font-size: 0.625rem; font-weight: 700; color: var(--text-secondary); letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap; }
.roulette-bets-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.roulette-bet-card {
    position: relative; aspect-ratio: 4/5; border-radius: 1rem; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 1.5rem; background: var(--card-bg); backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
}
.roulette-bet-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.roulette-bet-name { color: white; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.05em; }
.roulette-bet-sub { font-size: 0.625rem; font-weight: 700; margin-top: 0.5rem; }

.roulette-generate-btn {
    width: 100%; height: 4rem; border-radius: var(--radius-xl); border: 1px solid rgba(0, 168, 89, 0.2);
    background: linear-gradient(to right, #00A859, #006436, var(--bg-dark));
    color: white; font-weight: 900; font-size: 1.125rem; letter-spacing: 0.1em;
    text-transform: uppercase; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    box-shadow: 0 0 30px rgba(0, 168, 89, 0.4);
    transition: all 0.2s;
}
.roulette-generate-btn:active { transform: scale(0.98); }

/* 
===========================================
  7f. TOWER Screen Styles  
===========================================
*/
.tower-status-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.375rem 1rem; border-radius: var(--radius-full);
}
.tower-status-dot {
    width: 0.5rem; height: 0.5rem; background: #22c55e;
    border-radius: var(--radius-full); animation: pulse 2s infinite;
    box-shadow: 0 0 8px #22c55e;
}
.tower-status-text {
    font-size: 0.625rem; font-weight: 700; letter-spacing: 0.15em;
    color: #4ade80;
}

.tower-display-container {
    position: relative; flex: 1; border-radius: 1.5rem;
    border: 1px solid var(--card-border); background: rgba(255,255,255,0.05);
    overflow: hidden; padding: 2rem;
    display: flex; align-items: flex-end; justify-content: space-between;
    /* Blueprint grid background */
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}
.tower-stack {
    display: flex; flex-direction: column-reverse; gap: 0.75rem;
    width: 50%; max-width: 140px;
}
.tower-block {
    height: 4rem; width: 100%; border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    transition: all 0.3s;
}
.tower-block-safe {
    background: rgba(245, 158, 11, 0.2); border: 2px solid rgba(251, 191, 36, 0.6);
    box-shadow: inset 0 0 20px rgba(245, 158, 11, 0.4), 0 0 15px rgba(245, 158, 11, 0.2);
}
.tower-block-inner {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.05) 100%);
}
.tower-block-danger {
    background: rgba(239, 68, 68, 0.3); border: 2px solid #ef4444;
    animation: towerPulseRed 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes towerPulseRed {
    0%, 100% { opacity: 1; box-shadow: 0 0 15px rgba(239, 68, 68, 0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 5px rgba(239, 68, 68, 0.2); }
}
.tower-danger-icon { font-size: 2rem; color: #ef4444; }
.tower-block-locked {
    background: rgba(255,255,255,0.05); border: 1px solid var(--card-border);
    opacity: 0.3;
}
.tower-locked-icon { font-size: 1.5rem; color: var(--text-secondary); }

.tower-stats-readout {
    width: 50%; padding-left: 1.5rem;
    display: flex; flex-direction: column; justify-content: center;
    padding-bottom: 4rem;
}
.tower-stats-number { font-size: 2.5rem; font-weight: 900; font-style: italic; line-height: 1; }
.tower-stats-label { font-size: 1.25rem; font-weight: 900; font-style: italic; line-height: 1.2; margin-top: 0.25rem; }
.tower-stats-divider { height: 1px; width: 100%; background: rgba(255,255,255,0.2); margin-top: 1rem; }
.tower-stats-meta { font-size: 0.625rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: -0.05em; margin-top: 0.5rem; }

.tower-hazard-corner {
    position: absolute; top: 0; right: 0; width: 6rem; height: 6rem;
    overflow: hidden; pointer-events: none; opacity: 0.2;
}
.tower-hazard-stripe {
    height: 0.25rem; width: 200%; position: absolute; top: 2rem; left: 0;
    transform: rotate(-45deg);
    background: repeating-linear-gradient(90deg, #facc15, #facc15 10px, #000 10px, #000 20px);
}
.tower-hazard-strip {
    height: 0.375rem; width: 100%; border-radius: var(--radius-full);
    background: repeating-linear-gradient(45deg, #facc15, #facc15 10px, #000 10px, #000 20px);
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.3); margin-bottom: 1rem;
}

.tower-calculate-btn { width: 100%; position: relative; overflow: hidden; cursor: pointer; background: none; border: none; }
.tower-btn-body {
    background: linear-gradient(to right, #2563eb, #60a5fa);
    padding: 1px; border-radius: 2px;
    transition: transform 0.2s;
}
.tower-btn-body:active { transform: scale(0.98); }
.tower-btn-content {
    background: rgba(0,0,0,0.8); backdrop-filter: blur(4px);
    padding: 1.25rem 2rem; border-radius: 2px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.tower-btn-gloss {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
}
.tower-btn-text {
    font-size: 1.25rem; font-weight: 900; font-style: italic;
    letter-spacing: 0.1em; color: white;
}
.tower-corner { position: absolute; width: 0.5rem; height: 0.5rem; }
.tower-corner-tr { top: 0; right: 0; padding: 0.25rem; border-top: 1px solid rgba(96, 165, 250, 0.5); border-right: 1px solid rgba(96, 165, 250, 0.5); }
.tower-corner-bl { bottom: 0; left: 0; padding: 0.25rem; border-bottom: 1px solid rgba(96, 165, 250, 0.5); border-left: 1px solid rgba(96, 165, 250, 0.5); }
