:root {
    --bg-main: #18192B;
    --bg-secondary: #2E3146;
    --primary-accent: #FFFFFF;
    --secondary-accent: #4A5073;
    --highlight-accent: #DDE1F0;
    --text-main: #F8F9FA;
    --text-muted: #8C92B0;
    --inverse-text: #11121C;
    --glass-bg: rgba(46, 49, 70, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background System */
.bg-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.orb-purple {
    background: var(--primary-accent);
    top: -200px;
    right: -100px;
    animation: pulse 10s infinite alternate;
}

.orb-blue {
    background: var(--highlight-accent);
    bottom: -200px;
    left: -100px;
    animation: pulse 12s infinite alternate-reverse;
}

@keyframes pulse {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Glassmorphism (Metallic) */
.glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 40%, rgba(0, 0, 0, 0.15) 41%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 24px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: none;
}

/* Navbar */
.navbar-wrapper {
    position: fixed;
    top: 2rem;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    width: fit-content;
    min-width: 800px;
    border-radius: 100px;
}

.nav-logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.nav-logo-group:hover {
    opacity: 0.75;
}

.nav-logo {
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.2rem;
    color: var(--text-main);
    text-decoration: none;
    transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.75; }

.nav-logo-sub {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.nav-logo-sub:hover {
    color: var(--highlight-accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-gallery-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}
.btn-gallery-link:hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.nav-links {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-bubble {
    position: absolute;
    top: 50%;
    left: 0;
    height: 100%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    margin: 0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: visible;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--accent-blue);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}



.god-ray-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    overflow: visible;
}

.god-ray-text {
    position: relative;
    z-index: 2;
    font-size: clamp(40px, 12vw, 120px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    margin: 0;
    padding-right: 0.15em; /* Prevents trailing 'S' from clipping */
}

.rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 10%,
        rgba(255, 255, 255, 0) 20%,
        rgba(221, 225, 240, 0.2) 30%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(221, 225, 240, 0.2) 70%,
        rgba(255, 255, 255, 0) 80%,
        rgba(255, 255, 255, 0.15) 90%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(20px);
    animation: rotateRays 20s linear infinite;
    mix-blend-mode: screen;
    mask-image: radial-gradient(circle at center, black 0%, transparent 60%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 60%);
}

@keyframes rotateRays {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.glitch-text {
    background: linear-gradient(to bottom, #fff 30%, var(--highlight-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
    padding-right: 0.15em;
    margin-right: -0.15em;
}

.subheadline {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.btn-primary,
.btn-primary-lg {
    /* Metallic gradient: bright white top highlight â†’ white body â†’ light grey carved bottom */
    background: linear-gradient(
        180deg,
        #FFFFFF 0%,
        #F0F2F5 40%,
        #DDE1F0 75%,
        #B0B4C4 100%
    );
    color: var(--inverse-text);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,1),
        inset 0 -2px 0 rgba(0,0,0,0.1),
        0 6px 20px rgba(255, 255, 255, 0.2),
        0 2px 6px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

/* Metallic sheen sweep on primary buttons */
.btn-primary::before,
.btn-primary-lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-15deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.btn-primary:hover::before,
.btn-primary-lg:hover::before {
    left: 125%;
}

.btn-primary-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary:hover,
.btn-primary-lg:hover {
    background: linear-gradient(
        180deg,
        #FFFFFF 0%,
        #F8F9FA 20%,
        #EAECEF 75%,
        #C0C4D4 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,1),
        inset 0 -2px 0 rgba(0,0,0,0.15),
        0 8px 25px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0,0,0,0.2);
    transform: translateY(-2px);
    color: var(--inverse-text);
}

.btn-secondary-lg {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 40%,
        rgba(0, 0, 0, 0.25) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
    padding: 1.25rem 2.5rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-secondary-lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-15deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.btn-secondary-lg:hover::before {
    left: 125%;
}

.btn-secondary-lg:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.08) 40%,
        rgba(0, 0, 0, 0.15) 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.35),
        0 6px 28px rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple span {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: ripple-animation 0.6s linear;
}

@keyframes ripple-animation {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 500px; height: 500px; opacity: 0; }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    padding: 2rem;
}

.stat-val {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #fff, var(--highlight-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Marquee */
.partners {
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    margin-bottom: 2rem;
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: scroll 45s linear infinite;
}

.marquee-reverse {
    animation-direction: reverse;
}

.marquee a {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem 3rem;
    margin: 0 1rem;
    border-radius: 100px;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: inline-block;
}

.marquee a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.marquee-wrapper:hover .marquee {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* About / Features */
.section-title {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 3rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Committee Grid */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.committee-card {
    padding: 0;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.committee-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--highlight-accent);
}

.committee-card:hover .committee-card-abbr {
    background: linear-gradient(135deg, #fff, var(--highlight-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Committee Card Inner Layout */
.committee-card-inner {
    position: relative;
    padding: 3.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    gap: 0.5rem;
    box-sizing: border-box;
    text-align: center;
}

.committee-card-agenda-btn {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(139, 92, 246, 0.9);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 99px;
    padding: 0.2rem 0.65rem;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    user-select: none;
    z-index: 5;
}

.committee-card-agenda-btn:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.7);
    color: #c4b5fd;
}

/* â”€â”€ Agenda Popover â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.agenda-popover {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 3000;
    width: min(520px, 90vw);
    background: linear-gradient(135deg, rgba(30, 28, 48, 0.97) 0%, rgba(18, 15, 30, 0.99) 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 18px;
    padding: 1.6rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(139, 92, 246, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.agenda-popover.active {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.agenda-popover-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #a78bfa;
    margin-bottom: 0.6rem;
}

.agenda-popover-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
}

.agenda-popover-close {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.agenda-popover-close:hover {
    color: var(--text-main);
}

.committee-card-abbr {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 0.04em;
    transition: all 0.4s ease;
    line-height: 1;
}

.committee-card-fullname {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    line-height: 1.5;
}

.committee-card-tag {
    display: inline-block;
    margin-top: 0.3rem;
    padding: 0.15rem 0.6rem;
    border-radius: 99px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* â”€â”€ Committee Modal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.committee-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 20, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    pointer-events: none;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.committee-modal-overlay.active {
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    pointer-events: all;
}

.committee-modal {
    position: relative;
    width: 90%;
    max-width: 980px;
    max-height: 85vh;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(30, 28, 48, 0.95) 0%, rgba(18, 15, 30, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(139, 92, 246, 0.1);
    transform: scale(0.85) translateY(40px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.committee-modal-overlay.active .committee-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.committee-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.committee-modal-close:hover {
    background: rgba(255,255,255,0.15);
    transform: rotate(90deg);
}

.committee-modal-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

/* LEFT SIDE */
.committee-modal-left {
    padding: 2.5rem 3rem 2.5rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow-y: auto;
    max-height: 85vh;
}

.committee-modal-left::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
    pointer-events: none;
}

.committee-modal-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #a78bfa;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    display: inline-block;
    width: fit-content;
}

.committee-modal-abbr {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, var(--highlight-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.6rem;
}

.committee-modal-fullname {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.committee-modal-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.9;
}

.committee-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.committee-modal-tags span {
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* RIGHT SIDE */
.committee-modal-right {
    padding: 2.5rem 3.5rem 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    max-height: 85vh;
}

.committee-modal-coord-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.committee-modal-coords {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.coordinator-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    transition: all 0.3s ease;
}

.coordinator-card:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateX(6px);
}

.coordinator-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    object-fit: cover;
}

.coordinator-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.coordinator-info span {
    font-size: 0.8rem;
    color: #a78bfa;
    font-weight: 500;
}

/* Zoom animation on card click */
.committee-card.zooming {
    transform: scale(1.15);
    z-index: 100;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .committee-modal-split {
        grid-template-columns: 1fr;
    }
    .committee-modal-left {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding: 2rem;
    }
    .committee-modal-right {
        padding: 2rem;
    }
}


/* â”€â”€ Schedule Roadmap â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.schedule {
    padding: 8rem 0;
}

.schedule-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -2.5rem;
    margin-bottom: 4rem;
}

/* Schedule Grid */
.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-card {
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.schedule-card:hover {
    transform: translateX(10px);
}

.schedule-inner {
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.schedule-time {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--highlight-accent);
    min-width: 140px;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.schedule-info h4 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.schedule-icon {
    position: absolute;
    right: 2.5rem;
    font-size: 2.5rem;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.schedule-card:hover .schedule-icon {
    opacity: 0.4;
    transform: scale(1.2) rotate(10deg);
}

.final-inner {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
}

.final-inner h4 {
    color: var(--highlight-accent);
}

.claim-btn {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .schedule-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }

    .schedule-time {
        min-width: auto;
    }

    .schedule-icon {
        top: 1.5rem;
        right: 1.5rem;
    }

    .schedule-card:hover {
        transform: translateY(-5px);
    }
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    height: 420px;
    padding: 3rem 2rem;
    text-align: center;
}

.member-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent), var(--highlight-accent));
    margin: 0 auto 2rem;
    border: 2px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

/* Registration Form */
.reg-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding: 5rem;
    margin-top: 5rem;
}

.reg-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reg-form input,
.reg-form select,
.reg-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    border-radius: 16px;
    color: white;
    font-family: inherit;
    transition: var(--transition-smooth);
    outline: none;
}

.reg-form input:focus,
.reg-form select:focus,
.reg-form textarea:focus {
    border-color: var(--primary-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-header {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.accordion-item.open .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-body {
    padding: 0 1.5rem;
    display: none;
    color: var(--text-muted);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
}

.footer .container {
    padding: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 4rem;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .navbar {
        min-width: 0;
        width: 90%;
    }
    
    .team-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats,
    .feature-grid,
    .committee-grid,
    .team-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .reg-split {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

/* â”€â”€ Hamburger Menu â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    gap: 5px;
    cursor: pointer;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 0;
    transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.13); }
.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(15, 14, 26, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-nav-drawer.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-nav-drawer a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: color 0.2s;
}
.mobile-nav-drawer a:hover { color: var(--highlight-accent); }
.mobile-nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-main);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1001;
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.15); }

@media (max-width: 768px) {
    /* Prevent ALL horizontal overflow */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .container {
        padding: 0 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }

    /* Navbar */
    .navbar-wrapper {
        top: 1rem;
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
        left: 0;
    }
    .navbar {
        min-width: 0;
        width: 100%;
        padding: 0.75rem 1.25rem;
        border-radius: 20px;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-nav-drawer {
        display: flex;
    }

    /* Hero */
    .hero {
        padding-top: 110px;
        padding-bottom: 3rem;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    .btn-primary-lg,
    .btn-secondary-lg {
        width: 100%;
        padding: 1rem;
        box-sizing: border-box;
    }
    .hero-stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.5rem;
    }
    .stat-card {
        padding: 1rem 0.5rem;
    }
    .stat-val { font-size: 1.8rem; }

    /* Sections */
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    .feature-grid,
    .committee-grid,
    .team-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Team */
    /* Team â€” mobile: card on top, info below */
    .team-split {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        text-align: center;
    }
    .team-stack {
        width: 230px;
        height: 270px;
        max-width: 100%;
        flex-shrink: 0;
        margin: 0 auto;
        perspective: 800px;
        /* clip cards that fan out */
        overflow: hidden;
    }
    /* On mobile reset transform-origin so cards don't bleed left */
    .team-stack .border-glow-card {
        transform-origin: 50% 100%;
    }
    .team-info-container {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        gap: 0.75rem;
    }
    .team-info-container h3 {
        font-size: 1.5rem;
        word-break: break-word;
        line-height: 1.2;
    }
    .team-info-container h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    .team-info-container p {
        font-size: 0.9rem;
        line-height: 1.6;
    }


    /* Registration Form */
    .reg-split {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    /* Fix the inline 2-col grid inside the form */
    .reg-form > div[style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    .reg-form input,
    .reg-form select,
    .reg-form textarea {
        width: 100%;
        box-sizing: border-box;
    }

    /* Rotating text wrapper */
    .rotating-text-wrapper {
        flex-direction: column;
        gap: 0.25em;
        font-size: 1.5rem;
    }

    /* Footer */
    .footer .container {
        padding: 2rem 1.25rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Schedule */
    .schedule-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1.25rem;
    }
    .schedule-time { min-width: auto; font-size: 0.95rem; }
    .schedule-icon { top: 1rem; right: 1rem; font-size: 1.8rem; }
    .schedule-card:hover { transform: none; }

    /* Tilted card figure */
    .tilted-card-figure {
        width: 180px;
        height: 180px;
    }

    /* About */
    .about { padding: 4rem 0; }
    .committees { padding: 4rem 0; }
    .schedule { padding: 4rem 0; }
    .team { padding: 4rem 0; }
    .registration { padding: 2rem 0; }
    .faq { padding: 4rem 0; }

    /* Accordion */
    .accordion-header { font-size: 1rem; padding: 1.25rem; }

    /* Partners marquee */
    .partners { padding: 3rem 0; }
}

/* --- Border Glow Card Customizations --- */
.border-glow-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 30;
  --color-sensitivity: calc(var(--edge-sensitivity) + 20);
  --border-radius: 24px;
  --glow-padding: 40px;
  --cone-spread: 25;

  position: relative;
  border-radius: var(--border-radius);
  isolation: isolate;
  transform: translate3d(0, 0, 0.01px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgb(255 255 255 / 15%);
  background: var(--card-bg, #120F17);
  overflow: visible;
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 1px 2px,
    rgba(0, 0, 0, 0.1) 0px 2px 4px,
    rgba(0, 0, 0, 0.1) 0px 4px 8px,
    rgba(0, 0, 0, 0.1) 0px 8px 16px,
    rgba(0, 0, 0, 0.1) 0px 16px 32px,
    rgba(0, 0, 0, 0.1) 0px 32px 64px;
}

.border-glow-card::before,
.border-glow-card::after,
.border-glow-card > .edge-light {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.25s ease-out;
  z-index: -1;
}

.border-glow-card:not(:hover):not(.sweep-active)::before,
.border-glow-card:not(:hover):not(.sweep-active)::after,
.border-glow-card:not(:hover):not(.sweep-active) > .edge-light {
  opacity: 0;
  transition: opacity 0.75s ease-in-out;
}

/* colored mesh-gradient border */
.border-glow-card::before {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card-bg, #120F17) 0 100%) padding-box,
    linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
    var(--gradient-one, radial-gradient(at 80% 55%, hsla(268, 100%, 76%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-two, radial-gradient(at 69% 34%, hsla(349, 100%, 74%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-three, radial-gradient(at 8% 6%, hsla(136, 100%, 78%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-four, radial-gradient(at 41% 38%, hsla(192, 100%, 64%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-five, radial-gradient(at 86% 85%, hsla(186, 100%, 74%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-six, radial-gradient(at 82% 18%, hsla(52, 100%, 65%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-seven, radial-gradient(at 51% 4%, hsla(12, 100%, 72%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-base, linear-gradient(#c299ff 0 100%)) border-box;

  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));

  mask-image:
    conic-gradient(
      from var(--cursor-angle) at center,
      black calc(var(--cone-spread) * 1%),
      transparent calc((var(--cone-spread) + 15) * 1%),
      transparent calc((100 - var(--cone-spread) - 15) * 1%),
      black calc((100 - var(--cone-spread)) * 1%)
    );
}

/* colored mesh-gradient background fill near edges */
.border-glow-card::after {
  border: 1px solid transparent;
  background:
    var(--gradient-one, radial-gradient(at 80% 55%, hsla(268, 100%, 76%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-two, radial-gradient(at 69% 34%, hsla(349, 100%, 74%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-three, radial-gradient(at 8% 6%, hsla(136, 100%, 78%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-four, radial-gradient(at 41% 38%, hsla(192, 100%, 64%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-five, radial-gradient(at 86% 85%, hsla(186, 100%, 74%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-six, radial-gradient(at 82% 18%, hsla(52, 100%, 65%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-seven, radial-gradient(at 51% 4%, hsla(12, 100%, 72%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-base, linear-gradient(#c299ff 0 100%)) padding-box;

  mask-image:
    linear-gradient(to bottom, black, black),
    radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
    radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);

  mask-composite: subtract, add, add, add, add, add;
  opacity: calc(var(--fill-opacity, 0.5) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mix-blend-mode: soft-light;
}

/* outer glow layer */
.border-glow-card > .edge-light {
  inset: calc(var(--glow-padding) * -1);
  pointer-events: none;
  z-index: 1;

  mask-image:
    conic-gradient(
      from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
    );

  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
}

.border-glow-card > .edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color, hsl(40deg 80% 80% / 100%)),
    inset 0 0 1px 0 var(--glow-color-60, hsl(40deg 80% 80% / 60%)),
    inset 0 0 3px 0 var(--glow-color-50, hsl(40deg 80% 80% / 50%)),
    inset 0 0 6px 0 var(--glow-color-40, hsl(40deg 80% 80% / 40%)),
    inset 0 0 15px 0 var(--glow-color-30, hsl(40deg 80% 80% / 30%)),
    inset 0 0 25px 2px var(--glow-color-20, hsl(40deg 80% 80% / 20%)),
    inset 0 0 50px 2px var(--glow-color-10, hsl(40deg 80% 80% / 10%)),
    0 0 1px 0 var(--glow-color-60, hsl(40deg 80% 80% / 60%)),
    0 0 3px 0 var(--glow-color-50, hsl(40deg 80% 80% / 50%)),
    0 0 6px 0 var(--glow-color-40, hsl(40deg 80% 80% / 40%)),
    0 0 15px 0 var(--glow-color-30, hsl(40deg 80% 80% / 30%)),
    0 0 25px 2px var(--glow-color-20, hsl(40deg 80% 80% / 20%)),
    0 0 50px 2px var(--glow-color-10, hsl(40deg 80% 80% / 10%));
}

.border-glow-inner {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: auto;
  z-index: 1;
  padding: 3rem 2rem;
  flex-grow: 1;
  border-radius: var(--border-radius);
  background: var(--bg-main); /* Hides elements going under the border inside */
}

/* Team Split Layout */
.team-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.team-stack {
  position: relative;
  height: 450px;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  perspective: 1000px;
}

.team-stack .border-glow-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: grab;
  transform-origin: 90% 90%;
  --card-bg: var(--bg-secondary);
}

.team-stack .border-glow-card:active {
  cursor: grabbing;
}

.team-stack .member-img {
  margin-top: 1rem;
}

.team-info-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-info-container h3 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(45deg, #fff, var(--highlight-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.team-info-container h5 {
  font-size: 1.25rem;
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.team-info-container p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.team-info-content {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

.team-info-content.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

/* Light Rays Background */
.light-rays-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    overflow: hidden;
}

.light-rays-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.border-glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: var(--border-width);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card-bg, #120F17) 0 100%) padding-box,
    linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
    var(--gradient-one, radial-gradient(at 80% 55%, hsla(268, 100%, 76%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-two, radial-gradient(at 69% 34%, hsla(349, 100%, 74%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-three, radial-gradient(at 8% 6%, hsla(136, 100%, 78%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-four, radial-gradient(at 41% 38%, hsla(192, 100%, 64%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-five, radial-gradient(at 86% 85%, hsla(186, 100%, 74%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-six, radial-gradient(at 82% 18%, hsla(52, 100%, 65%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-seven, radial-gradient(at 51% 4%, hsla(12, 100%, 72%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-base, linear-gradient(#c299ff 0 100%)) border-box;

  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));

  mask-image:
    conic-gradient(
      from var(--cursor-angle) at center,
      black calc(var(--cone-spread) * 1%),
      transparent calc((var(--cone-spread) + 15) * 1%),
      transparent calc((100 - var(--cone-spread) - 15) * 1%),
      black calc((100 - var(--cone-spread)) * 1%)
    );
}

/* colored mesh-gradient background fill near edges */
.border-glow-card::after {
  border: 1px solid transparent;
  background:
    var(--gradient-one, radial-gradient(at 80% 55%, hsla(268, 100%, 76%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-two, radial-gradient(at 69% 34%, hsla(349, 100%, 74%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-three, radial-gradient(at 8% 6%, hsla(136, 100%, 78%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-four, radial-gradient(at 41% 38%, hsla(192, 100%, 64%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-five, radial-gradient(at 86% 85%, hsla(186, 100%, 74%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-six, radial-gradient(at 82% 18%, hsla(52, 100%, 65%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-seven, radial-gradient(at 51% 4%, hsla(12, 100%, 72%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-base, linear-gradient(#c299ff 0 100%)) padding-box;

  mask-image:
    linear-gradient(to bottom, black, black),
    radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
    radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);

  mask-composite: subtract, add, add, add, add, add;
  opacity: calc(var(--fill-opacity, 0.5) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mix-blend-mode: soft-light;
}

/* outer glow layer */
.border-glow-card > .edge-light {
  inset: calc(var(--glow-padding) * -1);
  pointer-events: none;
  z-index: 1;

  mask-image:
    conic-gradient(
      from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
    );

  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
}

.border-glow-card > .edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color, hsl(40deg 80% 80% / 100%)),
    inset 0 0 1px 0 var(--glow-color-60, hsl(40deg 80% 80% / 60%)),
    inset 0 0 3px 0 var(--glow-color-50, hsl(40deg 80% 80% / 50%)),
    inset 0 0 6px 0 var(--glow-color-40, hsl(40deg 80% 80% / 40%)),
    inset 0 0 15px 0 var(--glow-color-30, hsl(40deg 80% 80% / 30%)),
    inset 0 0 25px 2px var(--glow-color-20, hsl(40deg 80% 80% / 20%)),
    inset 0 0 50px 2px var(--glow-color-10, hsl(40deg 80% 80% / 10%)),
    0 0 1px 0 var(--glow-color-60, hsl(40deg 80% 80% / 60%)),
    0 0 3px 0 var(--glow-color-50, hsl(40deg 80% 80% / 50%)),
    0 0 6px 0 var(--glow-color-40, hsl(40deg 80% 80% / 40%)),
    0 0 15px 0 var(--glow-color-30, hsl(40deg 80% 80% / 30%)),
    0 0 25px 2px var(--glow-color-20, hsl(40deg 80% 80% / 20%)),
    0 0 50px 2px var(--glow-color-10, hsl(40deg 80% 80% / 10%));
}

.border-glow-inner {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: auto;
  z-index: 1;
  padding: 3rem 2rem;
  flex-grow: 1;
  border-radius: var(--border-radius);
  background: var(--bg-main); /* Hides elements going under the border inside */
}

/* Team Split Layout */
.team-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.team-stack {
  position: relative;
  height: 450px;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  perspective: 1000px;
}

.team-stack .border-glow-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: grab;
  transform-origin: 90% 90%;
  --card-bg: var(--bg-secondary);
}

.team-stack .border-glow-card:active {
  cursor: grabbing;
}

.team-stack .member-img {
  margin-top: 1rem;
}

.team-info-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-info-container h3 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(45deg, #fff, var(--highlight-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.team-info-container h5 {
  font-size: 1.25rem;
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.team-info-container p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.team-info-content {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

.team-info-content.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

/* Light Rays Background */
.light-rays-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    overflow: hidden;
}

.light-rays-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Tilted Card */
.tilted-card-figure {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 1rem auto;
    perspective: 1000px;
}

.tilted-card-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
}

.tilted-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tilted-card-caption {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: transform, opacity;
}

.tilted-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
}

/* Rotating Text Animation */
.rotating-text-wrapper {
    margin-top: 5rem;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    color: var(--text-main);
}

.rotating-text-container {
    box-sizing: content-box;
    position: relative;
    display: inline-flex;
    height: 1.4em;
    min-width: 140px;
    align-items: center;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 0 16px;
    margin-left: 8px;
    overflow: hidden;
    transition: width 0.4s ease;
    vertical-align: middle;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.rotating-word {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    white-space: pre;
}

.rotating-char {
    display: inline-block;
    color: #8b5cf6;
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease;
    /* letter-spacing for the 'stretched' feel */
    letter-spacing: 0.05em; 
}

.rotating-char.in {
    transform: translateY(0);
    opacity: 1;
}

.rotating-char.out {
    transform: translateY(-120%);
    opacity: 0;
}

/* â”€â”€ Social Card (Footer) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer-social-col h5 {
    margin-bottom: 1rem;
}

.social-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    height: 52px;
    width: 220px;
    border-radius: 14px;
}

.social-card::before, .social-card::after {
    position: absolute;
    display: flex;
    align-items: center;
    width: 50%;
    height: 100%;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 2;
    content: "";
}

.social-card::before {
    left: 0;
    justify-content: flex-end;
    background: #6d28d9;
}

.social-card::after {
    right: 0;
    justify-content: flex-start;
    background: #5b21b6;
}

.social-card:hover {
    box-shadow: 0 8px 32px rgba(139,92,246,0.3);
    border-color: rgba(139,92,246,0.4);
}

.social-card:hover span {
    opacity: 0;
    z-index: -1;
}

.social-card:hover::before {
    transform: translateY(-100%);
}

.social-card:hover::after {
    transform: translateY(100%);
}

.social-card > span {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,0.92);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.25s;
    z-index: 3;
    pointer-events: none;
}

.social-card .social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33.33%;
    height: 100%;
    text-decoration: none;
    transition: background 0.25s;
    z-index: 1;
}

.social-card .social-link svg {
    width: 22px;
    height: 22px;
    display: block;
}

.social-card .social-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
    animation: bounce_social 0.4s linear;
}

@keyframes bounce_social {
    40% { transform: scale(1.4); }
    60% { transform: scale(0.8); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* â”€â”€ Committee Card 3D Spin â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes cardSpin {
    0%   { transform: perspective(800px) rotateY(0deg) scale(1); }
    30%  { transform: perspective(800px) rotateY(120deg) scale(1.08); }
    60%  { transform: perspective(800px) rotateY(240deg) scale(1.08); }
    100% { transform: perspective(800px) rotateY(360deg) scale(1); }
}

.committee-card.spinning {
    animation: cardSpin 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 50;
    position: relative;
}

/* Custom Liquid Selector */
.custom-liquid-select {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    font-family: inherit;
}
.custom-liquid-select select {
    display: none;
}
.select-selected {
    background: var(--glass-bg, rgba(46, 49, 70, 0.4));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    color: var(--text-main, #F8F9FA);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth, all 0.6s cubic-bezier(0.16, 1, 0.3, 1));
    user-select: none;
    position: relative;
    z-index: 10;
}
.select-selected::after {
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-color: var(--text-main, #F8F9FA) transparent transparent transparent;
    transition: 0.3s;
}
.select-selected.select-arrow-active::after {
    border-color: transparent transparent var(--primary-accent, #FFFFFF) transparent;
    transform: translateY(-80%);
}
.select-items {
    position: absolute;
    background: var(--bg-secondary, #2E3146);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 99;
    overflow: hidden;
    transform-origin: top center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s, visibility 0.3s;
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.select-hide {
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
}
.select-items div {
    color: var(--text-main, #F8F9FA);
    padding: 1rem 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s, padding-left 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.select-items div:last-child {
    border-bottom: none;
}
.select-items div:hover, .same-as-selected {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
    color: var(--primary-accent, #FFFFFF);
}

/* Fallback / General form styles for inputs */
.reg-form input, .reg-form textarea {
    background: var(--glass-bg, rgba(46, 49, 70, 0.4));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    color: var(--text-main, #F8F9FA);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    width: 100%;
    margin-bottom: 1rem;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth, all 0.6s cubic-bezier(0.16, 1, 0.3, 1));
}

.social-card::before, .social-card::after {
    position: absolute;
    display: flex;
    align-items: center;
    width: 50%;
    height: 100%;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 2;
    content: "";
}

.social-card::before {
    left: 0;
    justify-content: flex-end;
    background: #6d28d9;
}

.social-card::after {
    right: 0;
    justify-content: flex-start;
    background: #5b21b6;
}

.social-card:hover {
    box-shadow: 0 8px 32px rgba(139,92,246,0.3);
    border-color: rgba(139,92,246,0.4);
}

.social-card:hover span {
    opacity: 0;
    z-index: -1;
}

.social-card:hover::before {
    transform: translateY(-100%);
}

.social-card:hover::after {
    transform: translateY(100%);
}

.social-card > span {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,0.92);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.25s;
    z-index: 3;
    pointer-events: none;
}

.social-card .social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33.33%;
    height: 100%;
    text-decoration: none;
    transition: background 0.25s;
    z-index: 1;
}

.social-card .social-link svg {
    width: 22px;
    height: 22px;
    display: block;
}

.social-card .social-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
    animation: bounce_social 0.4s linear;
}

@keyframes bounce_social {
    40% { transform: scale(1.4); }
    60% { transform: scale(0.8); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* â”€â”€ Committee Card 3D Spin â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes cardSpin {
    0%   { transform: perspective(800px) rotateY(0deg) scale(1); }
    30%  { transform: perspective(800px) rotateY(120deg) scale(1.08); }
    60%  { transform: perspective(800px) rotateY(240deg) scale(1.08); }
    100% { transform: perspective(800px) rotateY(360deg) scale(1); }
}

.committee-card.spinning {
    animation: cardSpin 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 50;
    position: relative;
}

/* Custom Liquid Selector */
.custom-liquid-select {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    font-family: inherit;
}
.custom-liquid-select select {
    display: none;
}
.select-selected {
    background: var(--glass-bg, rgba(46, 49, 70, 0.4));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    color: var(--text-main, #F8F9FA);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth, all 0.6s cubic-bezier(0.16, 1, 0.3, 1));
    user-select: none;
    position: relative;
    z-index: 10;
}
.select-selected::after {
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-color: var(--text-main, #F8F9FA) transparent transparent transparent;
    transition: 0.3s;
}
.select-selected.select-arrow-active::after {
    border-color: transparent transparent var(--primary-accent, #FFFFFF) transparent;
    transform: translateY(-80%);
}
.select-items {
    position: absolute;
    background: var(--bg-secondary, #2E3146);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 99;
    overflow: hidden;
    transform-origin: top center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s, visibility 0.3s;
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.select-hide {
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
}
.select-items div {
    color: var(--text-main, #F8F9FA);
    padding: 1rem 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s, padding-left 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.select-items div:last-child {
    border-bottom: none;
}
.select-items div:hover, .same-as-selected {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
    color: var(--primary-accent, #FFFFFF);
}

/* Fallback / General form styles for inputs */
.reg-form input, .reg-form textarea {
    background: var(--glass-bg, rgba(46, 49, 70, 0.4));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    color: var(--text-main, #F8F9FA);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    width: 100%;
    margin-bottom: 1rem;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth, all 0.6s cubic-bezier(0.16, 1, 0.3, 1));
}
.reg-form input:focus, .reg-form textarea:focus {
    border-color: var(--primary-accent, #FFFFFF);
    background: rgba(255, 255, 255, 0.1);
}
.reg-form input::placeholder, .reg-form textarea::placeholder {
    color: var(--text-muted, #8C92B0);
}

/* Feature Cards left-aligned overrides */
.left-align-feature .border-glow-inner {
    align-items: flex-start !important;
    text-align: left !important;
    padding: 2.5rem !important; /* Make it more rectangular/padded */
}
.left-align-feature h3 {
    font-size: 1.8rem !important;
    text-align: left !important;
    margin-bottom: 0.75rem;
    width: 100%;
}
.left-align-feature p {
    text-align: left !important;
    font-size: 1rem !important;
    line-height: 1.6;
    margin: 0;
    width: 100%;
    color: var(--text-muted, #8C92B0);
}
.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* â”€â”€ Leader Photo Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.leadership-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 340px));
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.leader-photo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #0d0d14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
    /* spotlight vars */
    --spot-x: 50%;
    --spot-y: 50%;
}

.leader-photo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle 200px at var(--spot-x) var(--spot-y),
        rgba(255,255,255,0.10) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.leader-photo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0,0,0,0.65);
    border-color: rgba(255,255,255,0.18);
}

.leader-photo-card:hover::before {
    opacity: 1;
}

/* gradient border on hover using outline trick */
.leader-photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #5eead4, #a78bfa, #f472b6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.leader-photo-card:hover::after {
    opacity: 1;
}

.leader-photo-img {
    width: 100%;
    aspect-ratio: 3/4;
    background-size: cover;
    background-position: center top;
    display: block;
}

.leader-photo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(10, 9, 20, 0.92);
    backdrop-filter: blur(6px);
    gap: 0.75rem;
    position: relative;
    z-index: 4;
}

.leader-photo-left {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.leader-photo-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main, #F8F9FA);
    white-space: nowrap;
}

.leader-photo-role {
    font-size: 0.78rem;
    color: var(--text-muted, #8C92B0);
    font-weight: 500;
}

/* â”€â”€ True Spotlight Card Effect (matches SpotlightCard.jsx) â”€â”€ */
.card-spotlight {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg, #120F17);
    border: 1px solid rgba(255,255,255,0.1);
}

.card-spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        var(--spotlight-color, rgba(255,255,255,0.12)),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

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

.card-spotlight > * {
    position: relative;
    z-index: 1;
}

/* Apply card-spotlight to feature cards and schedule cards */
.feature-card {
    --spotlight-color: rgba(167, 139, 250, 0.15);
}
.feature-card::before {
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        var(--spotlight-color, rgba(167,139,250,0.15)),
        transparent 40%
    );
}

.schedule-card {
    --spotlight-color: rgba(94, 234, 212, 0.12);
}
.schedule-card::before {
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        var(--spotlight-color, rgba(94,234,212,0.12)),
        transparent 40%
    );
}

/* Make feature-card and schedule-card track spotlight */
.feature-card,
.schedule-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before,
.schedule-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.feature-card:hover::before,
.schedule-card:hover::before {
    opacity: 1;
}

.feature-card > *,
.schedule-card > * {
    position: relative;
    z-index: 1;
}

/* â”€â”€ Team-stack with leader-photo-cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.team-stack .leader-photo-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: grab;
    transform-origin: 90% 90%;
}

.team-stack .leader-photo-card:active {
    cursor: grabbing;
}

/* override height so team-stack auto-sizes to photo card ratio */
.team-stack {
    height: 460px;
}

.leader-photo-handle {
    font-size: 0.78rem;
    font-weight: 600;
    color: #a78bfa;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.leader-photo-handle:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .leadership-cards-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .leader-photo-handle {
        font-size: 0.7rem;
    }
}

/* â”€â”€ Spotlight Effect on border-glow-card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.border-glow-card {
    --spotlight-x: 50%;
    --spotlight-y: 50%;
}

.border-glow-card .spotlight-layer {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle 180px at var(--spotlight-x) var(--spotlight-y),
        rgba(255, 255, 255, 0.07) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.border-glow-card:hover .spotlight-layer,
.border-glow-card.sweep-active .spotlight-layer {
    opacity: 1;
}
@media (max-width: 768px) {
    .team-split {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        text-align: center;
    }
    
    .team-stack {
        width: 250px;
        height: 320px;
        max-width: 100%;
        margin: 0 auto;
        overflow: visible;
    }
    
    .team-stack .leader-photo-card {
        transform-origin: 50% 100%;
    }
    
    .team-info-container {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Countdown Badge */
.countdown-badge {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
@media (max-width: 1100px) {
    .countdown-badge {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        margin-right: 1rem;
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* ==========================================================================
   Committee Availability Status & Locked Cards System
   ========================================================================== */

.committee-card {
    position: relative;
}

.committee-status-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 99px;
    padding: 0.25rem 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.committee-status-badge.status-full {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.3);
    animation: lockPulse 2.5s infinite ease-in-out;
}

@keyframes lockPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(239, 68, 68, 0.25); }
    50% { box-shadow: 0 0 22px rgba(239, 68, 68, 0.55); }
}

.committee-status-badge.status-open {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* Locked Card Visual Styling */
.committee-card-locked {
    position: relative;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.committee-card-locked .committee-card-inner {
    background: linear-gradient(135deg, rgba(30, 20, 30, 0.7) 0%, rgba(20, 15, 25, 0.85) 100%);
}

.committee-card-locked .committee-card-abbr {
    color: #f87171;
    opacity: 0.9;
}

.committee-card-locked:hover {
    border-color: rgba(239, 68, 68, 0.7) !important;
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.2), 0 0 25px rgba(239, 68, 68, 0.15);
    transform: translateY(-5px) scale(1.02);
}

.committee-card-locked:hover .committee-card-abbr {
    background: linear-gradient(135deg, #f87171, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Committee Overview Grid in Form */
.committee-overview-box {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(20, 21, 38, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.committee-overview-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.committee-chips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.6rem;
}

.chip-item {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.chip-item.available {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.chip-item.full {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    opacity: 0.9;
}

.chip-tag {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
}

.chip-item.available .chip-tag {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.chip-item.full .chip-tag {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

/* Option locked styling */
select option:disabled {
    color: #94a3b8 !important;
    background-color: #1e1e2e !important;
}

select option.option-locked {
    color: #f87171 !important;
    background-color: #1a1524 !important;
    font-weight: 600;
}

.committee-warning-msg {
    margin-top: 0.6rem;
    margin-bottom: 0.8rem;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
    animation: warningShake 0.4s ease-in-out;
}

@keyframes warningShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}


