@layer base {
    :root {
        --background: 0 0% 0%;
        --foreground: 0 0% 95%;
        --card: 220 15% 12%;
        --card-foreground: 0 0% 95%;
        --popover: 220 15% 12%;
        --popover-foreground: 0 0% 95%;
        --primary: 0 84% 60%;
        --primary-foreground: 0 0% 98%;
        --secondary: 220 15% 18%;
        --secondary-foreground: 0 0% 95%;
        --muted: 220 15% 15%;
        --muted-foreground: 0 0% 70%;
        --accent: 45 93% 58%;
        --accent-foreground: 220 15% 8%;
        --destructive: 0 84% 60%;
        --destructive-foreground: 0 0% 98%;
        --border: 0 84% 60%;
        --input: 220 15% 18%;
        --ring: 0 84% 60%;
        --radius: 0.5rem;
        /* Team page specific colors */
        --team-card-bg: 220 15% 10%;
        --team-card-border: 0 84% 60%;
        --nav-bg: 220 15% 6%;
        --footer-bg: 220 15% 4%;
        --sidebar-background: 220 15% 8%;
        --sidebar-foreground: 0 0% 95%;
        --sidebar-primary: 0 84% 60%;
        --sidebar-primary-foreground: 0 0% 98%;
        --sidebar-accent: 220 15% 15%;
        --sidebar-accent-foreground: 0 0% 95%;
        --sidebar-border: 0 84% 60%;
        --sidebar-ring: 0 84% 60%;
    }

    .dark {
        --background: 222.2 84% 4.9%;
        --foreground: 210 40% 98%;
        --card: 222.2 84% 4.9%;
        --card-foreground: 210 40% 98%;
        --popover: 222.2 84% 4.9%;
        --popover-foreground: 210 40% 98%;
        --primary: 210 40% 98%;
        --primary-foreground: 222.2 47.4% 11.2%;
        --secondary: 217.2 32.6% 17.5%;
        --secondary-foreground: 210 40% 98%;
        --muted: 217.2 32.6% 17.5%;
        --muted-foreground: 215 20.2% 65.1%;
        --accent: 217.2 32.6% 17.5%;
        --accent-foreground: 210 40% 98%;
        --destructive: 0 62.8% 30.6%;
        --destructive-foreground: 210 40% 98%;
        --border: 217.2 32.6% 17.5%;
        --input: 217.2 32.6% 17.5%;
        --ring: 212.7 26.8% 83.9%;
        --sidebar-background: 240 5.9% 10%;
        --sidebar-foreground: 240 4.8% 95.9%;
        --sidebar-primary: 224.3 76.3% 48%;
        --sidebar-primary-foreground: 0 0% 100%;
        --sidebar-accent: 240 3.7% 15.9%;
        --sidebar-accent-foreground: 240 4.8% 95.9%;
        --sidebar-border: 240 3.7% 15.9%;
        --sidebar-ring: 217.2 91.2% 59.8%;
    }
}

@layer base {
    * {
        border-color: hsl(var(--border));
    }
}

/* ==============================
   HEADER / NAVBAR STYLING (MASTER COPY)
   ============================== */

/* 1. Header Container */
.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    padding: 10px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    height: 75px; 
    position: static;
    z-index: 100;
}

/* 2. Logo Consistency */
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-section img {
    height: 60px;
    width: auto;
    transform: scale(1.3);
    transform-origin: left center;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-section img:hover {
    transform: scale(1.4);
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
    color: #f9c802; 
}

/* 3. Navigation Links (The Golden Glow) */
nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-family: 'Open Sans', sans-serif; 
    font-size: 17px;  
    font-weight: 500; 
    position: relative;
    padding-bottom: 6px; 
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* The Golden Line (Center-out, Elegant) */
nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: #f9c802;
    box-shadow: 
        0 0 8px rgba(249, 200, 2, 0.8), 
        0 0 16px rgba(249, 200, 2, 0.6);
    transition: width 0.4s ease-in-out; 
}

/* Hover & Active State */
nav a:hover,
nav a.active {
    color: #f9c802;
    text-shadow: 
        0 0 12px rgba(249, 200, 2, 0.6), 
        0 0 24px rgba(249, 200, 2, 0.4);
}

/* Smooth Expansion */
nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* HAMBURGER BUTTON (MOBILE) */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* MOBILE NAV MENU */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: #000;
    text-align: center;
    padding: 20px;
    gap: 15px;
}

.mobile-nav a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: color 0.25s ease;
    font-family: 'Open Sans', sans-serif;
}

.mobile-nav a:hover {
    color: #f9c802;
}

.mobile-nav.active {
    display: flex;
}

/* RESPONSIVE HEADER */
@media (max-width: 1024px) {
    nav {
        display: none; 
    }

    .hamburger {
        display: block;
    }
}
/* RESPONSIVE HEADER */
@media (max-width: 1024px) {
    nav {
        display: none; 
    }

    .hamburger {
        display: block;
    }

    .logo-section img {
        height: 55px;
        transform: scale(1.2);
    }

    .header-content {
        padding: 10px 25px;
        height: 70px;
    }
}

@media (max-width: 600px) {
    .logo-section img {
        height: 50px;
        transform: scale(1.1);
    }

    .header-content {
        padding: 10px 20px;
        height: 65px;
    }
}


.page-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    font-size: 52px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700, #FFA500, #DAA520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
    }

    to {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
    }
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    border-radius: 2px;
}


/* ===============================
   FOOTER SECTION (MASTER COPY)
   =============================== */
.footer-content {
    background-color: #000;
    color: #fff;
    padding: 60px 50px;
    border-radius: 16px 16px 0 0;
    font-family: 'Open Sans', sans-serif;
    border-top: 1px solid #333;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo-section {
    flex: 1 1 300px;
}

.footer-logo-section img {
    width: 150px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.footer-logo-section p {
    font-size: 16px;
    line-height: 1.6;
}

.footer-links-section {
    flex: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: nowrap; 
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

.footer-column h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
}

.footer-column a {
    text-decoration: none;
    color: #ddd;
    font-size: 16px;
    transition: color 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column a:hover {
    color: #f9c802; 
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-item img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: brightness(0) invert(1);
}

.social-item img:hover {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(81%) sepia(68%) saturate(727%) hue-rotate(7deg) brightness(103%) contrast(103%);
}

.social-item img[alt="Twitter"] {
    /* Remove the harsh filter that works poorly on non-SVG/non-monochromatic PNGs */
    filter: none; 
    
    /* Ensure the hover effect doesn't break it either */
    transition: transform 0.2s ease; /* Keep the transform */
}

.social-item img[alt="Twitter"]:hover {
    /* Set the filter back to 'none' on hover if you don't want the gold color */
    filter: none;
    transform: scale(1.1);
}   

.social-item a {
    color: #ddd;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.social-item a:hover {
    color: #f9c802;
}

.footer-divider {
    width: 100%;
    height: 2px;
    background-color: #333;
    margin: 60px 0 20px;
    border-radius: 2px;
}

.copyright {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    color: #bbb;
}

/* ===============================
   RESPONSIVE DESIGN (Combined)
   =============================== */

@media (max-width: 1200px) {
    .footer-links-section {
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links-section {
        justify-content: center;
        flex-wrap: wrap; 
        gap: 40px;
    }

    .footer-column {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 40px 20px;
    }

    .footer-links-section {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-column h3 { font-size: 18px; }
    .footer-column a { font-size: 15px; }
    .copyright { font-size: 14px; }
}

@media (max-width: 480px) {
    .footer-logo-section img { width: 100px; }
    .footer-content { padding: 35px 15px; }
    .footer-links-section { gap: 25px; }
    .footer-column a { font-size: 14px; }
}