@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Orbitron:wght@400;500;600;700;900&family=Inter:wght@300;400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    animation: scan 4s linear infinite;
    pointer-events: none;
    z-index: 999;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

.morse-code {
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.2em;
    opacity: 0.4;
    font-size: 0.9rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.committee-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.committee-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #fff, transparent, #fff);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.committee-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.committee-card:hover::before {
    opacity: 0.2;
}

.committee-card.flagship {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 255, 255, 0.02));
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.committee-card.flagship::before {
    background: linear-gradient(45deg, #ffd700, transparent, #ffd700);
}

.committee-card.flagship:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
    transform: translateY(-15px) scale(1.02);
}

.flagship-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    padding: 0.4rem 1.2rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 5px 25px rgba(255, 215, 0, 0.6); }
}

.committee-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.62rem;
    padding: 0.35rem 0.75rem;
    background: #fff;
    color: #000;
    display: inline-block;
    margin-bottom: .9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all .25s;
}

.committee-card:hover .committee-tag {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
}

.committee-card.flagship .committee-tag {
    background: #ffd700;
    color: #000;
}

.committee-card.flagship:hover .committee-tag {
    background: #000;
    color: #ffd700;
    border: 1px solid #ffd700;
}

.committee-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.committee-card.flagship .committee-title {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.committee-description {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #ccc;
}

.committee-leads {
    margin-bottom: 1rem;
}

.committee-head,
.committee-coheads {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #d7d7d7;
}

.committee-head {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.committee-coheads {
    color: #9ca3af;
}

.committee-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    border: 2px solid;
    clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
    transition: all 0.3s ease;
}

.badge-beginner {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.6);
    color: #22c55e;
}

.badge-advanced {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.6);
    color: #ef4444;
}

.badge-crisis {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.6);
    color: #a855f7;
}

.committee-card:hover .committee-type-badge {
    transform: scale(1.05);
    box-shadow: 0 0 20px currentColor;
}

.committee-logo {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.04);
    border: 1.5px solid rgba(255,255,255,.18);
    clip-path: var(--clip-sm);
    transition: all .3s;
}

.committee-card:hover .committee-logo {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.35);
    transform: scale(1.04);
}

.committee-card.flagship .committee-logo {
    background: rgba(255,215,0,.08);
    border-color: rgba(255,215,0,.35);
}

.committee-card.flagship:hover .committee-logo {
    background: rgba(255,215,0,.14);
    border-color: rgba(255,215,0,.55);
}

.committee-logo img {
    width: 58%;
    height: 58%;
    object-fit: contain;
}

.gradient-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #fff 0%, transparent 100%);
    margin: 2rem 0;
    position: relative;
}

.gradient-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}

.day-section {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid #fff;
    padding: 2rem;
    margin-bottom: 3rem;
    position: relative;
    transition: all 0.4s ease;
}

.day-section::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #fff, transparent);
    transition: height 0.4s ease;
}

.day-section:hover::before {
    height: 100%;
}

.day-section:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.day-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item:hover {
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.timeline-time {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    min-width: 120px;
    color: #fff;
}

.timeline-content h4 {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.timeline-content p {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .day-section {
        padding: 1.5rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .desktop-menu {
        display: none;
    }

    .morse-code {
        font-size: 0.7rem;
    }
}
