/* --- Variables & Reset --- */
:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-card-hover: rgba(51, 65, 85, 0.8);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;

    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

    --youtube-red: #ff0000;
    --whatsapp-green: #25d366;
    --maps-blue: #4285f4;

    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-y: auto;
    /* Allow text to scroll */
    overflow-x: hidden;
    padding: 40px 20px;
    /* More vertical padding */
}

/* --- Animated Background --- */
.bg-gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: -150px;
    left: -150px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(40px, 60px);
    }
}

/* --- Container --- */
.container {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: auto;
    /* Important for flexbox scrolling */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- Content Styling --- */
h1.title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 30px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1.title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    /* Red tint */
    color: #ef4444;
    /* Red text */
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.message strong {
    color: #fff;
    font-weight: 600;
}

.match-dates {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    padding: 12px 30px;
    border-radius: 15px;
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(5px);
}

.match-dates i {
    margin-right: 8px;
    font-size: 1.2rem;
    vertical-align: text-bottom;
}

/* removed stray content */

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    text-align: center;
}

/* Make bottom two cards span 2 columns each to center them */
.stats-grid .stat-card:nth-child(5),
.stats-grid .stat-card:nth-child(6) {
    grid-column: span 2;
}

.stat-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
    cursor: default;
    /* Non-clickable */
}

/* .stat-card:hover removed to make non-clickable */

.stat-card.featured {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card.featured .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #60a5fa;
    /* Default blue number */
}

/* Featured card value white */
.stat-card.featured .stat-value {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Other specific colors if needed, e.g. Batters purple */
.stat-card:nth-child(2) .stat-value {
    color: #a78bfa;
}

.stat-card:nth-child(3) .stat-value {
    color: #60a5fa;
}

.stat-card:nth-child(4) .stat-value {
    color: #a78bfa;
}

.stat-card:nth-child(5) .stat-value {
    color: #60a5fa;
}

.stat-card:nth-child(6) .stat-value {
    color: #60a5fa;
}


/* Responsive Stats */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid .stat-card:nth-child(5),
    .stats-grid .stat-card:nth-child(6) {
        grid-column: span 1;
        /* Reset span on mobile */
    }
}

/* --- Quick Links --- */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 15px 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--text-secondary);
    transition: width 0.3s ease;
    z-index: 0;
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.link-card:hover::after {
    width: 100%;
    opacity: 0.05;
}

.link-icon {
    font-size: 2rem;
    margin-right: 20px;
    z-index: 1;
}

.link-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.link-content strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.link-content span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.link-arrow {
    color: var(--text-secondary);
    font-size: 1.2rem;
    opacity: 0.5;
    transition: all 0.3s ease;
    z-index: 1;
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(5px);
    color: #fff;
}

/* Brand Specifics */
.youtube-link .link-icon {
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.youtube-link strong {
    color: #fff;
}

.youtube-link:hover {
    border-color: rgba(255, 0, 0, 0.3);
}

.map-link .link-icon {
    text-shadow: 0 0 20px rgba(66, 133, 244, 0.4);
}

.map-link strong {
    color: #fff;
}

.map-link:hover {
    border-color: rgba(66, 133, 244, 0.3);
}

.whatsapp-link .link-icon {
    text-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-link strong {
    color: #fff;
}

.whatsapp-link:hover {
    border-color: rgba(37, 211, 102, 0.3);
}

/* --- Footer --- */
.footer {
    margin-top: 40px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .container {
        padding: 40px 25px;
    }

    h1.title {
        font-size: 2.5rem;
    }

    .link-card {
        padding: 12px 15px;
    }

    .link-icon {
        font-size: 1.5rem;
        margin-right: 15px;
    }
}