/* MODERN DARK SAAS THEME */
:root {
    --bg-dark: #0f172a;       /* Deep Slate Blue (Modern Dark Mode) */
    --card-bg: #1e293b;       /* Lighter Slate for Cards */
    --text-primary: #f8fafc;  /* Near White */
    --text-secondary: #94a3b8; /* Muted Blue-Grey */
    --accent-gold: #fbbf24;   /* Amber Gold (The Ape/Cage Vibe) */
    --accent-red: #f87171;    /* Soft Red */
    --accent-green: #34d399;  /* Mint Green (Success) */
    --border: #334155;        /* Subtle Border */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* HEADER - Clean & Minimal */
header {
    background-color: rgba(15, 23, 42, 0.95);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.highlight { color: var(--accent-gold); }

.status-box {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-green);
    background: rgba(52, 211, 153, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.dot {
    height: 6px;
    width: 6px;
    background-color: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 1px;
    box-shadow: 0 0 5px var(--accent-green);
}

/* TICKER - Subtle & Professional */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: #020617; /* Darker than body */
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 0;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    animation: ticker 30s infinite linear;
}

@keyframes ticker {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* DASHBOARD LAYOUT */
.container { 
    padding: 40px 20px; 
    max-width: 1100px; 
    margin: 0 auto; 
}

h1 { 
    font-size: 14px; 
    text-transform: uppercase; 
    letter-spacing: 1.5px;
    color: var(--text-secondary); 
    border-bottom: 1px solid var(--border); 
    padding-bottom: 15px; 
    margin-bottom: 30px;
    font-weight: 700;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* PRO CARDS */
.game-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 12px; /* Modern Rounded Corners */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--accent-gold);
}

.matchup { 
    font-size: 18px; 
    font-weight: 700; 
    margin-bottom: 20px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vs { color: var(--text-secondary); font-size: 12px; font-weight: 400; text-transform: uppercase; }

.odds-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 6px;
}

.value { color: var(--text-primary); font-weight: 600; }

/* THE "READOUT" BADGE */
.engine-readout {
    background-color: transparent;
    border-top: 1px solid var(--border);
    padding-top: 15px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status { font-weight: 600; letter-spacing: 0.5px; }

/* BREACH (THE EDGE) STYLING */
.breach {
    border: 1px solid var(--accent-gold);
    background: linear-gradient(145deg, var(--card-bg) 0%, rgba(251, 191, 36, 0.05) 100%);
}

.breach .status { color: var(--accent-gold); }
.breach .cage-value { font-size: 15px; font-weight: 800; color: var(--text-primary); }
.breach .icon { font-size: 18px; }
