@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Jersey+10&family=VT323&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #EEDCEF;
    color: #3F1C26;
    font-family: 'DotGothic16', monospace;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

::selection {
    background: #59438D;
    color: #EEDCEF;
}

.navbar {
    width: 100%;
    padding: 22px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.home-link {
    position: relative;
    font-family: 'VT323', monospace;
    font-size: 1.35rem;
    color: #EEDCEF;
    padding: 5px 12px;
    background: #3F1C26;
    border: 3px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    box-shadow:
        4px 4px 0 #24132C,
        inset 2px 2px 0 rgba(255,255,255,0.16),
        inset -2px -2px 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 0 #24132C;
    border-radius: 10px;
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.home-link::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    pointer-events: none;
}

.home-link::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 5px;
    right: 5px;
    height: 2px;
    background: rgba(20,15,35,0.4);
    pointer-events: none;
}

.home-link span {
    color: #EEDCEF;
    margin-right: 5px;
    text-shadow: 0 0 7px rgba(89,67,141,0.65);
}

.home-link:hover {
    color: #EEDCEF;
    background: #59438D;
    border-top-color: #EEDCEF;
    border-left-color: #EEDCEF;
    border-right-color: #24132C;
    border-bottom-color: #24132C;
    transform: translate(-2px, -2px);
    box-shadow:
        6px 6px 0 #24132C,
        0 0 16px rgba(89,67,141,0.3),
        inset 2px 2px 0 rgba(255,255,255,0.2),
        inset -2px -2px 0 rgba(0,0,0,0.22);
}

.home-link:hover span {
    color: #EEDCEF;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-links a {
    position: relative;
    display: inline-block;
    min-width: 92px;
    padding: 9px 15px 8px;
    color: #EEDCEF;
    background: #3F1C26;
    border: 3px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
    line-height: 1.1;
    text-align: center;
    letter-spacing: 0.02em;
    box-shadow:
        4px 4px 0 #24132C,
        inset 2px 2px 0 rgba(255,255,255,0.18),
        inset -2px -2px 0 rgba(0,0,0,0.28);
    border-radius: 10px;
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.nav-links a::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: rgba(255,255,255,0.16);
    pointer-events: none;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 5px;
    right: 5px;
    height: 2px;
    background: rgba(20,15,35,0.35);
    pointer-events: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: #EEDCEF;
    background: #59438D;
    border-top-color: #EEDCEF;
    border-left-color: #EEDCEF;
    border-right-color: #24132C;
    border-bottom-color: #24132C;
    transform: translate(-2px, -2px);
    box-shadow:
        6px 6px 0 #24132C,
        0 0 14px rgba(89,67,141,0.28),
        inset 2px 2px 0 rgba(255,255,255,0.22),
        inset -2px -2px 0 rgba(0,0,0,0.22);
}

.nav-links a:active {
    transform: translate(2px, 2px);
    background: #3F1C26;
    border-top-color: #24132C;
    border-left-color: #24132C;
    border-right-color: #723D51;
    border-bottom-color: #723D51;
    box-shadow:
        1px 1px 0 #24132C,
        inset 2px 2px 0 rgba(0,0,0,0.22),
        inset -2px -2px 0 rgba(255,255,255,0.12);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #3F1C26;
    font-size: 1.7rem;
    cursor: pointer;
}

.committee-hero {
    min-height: 650px;
    padding: 150px 8% 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #EEDCEF;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.committee-hero h1 {
    font-family: 'Jersey 10', monospace;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #3F1C26;
    text-shadow: 4px 4px 0 rgba(175,125,135,0.5);
}

.committee-hero h1 span {
    color: #59438D;
}

.hero-intro {
    margin-top: 20px;
    color: #723D51;
    font-family: 'DotGothic16', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.02em;
}

.hero-description {
    max-width: 100%;
    margin-top: 12px;
    color: rgba(63,28,38,0.75);
    font-size: 1.2rem;
    line-height: 1.9;
    font-weight: bold;
}


.section-divider {
    height: 60px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.divider-rule {
    flex: 1;
    max-width: 340px;
    height: 1px;
    background: rgba(89,67,141,0.15);
}

.divider-star {
    color: rgba(89,67,141,0.35);
    font-size: 0.9rem;
    line-height: 1;
}

.leadership-section {
    padding: 100px 8%;
    background: #EEDCEF;
}

.section-heading {
    max-width: 800px;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-top: 20px;
    font-family: 'Jersey 10', monospace;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.3;
    color: #3F1C26;
    text-shadow: 4px 4px 0 rgba(175,125,135,0.5);
}

.section-heading > p {
    max-width: 650px;
    margin-top: 20px;
    color: rgba(63,28,38,0.75);
    font-size: 1.1rem;
    line-height: 1.9;
    font-weight: bold;
}

.leaders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.leader-card {
    min-height: 360px;
    padding: 38px 30px 30px;
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 30px;
    position: relative;
    background: #3F1C26;
    border: 2px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    border-radius: 10px;
    box-shadow:
        6px 6px 0 #24132C,
        inset 2px 2px 0 rgba(255,255,255,0.08),
        inset 0 0 0 2px rgba(89,67,141,0.12);
    transition:
        transform 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.leader-card::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 10px;
    background: #24132C;
    border: 2px solid #59438D;
    border-radius: 4px;
}

.leader-card:hover {
    transform: translate(-3px, -4px);
    border-color: #AF7D87;
    box-shadow:
        9px 9px 0 #24132C,
        0 0 20px rgba(89,67,141,0.18),
        inset 2px 2px 0 rgba(255,255,255,0.12),
        inset 0 0 0 2px rgba(89,67,141,0.18);
}

.leader-icon {
    position: relative;
    width: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #24132C;
    border: 2px solid #59438D;
    border-radius: 8px;
    box-shadow:
        5px 5px 0 #24132C,
        inset 0 0 0 3px #3F1C26;
}

.id-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #AF7D87;
    border: 1px solid #24132C;
}

.id-corner-tl {
    top: -4px;
    left: -4px;
}

.id-corner-tr {
    top: -4px;
    right: -4px;
}

.id-corner-bl {
    bottom: -4px;
    left: -4px;
}

.id-corner-br {
    bottom: -4px;
    right: -4px;
}

.icon-placeholder {
    width: 125px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px dashed #723D51;
    color: #AF7D87;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    text-align: center;
}

.role-label {
    display: inline-block;
    color: #EEDCEF;
    background: #59438D;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    padding: 4px 10px;
    border: 2px solid #AF7D87;
    border-radius: 4px;
    box-shadow: 2px 2px 0 #24132C;
}

.leader-info h3 {
    margin-top: 17px;
    font-family: 'Jersey 10', monospace;
    font-size: 1.5rem;
    line-height: 1.3;
    color: #EEDCEF;
}

.contact-details {
    margin-top: 25px;
    border-top: 1px solid #723D51;
}

.contact-details p {
    padding: 11px 0;
    color: rgba(238,220,239,0.75);
    font-family: 'DotGothic16', monospace;
    font-size: 1rem;
    border-bottom: 1px solid #723D51;
}

.contact-details span {
    display: block;
    margin-bottom: 3px;
    color: #AF7D87;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
}

.teams-section {
    position: relative;
    padding: 90px 8%;
    overflow: hidden;
    background: #EEDCEF;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.team-card {
    min-height: 330px;
    padding: 0;
    position: relative;
    background: #3F1C26;
    border: 2px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        6px 6px 0 #24132C,
        inset 2px 2px 0 rgba(255,255,255,0.08),
        inset 0 0 0 2px rgba(89,67,141,0.12);
    transition:
        transform 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.team-card:hover {
    transform: translate(-3px, -4px);
    border-color: #AF7D87;
    box-shadow:
        9px 9px 0 #24132C,
        0 0 20px rgba(89,67,141,0.18),
        inset 2px 2px 0 rgba(255,255,255,0.12),
        inset 0 0 0 2px rgba(89,67,141,0.18);
}

.team-card-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #24132C;
    border-bottom: 2px solid #723D51;
}

.team-card-header h3 {
    margin: 0;
    font-family: 'Jersey 10', monospace;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #EEDCEF;
}

.team-card-body {
    padding: 22px 22px 26px;
}

.team-icon {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #24132C;
    border: 2px solid #59438D;
    box-shadow: 4px 4px 0 #24132C;
}

.team-icon-placeholder {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #723D51;
    color: #AF7D87;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
}

.team-card-body p {
    margin-top: 18px;
    color: rgba(238,220,239,0.75);
    font-family: 'DotGothic16', monospace;
    font-size: 1.1rem;
    line-height: 1.55;
}

footer {
    padding: 50px 8%;
    border-top: 1px solid rgba(89,67,141,0.25);
    color: rgba(238,220,239,0.65);
    background: #24132C;
}

.copyright {
    font-family: 'DotGothic16', monospace;
    font-size: 1rem;
    opacity: 0.6;
}

@media (max-width: 1000px) {

    .leaders-grid {
        grid-template-columns: 1fr;
    }

    .teams-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {

    .navbar {
        padding: 20px 6%;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 102;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 6%;
        right: 6%;
        padding: 20px;
        flex-direction: column;
        gap: 10px;
        background: #3F1C26;
        border: 2px solid rgba(89,67,141,0.3);
        box-shadow: 6px 6px 0 rgba(36,19,44,0.25);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        min-width: 0;
        padding: 12px;
    }

    .committee-hero {
        min-height: auto;
        padding: 130px 6% 75px;
    }

    .committee-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .hero-intro {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 0.82rem;
    }

    .section-divider {
        height: 44px;
        padding: 0 6%;
        gap: 12px;
    }

    .divider-rule {
        max-width: 120px;
    }

    .leadership-section,
    .teams-section {
        padding: 65px 6%;
    }

    .leaders-grid {
        grid-template-columns: 1fr;
    }

    .leader-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 35px 22px;
    }

    .leader-info {
        width: 100%;
    }

    .contact-details {
        text-align: left;
    }

    .teams-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        min-height: auto;
    }
}

@media (max-width: 450px) {

    .section-heading h2 {
        font-size: 1.7rem;
    }

    .leader-icon {
        width: 150px;
        height: 150px;
    }

    .icon-placeholder {
        width: 110px;
        height: 110px;
    }
}