/* =========================================
   GLOBAL VARIABLES & BASE STYLES
   ========================================= */
:root {
    --ipl-blue: #001d48;
    --ipl-gold: #efb021;
    --danger: #ef4444;
    --purple: #7c3aed;
    --success: #16a34a;
    --white: #ffffff;
    --bg-gradient: radial-gradient(circle at 50% 0%, #002d6b 0%, #000b1a 100%);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-blur: blur(16px);
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    margin: 0;
    color: var(--white);
    background: var(--bg-gradient);
    min-height: 100vh;
    background-attachment: fixed;
}

.loading { text-align: center; color: #cbd5e1; font-style: italic; padding: 30px 0; }
.container { max-width: 800px; margin: 0 auto; padding: 20px; }

/* =========================================
   BUTTON UTILITY CLASSES
   ========================================= */
.btn-primary, .btn-blue, .btn-outline-gold, .btn-outline-danger {
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ipl-gold), #d99a1c);
    color: var(--ipl-blue);
    border: none;
    font-weight: 800;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(239, 176, 33, 0.3);
}
.btn-primary:hover { 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(239, 176, 33, 0.4);
    filter: brightness(1.1); 
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.btn-blue:hover { transform: translateY(-2px); background: linear-gradient(135deg, #60a5fa, #3b82f6); }

.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--ipl-gold);
    color: var(--ipl-gold);
    font-weight: bold;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
}
.btn-outline-gold:hover { background: rgba(239, 176, 33, 0.1); transform: translateY(-1px); }

.btn-outline-danger {
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
    font-weight: bold;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
}
.btn-outline-danger:hover { background: rgba(239, 68, 68, 0.1); transform: translateY(-1px); }

.btn-back {
    background: none;
    border: none;
    color: var(--ipl-gold);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 5px 0;
    transition: 0.2s;
}
.btn-back:hover { color: white; }

/* =========================================
   GLASSMORPHISM UTILITIES & CARDS
   ========================================= */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    -webkit-backdrop-filter: var(--card-blur);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.utility-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    padding: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.record-card {
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid var(--ipl-gold);
}

.match-card-pro {
    padding: 20px;
    margin-bottom: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.match-card-pro:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mcp-date { font-size: 14px; color: #cbd5e1; margin-bottom: 15px; font-weight: 500; }
.mcp-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mcp-team { font-weight: 800; font-size: 16px; color: #ffffff; text-transform: uppercase; letter-spacing: 0.5px; }
.mcp-score { font-weight: 900; font-size: 18px; color: var(--ipl-gold); }
.mcp-result {
    color: #38bdf8;
    font-size: 14px;
    font-weight: 700;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mcp-actions { display: flex; gap: 10px; margin-top: 12px; }

.creator-box {
    border: 2px dashed rgba(239, 176, 33, 0.5);
    padding: 25px;
    margin-bottom: 30px;
}
.creator-box input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    background: rgba(0,0,0,0.2);
    color: white;
    transition: 0.2s;
}
.creator-box input:focus { outline: none; border-color: var(--ipl-gold); background: rgba(0,0,0,0.4); }

/* =========================================
   LOGIN PAGE
   ========================================= */
body.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}
.login-page .login-box {
    padding: 40px;
    border: 1px solid rgba(239, 176, 33, 0.3);
    width: 100%;
    max-width: 380px;
    text-align: center;
}
.login-page h1 { color: var(--ipl-gold); margin-top: 0; font-weight: 900; letter-spacing: 1px; }
.login-page .input-group { margin-bottom: 20px; text-align: left; }
.login-page .input-group label {
    display: block;
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.login-page .input-group input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 16px;
    box-sizing: border-box;
    background: rgba(0,0,0,0.2);
    color: white;
    font-family: 'Outfit', sans-serif;
}
.login-page .input-group input:focus { outline: none; border-color: var(--ipl-gold); }
.login-page .btn { width: 100%; font-size: 16px; margin-bottom: 12px; }

/* =========================================
   DASHBOARD PAGE
   ========================================= */
body.dashboard-page, body.home-page { padding: 0; }
.dashboard-page .container, .home-page .container { padding: 40px 20px; }
.dashboard-page h1, .home-page h1 { font-weight: 900; letter-spacing: 1px; }
.dashboard-page h2 { font-size: 20px; font-weight: 800; margin: 0; }
.matches-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.ml-auto { margin-left: auto; }

/* Home Page specific styles override */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav h1 { color: var(--ipl-gold); margin: 0; font-weight: 900; }
.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.tourney-card {
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    border: 1px solid rgba(239, 176, 33, 0.3);
    padding: 25px;
    border-radius: 16px;
    transition: 0.2s;
}
.tourney-card:hover { transform: translateY(-5px); border-color: var(--ipl-gold); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.tourney-card h3 { color: var(--ipl-gold); margin-top: 0; font-weight: 800; font-size: 22px; }
.tourney-card p { color: #cbd5e1; margin-bottom: 20px; line-height: 1.5; }

/* =========================================
   SCORER PAGE STYLES (Fully Modernized)
   ========================================= */
body.scorer-page { overflow-y: auto; overflow-x: hidden; min-height: 100vh; padding: 0; margin: 0; }
.scorer-page #mode-selector {
    position: fixed; inset: 0; z-index: 2000;
    background: var(--bg-gradient);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
}
.scorer-page .mode-btn {
    padding: 20px 40px; font-size: 20px; font-weight: 900; border: none; border-radius: 12px;
    cursor: pointer; text-transform: uppercase; letter-spacing: 2px; width: 100%; max-width: 420px;
}

.scorer-page #control-view { display: none; padding: 15px; max-width: 100%; margin: 0 auto; box-sizing: border-box; }
.scorer-page #display-view, .scorer-page #scorecard-view { display: none; flex-direction: column; min-height: 100vh; }

.scorer-page .input-group { margin-bottom: 12px; }
.scorer-page .input-group label { display: block; font-size: 11px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.scorer-page .input-group input,
.scorer-page .input-group select {
    width: 100%; border: 1px solid #cbd5e1; border-radius: 4px; padding: 12px; font-size: 16px;
    font-weight: 600; box-sizing: border-box; background: #ffffff; color: #0f172a; font-family: 'Outfit', sans-serif;
}
.scorer-page .input-group input:focus, .scorer-page .input-group select:focus { outline: none; border-color: var(--ipl-blue); }
.scorer-page .input-group select option { background: #ffffff; color: #0f172a; }

/* --------------------------------------
   NEW AESTHETIC STYLES APPLIED TO OLD HTML
   -------------------------------------- */
.scorer-page .header-bar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.scorer-page .header-bar .btn {
    border-radius: 6px;
}
.scorer-page .config-setter {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px;
    background: white;
}
.scorer-page .config-setter label, .scorer-page .config-setter span {
    color: #94a3b8 !important;
}
.scorer-page .config-setter input[type="number"], .scorer-page .config-setter select {
    border: 1px solid #cbd5e1 !important;
    background: white !important;
    color: black !important;
    outline: none;
}

/* Connect STRIKE button to Batsman inputs */
.scorer-page .input-group input[id^="in-b"] {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.scorer-page .input-group button[onclick^="setStriker"] {
    margin-top: -2px !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-top: none !important;
    box-shadow: none !important;
    padding: 8px !important;
    background: #f1f5f9 !important;
}

/* Style the Bowler select container */
.scorer-page .input-group[style*="background:#e0f2fe"] {
    background: transparent !important;
    border: none !important;
}
.scorer-page .input-group[style*="background:#e0f2fe"] label {
    color: #0284c7 !important;
}
.scorer-page .input-group[style*="background:#e0f2fe"] select {
    border: 2px solid #38bdf8 !important;
}

/* Connect ADD button to Register Bowler input */
#in-new-bowler {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: none !important;
}
button[onclick="addNewBowler()"] {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border: 1px solid var(--success) !important;
    margin-left: -5px; /* overcome the inline gap:5px */
    z-index: 1;
}

.scorer-page .btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: 0.1s;
    border-bottom: 3px solid rgba(0,0,0,0.3);
}
.scorer-page .btn:active { transform: translateY(2px); border-bottom-width: 1px; }

.scorer-page .header-bar {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
    padding: 15px; flex-wrap: wrap; gap: 15px;
}
.scorer-page .config-setter { display: flex; align-items: center; gap: 10px; padding: 8px 15px; }

.scorer-page .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.scorer-page .grid-4 .btn { padding: 25px 10px; font-size: 24px; font-weight: 900; letter-spacing: 1px; transition: transform 0.1s, box-shadow 0.1s; }
.scorer-page .grid-4 .btn:active { transform: scale(0.95); }
.scorer-page .active-bat { 
    border: 3px solid #4ade80 !important; 
    background: rgba(22, 163, 74, 0.3) !important; 
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.8), inset 0 0 10px rgba(74, 222, 128, 0.4) !important; 
    transform: scale(1.02);
    transition: all 0.2s ease-in-out;
    animation: pulse-strike 1.5s infinite alternate ease-in-out;
}
@keyframes pulse-strike {
    0% { box-shadow: 0 0 15px rgba(74, 222, 128, 0.5); transform: scale(1.02); }
    100% { box-shadow: 0 0 35px rgba(74, 222, 128, 1); transform: scale(1.04); }
}

.scorer-page .mini-score-card {
    padding: 15px 20px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center;
    border: 1px solid var(--ipl-gold); background: var(--ipl-blue); border-radius: 8px;
}
.scorer-page .mini-main { font-size: 32px; font-weight: 900; color: var(--ipl-gold); }
.scorer-page .mini-details { font-size: 16px; font-weight: 700; color: #e2e8f0; text-align: right; }

.scorer-page .title-bar {
    padding: 15px 20px; text-align: center; font-size: clamp(20px, 4vw, 36px); font-weight: 900;
    color: var(--ipl-gold); border-bottom: 1px solid rgba(255,255,255,0.1); text-transform: uppercase; letter-spacing: 2px;
}

.scorer-page .main-stage {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: relative; padding: 20px; gap: 20px;
}

.scorer-page .free-hit-label {
    position: absolute; top: 20px; left: 20px; font-size: clamp(14px, 2vw, 24px); font-weight: 900;
    color: white; background: var(--danger); padding: 8px 25px; border-radius: 8px; text-transform: uppercase;
    letter-spacing: 2px; animation: fh-pulse 1s infinite alternate ease-in-out; display: none; z-index: 100;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
}

.scorer-page .team-score-cluster { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.scorer-page .batting-team-label { font-size: clamp(24px, 5vw, 48px); color: var(--ipl-gold); font-weight: 900; text-transform: uppercase; letter-spacing: 8px; text-align: center; }
.scorer-page .main-score { font-size: clamp(80px, 15vw, 180px); font-weight: 900; line-height: 1; margin: 0; text-align: center; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.scorer-page .slash { opacity: 0.3; font-weight: 300; margin: 0 15px; }

.scorer-page .equation-bar {
    font-size: clamp(18px, 3vw, 32px); font-weight: 900; color: #fff; background: rgba(239, 68, 68, 0.8);
    padding: 12px 40px; border-radius: 100px; text-transform: uppercase; box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
    text-align: center; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px);
}
.scorer-page .extras-display {
    font-size: clamp(14px, 2vw, 20px); color: #cbd5e1; font-weight: 700; background: rgba(255,255,255,0.1);
    padding: 8px 25px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.05);
}

.scorer-page .meta-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; margin-top: 10px; }
.scorer-page .overs-box, .scorer-page .target-box {
    font-size: clamp(24px, 4vw, 42px); font-weight: 900; padding: 15px 30px; border-radius: 16px; text-align: center;
}
.scorer-page .overs-box { color: white; border-bottom: 4px solid var(--ipl-gold); }
.scorer-page .target-box { color: var(--ipl-gold); border: 2px solid var(--ipl-gold); }

.scorer-page .bottom-bar {
    display: flex; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.1); padding: 20px; gap: 20px;
}
.scorer-page .col { flex: 1; min-width: 300px; display: flex; flex-direction: column; justify-content: center; }
.scorer-page .player-row {
    display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-radius: 12px; margin: 5px 0;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
}
.scorer-page .active-row { 
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.5), transparent); 
    border-left: 8px solid var(--purple); 
    transform: scale(1.02);
    box-shadow: -10px 0 20px rgba(124, 58, 237, 0.4);
    animation: pulse-row 1.5s infinite alternate ease-in-out;
}
@keyframes pulse-row {
    0% { box-shadow: -10px 0 15px rgba(124, 58, 237, 0.3); }
    100% { box-shadow: -15px 0 30px rgba(124, 58, 237, 0.8); }
}
.scorer-page .name-text { font-size: clamp(16px, 2.5vw, 24px); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.scorer-page .stat-text { font-size: clamp(18px, 2.8vw, 26px); font-weight: 900; color: var(--ipl-gold); }
.scorer-page .over-log { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; justify-content: flex-start; }
.scorer-page .ball-circle {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 800; border: 2px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.3);
}
.scorer-page .wicket-circle { background: var(--danger); border-color: var(--danger); box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }

.scorer-page .sc-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 20px; }
.scorer-page .sc-box { padding: 20px; border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; }
.scorer-page .sc-box h2 { color: var(--ipl-gold); text-transform: uppercase; font-size: 20px; border-bottom: 2px solid var(--ipl-gold); padding-bottom: 10px; margin-top: 0; }
.scorer-page .sc-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.scorer-page .sc-table th { text-align: left; padding: 10px; color: #94a3b8; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.scorer-page .sc-table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); font-weight: 600; }
.scorer-page .sc-table tr.active-sc-row { background: rgba(124, 58, 237, 0.15); }
.scorer-page .sc-total-strip { margin-top: 20px; padding: 15px; border-radius: 12px; border: 1px solid var(--ipl-gold); display: flex; justify-content: space-between; font-size: 20px; font-weight: 900; background: rgba(239, 176, 33, 0.1); }

@media (max-width: 768px) {
    .scorer-page .grid-4 { grid-template-columns: 1fr 1fr; }
    .scorer-page .header-bar { flex-direction: column; align-items: stretch; }
    .scorer-page .config-setter { flex-wrap: wrap; justify-content: space-between; margin-top: 10px; }
    .scorer-page .btn { padding: 16px; font-size: 14px; }
    .scorer-page .bottom-bar { flex-direction: column; padding: 10px; }
    .scorer-page .col { min-width: 100%; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.05); }
    .scorer-page .meta-row { flex-direction: column; gap: 10px; }
}

/* =========================================
   SUMMARY PAGE STYLES
   ========================================= */
body.summary-page { padding: 0; }
.summary-page .container { padding: 40px 20px; max-width: 1000px; }

.summary-header {
    border: 1px solid rgba(239, 176, 33, 0.3);
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 40px;
}
.summary-header h1 { color: var(--ipl-gold); margin: 0 0 15px 0; text-transform: uppercase; font-size: 36px; font-weight: 900; letter-spacing: 2px; }
.summary-header h2 { color: var(--success); margin: 0; font-size: 20px; font-weight: 800; display: flex; justify-content: center; align-items: center; gap: 10px; }

.innings-box {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    overflow-x: auto;
}
.innings-title {
    color: var(--ipl-gold);
    font-size: 28px;
    margin: 0 0 25px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 900;
}
.innings-title span { font-size: 18px; color: #94a3b8; font-weight: 700; background: rgba(0,0,0,0.2); padding: 5px 15px; border-radius: 20px; }
.section-subtitle { color: #ffffff; font-size: 18px; font-weight: 800; text-transform: uppercase; margin: 30px 0 15px 0; letter-spacing: 1px; }

.summary-table { width: 100%; border-collapse: collapse; margin-bottom: 15px; font-size: 16px; min-width: 700px; }
.summary-table th { text-align: left; padding: 15px 12px; color: #94a3b8; border-bottom: 2px solid rgba(255,255,255,0.1); text-transform: uppercase; font-size: 13px; letter-spacing: 1px; font-weight: 800; }
.summary-table td { padding: 15px 12px; border-bottom: 1px solid rgba(255,255,255,0.05); font-weight: 600; color: #f8fafc; }
.summary-table tr:hover { background: rgba(255,255,255,0.02); }
.summary-table .num-col { text-align: center; }
.summary-table .right-col { text-align: right; }

.badge { padding: 6px 10px; border-radius: 6px; font-size: 11px; margin-left: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-not-out { background: rgba(22, 163, 74, 0.2); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
.badge-out { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.3); }

/* Animation Overlays */
.scorer-page #winner-overlay {
    position: fixed; inset: 0; background: rgba(0, 11, 26, 0.95); z-index: 3000; display: none;
    flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; backdrop-filter: blur(10px);
}
.scorer-page #win-title { font-size: clamp(24px, 4vw, 40px); font-weight: 900; color: white; letter-spacing: 4px; text-transform: uppercase; }
.scorer-page .win-team {
    font-size: clamp(40px, 10vw, 100px); color: var(--ipl-gold); font-weight: 900; text-transform: uppercase;
    text-shadow: 0 0 30px rgba(239,176,33,0.5); line-height: 1.2; margin-top: 10px; word-break: break-word;
}

@keyframes fh-pulse { 0% { opacity: 0.8; transform: scale(0.98); } 100% { opacity: 1; transform: scale(1.05); } }
/* Event Animations */
.anim-container { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; pointer-events: none; z-index: 2000; }
.event-text { font-size: clamp(80px, 15vw, 200px); font-weight: 900; text-transform: uppercase; letter-spacing: 5px; opacity: 0; text-shadow: 0 10px 40px rgba(0,0,0,0.8); }
.pop-now { animation: pop-in-out 3s ease-in-out forwards; }
@keyframes pop-in-out { 0% { transform: scale(0.5); opacity: 0; } 10% { transform: scale(1.2); opacity: 1; filter: brightness(1.5); } 20% { transform: scale(1); opacity: 1; filter: brightness(1); } 80% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

