/* ===== UPCOMING EVENTS SECTION STYLES ===== */
.upcoming-section {
    max-width: 1100px;
    margin: 90px auto;
    padding: 50px 30px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(14px);
    border-radius: 24px;
    border: 1px solid rgba(212,175,55,0.25);
    animation: glow 2.5s infinite alternate;
    overflow: hidden;
}

.upcoming-header { text-align: center; margin-bottom: 36px; }

.upcoming-label {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 6px;
    color: #d4af37;
    border: 1px solid rgba(212,175,55,0.4);
    padding: 5px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.upcoming-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    letter-spacing: 5px;
    color: #d4af37;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FFD700, #d4af37, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: shimmer 3s infinite linear;
}

.upcoming-subtitle {
    font-size: 14px; color: rgba(255,255,255,0.45);
    letter-spacing: 1px; max-width: 420px; margin: 0 auto !important;
}

.upcoming-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Individual card */
.upcoming-card {
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.upcoming-card:hover {
    border-color: rgba(212,175,55,0.5);
    box-shadow: 0 0 28px rgba(212,175,55,0.15);
    transform: translateY(-4px);
}

.upcoming-card-poster {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(212,175,55,0.15);
}

.upcoming-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.upcoming-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.upcoming-card-status {
    display: inline-block; padding: 4px 12px; border-radius: 50px;
    font-size: 10px; letter-spacing: 1px; font-family: 'Cinzel', serif; font-weight: 600;
}

.upcoming-card-status.open {
    background: rgba(76,175,80,0.12); color: #66bb6a; border: 1px solid rgba(76,175,80,0.3);
}

.upcoming-card-status.closed {
    background: rgba(255,152,0,0.12); color: #ffa726; border: 1px solid rgba(255,152,0,0.3);
}

.upcoming-card-date {
    font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 1px;
}

.upcoming-card-title {
    font-family: 'Cinzel', serif; font-size: 20px; color: #fff; line-height: 1.3; letter-spacing: 1px;
}

.upcoming-card-desc {
    font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.6); text-align: left !important; margin: 0 !important;
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.upcoming-card-footer {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding-top: 14px; border-top: 1px solid rgba(212,175,55,0.12); margin-top: auto; flex-wrap: wrap;
}

.upcoming-countdown {
    display: flex; align-items: center; gap: 6px; font-family: 'Cinzel', serif;
    font-size: 14px; color: #d4af37;
}

.upcoming-countdown i { font-size: 16px; opacity: 0.7; }

.upcoming-deadline-badge {
    font-size: 10px; letter-spacing: 1px; color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 6px;
}

.upcoming-register-btn {
    display: inline-block; padding: 10px 24px; border-radius: 50px;
    border: 1px solid #d4af37; color: #d4af37; text-decoration: none;
    font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 2px;
    transition: all 0.3s ease; background: rgba(0,0,0,0.5); cursor: pointer;
}

.upcoming-register-btn:hover {
    background: #d4af37; color: #000; box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

.upcoming-register-btn.disabled {
    opacity: 0.4; pointer-events: none; cursor: not-allowed;
    border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.3);
}

/* Placeholder */
.upcoming-placeholder {
    text-align: center; padding: 50px 20px; color: rgba(255,255,255,0.35);
    grid-column: 1 / -1;
}

.upcoming-placeholder i { font-size: 48px; color: rgba(212,175,55,0.2); margin-bottom: 14px; display: block; }
.upcoming-placeholder p { font-size: 16px; margin: 0; font-style: italic; }

@media (max-width: 600px) {
    .upcoming-section { 
        padding: 35px 20px; 
        margin: 60px 20px; 
    }
    .upcoming-header h2 { font-size: 22px; }
    .upcoming-cards { grid-template-columns: 1fr; }
}

/* =============================================
   BASE RESET & GLOBALS
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 'Raleway', Arial, sans-serif;
    background: #000;
}

/* =============================================
   VIDEO BACKGROUND
   ============================================= */
.video-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.logo {
    top: 50%;
    left: 50%;
    width: 130px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.8));
    opacity: 0;
    animation: logoFadeZoom 2.2s ease forwards;
}

@keyframes logoFadeZoom {
    0%   { opacity: 0; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); }
}

/* =============================================
   HEADER
   ============================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
    height: 70px;
    z-index: 999;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #d4af37;
    animation: slideDown 1.2s ease forwards;
    transform: translateY(-100%);
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.college-name {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.college-name-small {
    font-size: 13px;
    font-weight: 500;
    font-family: 'Raleway', sans-serif;
    color: rgba(255,215,0,0.7);
    letter-spacing: 1px;
}

.college-name-big {
    font-size: 28px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    background: linear-gradient(to bottom, #FFD700, #ffae00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.logos-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.college-logo-left {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.club-logo-left {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logos-right {
    display: flex;
    align-items: center;
    margin-right: 60px;
}

.college-logo-right {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.menu-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
}

.menu-icon span {
    width: 22px;
    height: 2px;
    background: gold;
    display: block;
    border-radius: 3px;
    transition: 0.3s;
}

.menu-icon:hover span { background: #fff; }

/* =============================================
   SIDE MENU
   ============================================= */
.side-menu {
    position: fixed;
    top: 0;
    right: -240px;
    width: 220px;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(12px);
    padding-top: 100px;
    transition: 0.3s;
    z-index: 998;
    border-left: 1px solid rgba(212,175,55,0.3);
}

.side-menu a {
    display: block;
    padding: 18px 25px;
    color: #d4af37;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    font-family: 'Cinzel', serif;
    border-bottom: 1px solid rgba(212,175,55,0.15);
    transition: 0.2s;
}

.side-menu a:hover {
    background: #d4af37;
    color: #000;
    padding-left: 35px;
}

.side-menu.active { right: 0; }

/* =============================================
   SCROLL UP
   ============================================= */
.scroll-up {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
}

.scroll-up span {
    width: 12px;
    height: 12px;
    border-left: 2px solid #d4af37;
    border-top: 2px solid #d4af37;
    transform: rotate(45deg);
    animation: moveUp 1.6s infinite;
}

@keyframes moveUp {
    0%   { opacity: 0; transform: translateY(6px) rotate(45deg); }
    50%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(-6px) rotate(45deg); }
}

/* =============================================
   CONTENT WRAPPER
   ============================================= */
.content {
    position: relative;
    z-index: 1;
}

.content section:first-child { margin-top: 100vh; }

/* =============================================
   SHARED SECTION STYLES
   ============================================= */
section {
    padding: 90px 20px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    color: #fff;
}

section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 25px;
    letter-spacing: 3px;
    font-family: 'Cinzel', serif;
    color: #d4af37;
}

section h4 {
    text-align: center;
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #d4af37;
}

section p {
    max-width: 800px;
    margin: auto;
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
}

/* =============================================
   GLOWING SECTION BOXES
   ============================================= */
.about-section,
.members-section,
.register-section,
.activity-section,
.history-section,
.contact-section {
    max-width: 1100px;
    margin: 90px auto;
    padding: 50px 30px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(212,175,55,0.25);
    animation: glow 2.5s infinite alternate;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 40px;
    letter-spacing: 4px;
    color: #d4af37;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #FFD700, #d4af37, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: shimmer 3s infinite linear;
}

.contact-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
    margin: 0;
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(20,10,0,0.4) 100%);
    border: 2px solid #d4af37;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(212,175,55,0.1);
    backdrop-filter: blur(2px);
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(212,175,55,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: linear-gradient(135deg, #d4af37 0%, #c99a2e 100%);
    border-color: #ffd700;
    box-shadow: 0 20px 40px rgba(212,175,55,0.3);
    color: #000;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card-icon {
    font-size: 36px;
    color: #d4af37;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-card-icon {
    color: #000;
    transform: scale(1.15) rotate(-5deg);
}

.contact-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #ffd700;
    margin-bottom: 6px;
    letter-spacing: 1px;
    transition: color 0.4s ease;
}

.contact-card:hover h3 {
    color: #000;
}

.contact-card-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    transition: color 0.4s ease;
}

.contact-card:hover .contact-card-label {
    color: rgba(0,0,0,0.6);
}

.contact-card-link {
    display: inline-block;
    font-size: 14px;
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid #d4af37;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(212,175,55,0.1);
}

.contact-card:hover .contact-card-link {
    background: rgba(0,0,0,0.3);
    color: #000;
    border-color: #000;
}

/* Responsive Design */
@media (max-width: 900px) {
    .contact-section {
        padding: 45px 25px;
        margin: 70px auto;
    }

    .contact-section h2 {
        font-size: 32px;
    }

    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .contact-card {
        padding: 22px 18px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 35px 20px;
        margin: 60px auto;
        border-radius: 20px;
    }

    .contact-section h2 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .contact-subtitle {
        font-size: 14px;
    }

    .contact-header {
        margin-bottom: 30px;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card {
        padding: 20px 16px;
    }

    .contact-card-icon {
        font-size: 32px;
    }

    .contact-card h3 {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 25px 16px;
        margin: 50px 16px;
    }

    .contact-section h2 {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .contact-subtitle {
        font-size: 12px;
    }

    .contact-header {
        margin-bottom: 25px;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-card {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .contact-card-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .contact-card h3 {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .contact-card-label {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .contact-card-link {
        font-size: 13px;
        padding: 6px 14px;
    }
}

@keyframes glow {
    from { box-shadow: 0 0 8px rgba(212,175,55,0.3); }
    to   { box-shadow: 0 0 22px rgba(212,175,55,0.8); }
}

/* =============================================
   ACTIVITY CARDS
   ============================================= */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
}

.activity-card1 {
    position: relative;
    aspect-ratio: 4 / 3;
    margin-top: 20px;
    margin-bottom: 30px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    border: 2px solid #d4af37;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-card {
    position: relative;
    aspect-ratio: 3 / 4;
    margin-top: 20px;
    margin-bottom: 30px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    border: 2px solid #d4af37;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card img,
.activity-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212,175,55,0.7);
}

/* =============================================
   ██████  EVENTS SECTION — FULL REDESIGN
   ============================================= */
.events-section {
    max-width: 1100px;
    margin: 90px auto;
    padding: 50px 30px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(14px);
    border-radius: 24px;
    border: 1px solid rgba(212,175,55,0.25);
    animation: glow 2.5s infinite alternate;
    overflow: hidden;
}

/* Header */
.events-header {
    text-align: center;
    margin-bottom: 36px;
}

.events-label {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 6px;
    color: #d4af37;
    border: 1px solid rgba(212,175,55,0.4);
    padding: 5px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.events-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    letter-spacing: 6px;
    color: #d4af37;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FFD700, #d4af37, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.events-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    max-width: 500px;
    margin: 0 auto !important;
}

/* Ticker bar */
.events-ticker-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 8px;
    padding: 10px 20px;
    margin-bottom: 36px;
    overflow: hidden;
}

.ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d4af37;
    flex-shrink: 0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

.ticker-text {
    font-size: 12px;
    letter-spacing: 3px;
    color: rgba(212,175,55,0.8);
    font-family: 'Cinzel', serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Main Arena layout */
.events-arena {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    margin-bottom: 36px;
}

/* Featured Card */
.event-featured {
    display: grid;
    grid-template-rows: auto 1fr;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.event-featured.transitioning {
    opacity: 0;
    transform: translateY(8px);
}

.event-featured-img-wrap {
    position: relative;
    aspect-ratio: 16 / 7;
    overflow: hidden;
}

.event-featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.event-featured:hover .event-featured-img-wrap img {
    transform: scale(1.04);
}

.event-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #d4af37;
    color: #000;
    font-family: 'Cinzel', serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 5px 14px;
    border-radius: 50px;
}

.event-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
}

.event-featured-num {
    font-family: 'Cinzel', serif;
    font-size: 72px;
    font-weight: 700;
    color: rgba(212,175,55,0.15);
    line-height: 1;
    user-select: none;
}

.event-featured-info {
    padding: 26px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.event-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.event-tag {
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.4);
    color: #d4af37;
    font-size: 10px;
    letter-spacing: 2px;
    font-family: 'Cinzel', serif;
    padding: 4px 14px;
    border-radius: 50px;
}

.event-date {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    letter-spacing: 2px;
}

.event-featured-title {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 1px;
}

.event-featured-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
    max-width: 100%;
    margin: 0 !important;
    text-align: left !important;
}

.event-featured-footer {
    display: flex;
    gap: 30px;
    padding-top: 14px;
    border-top: 1px solid rgba(212,175,55,0.15);
    margin-top: 4px;
}

.event-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-num {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: #d4af37;
    font-weight: 700;
}

.stat-label {
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}

/* Rail (thumbnail strip) */
.events-rail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rail-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(212,175,55,0.5);
    font-family: 'Cinzel', serif;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212,175,55,0.15);
}

.rail-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.rail-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,175,55,0.1);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.rail-card:hover {
    background: rgba(212,175,55,0.08);
    border-color: rgba(212,175,55,0.3);
    transform: translateX(-4px);
}

.rail-card.active {
    background: rgba(212,175,55,0.12);
    border-color: #d4af37;
    box-shadow: 0 0 14px rgba(212,175,55,0.25);
}

.rail-card-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(212,175,55,0.2);
}

.rail-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rail-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.rail-card-tag {
    font-size: 9px;
    letter-spacing: 2px;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
}

.rail-card-title {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rail-card-date {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
}

/* Rail nav */
.rail-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(212,175,55,0.15);
    margin-top: auto;
}

.rail-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(212,175,55,0.4);
    background: rgba(0,0,0,0.6);
    color: #d4af37;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    flex-shrink: 0;
}

.rail-btn:hover {
    background: #d4af37;
    color: #000;
    transform: scale(1.05);
}

.rail-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.progress-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(212,175,55,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #d4af37;
    width: 20px;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(212,175,55,0.6);
}

/* Stats bar */
.events-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    padding: 24px 20px;
    gap: 16px;
}

.es-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.es-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: #d4af37;
}

.es-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
}

.es-divider {
    width: 1px;
    height: 40px;
    background: rgba(212,175,55,0.2);
}

/* =============================================
   MEMBERS / REGISTER / CONTACT
   ============================================= */
.btn-container {
    text-align: center;
    margin: 20px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    border: 1px solid #d4af37;
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    transition: 0.3s;
    background: rgba(0,0,0,0.6);
}

.btn:hover {
    background: #d4af37;
    color: #000;
    box-shadow: 0 0 20px rgba(212,175,55,0.5);
}

/* Removed old social-box styles - replaced with contact card styles */

/* =============================================
   ANNOUNCEMENT BANNER
   ============================================= */
.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 50px 10px 20px;
    min-height: 42px;
    overflow: hidden;
    animation: bannerSlideDown 0.4s ease forwards;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

@keyframes bannerSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

@keyframes bannerSlideUp {
    from { transform: translateY(0);     opacity: 1; }
    to   { transform: translateY(-100%); opacity: 0; }
}

.announcement-content {
    flex: 1;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
}

.announcement-scroll-text {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
    animation: announcementMarquee 12s linear infinite;
}

@keyframes announcementMarquee {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.announcement-static-text {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
}

.announcement-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.2);
    border: none;
    color: inherit;
    font-size: 20px;
    line-height: 1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.announcement-close:hover {
    background: rgba(0,0,0,0.4);
}

/* When banner is visible, push the header down */
body:has(.announcement-banner[style*="display: flex"]) .main-header {
    top: 42px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .events-arena {
        grid-template-columns: 1fr;
    }

    .events-rail {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
    }

    .rail-label { display: none; }

    .rail-cards {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .rail-card {
        min-width: 160px;
        flex-direction: column;
        align-items: flex-start;
    }

    .rail-nav {
        flex-shrink: 0;
        flex-direction: column;
        justify-content: center;
        border-top: none;
        border-left: 1px solid rgba(212,175,55,0.15);
        padding-left: 12px;
        margin-top: 0;
        height: auto;
    }

    .events-stats-bar {
        flex-wrap: wrap;
        gap: 20px;
    }

    .es-divider { display: none; }

    section { padding: 45px 25px; }
    section h2 { font-size: 26px; }
    section h4 { font-size: 22px; }
    section p  { font-size: 18px; }
}

@media (max-width: 600px) {
    .college-logo-left  { width: 38px; }
    .club-logo-left     { width: 38px; }
    .logos-left         { gap: 8px; }
    .college-logo-right { width: 38px; }
    .logos-right        { gap: 8px; margin-right: 50px; }

    .events-section { padding: 35px 20px; margin: 60px 20px; }
    .upcoming-section { padding: 35px 20px; margin: 60px 20px; }
    .events-header h2 { font-size: 24px; }
    .event-featured-title { font-size: 20px; }
    .event-featured-desc  { font-size: 13px; }

    section { padding: 35px 20px; margin: 60px 20px; }
    section h2 { font-size: 22px; }
    section h4 { font-size: 19px; }
    section p  { font-size: 16px; }

    .about-section,
    .members-section,
    .register-section,
    .activity-section,
    .history-section,
    .contact-section { margin: 60px 20px; padding: 35px 20px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .main-header { padding: 12px 20px; }
    .college-logo-left  { width: 50px; }
    .club-logo-left     { width: 50px; }
    .logos-left         { gap: 10px; }
    .college-logo-right { width: 50px; }
    .logos-right        { margin-right: 55px; }
    .menu-icon { gap: 4px; }
    .menu-icon span { width: 26px; height: 3px; }

    .events-arena { grid-template-columns: 1fr 260px; }

    .about-section,
    .members-section,
    .register-section,
    .activity-section,
    .history-section,
    .contact-section,
    .events-section,
    .upcoming-section { padding: 45px 25px; margin: 80px auto; }
}

@media (min-width: 1024px) {
    .college-logo-left  { width: 65px; }
    .club-logo-left     { width: 65px; }
    .college-logo-right { width: 65px; }
    .logos-right        { margin-right: 20px; }
    .menu-icon span { width: 32px; height: 3px; }
}
