@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;
}

/* GICC Flagship Styling */
.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 Type Badges */
.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%;
}

.corner-bracket {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.corner-bracket.tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner-bracket.tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.corner-bracket.bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.corner-bracket.br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.committee-card:hover .corner-bracket {
    border-color: rgba(255, 255, 255, 0.8);
}

.back-button {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    letter-spacing: 0.1em;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateX(-5px);
}

.committee-card.flagship .corner-bracket {
    border-color: rgba(255, 215, 0, 0.5);
}

.committee-card.flagship:hover .corner-bracket {
    border-color: rgba(255, 215, 0, 1);
}

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

    .committee-card {
        clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
        min-height: auto;
    }

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

    .desktop-menu {
        display: none;
    }

    .committee-type-badge {
        font-size: 0.55rem;
        padding: 0.3rem 0.6rem;
        top: 15px;
        right: 15px;
    }
}