/* Dark Luxury CSS Overhaul - MIS Club - V2 (Premium) */
:root {
    /* Color Palette - Deep & rich */
    --primary-bg: #050505;
    --secondary-bg: #0a0a0a;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F4CF57;
    --accent-gold-dark: #aa8c2c;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #1a1a1a;

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F4CF57 50%, #D4AF37 100%);
    --gold-gradient-hover: linear-gradient(135deg, #F4CF57 0%, #fff 50%, #F4CF57 100%);
    --dark-gradient: linear-gradient(to bottom, #0a0a0a, #000);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    /* Subtle border */
    --glass-highlight: rgba(255, 255, 255, 0.15);
    /* Stronger highlight */
    --blur-amount: 20px;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1400px;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* "Apple-like" smooth ease */
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------
   Global Aesthetic
------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    /* Subtle noise texture overlay */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.04) 0%, transparent 25%);
}

/* Selection Color */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #fff;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
    /* Responsive padding */
}

/* Golden Text & Accents */
.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    position: relative;
    opacity: 0;
    /* Hidden initially for animation */
    transform: translateY(30px);
}

/* -------------------------------------------------------------------
   Navigation
------------------------------------------------------------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    position: fixed;
    width: 100%;
    max-width: none;
    top: 0;
    left: 0;
    transform: none;
    z-index: 2000;
    background: rgba(5, 5, 5, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sticky State */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    padding: 8px 5%;
    top: 0;
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2); 
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
}

.logo img {
    height: 75px; 
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
    display: block;
}

.navbar.scrolled .logo img {
    height: 55px;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 5px 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
    border-radius: 2px;
}

.nav-links li a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
    z-index: 2002;
}

.burger div {
    width: 28px;
    height: 2px;
    background-color: #fff;
    margin: 6px 0;
    border-radius: 2px;
    transition: 0.4s;
}

/* Mobile Nav Styles */
@media (max-width: 900px) {
    .navbar {
        width: 100%;
        padding: 15px 5%;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 15px);
        right: 0;
        height: auto;
        width: 250px;
        background: rgba(15, 15, 15, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 25px;
        gap: 20px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 15px 40px rgba(0,0,0,0.6);
        z-index: 2001;
    }

    .nav-links.nav-active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.4s ease;
    }

    .nav-links.nav-active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered delay for list items */
    .nav-links.nav-active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.nav-active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.nav-active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.nav-active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.nav-active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.nav-active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-links.nav-active li:nth-child(7) { transition-delay: 0.4s; }

    .nav-links li a {
        display: block;
        width: 100%;
        font-size: 1.1rem;
    }

    .burger {
        display: block;
    }

    /* Burger Toggle Animation */
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* -------------------------------------------------------------------
   Hero Section (Immersive)
------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Background Handling */
.hero-overlay {
    position: absolute;
    top: -5%;
    /* Zoom buffer */
    left: -5%;
    width: 110%;
    /* Zoom buffer */
    height: 110%;
    background: url('hero-bg.png') no-repeat center center/cover;
    filter: brightness(0.6);
    z-index: 0;
    will-change: transform;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    line-height: 1;
    /* Text Reveal Animation Setup */
    opacity: 0;
    transform: translateY(40px);
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    /* Animation */
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

/* CTA Button - High End */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 45px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--accent-gold);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    /* Animation */
    opacity: 0;
    transform: translateY(20px);
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
    pointer-events: none;
}

.cta-button:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    transform: translateY(-3px);
}

.cta-button:hover::before {
    left: 100%;
    transition: 0.5s;
}

/* Developer Credit */
.developer-credit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 50px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

/* -------------------------------------------------------------------
   Shared Section Styling
------------------------------------------------------------------- */
section {
    padding: 120px 0;
    position: relative;
}

/* -------------------------------------------------------------------
   Leadership Section (Cards)
------------------------------------------------------------------- */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
    justify-content: center;
}

.leader-card {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.leader-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.leader-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
    transition: var(--transition-medium);
    position: relative;
}

.leader-card:hover .leader-avatar {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.leader-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #fff;
}

.leader-role {
    display: block;
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 20px;
}

.leader-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* -------------------------------------------------------------------
   About Section
------------------------------------------------------------------- */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.25rem;
    color: #ccc;
    font-weight: 300;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 30px;
}

/* -------------------------------------------------------------------
   Clubs Grid (Interactive)
------------------------------------------------------------------- */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.club-card {
    background: #111;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-medium);
    position: relative;
    /* group: club; */
    /* Removed invalid property */
    height: 100%;
}

.club-card::before {
    content: none;
}

/* Mouse hover handled by JS or generic hover */
.club-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.club-card:hover .club-icon {
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 20px var(--accent-gold);
}

.club-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    /* Fallback */
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transition: var(--transition-medium);
    will-change: transform;
}

.club-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s;
}

.club-card:hover h3 {
    color: var(--accent-gold);
}

.club-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: auto;
    /* Push content up properly */
}

.instagram-link {
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    padding: 8px 16px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    transition: 0.3s;
}

.instagram-link:hover {
    background: var(--accent-gold);
    color: #000;
}

/* -------------------------------------------------------------------
   Gallery & Media
------------------------------------------------------------------- */
.insta-featured-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* We style the iframe container roughly since Instagram controls inner content */
.instagram-media {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    transition: transform 0.3s ease;
}

.instagram-media:hover {
    transform: scale(1.01);
}

/* -------------------------------------------------------------------
   Events
------------------------------------------------------------------- */
.events-section {
    background: #050505;
    /* Consistent Dark */
}

.event-card {
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 0;
    /* Reset for inner layout */
    display: flex;
    /* Flex layout if needed */
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
    transition: var(--transition-medium);
}

/* Re-using previous structure but refining */
/* Adjusted padding to preventing text overlapping with the 80px date box */
.event-details {
    padding: 30px 30px 30px 100px;
    position: relative;
    z-index: 2;
}

.event-card.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    background: repeating-linear-gradient(45deg,
            #0a0a0a,
            #0a0a0a 10px,
            #111 10px,
            #111 20px);
    border: 1px dashed #333;
}

/* -------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */
.footer {
    background: #000;
    padding: 80px 0 30px;
    border-top: 1px solid #222;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #666;
    max-width: 300px;
}

.footer-links h3,
.footer-socials h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #888;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
    border: 1px solid #222;
}

.social-icons a:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-5px) rotate(10deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #111;
    color: #555;
    font-size: 0.9rem;
}

/* -------------------------------------------------------------------
   Animations & Keyframes
------------------------------------------------------------------- */

/* Base Fade In Up */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Class to trigger animations via JS Observer */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible,
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Staggered Delays for Grid Items via nth-child (up to 10) */
.leadership-grid>div:nth-child(1) {
    transition-delay: 0.1s;
}

.leadership-grid>div:nth-child(2) {
    transition-delay: 0.2s;
}

.leadership-grid>div:nth-child(3) {
    transition-delay: 0.3s;
}

.clubs-grid>a:nth-child(1) .club-card {
    transition-delay: 0.05s;
}

.clubs-grid>a:nth-child(2) .club-card {
    transition-delay: 0.1s;
}

.clubs-grid>a:nth-child(3) .club-card {
    transition-delay: 0.15s;
}

.clubs-grid>a:nth-child(4) .club-card {
    transition-delay: 0.2s;
}

/* ...and so on */

/* -------------------------------------------------------------------
   Responsiveness (Mobile Optimized)
------------------------------------------------------------------- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    section {
        padding: 80px 0;
    }

    .club-card,
    .leader-card {
        padding: 30px 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .container {
        padding: 0 20px;
    }
}

/* -------------------------------------------------------------------
   Multi-Page Refinements (Club Pages)
------------------------------------------------------------------- */
.club-hero {
    height: 70vh;
    /* background-attachment: fixed; - REMOVED for performance */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
}

@media (max-width: 768px) {
    .club-hero {
        height: 50vh;
    }

    .glass-panel {
        padding: 40px 20px;
    }

    .club-leader-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px;
        border-left: none;
        border-top: 4px solid var(--accent-gold);
    }
}

.glass-panel {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--glass-border);
    padding: 80px;
    border-radius: 30px;
    backdrop-filter: blur(30px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    margin: 0 auto;
}

.club-leader-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.02), transparent);
    padding: 40px;
    border-radius: 20px;
    border-left: 4px solid var(--accent-gold);
    margin-top: 50px;
    transition: var(--transition-medium);
}

.club-leader-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* Calendar Specifics */
.events-scroll-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding-bottom: 50px;
}

/* Event Card - Adjusted for Grid Layout */
.event-card {
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
    transition: var(--transition-medium);
    min-height: 250px;
    /* Ensure minimum height */
    flex: 1 1 350px;
    /* Responsive Flex */
    max-width: 400px;
}

.event-date-box {
    background: var(--accent-gold);
    color: #000;
    padding: 15px;
    text-align: center;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 80px;
}

.event-day {
    font-size: 2rem;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-card.featured {
    border: 2px solid var(--accent-gold);
    transform: scale(1.05);
    /* Slightly larger */
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    min-width: 350px;
    /* Bigger card */
}

/* Removed white background override for featured event */

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-gold);
    color: #000;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
}

.countdown-timer {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    color: var(--accent-gold);
    font-family: monospace;
    font-size: 1.2rem;
}

.event-time {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

.event-time i {
    color: var(--accent-gold);
    margin-right: 8px;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Event Modal styling */
.event-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

.event-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.event-modal-content {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    padding: 60px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(50px);
    transition: var(--transition-medium);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
}

.event-modal-overlay.active .event-modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--accent-gold);
}

.modal-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.modal-header h2 {
    font-size: 2.5rem;
    margin: 15px 0;
    color: #fff;
}

.modal-meta {
    display: flex;
    gap: 20px;
    color: var(--accent-gold);
    font-family: var(--font-body);
    font-weight: 600;
}

.modal-meta i {
    margin-right: 8px;
}

.modal-body {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.modal-body strong {
    color: #fff;
}

/* Event Card Interaction */
.event-card {
    cursor: pointer;
}

/* -------------------------------------------------------------------
   Modern Modal (Team & Generic) - V2
------------------------------------------------------------------- */
.modern-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modern-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modern-modal-content {
    background: #0a0a0a;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 50px 40px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy pop */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.modern-modal-overlay.active .modern-modal-content {
    transform: scale(1) translateY(0);
}

/* Modal Glow Effect */
.modern-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.modern-modal-content>* {
    position: relative;
    z-index: 2;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--accent-gold);
    color: #000;
    transform: rotate(90deg);
}

.modal-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.modal-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
    text-transform: capitalize;
}

.modal-role-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-desc {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

.modal-insta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
    transition: all 0.3s ease;
}

.modal-insta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(220, 39, 67, 0.5);
    filter: brightness(1.1);
    color: #fff;
}

/* Utility: Club Tag */
.club-tag {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
}

.club-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: var(--accent-gold);
}