/* =========================================================
   KINGSTON UNITED — TIER 1 MASTER STYLESHEET
   Version: 2.1 (SVG Arrows Update)
   ========================================================= */

@layer reset, tokens, layout, components, utilities;

/* ---------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------- */
@layer tokens {
    :root {
        /* BRAND COLORS - PRESERVED & ENHANCED */
        --kucc-navy:     #00263E; /* Pantone 296C */
        --kucc-blue:     #003B5C; /* Pantone 2955C */
        --kucc-royal:    #1D4F91; /* Pantone 7686C */
        --kucc-gold:     #E4A010; /* Pantone 7560C */
        
        /* MODERN UI TOKENS */
        --surface-dark:  #02121d;
        --surface-glass: rgba(0, 38, 62, 0.85);
        --surface-card:  rgba(255, 255, 255, 0.03);
        --text-primary:  #ffffff;
        --text-muted:    rgba(255, 255, 255, 0.7);
        
        /* SPACING - FLUID */
        --space-unit:    clamp(1rem, 0.8rem + 1vw, 1.5rem);
        --container-w:   min(100% - 2rem, 1400px);
        
        /* TYPOGRAPHY - FLUID TYPE SCALE */
        --font-display:  'Poppins', sans-serif;
        --font-body:     'Inter', sans-serif;
        
        --text-hero:     clamp(2.5rem, 1.5rem + 5vw, 5rem);
        --text-h1:       clamp(2rem, 1.5rem + 3vw, 3.5rem);
        --text-h2:       clamp(1.5rem, 1rem + 2vw, 2.5rem);
        --text-body:     clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
        
        /* EFFECTS */
        --shadow-glow:   0 0 40px rgba(228, 160, 16, 0.15);
        --glass-blur:    blur(16px) saturate(180%);
        --ease-elastic:  cubic-bezier(0.175, 0.885, 0.32, 1.275);
        --radius-card:   16px;
    }
}

/* ---------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------- */
@layer reset {
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; height: 100%; }
    body { 
        background-color: var(--surface-dark); 
        color: var(--text-primary); 
        font-family: var(--font-body);
        line-height: 1.6;
        overflow-x: hidden;
    }
    img { max-width: 100%; display: block; }
    a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
    ul { list-style: none; }
}

/* ---------------------------------------------------------
   3. LAYOUT GRID
   --------------------------------------------------------- */
@layer layout {
    /* THE PREMIER LEAGUE GRID SYSTEM */
    .grid-wrapper {
        display: grid;
        grid-template-columns: 
            [full-start] minmax(1rem, 1fr) 
            [content-start] minmax(0, 1400px) [content-end] 
            minmax(1rem, 1fr) [full-end];
    }
    
    .container {
        grid-column: content;
        width: 100%;
    }

    .section-padding {
        padding: clamp(3rem, 5vw, 6rem) 0;
    }

    .bg-surface-2 {
        background: rgba(255, 255, 255, 0.02);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* ---------------------------------------------------------
   4. COMPONENTS
   --------------------------------------------------------- */
@layer components {
    
    /* --- NAVIGATION --- */
    .site-header {
        position: fixed;
        top: 0; width: 100%; z-index: 999;
        background: var(--surface-glass);
        backdrop-filter: var(--glass-blur);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 1rem 0;
        transition: transform 0.3s ease;
    }
    
    .nav-inner {
        display: flex; justify-content: space-between; align-items: center;
    }

    .brand-mark {
        font-family: var(--font-display);
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: -0.02em;
        display: flex; gap: 1rem; align-items: center;
    }
    
    .nav-links { display: flex; gap: 2rem; }
    
    .nav-link {
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 600;
        position: relative;
        padding: 0.5rem 0;
        opacity: 0.8;
    }
    
    .nav-link:hover, .nav-link.active { opacity: 1; color: var(--kucc-gold); }
    
    .nav-link::after {
        content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
        background: var(--kucc-gold);
        transition: width 0.3s var(--ease-elastic);
    }
    .nav-link:hover::after, .nav-link.active::after { width: 100%; }

    /* --- BUTTONS --- */
    .btn-cta {
        background: var(--kucc-gold);
        color: var(--kucc-navy);
        padding: 0.75rem 1.5rem;
        border-radius: 4px;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.85rem;
        display: inline-block;
        clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
    }
    .btn-cta:hover { 
        transform: translateY(-2px); 
        filter: brightness(110%); 
        box-shadow: var(--shadow-glow);
    }

    .btn-outline {
        background: transparent;
        border: 1px solid var(--kucc-gold);
        color: var(--kucc-gold);
        text-align: center;
    }
    .btn-outline:hover { background: var(--kucc-gold); color: var(--kucc-navy); }

    .btn-text {
        color: var(--text-primary);
        font-weight: 600;
        font-size: 0.9rem;
        display: inline-flex; align-items: center; gap: 0.5rem;
    }
    .btn-text:hover { color: var(--kucc-gold); }

    .btn-full { width: 100%; display: block; text-align: center; }

    /* --- HERO SECTIONS --- */
    .hero-section {
        position: relative;
        overflow: hidden;
        /* Advanced Mesh Gradient */
        background: 
            radial-gradient(circle at 10% 20%, rgba(29, 79, 145, 0.4) 0%, transparent 40%),
            radial-gradient(circle at 90% 80%, rgba(228, 160, 16, 0.2) 0%, transparent 40%),
            var(--kucc-navy);
    }

    /* Cinematic Hero (Home) */
    .hero-section:not(.hero-compact) {
        min-height: 95vh;
        display: grid;
        place-items: center;
    }

    /* Compact Hero (Sub-pages) */
    .hero-compact {
        min-height: 50vh;
        display: grid;
        place-items: center;
        background: 
            radial-gradient(circle at 50% 50%, rgba(0, 38, 62, 0.7) 0%, var(--kucc-navy) 90%),
            var(--kucc-navy);
    }

    .hero-content { text-align: center; z-index: 2; max-width: 900px; padding: 0 1rem; }
    
    .hero-h1 {
        font-family: var(--font-display);
        font-size: var(--text-hero);
        line-height: 1.1;
        margin-bottom: 1.5rem;
        background: linear-gradient(to right, #fff, #ccc);
        -webkit-background-clip: text;
        color: transparent;
        animation: fadeUp 1s ease-out;
        /* SECURITY FIX: Respect Newlines from JSON */
        white-space: pre-line; 
    }

    .hero-sub {
        font-size: var(--text-body);
        color: var(--text-muted);
        margin-bottom: 2.5rem;
        animation: fadeUp 1.2s ease-out;
    }

    /* --- HEADINGS --- */
    .section-title {
        font-family: var(--font-display);
        font-size: var(--text-h1);
        color: var(--text-primary);
        margin-bottom: 1.5rem;
    }
    
    .lead-text { font-size: 1.1rem; line-height: 1.7; }
    .text-center { text-align: center; }

    /* --- DASHBOARD (HOME) --- */
    .dashboard-grid {
        display: grid; grid-template-columns: 1fr; gap: 2rem;
    }
    @media (min-width: 900px) { .dashboard-grid { grid-template-columns: 1fr 1fr; } }

    .glass-card {
        background: var(--surface-card);
        border: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
        border-radius: var(--radius-card);
        padding: clamp(1.5rem, 5vw, 3rem);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }

    .card-header {
        display: flex; align-items: center; gap: 1rem;
        margin-bottom: 1.5rem; padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .card-header h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0; }

    .live-indicator {
        width: 10px; height: 10px; background-color: #ef4444; border-radius: 50%;
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); animation: pulse 2s infinite;
    }

    /* Feature Lists (Schedule/Perks) */
    .feature-list li {
        margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--text-muted);
        padding-left: 1rem; border-left: 2px solid var(--kucc-gold);
    }
    .feature-list strong { color: var(--text-primary); }

    /* News Feed */
    .news-item { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .news-item a {
        display: flex; justify-content: space-between; align-items: center;
        padding: 1rem 0; color: var(--text-muted);
    }
    .news-item a:hover { color: var(--kucc-gold); padding-left: 5px; }

    /* --- FORMS (GLOBAL) --- */
    .contact-grid-layout { display: grid; gap: 3rem; }
    @media (min-width: 900px) { .contact-grid-layout { grid-template-columns: 3fr 2fr; align-items: start; } }

    .modern-form .form-group { margin-bottom: 1.5rem; }
    .modern-form label {
        display: block; margin-bottom: 0.5rem; font-size: 0.85rem; font-weight: 600;
        text-transform: uppercase; letter-spacing: 0.05em; color: var(--kucc-gold);
    }
    
    .modern-form input, 
    .modern-form textarea, 
    .modern-form select {
        width: 100%;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 1rem;
        color: white;
        font-family: var(--font-body);
        font-size: 1rem;
        transition: all 0.2s ease;
    }
    
    .modern-form input:focus, 
    .modern-form textarea:focus,
    .modern-form select:focus {
        outline: none; border-color: var(--kucc-gold);
        background: rgba(0, 0, 0, 0.4);
        box-shadow: 0 0 15px rgba(228, 160, 16, 0.1);
    }

    .form-grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
    @media (min-width: 600px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
    
    /* Select Dropdown Arrow */
    .select-wrapper { position: relative; }
    .select-wrapper::after {
        content: "▼"; font-size: 0.8rem; color: var(--kucc-gold);
        position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
        pointer-events: none;
    }
    .modern-form select { appearance: none; cursor: pointer; }

    /* --- SPONSORS (PARTNERS) --- */
    .partners-grid {
        display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem; margin-top: 3rem;
    }
    
    .partner-card {
        padding: 0; position: relative; overflow: hidden;
        transition: transform 0.3s, border-color 0.3s;
    }
    .partner-card:hover { transform: translateY(-5px); border-color: var(--kucc-gold); }
    
    .tier-badge {
        position: absolute; top: 1rem; right: 1rem; z-index: 2;
        background: linear-gradient(135deg, #FFD700, #E4A010);
        color: var(--kucc-navy); font-size: 0.75rem; font-weight: 800;
        text-transform: uppercase; padding: 0.25rem 0.75rem; border-radius: 4px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    
    .partner-logo-wrapper {
        background: white; 
        /* REMOVED fixed height: 200px */
        /* REMOVED padding: 2rem */
        padding: 0; /* Let the image touch the edges */
        width: 100%;
        aspect-ratio: 16/9; /* Forces a nice cinematic widescreen shape */
        display: flex; 
        align-items: center; 
        justify-content: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        overflow: hidden;
    }
    
    .partner-logo-wrapper img { 
        width: 100%;
        height: 100%;
        object-fit: contain; /* Ensures the whole card is visible without cropping */
        object-position: center;
    }
    
    .partner-info { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
    .partner-info h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.25rem; }
    .partner-info .role { color: var(--kucc-gold); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; margin-bottom: 1rem; }
    .partner-info .desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

    /* CTA Box (Sponsors Page) */
    .cta-box {
        background: radial-gradient(circle at center, rgba(29, 79, 145, 0.2), transparent);
        padding: 3rem 1rem; border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* --- GEAR / SHOP --- */
    .gear-slider { padding-bottom: 4rem; }
    
    .product-card {
        background: var(--surface-card);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 16px; overflow: hidden; height: 100%;
        display: flex; flex-direction: column;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .product-card:hover {
        transform: translateY(-10px); border-color: var(--kucc-gold);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .product-image { position: relative; width: 100%; aspect-ratio: 1/1; background: #000; overflow: hidden; }
    .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
    .product-card:hover .product-image img { transform: scale(1.05); }
    
    .product-badge {
        position: absolute; top: 1rem; left: 1rem; z-index: 2;
        background: var(--kucc-gold); color: var(--kucc-navy);
        font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
        padding: 0.25rem 0.75rem; border-radius: 4px;
    }
    
    .product-info { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
    .product-category { font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
    .product-info h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.75rem; }
    .product-info p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; flex-grow: 1; }
    
    /* Swiper Styling */
    .swiper-button-next, .swiper-button-prev { color: var(--kucc-gold); }
    .swiper-pagination-bullet-active { background: var(--kucc-gold); }
    .swiper-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }

    /* --- FIX: REPLACE TEXT WITH SVG ARROWS --- */

    /* 1. Hide the fallback text ("prev", "next") */
    .swiper-button-next::after, 
    .swiper-button-prev::after {
        content: "" !important;
        font-family: none !important;
        display: block;
        width: 24px;
        height: 24px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    /* 2. Inject a Gold Chevron (Right) */
    .swiper-button-next::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E4A010' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    }

    /* 3. Inject a Gold Chevron (Left) */
    .swiper-button-prev::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E4A010' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
    }

    /* 4. Mobile Tweak: Ensure they don't overlap content */
    @media (max-width: 768px) {
        .swiper-button-next, .swiper-button-prev {
            width: 30px; /* Smaller touch target to avoid overlap */
            background-color: rgba(0, 38, 62, 0.8); /* Dark background for visibility */
            border-radius: 50%;
            backdrop-filter: blur(4px);
        }
    }

    /* --- ABOUT / LEADERSHIP --- */
    .value-grid {
        display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem; margin-top: 3rem;
    }
    .value-card {
        background: var(--surface-card); padding: 2rem; border-radius: 8px;
        border-left: 3px solid var(--kucc-gold);
    }
    .value-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1rem; }

    .leadership-grid {
        display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    .leader-card {
        background: var(--surface-card); border: 1px solid rgba(255,255,255,0.05);
        border-radius: 12px; padding: 2rem;
        transition: transform 0.2s, border-color 0.2s;
    }
    .leader-card:hover { transform: translateY(-5px); border-color: var(--kucc-gold); }
    .role-badge {
        display: inline-block; background: rgba(228, 160, 16, 0.15);
        color: var(--kucc-gold); font-size: 0.75rem; font-weight: 700;
        text-transform: uppercase; padding: 0.25rem 0.75rem; border-radius: 4px;
        margin-bottom: 1rem;
    }
    @media (min-width: 768px) { .span-2 { grid-column: span 2; } }

    /* --- JOIN / PERKS --- */
    .perks-list { display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; }
    .perk-item { display: flex; gap: 1.5rem; align-items: flex-start; }
    .perk-icon {
        font-size: 2rem; width: 60px; height: 60px;
        display: flex; align-items: center; justify-content: center;
        border-radius: 50%; border: 1px solid rgba(228, 160, 16, 0.3);
        background: rgba(228, 160, 16, 0.1); flex-shrink: 0;
    }

    /* --- SIDEBAR INFO (Contact) --- */
    .info-card { margin-bottom: 2rem; padding-left: 1.5rem; border-left: 2px solid rgba(255,255,255,0.1); }
    .info-label { font-family: var(--font-display); font-size: 1.1rem; color: white; margin-bottom: 0.5rem; }
    .direct-link { color: var(--kucc-gold); font-weight: 600; display: inline-block; margin-top: 0.5rem; }
    .direct-link:hover { text-decoration: underline; color: white; }
    
    .social-pill {
        display: inline-block; background: rgba(255,255,255,0.1);
        padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.9rem;
    }
    .social-pill:hover { background: var(--kucc-gold); color: var(--kucc-navy); }

    /* --- THANK YOU ANIMATIONS --- */
    .success-icon {
        width: 90px; height: 90px; border-radius: 50%;
        border: 3px solid var(--kucc-gold);
        display: flex; align-items: center; justify-content: center;
        margin: 0 auto 2rem;
        background: rgba(228, 160, 16, 0.05);
        box-shadow: 0 10px 30px rgba(228, 160, 16, 0.2);
        animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }
    
    .success-icon svg { width: 48px; height: 48px; fill: none; stroke: var(--kucc-gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
    
    .check-path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: drawCheck 0.6s ease-out 0.4s forwards; }
    
    .plane-icon {
        width: 90px; height: 90px; margin: 0 auto 2rem;
        display: flex; align-items: center; justify-content: center;
        color: var(--kucc-gold); background: rgba(255, 255, 255, 0.03);
        border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1);
        animation: flyIn 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
    }
    .plane-icon svg { width: 48px; height: 48px; }

    /* --- MOBILE MENU (Drawer) --- */
    /* Mobile styles handled in Utilities/JS state logic */
    .mobile-nav-panel {
        /* Note: This is logic controlled by Main.js, mainly class toggling */
        position: fixed; inset: 0; background: var(--kucc-navy);
        z-index: 998; padding-top: 100px; transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    .mobile-nav-panel.active { transform: translateX(0); }
}

/* ---------------------------------------------------------
   5. UTILITIES & ANIMATIONS
   --------------------------------------------------------- */
@layer utilities {
    .text-gold { color: var(--kucc-gold); }
    .hidden-desktop { display: none; }
    .mb-5 { margin-bottom: 3rem; }
    .mt-4 { margin-top: 1.5rem; }
    
    /* ANIMATION KEYFRAMES */
    @keyframes fadeUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes pulse {
        0% { transform: scale(0.95); opacity: 0.7; }
        50% { transform: scale(1.1); opacity: 1; }
        100% { transform: scale(0.95); opacity: 0.7; }
    }

    @keyframes popIn {
        0% { transform: scale(0.4); opacity: 0; }
        80% { transform: scale(1.1); opacity: 1; }
        100% { transform: scale(1); opacity: 1; }
    }

    @keyframes drawCheck { to { stroke-dashoffset: 0; } }

    @keyframes flyIn {
        0% { opacity: 0; transform: translate3d(-100px, 100px, 0) scale3d(0.1, 0.1, 0.1); }
        60% { opacity: 1; transform: translate3d(10px, -10px, 0) scale3d(1.1, 1.1, 1.1); }
        100% { transform: none; }
    }
}

/* ---------------------------------------------------------
   6. RESPONSIVE OVERRIDES
   --------------------------------------------------------- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hidden-mobile { 
        display: inline-block; /* Brings the text back */
        font-size: 0.95rem;    /* Slightly smaller font to fit mobile screens */
        white-space: nowrap;   /* Prevents it from breaking into two lines */
        margin-left: 0.25rem;  /* Tweak spacing if needed */
    }
    .mobile-toggle { display: block; background: none; border: none; z-index: 1001; cursor: pointer; }
    .hero-h1 { font-size: 3rem; }
    
    /* Mobile Menu Drawer Styling */
    /* This targets the <ul> injected into the mobile drawer by JS */
    .mobile-drawer-list {
        display: flex; flex-direction: column; align-items: center; gap: 2rem;
        padding: 2rem;
    }
    .mobile-drawer-list a {
        font-size: 1.5rem; font-weight: 700; color: white;
        text-transform: uppercase;
    }
}
/* --- PARTNER DEAL CARD (Gear Page) --- */

.partner-deal-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid var(--kucc-gold);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

/* Subtle Gold Glow Background */
.partner-deal-card::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(228, 160, 16, 0.15), transparent 70%);
    pointer-events: none;
}

.deal-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .deal-header {
        flex-direction: row;
        text-align: left;
    }
}

.deal-logo {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.deal-badge {
    background: var(--kucc-gold);
    color: var(--kucc-navy);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.deal-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
}

.deal-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Perks Grid */
.deal-perks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}

.perk-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 500;
}

.check-icon {
    color: var(--kucc-navy);
    background: var(--kucc-gold);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.text-sm { font-size: 0.85rem; }
/* --- FIXTURES PAGE STYLES --- */

.schedule-card.featured {
    border-left: 4px solid var(--kucc-gold);
    max-width: 800px;
    margin: 0 auto;
}

.schedule-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .schedule-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.schedule-header h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin: 0;
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    display: inline-block;
}

.status-badge.live {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80; /* Bright Green */
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.schedule-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
    .schedule-details {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-row .icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.detail-row strong {
    display: block;
    color: var(--kucc-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.schedule-actions {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* =========================================
   DESKTOP PARTNER LAYOUT (Wide / Landscape)
   Make ALL partners look like "Featured" cards on desktop
   ========================================= */

@media (min-width: 900px) {
    /* 1. Force ALL cards to span the full width */
    .partner-card {
        grid-column: 1 / -1; 
        display: flex;
        flex-direction: row; /* Side-by-side layout */
        align-items: stretch;
        min-height: 300px; /* Ensure they have presence */
    }

    /* 2. Adjust the Image Container (Left Side) */
    .partner-card .partner-logo-wrapper {
        width: 40%;
        flex-shrink: 0;
        border-bottom: none; /* Remove bottom border */
        border-right: 1px solid rgba(255, 255, 255, 0.1); /* Add side border */
        aspect-ratio: auto; /* Unlock aspect ratio to fill height */
        height: auto;
    }

    /* 3. Adjust the Content Container (Right Side) */
    .partner-card .partner-info {
        width: 60%;
        justify-content: center;
        padding: 3rem; 
    }

    /* 4. Optional: Make Gold Title slightly larger to distinguish hierarchy */
    .partner-card.gold-tier h3 {
        font-size: 2rem;
        color: var(--kucc-gold); /* Extra gold pop for the name */
    }
}