/* ================= ROOT VARIABLES ================= */
:root {
    --neon-pink: #ff3b8d;
    --neon-blue: #00eaff;
    --deep-blue: #050a30;
    --mid-blue: #08124a;
    --glass: rgba(255, 255, 255, 0.06);
    --pin-color: #ff4757;
    --shadow-color: rgba(0, 0, 0, 0.2);
}

/* ================= GLOBAL ================= */
* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #020024 0%, var(--deep-blue) 50%, #090979 100%);
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
}

/* ================= VIDEO BACKGROUND ================= */
.video-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -3;
}

.video-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(2, 6, 23, 0.78) 0%,
        rgba(4, 0, 94, 0.65) 50%,
        rgba(2, 6, 23, 0.85) 100%
    );
    z-index: -2;
}

/* ================= AMBIENT BACKGROUND GLOW ================= */
.bg-animate {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 25% 30%, rgba(0, 234, 255, 0.08), transparent 40%),
        radial-gradient(circle at 75% 70%, rgba(255, 59, 141, 0.08), transparent 45%);
    animation: ambientPulse 10s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
    from { opacity: 0.6; transform: scale(1); }
    to { opacity: 0.9; transform: scale(1.05); }
}

/* ================================================================= */
/* ================= HEADER SECTIONS =============================== */
/* ================================================================= */

.site-header {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Ensures full screen height */
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the middle content horizontally */
}

/* --- 1. Motto Overlay --- */
.motto-overlay {
    position: absolute;
    top: 25px; 
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 10;
    pointer-events: none;
}

.motto-text {
    font-family: 'Orbitron', sans-serif;
    color: #00eaff; 
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.1rem;
}

.motto-text.center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.motto-text.left { text-align: left; }
.motto-text.right { text-align: right; }

/* --- 2. Floating Logos (Far Left & Right) --- */
.floating-logos {
    position: absolute;
    top: 70px; /* Positions them directly under Learn/Succeed */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; /* Pushes logos to far edges */
    padding: 0 40px; 
    box-sizing: border-box;
    z-index: 20;
    pointer-events: none; 
}

.logo-link { pointer-events: auto; }

.header-logo {
    width: 110px; 
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 234, 255, 0.6));
    animation: logoFloat 6s ease-in-out infinite;
}

/* --- 3. Center Content --- */
.header-content {
    margin-top: 80px; /* Pushes text down so it aligns between logos */
    text-align: center;
    z-index: 5;
    width: 100%;
    max-width: 900px;
    position: relative;
}

.college-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.22em;
    color: rgba(0, 234, 255, 0.9);
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.45);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    padding: 0 10px;
}

.dept-name, .presents-text {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    opacity: 0.9;
    letter-spacing: 2px;
}

.title-box {
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.event-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem;
    margin: 0;
    color: var(--neon-pink); 
    text-shadow: 
        0 0 10px rgba(255, 59, 141, 0.7),
        0 0 20px rgba(0, 234, 255, 0.25);
    line-height: 1;
}

.symposium-sub {
    font-family: 'Inter', sans-serif;
    text-align: center;
    letter-spacing: 4px;
    margin-top: 15px;
    color: rgba(180, 245, 255, 0.85);
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* --- 4. Header Actions --- */
.header-actions {
    text-align: center;
    z-index: 5;
    margin-top: 1rem;
}

/* --- RESPONSIVE HEADER --- */
@media (max-width: 1024px) {
    .event-title { font-size: 4.5rem; }
    .header-logo { width: 80px; height: 80px; }
    .floating-logos { top: 60px; padding: 0 20px; }
    .motto-overlay { padding: 0 20px; }
}

@media (max-width: 768px) {
    .site-header { padding-top: 10px; min-height: auto; }
    .floating-logos {
        position: relative; /* Stack on mobile */
        top: 0;
        justify-content: center;
        gap: 20px;
        margin-top: 40px; 
        margin-bottom: 10px;
    }
    .header-content { margin-top: 10px; }
    .event-title { font-size: 3rem; }
    .college-name { font-size: 1rem; line-height: 1.4; }
    .motto-text { font-size: 0.7rem; letter-spacing: 1px; }
}

/* ================= TYPOGRAPHY HELPERS ================= */
.futuristic-font { font-family: 'Orbitron', sans-serif; }

.neon-blue-text {
    color: rgba(180, 245, 255, 0.85);
    text-shadow: 0 0 8px rgba(0, 234, 255, 0.25);
    letter-spacing: 0.35em;
}

.neon-pink-text {
    color: var(--neon-pink);
    text-shadow: 0 0 10px rgba(255, 59, 141, 0.7), 0 0 20px rgba(0, 234, 255, 0.25);
}

/* ================================================================= */
/* ================= GLOWING & BOOMING CARDS (UPDATED) ============= */
/* ================================================================= */

.event-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.6rem;
}

.event-card {
    grid-column: span 2;
    background: linear-gradient(160deg, rgba(5, 10, 48, 0.7), rgba(8, 18, 74, 0.7));
    backdrop-filter: blur(14px);
    padding: 1.6rem;
    cursor: pointer;
    border: 1px solid rgba(0, 234, 255, 0.15);
    
    /* BOOM PHYSICS: Cubic-bezier makes it bounce */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden; 
}

/* HOVER / TOUCH STATE */
.event-card:hover {
    /* Scale Up and Move Up */
    transform: scale(1.1) translateY(-10px); 
    
    /* Intense Neon Glow */
    box-shadow: 
        0 0 30px rgba(255, 59, 141, 0.6),  
        0 0 60px rgba(0, 234, 255, 0.4),   
        inset 0 0 20px rgba(255, 59, 141, 0.2); 
        
    border-color: var(--neon-pink);
    z-index: 100; /* Pops on top */
    background: linear-gradient(160deg, rgba(20, 20, 80, 0.95), rgba(5, 10, 48, 0.95));
}

/* SHEEN EFFECT (Light sweep) */
.event-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.event-card:hover::before {
    left: 100%;
}

.row-2-card:first-of-type { grid-column-start: 2; }

@media (max-width: 1024px) {
    .event-grid { grid-template-columns: 1fr; }
    .event-card { grid-column: span 1; }
}

/* Event Card Inner Text */
.event-card .event-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white; 
}
.event-desc, .event-info {
    font-size: 0.9rem;
    opacity: 0.75;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.event-action {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--neon-blue);
    font-weight: bold;
}
.event-symbol {
    width: 50px;
    height: 50px;
    color: #00ffff;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6));
    animation: custom-bounce 1.2s ease-in-out infinite;
}

/* ================= BUTTONS ================= */
.register-btn {
    background: linear-gradient(90deg, var(--neon-pink), #b10054);
    color: #fff;
    padding: 0.8rem 2.2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.35s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.register-btn:hover { box-shadow: 0 0 35px rgba(255, 59, 141, 0.8); letter-spacing: 2px; }

.schedule-btn {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 0.8rem 2.2rem;
    text-transform: uppercase;
    transition: all 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.schedule-btn:hover { background: var(--neon-blue); color: #000; }

/* ================= MODAL ================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.96);
    z-index: 200;
    backdrop-filter: blur(22px);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: linear-gradient(160deg, rgba(5, 10, 48, 0.95), rgba(8, 18, 74, 0.95));
    border: 1px solid var(--neon-blue);
    max-width: 720px;
    width: 95%;
    padding: 3rem;
    animation: modalIn 0.4s ease;
}
@keyframes modalIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.details-table { width: 100%; border-spacing: 0 10px; }
.details-table td { background: rgba(255, 255, 255, 0.06); padding: 14px; border-left: 3px solid var(--neon-pink); }

.modal-contact { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1rem; }
.modal-contact .icon-btn { padding: 0.6rem 1rem; border-radius: 999px; font-size: 0.85rem; width: auto; }
.modal-contact .icon-btn span { margin-left: 6px; }

/* ================= REWARDS & TROPHY ================= */
.rewards-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    margin-top: 20px;
}
.trophy-bounce {
    width: 120px;
    height: 120px;
    color: #facc15;
    filter: drop-shadow(0 0 15px rgba(250, 204, 21, 0.5));
    animation: trophy-jump 1.5s ease-in-out infinite;
}
@media (max-width: 768px) { .rewards-wrapper { flex-direction: column; text-align: center; } }
/* ================= LOCATION SECTION (VERTICAL FULL FRAME) ================= */

/* ================= VERTICAL LOCATION SECTION ================= */

/* 1. Main Container: Stacks Card and Map vertically */
.location-wrapper {
    display: flex;
    flex-direction: column; 
    gap: 0; 
    width: 100%; 
    margin-bottom: 4rem;
}

/* 2. Top Part: Location Details Card */
.location-wrapper .event-card {
    width: 100%;
    border-bottom-left-radius: 0; 
    border-bottom-right-radius: 0; 
    border-bottom: none; /* Merges visually with the map below */
    padding: 3rem 1rem;
    
    /* Center the content */
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    
    /* Disable the 'Boom' hover effect for this specific card */
    transform: none !important; 
    transition: none; 
}

/* 3. Bottom Part: Map Container */
.event-map-container {
    position: relative;
    width: 100%; 
    height: 450px; /* Full Frame Height */
    
    /* Borders to match the card above */
    border-top-left-radius: 0; 
    border-top-right-radius: 0;
    border-bottom-left-radius: 12px; 
    border-bottom-right-radius: 12px;
    
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: none;
}

/* 4. Map Iframe */
.map-frame, .map-frame iframe { 
    width: 100%; 
    height: 100%; 
    border: none; 
    display: block; 
    object-fit: cover; 
}

/* 5. Fix: Pin Inside Card Positioning */
.event-card .map-pin-wrapper.card-pin {
    position: relative; 
    top: auto; 
    left: auto; 
    transform: none;
    margin-bottom: 20px;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    z-index: 10;
}

/* ================= COORDINATORS ================= */
.event-grid.coordinator-grid { grid-template-columns: repeat(4, 1fr); }
.event-grid.coordinator-grid > .event-card { grid-column: span 1; }
@media (max-width: 1024px) { .event-grid.coordinator-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .event-grid.coordinator-grid { grid-template-columns: 1fr; } }

.avatar-circle {
    width: 80px; height: 80px; margin: 0 auto 1rem; border-radius: 50%; padding: 3px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 15px rgba(255, 59, 141, 0.45);
    transition: transform 0.35s ease;
    animation: avatarPulse 4s ease-in-out infinite;
}
.avatar-circle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #000; }
.coordinator-card:hover .avatar-circle { transform: scale(1.08); }

.coordinator-actions { display: flex; justify-content: center; gap: 14px; margin-top: 1rem; }
.icon-btn {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--neon-blue);
    display: flex; align-items: center; justify-content: center; color: var(--neon-blue);
    transition: all 0.3s ease; text-decoration: none;
}
.call-icon:hover { animation: ring 0.6s ease-in-out infinite; background: var(--neon-blue); color: #000; }
.whatsapp-icon { border-color: #25D366; color: #25D366; }
.whatsapp-icon:hover { background: #25D366; color: #000; }

/* ================= FOOTER ================= */
.site-footer {
    margin-top: 6rem;
    padding: 3rem 1.5rem;
    background: linear-gradient(180deg, rgba(5, 10, 48, 0.85), rgba(8, 18, 74, 0.95));
    border-top: 1px solid rgba(0, 234, 255, 0.15);
    text-align: center;
    animation: footerGlow 6s ease-in-out infinite alternate;
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-title { font-size: 1.6rem; letter-spacing: 0.25em; color: var(--neon-pink); margin-bottom: 0.6rem; }
.footer-sub, .footer-copy { font-size: 0.9rem; opacity: 0.8; line-height: 1.6; }
.footer-credit { margin-top: 0.8rem; font-size: 0.85rem; color: var(--neon-blue); }
.footer-credit span { color: var(--neon-pink); }
.footer-divider { width: 80px; height: 2px; margin: 1.5rem auto; background: linear-gradient(to right, transparent, var(--neon-blue), transparent); }

.footer-social { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 20px 0; }
.footer-social a {
    display: flex; justify-content: center; align-items: center; width: 45px; height: 45px;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%; color: #ffffff; font-size: 20px; text-decoration: none;
    transition: all 0.3s ease; backdrop-filter: blur(5px);
}
.footer-social a:hover { transform: translateY(-5px); background: #ffffff; color: #000000; box-shadow: 0 0 15px rgba(255, 255, 255, 0.6); }
.footer-social a:nth-child(1):hover { background: #d62976; border-color: #d62976; color: white; }
.footer-social a:nth-child(2):hover { background: #4267B2; border-color: #4267B2; color: white; }
.footer-social a:nth-child(3):hover { background: #0077b5; border-color: #0077b5; color: white; }

/* ================= ANIMATIONS ================= */
@keyframes logoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes avatarPulse { 0%,100% { box-shadow: 0 0 15px rgba(255,59,141,0.45); } 50% { box-shadow: 0 0 35px rgba(0,234,255,0.6); } }
@keyframes footerGlow { from { box-shadow: inset 0 0 20px rgba(0,234,255,0.1); } to { box-shadow: inset 0 0 40px rgba(255,59,141,0.25); } }
@keyframes btnSweep { 0% { transform: translateX(-100%); } 40% { transform: translateX(100%); } 100% { transform: translateX(100%); } }
@keyframes custom-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes trophy-jump { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.1); } }
@keyframes locationLeftIn { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes shadow-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.8); opacity: 0.3; } }
@keyframes ring { 0% { transform: rotate(0deg); } 25% { transform: rotate(10deg); } 50% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } 100% { transform: rotate(0deg); } }

.register-btn::after, .schedule-btn::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: translateX(-100%); animation: btnSweep 4s infinite;
}

/* ================= BUG FIX: MISSING PIN ANIMATION ================= */

/* 1. Pin Container & Color */
.pin-container {
    width: 50px;
    height: 50px;
    position: relative;
}

.pin-svg {
    fill: #ff4757; /* Red Pin Color */
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
    /* This connects the pin to the bounce animation below */
    animation: bounce 1.2s ease-in-out infinite;
}

/* 2. The Pulsing Shadow */
.shadow {
    width: 20px;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    margin-top: -5px;
    /* This connects the shadow to the pulse animation below */
    animation: shadow-pulse 1.2s ease-in-out infinite;
}

/* 3. ANIMATION KEYFRAMES (Required for movement) */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0); /* Start/End at bottom */
    }
    50% {
        transform: translateY(-20px); /* Jump up 20px */
    }
}

@keyframes shadow-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.8); /* Shadow grows when pin is high */
        opacity: 0.3; /* Shadow fades */
    }
}

/* ================= OVERALL NEON GLOW UPGRADE ================= */

/* 1. Super-Charged Neon Text Glow */
.neon-pink-text {
    color: #ff3b8d;
    text-shadow: 
        0 0 5px rgba(255, 59, 141, 0.8),
        0 0 10px rgba(255, 59, 141, 0.6),
        0 0 20px rgba(255, 59, 141, 0.4);
}

.neon-blue-text {
    color: #00eaff;
    text-shadow: 
        0 0 5px rgba(0, 234, 255, 0.8),
        0 0 10px rgba(0, 234, 255, 0.6),
        0 0 20px rgba(0, 234, 255, 0.4);
}

/* 2. "Breathing" Glow for ALL Cards */
/* This makes the borders and shadow gently pulse between Blue and Pink */
.event-card, .modal-content {
    border: 1px solid rgba(0, 234, 255, 0.3);
    /* Connects to the breathing animation defined below */
    animation: global-breathe 4s ease-in-out infinite;
}

@keyframes global-breathe {
    0%, 100% {
        /* Start Blue */
        box-shadow: 0 0 10px rgba(0, 234, 255, 0.2), inset 0 0 10px rgba(0, 234, 255, 0.05);
        border-color: rgba(0, 234, 255, 0.3);
    }
    50% {
        /* Fade to Pink */
        box-shadow: 0 0 20px rgba(255, 59, 141, 0.3), inset 0 0 15px rgba(255, 59, 141, 0.1);
        border-color: rgba(255, 59, 141, 0.5);
    }
}

/* 3. Main Title "Liquid Shine" Effect */
/* Makes the main ADDICT 2K26 text look like light is passing through it */
.event-title {
    background: linear-gradient(
        to right, 
        #ff3b8d 20%, 
        #ffffff 50%, 
        #ff3b8d 80%
    );
    background-size: 200% auto;
    color: #ff3b8d;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* The shine animation */
    animation: shine-sweep 3s linear infinite;
    
    /* Keep the outer glow */
    filter: drop-shadow(0 0 15px rgba(255, 59, 141, 0.6));
}

@keyframes shine-sweep {
    to {
        background-position: 200% center;
    }
}

/* 4. Button Glow Upgrade */
.register-btn {
    box-shadow: 0 0 15px rgba(255, 59, 141, 0.5);
}
.schedule-btn {
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.4);
}

