/* ==========================================================================
   THE BREW CREW - CORE BRAND DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* Load fonts from Google */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Cinzel:wght@700;900&family=Montserrat:wght@700;800;900&display=swap');

/* Load local spurred jersey font */
@font-face {
    font-family: 'MLBPirates';
    src: url('assets/mlb_pirates.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Custom Variables */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: rgba(18, 18, 18, 0.75);
    --gold-bright: #FFD700;
    --gold-accent: #C5A059;
    --gold-glow: rgba(255, 215, 0, 0.25);
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --border-color: rgba(255, 215, 0, 0.15);
    --font-body: 'Outfit', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-accent: 'Cinzel', serif;
    --font-spurred: 'MLBPirates', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-height: 80px; /* Default desktop header height */
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Ice Scratch Overlay Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.015) 1px, transparent 90px),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.01) 2px, transparent 120px),
        linear-gradient(rgba(0, 0, 0, 0.95), rgba(10, 10, 10, 0.98));
    pointer-events: none;
    z-index: -2;
}

/* Glitch Grid Noise Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
    line-height: 1.6;
    color: var(--text-gray);
    font-size: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: var(--gold-accent);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-bright);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
/* Inline Countdown Ticker */
.header-ticker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin: 0 1rem;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

body.bio-active .header-ticker {
    display: none !important;
}

.header-ticker span {
    white-space: nowrap;
}

.header-ticker .ticker-matchup {
    color: var(--text-light);
}

.header-ticker .ticker-rec {
    color: var(--text-gray);
    font-size: 0.62rem;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
}

.header-ticker .ticker-divider {
    color: rgba(255, 255, 255, 0.15);
    font-weight: 300;
}

.header-ticker .ticker-date {
    color: var(--text-light);
}

.header-ticker .ticker-countdown-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.header-ticker .ticker-dot {
    color: var(--gold-bright);
    font-size: 0.6rem;
    line-height: 1;
    margin-right: 2px;
    animation: goldPulse 2s infinite ease-in-out;
}

.header-ticker .ticker-countdown {
    color: var(--gold-bright);
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    animation: goldPulse 2s infinite ease-in-out;
}

/* Pulsing yellow animation */
@keyframes goldPulse {
    0% {
        opacity: 0.8;
        text-shadow: 0 0 3px rgba(255, 215, 0, 0.2);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    }
    100% {
        opacity: 0.8;
        text-shadow: 0 0 3px rgba(255, 215, 0, 0.2);
    }
}



header.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    z-index: 100;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--gold-glow));
    transition: var(--transition-smooth);
}

.brand-logo-img:hover {
    transform: rotate(5deg) scale(1.08);
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.brand-title span {
    color: var(--gold-bright);
    margin-left: 0.25rem;
}

/* Nav Links */
nav.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.1rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    position: relative;
    padding: 0.4rem 0;
    cursor: pointer;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-bright);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-bright);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 102;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* Active mobile menu */
.mobile-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--gold-bright);
}
.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--gold-bright);
}

/* Responsive configurations to ensure perfect layout spacing */
@media (max-width: 1380px) {
    /* Hide matchup when space is compressed on desktop */
    .header-ticker .ticker-matchup,
    .header-ticker .ticker-divider:first-of-type {
        display: none;
    }
    /* Gently reduce navigation list sizes and margins to fit smaller desktops */
    .nav-list {
        gap: 0.85rem;
    }
    .nav-link {
        font-size: 0.78rem;
    }
    .header-ticker {
        margin: 0 0.5rem;
    }
}

@media (max-width: 1200px) {
    /* Hide date and second divider on medium desktops to prevent clipping */
    .header-ticker .ticker-date,
    .header-ticker .ticker-divider {
        display: none !important;
    }
    .nav-container {
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 1024px) {
    :root {
        --header-height: 108px; /* Height of the wrapped header on tablet */
    }
    
    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        row-gap: 0.6rem;
    }
    
    .brand-logo-container {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }
    
    .mobile-toggle {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }
    
    .header-ticker {
        grid-column: 1 / span 2;
        grid-row: 2;
        justify-self: start;
        margin: 0.2rem 0 0 0;
    }
    
    /* Show full ticker on tablet since we have full screen width in the second row */
    .header-ticker .ticker-matchup,
    .header-ticker .ticker-date,
    .header-ticker .ticker-divider {
        display: inline !important;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 86px; /* Height of the wrapped header on mobile */
    }
    
    .nav-container {
        padding: 0.6rem 0.75rem;
        row-gap: 0.5rem;
    }
    
    /* Mobile viewports: hide matchup, date, and dividers, showing ONLY the pulsing countdown capsule */
    .header-ticker .ticker-matchup,
    .header-ticker .ticker-date,
    .header-ticker .ticker-divider {
        display: none !important;
    }
    
    .header-ticker {
        margin: 0.1rem 0 0 0;
        padding: 0.25rem 0.6rem;
    }
    
    .brand-logo-img {
        height: 36px; /* Scale down logo image on mobile */
    }
    
    .brand-title {
        font-size: 1.15rem; /* Scale down title text size on mobile */
    }
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-accent));
    color: #000000;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #ffffff, var(--gold-bright));
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold-accent);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--gold-accent);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.btn-dark {
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.btn-dark:hover {
    border-color: var(--gold-accent);
    color: var(--gold-bright);
    background-color: #181818;
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
main.site-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-section {
    display: none; /* Controlled by JS switcher */
    animation: fadeIn 0.4s ease-out forwards;
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.page-section.active {
    display: block;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-light);
    display: inline-block;
    position: relative;
    z-index: 1;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.section-header p.subtitle {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--gold-accent);
    font-weight: 600;
}

/* Custom Grid Component */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

/* Card layout */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--gold-glow);
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-accent), var(--gold-bright));
    opacity: 0;
    transition: var(--transition-smooth);
}

.glass-card:hover::before {
    opacity: 1;
}

/* ==========================================================================
   1. HERO / LANDING PAGE
   ========================================================================== */
#home {
    padding: 0;
    max-width: 100%;
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    display: none;
    align-items: center;
    position: relative;
}

#home.active {
    display: flex;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.95) 85%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-logo-box {
    margin-bottom: 2rem;
    position: relative;
}

.hero-logo {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.35));
    animation: slowGlow 4s infinite alternate ease-in-out;
}

.hero-logo-script {
    width: 320px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.25));
    margin-top: -30px;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-family: var(--font-heading);
}

.hero-headline span {
    color: var(--gold-bright);
    display: block;
    font-family: var(--font-accent);
    font-size: 2.2rem;
    margin-top: 0.5rem;
    letter-spacing: 2px;
}

.hero-subtext {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
    color: var(--text-gray);
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Glitch text keyframe styling */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #ff00ff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #00ffff;
    clip: rect(85px, 450px, 140px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

/* ==========================================================================
   2. OUR STORY PAGE
   ========================================================================== */
.story-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.story-intro {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.story-intro .highlight {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-light);
    border-left: 4px solid var(--gold-bright);
    padding-left: 1.5rem;
    text-align: left;
    margin: 1.5rem 0;
}

.story-visual-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.story-image-box {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    position: relative;
}

.story-image-box img {
    width: 100%;
    display: block;
    transition: var(--transition-smooth);
}

.story-image-box:hover img {
    transform: scale(1.03);
}

.story-pillars {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.story-pillar-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.story-pillar-item h4 {
    color: var(--gold-bright);
    font-size: 1.1rem;
}

/* ==========================================================================
   3. PRO SHOP / MERCH
   ========================================================================== */
.shop-intro {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), transparent);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.shop-tagline {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.shop-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.shop-filter-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
}

/* Merch Card Component */
.merch-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.merch-img-box {
    background: #121212;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.merch-img-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.merch-card:hover .merch-img-box img {
    transform: scale(1.08);
}

.merch-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold-bright);
    color: #000000;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.merch-tag.coming-soon {
    background: #333333;
    color: var(--text-gray);
}

.merch-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.5rem;
}

.merch-cat {
    font-size: 0.75rem;
    color: var(--gold-accent);
    font-weight: 700;
    text-transform: uppercase;
}

.merch-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-light);
}

.merch-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Custom Mini Cart Drawer */
.cart-alert-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #000000;
    border: 2px solid var(--gold-bright);
    padding: 1.2rem;
    border-radius: 6px;
    z-index: 1000;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px var(--gold-glow);
    animation: slideUp 0.3s ease-out;
}

.cart-alert-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* ==========================================================================
   4. SPONSORS PAGE
   ========================================================================== */
.sponsors-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.sponsors-intro-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.sponsors-promo-box {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    background: var(--bg-card);
}

.sponsors-promo-box img {
    width: 100%;
    display: block;
}

/* Sponsors Wall */
.sponsors-wall {
    margin-bottom: 4rem;
    text-align: center;
}

.sponsors-wall-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-bright);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.sponsors-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sponsor-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    padding: 0.5rem;
}

.sponsor-logo-item:hover {
    transform: scale(1.05);
}

.sponsor-logo-item img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.1));
}

/* Sponsor Tiers Grid */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.tier-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.tier-card.featured-tier {
    border: 2px solid var(--gold-bright);
    background: linear-gradient(180deg, rgba(255,215,0,0.05) 0%, transparent 100%);
}

.tier-name {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 800;
}

.tier-price {
    font-size: 1.6rem;
    color: var(--gold-bright);
    font-weight: 900;
}

.tier-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 1rem;
}

.tier-card.featured-tier .tier-name {
    color: var(--gold-bright);
}

/* Form Styles */
.form-container {
    max-width: 650px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-accent);
}

.form-control {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: 4px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-bright);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* File upload styling */
.file-upload-wrapper {
    position: relative;
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.file-upload-wrapper:hover {
    border-color: var(--gold-bright);
    background: rgba(255, 215, 0, 0.02);
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* ==========================================================================
   5. ROSTER PAGE
   ========================================================================== */
.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

/* Hockey Trading Card Component */
.roster-card {
    background: #000000;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.roster-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-bright);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
}

.card-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: var(--font-spurred);
    font-size: 2.8rem;
    color: var(--gold-accent);
    line-height: 0.9;
    z-index: 5;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.roster-card:hover .card-number {
    color: var(--gold-bright);
    transform: scale(1.1);
}

.card-img-box {
    aspect-ratio: 3 / 4;
    background: #111111;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--border-color);
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.roster-card:hover .card-img-box img {
    transform: scale(1.04);
}

.placeholder-card-img {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
}

.placeholder-card-img svg {
    width: 50px;
    height: auto;
    fill: rgba(255, 215, 0, 0.2);
}

.card-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.6rem;
    position: relative;
    z-index: 2;
}

.card-details::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 215, 0, 0.02) 100%);
    pointer-events: none;
}

.player-name {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-light);
}

.player-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold-accent);
}

.player-stats-bar {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0.6rem 0;
}

.stat-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.stat-label {
    color: var(--text-gray);
}

.stat-val {
    font-weight: 800;
    color: var(--gold-bright);
}

.player-quote {
    font-style: italic;
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.4;
    text-align: center;
    background: rgba(255,255,255,0.01);
    padding: 0.5rem;
    border-radius: 4px;
}

/* ==========================================================================
   6. MEDIA & CONTENT HUB
   ========================================================================== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-card {
    padding: 0;
    overflow: hidden;
}

.video-thumb-box {
    aspect-ratio: 16 / 9;
    background-color: #000000;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.video-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.video-card:hover .video-thumb-box img {
    opacity: 0.9;
    transform: scale(1.02);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(10,10,10,0.85);
    border: 2px solid var(--gold-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
    z-index: 3;
}

.play-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--gold-bright);
    transform: translateX(2px);
    transition: var(--transition-smooth);
}

.video-card:hover .play-btn {
    background: var(--gold-bright);
    box-shadow: 0 0 25px var(--gold-bright);
}

.video-card:hover .play-btn svg {
    fill: #000000;
}

.video-info {
    padding: 1.5rem;
}

.video-badge {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold-bright);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.video-title {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.3;
}

/* Soundboard Component */
.soundboard-section {
    margin-top: 5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
}

.soundboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.sound-btn {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.sound-btn:hover {
    background: #161616;
    border-color: var(--gold-accent);
}

.sound-btn.playing {
    border-color: var(--gold-bright);
    box-shadow: 0 0 15px var(--gold-glow);
    background: linear-gradient(135deg, #111111 0%, rgba(255,215,0,0.05) 100%);
}

.sound-btn svg {
    width: 28px;
    height: 28px;
    fill: var(--text-gray);
    transition: var(--transition-smooth);
}

.sound-btn:hover svg, .sound-btn.playing svg {
    fill: var(--gold-bright);
    transform: scale(1.1);
}

.sound-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ==========================================================================
   7. GAME DAY / SCHEDULE
   ========================================================================== */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.schedule-row {
    display: grid;
    grid-template-columns: 1.2fr 2.5fr 1fr 1fr;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    background: var(--bg-card);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.schedule-row:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.sched-date-box {
    display: flex;
    flex-direction: column;
}

.sched-date {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--text-light);
}

.sched-time {
    font-size: 0.85rem;
    color: var(--gold-accent);
    font-weight: 700;
}

.sched-matchup {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sched-team-name {
    font-weight: 800;
    font-size: 1.1rem;
}

.sched-vs {
    font-family: var(--font-accent);
    color: var(--text-gray);
    font-size: 0.8rem;
}

.sched-venue {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.sched-result {
    font-weight: 900;
    font-size: 1.1rem;
    text-align: right;
    text-transform: uppercase;
}

.sched-result.win {
    color: var(--gold-bright);
}

.sched-result.loss {
    color: var(--text-gray);
}

.sched-result.upcoming {
    color: var(--gold-accent);
    font-size: 0.85rem;
}

/* ==========================================================================
   8. SUPPORT & DONATE
   ========================================================================== */
.support-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.support-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 580px) {
    .support-buttons-grid {
        grid-template-columns: 1fr;
    }
}

.support-card-btn {
    background: rgba(18,18,18,0.9);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.support-card-btn:hover {
    border-color: var(--gold-bright);
    background: linear-gradient(180deg, #121212 0%, rgba(255,215,0,0.03) 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px var(--gold-glow);
}

.support-card-btn svg {
    width: 42px;
    height: 42px;
    fill: var(--gold-accent);
    transition: var(--transition-smooth);
}

.support-card-btn:hover svg {
    fill: var(--gold-bright);
    transform: scale(1.1);
}

.support-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-light);
}

.support-card-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* ==========================================================================
   9. CONTACT PAGE
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: rgba(255,215,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--gold-bright);
}

.contact-item-text h4 {
    font-size: 0.9rem;
    color: var(--gold-accent);
    margin-bottom: 0.3rem;
}

.social-strip {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #111111;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-icon-btn:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
}

.social-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--text-gray);
    transition: var(--transition-smooth);
}

.social-icon-btn:hover svg {
    fill: #000000;
}

/* ==========================================================================
   10. LINK-IN-BIO MOBILE PAGE (SANDBOXED VIEW)
   ========================================================================== */
.bio-page-view {
    display: none;
    min-height: 100vh;
    background: #000000;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    position: relative;
    overflow-y: auto;
}

.bio-page-view::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(255,215,0,0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.bio-content-container {
    max-width: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bio-profile-box {
    text-align: center;
    margin-bottom: 2.5rem;
}

.bio-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid var(--gold-bright);
    box-shadow: 0 0 20px var(--gold-glow);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.bio-avatar:hover {
    transform: scale(1.05);
}

.bio-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.bio-tagline {
    font-size: 0.85rem;
    color: var(--gold-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio-links-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.bio-link-btn {
    width: 100%;
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 1.1rem 1.5rem;
    color: var(--text-light);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.bio-link-btn:hover {
    transform: translateY(-3px);
    border-color: var(--gold-bright);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
    background: rgba(255, 215, 0, 0.05);
}

.bio-link-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--gold-accent);
    transition: var(--transition-smooth);
}

.bio-link-btn:hover svg {
    fill: var(--gold-bright);
}

.bio-socials {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

/* Override body styles when viewing bio page */
body.bio-active header.site-header,
body.bio-active main.site-content,
body.bio-active footer.site-footer {
    display: none !important;
}

body.bio-active .bio-page-view {
    display: flex;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
footer.site-footer {
    background: #050505;
    border-top: 1px solid var(--border-color);
    padding: 3rem 1.5rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.footer-text span {
    color: var(--gold-accent);
    font-weight: 700;
}

.footer-socials .social-strip {
    justify-content: center;
    margin-top: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
    .hero-headline {
        font-size: 2.8rem;
    }
    
    .story-visual-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sponsors-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .nav-list {
        gap: 0.8rem;
    }
    .nav-link {
        font-size: 0.8rem;
    }
    .brand-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .mobile-toggle {
        display: flex;
    }
    
    nav.main-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(5, 5, 5, 0.98);
        z-index: 101;
        transition: var(--transition-smooth);
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding-top: 3rem;
    }
    
    nav.main-nav.open {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .hero-headline {
        font-size: 2.2rem;
    }
    
    .hero-headline span {
        font-size: 1.6rem;
    }
    
    .schedule-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.8rem;
    }
    
    .sched-result {
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   ANIMATION KEYFRAMES
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowGlow {
    from {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.25));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.55));
    }
}

/* Glitch Animation Keyframes */
@keyframes glitch-anim {
    0% {
        clip: rect(15px, 9999px, 66px, 0);
        transform: skew(0.3deg);
    }
    5% {
        clip: rect(30px, 9999px, 5px, 0);
        transform: skew(-0.5deg);
    }
    10% {
        clip: rect(54px, 9999px, 88px, 0);
        transform: skew(0.8deg);
    }
    15% {
        clip: rect(12px, 9999px, 34px, 0);
        transform: skew(-0.2deg);
    }
    20% {
        clip: rect(85px, 9999px, 4px, 0);
        transform: skew(0.1deg);
    }
    25% {
        clip: rect(0, 0, 0, 0);
    }
    100% {
        clip: rect(0, 0, 0, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(70px, 9999px, 105px, 0);
        transform: skew(-0.8deg);
    }
    5% {
        clip: rect(2px, 9999px, 94px, 0);
        transform: skew(0.4deg);
    }
    10% {
        clip: rect(80px, 9999px, 20px, 0);
        transform: skew(-0.2deg);
    }
    15% {
        clip: rect(45px, 9999px, 50px, 0);
        transform: skew(0.9deg);
    }
    20% {
        clip: rect(10px, 9999px, 85px, 0);
        transform: skew(-0.3deg);
    }
    25% {
        clip: rect(0, 0, 0, 0);
    }
    100% {
        clip: rect(0, 0, 0, 0);
    }
}

/* ==========================================================================
   BREW CREW CUSTOM FORMS & MODALS ADDITIONS
   ========================================================================== */

/* File Upload States and Preview */
.file-upload-wrapper.drag-over {
    border-color: var(--gold-bright) !important;
    background: rgba(255, 215, 0, 0.05) !important;
}

.file-upload-wrapper.has-preview {
    border-style: solid;
    border-color: var(--border-color);
}

.file-upload-wrapper.has-preview .file-upload-input {
    display: none;
}

.file-upload-state-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: none; /* Clicks pass through to the input overlay */
}

.file-upload-state-preview {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

#logoPreviewImg {
    max-height: 80px;
    max-width: 120px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.file-upload-preview-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

#logoFileName {
    font-size: 0.9rem;
    color: var(--text-light);
    word-break: break-all;
    font-weight: 600;
}

.file-upload-preview-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-preview-action {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.btn-preview-action:hover {
    background: var(--gold-bright);
    color: #000;
    border-color: var(--gold-bright);
}

.btn-preview-action.btn-preview-remove {
    background: rgba(255, 50, 50, 0.15);
    color: #ff5555;
    border-color: rgba(255, 50, 50, 0.3);
}

.btn-preview-action.btn-preview-remove:hover {
    background: #ff3333;
    color: #fff;
    border-color: #ff3333;
}

/* Congrats Modal */
.congrats-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.congrats-modal.show {
    display: flex;
    opacity: 1;
}

.congrats-modal-content {
    background: rgba(18, 18, 18, 0.9);
    border: 2px solid var(--gold-bright);
    border-radius: 12px;
    padding: 3rem 2rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.congrats-modal.show .congrats-modal-content {
    transform: scale(1);
}

.congrats-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.congrats-modal-close:hover {
    color: var(--gold-bright);
}

.congrats-icon-container {
    color: var(--gold-bright);
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseGlow 2s infinite;
}

.congrats-icon {
    width: 48px;
    height: 48px;
}

.congrats-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold-bright);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.congrats-message {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.congrats-btn {
    width: 100%;
    max-width: 200px;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* ==========================================================================
   SCHEDULE CHRONOLOGICAL & STANDINGS GRID ADDITIONS
   ========================================================================== */

.schedule-standings-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .schedule-standings-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.sub-section-title {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid var(--gold-bright);
    padding-left: 0.75rem;
}

/* Highlight styling for past games */
.schedule-row.past-game {
    border-left: 4px solid var(--gold-bright) !important;
    background: rgba(255, 215, 0, 0.03) !important;
}

.sched-winner-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-gray);
    font-weight: normal;
    text-transform: none;
    margin-top: 4px;
}

/* Standings Table Styling */
.standings-table-wrapper {
    padding: 1.2rem;
    background: rgba(18, 18, 18, 0.7);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.standings-table {
    width: 100%;
    min-width: 460px; /* Prevents columns from squishing on small screens */
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-light);
}

.standings-table th {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gold-accent);
    padding: 0.8rem 0.5rem;
    border-bottom: 2px solid var(--border-color);
    text-align: center;
}

.standings-table th.team-header {
    text-align: left;
    padding-left: 0.8rem;
}

.standings-table td {
    padding: 0.8rem 0.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.05);
    text-align: center;
    vertical-align: middle;
}

.standings-table td.team-cell {
    text-align: left;
    font-weight: 600;
    color: var(--text-light);
    padding-left: 0.8rem;
}

.standings-row {
    transition: var(--transition-smooth);
}

.standings-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

.standings-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.standings-row.highlight-brewcrew {
    background: rgba(255, 215, 0, 0.08) !important;
    border-left: 3px solid var(--gold-bright);
}

.standings-row.highlight-brewcrew td {
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.standings-row.highlight-brewcrew .team-cell {
    color: var(--gold-bright);
    font-weight: 800;
}

.standings-row.highlight-brewcrew td strong {
    color: var(--gold-bright);
}

/* Points column highlight styling */
.standings-table td:nth-child(6) {
    font-weight: 700;
    color: var(--text-light);
}

.standings-row.highlight-brewcrew td:nth-child(6) {
    color: var(--gold-bright);
    font-weight: 900;
}

.standings-row.highlight-brewcrew:hover {
    background: rgba(255, 215, 0, 0.12);
}

/* Standings Legend */
.standings-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: center;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 215, 0, 0.1);
    font-size: 0.72rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.standings-legend span {
    white-space: nowrap;
}

.standings-legend strong {
    color: var(--gold-bright);
}

/* Premium Standings Additions */
.standings-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.standings-header-flex .sub-section-title {
    margin-bottom: 0 !important;
}

.standings-date-badge {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: var(--gold-bright);
    padding: 0.25rem 0.65rem;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.05);
}

.team-cell-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.standings-team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: rgba(0, 0, 0, 0.5);
    padding: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.standings-team-logo-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 900;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.logo-md {
    background: linear-gradient(135deg, #7a0010, #d32f2f); /* Mighty Drunks Crimson */
}

.logo-jp {
    background: linear-gradient(135deg, #1b4d3e, #2ecc71); /* Jurrassic Pucks Green */
}

.logo-kh {
    background: linear-gradient(135deg, #a05a00, #f39c12); /* Keg Hunters Copper */
}

.logo-mc {
    background: linear-gradient(135deg, #1f3a52, #3498db); /* Mid Ice Crisis Steel Blue */
}

.logo-ch {
    background: linear-gradient(135deg, #a020f0, #e67e22); /* Chicharones Purple/Orange */
}

/* Adjust cell padding to fit logos cleanly */
.standings-table td.team-cell {
    padding-left: 0.6rem;
}

