 @import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&family=Orbitron:wght@500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #100b1d;
    --bg-soft: #191128;
    --purple: #713bd2;
    --violet: #a46bff;
    --magenta: #ed65c8;
    --pink: #ff9bdc;
    --cream: #fff1dc;
    --muted: #c5b8d5;
    --border: rgba(255, 255, 255, 0.13);
    --card: rgba(28, 18, 46, 0.78);
    --panel: rgba(28, 18, 46, 0.65);
    --radius: 20px;
    --page-width: 1240px;
    --header-height: 76px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    min-width: 320px;
    width: 100%;
    overflow-x: clip;
    background:
        radial-gradient(ellipse at 75% 15%, rgba(113, 59, 210, 0.20), transparent 38%),
        radial-gradient(ellipse at 15% 55%, rgba(237, 101, 200, 0.09), transparent 35%),
        var(--bg);
    color: var(--cream);
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.6;
}

img, svg, video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(90%, var(--page-width));
    margin-inline: auto;
}

/* STAR BACKGROUND */
.stars {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white 50%, transparent 100%),
        radial-gradient(1px 1px at 90px 110px, white 50%, transparent 100%),
        radial-gradient(2px 2px at 160px 70px, white 50%, transparent 100%),
        radial-gradient(1px 1px at 190px 150px, white 50%, transparent 100%);
    background-size: 210px 180px;
}

.site-header, main, .site-footer {
    position: relative;
    z-index: 1;
}

/* NAVIGATION */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background: rgba(16, 11, 29, 0.90);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    flex-shrink: 0;
    font-family: "Orbitron", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.logo span {
    color: var(--pink);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    position: relative;
    color: var(--muted);
    font-size: 0.91rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: var(--pink);
    transition: width 0.25s ease;
}

.main-nav a:hover {
    color: var(--cream);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 19px;
    border: 1px solid rgba(164, 107, 255, 0.55);
    border-radius: 50px;
    color: var(--cream);
    background: rgba(113, 59, 210, 0.18);
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.25s ease;
}

.nav-button:hover {
    background: var(--purple);
    border-color: var(--violet);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 10px;
    background: var(--cream);
}

/* HERO */
.hero {
    position: relative;
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 30px;
    padding-top: 75px;
    padding-bottom: 100px;
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 650px;
    min-width: 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 23px;
    color: var(--pink);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.20em;
}

.eyebrow span {
    color: var(--violet);
}

.hero h1 {
    width: 100%;
    margin-bottom: 20px;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(2rem, 3.8vw, 3.7rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.055em;
    white-space: nowrap;
    overflow-wrap: normal;
}

.hero h1 span {
    display: inline;
    color: var(--violet);
    text-shadow: 0 0 30px rgba(164, 107, 255, 0.30);
}

.hero h1 small {
    display: block;
    margin-top: 7px;
    color: var(--pink);
    font-size: 0.38em;
    letter-spacing: 0.16em;
}

.hero-tagline {
    margin-bottom: 15px;
    color: var(--cream);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
}

.hero-description {
    max-width: 550px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 49px;
    padding: 13px 23px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-size: 0.91rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    color: #fff;
    background: linear-gradient(110deg, #713bd2, #a34fe5, #ed65c8);
    box-shadow: 0 8px 28px rgba(113, 59, 210, 0.30);
}

.button-primary:hover {
    box-shadow: 0 12px 35px rgba(164, 107, 255, 0.40);
}

.button-secondary {
    color: var(--cream);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
    border-color: var(--violet);
    background: rgba(164, 107, 255, 0.10);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 32px;
    color: var(--muted);
    font-size: 0.84rem;
}

/* PLANET SCENE */
.planet-scene {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.planet-halo {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(113, 59, 210, 0.18);
    filter: blur(75px);
}

.planet {
    position: relative;
    z-index: 2;
    width: min(310px, 75%);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(circle at 32% 25%, rgba(255, 220, 255, 0.95), transparent 12%),
        radial-gradient(circle at 35% 30%, #ed9be7, #a46bff 28%, #713bd2 55%, #291447 85%);
    box-shadow:
        inset -25px -30px 65px rgba(10, 4, 25, 0.65),
        inset 12px 10px 35px rgba(255, 255, 255, 0.16),
        0 0 65px rgba(164, 107, 255, 0.40);
    animation: planetFloat 7s ease-in-out infinite;
}

.planet::before {
    content: "";
    position: absolute;
    inset: 10% 0;
    background: repeating-linear-gradient(
        160deg,
        transparent 0 17px,
        rgba(255, 255, 255, 0.10) 18px 21px,
        transparent 22px 38px
    );
    opacity: 0.6;
    transform: rotate(-12deg);
}

.planet-shine {
    position: absolute;
    top: 12%;
    left: 15%;
    width: 65%;
    height: 30%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.20);
    filter: blur(25px);
}

.planet-ring {
    position: absolute;
    z-index: 3;
    width: 430px;
    height: 130px;
    border: 3px solid rgba(237, 101, 200, 0.75);
    border-radius: 50%;
    transform: rotate(-22deg);
    box-shadow: 0 0 18px rgba(237, 101, 200, 0.32), inset 0 0 15px rgba(164, 107, 255, 0.22);
}

.planet-orbit {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(164, 107, 255, 0.30);
    border-radius: 50%;
}

.orbit-a {
    width: 470px;
    height: 270px;
    transform: rotate(-30deg);
}

.orbit-b {
    width: 370px;
    height: 440px;
    transform: rotate(35deg);
}

.planet-star {
    position: absolute;
    z-index: 4;
    color: var(--pink);
    text-shadow: 0 0 15px var(--pink);
    animation: starPulse 2.5s ease-in-out infinite;
}

.star-a {
    top: 14%;
    left: 18%;
    font-size: 1.8rem;
}

.star-b {
    top: 28%;
    right: 12%;
    font-size: 1.4rem;
    animation-delay: 0.7s;
}

.star-c {
    bottom: 17%;
    right: 18%;
    font-size: 1.3rem;
    animation-delay: 1.2s;
}

.planet-caption {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 4%;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.17em;
    text-align: right;
}

.planet-caption strong {
    color: var(--cream);
}

.hero-bottom-label {
    position: absolute;
    bottom: 25px;
    left: 0;
    color: rgba(197, 184, 213, 0.65);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.20em;
}

@keyframes planetFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes starPulse {
    0%, 100% { opacity: 0.55; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* GENERAL SECTIONS */
.section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-kicker {
    margin-bottom: 12px;
    color: var(--pink);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.17em;
}

h2 {
    margin-bottom: 16px;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.1rem);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

h2 span {
    color: var(--violet);
}

.section-description {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.02rem;
}

/* FEATURE CARDS */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    position: relative;
    min-height: 220px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(42, 27, 66, 0.82), rgba(23, 15, 37, 0.76));
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(164, 107, 255, 0.55);
    background: linear-gradient(145deg, rgba(58, 35, 88, 0.90), rgba(23, 15, 37, 0.86));
}

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 13px;
    color: var(--pink);
    background: rgba(164, 107, 255, 0.14);
    font-size: 1.35rem;
}

.feature-card h3 {
    margin-bottom: 7px;
    font-size: 1.18rem;
}

.feature-card p {
    max-width: 260px;
    color: var(--muted);
    font-size: 0.92rem;
}

.card-index {
    position: absolute;
    top: 24px;
    right: 26px;
    color: rgba(255, 255, 255, 0.22);
    font-family: "Orbitron", sans-serif;
    font-size: 0.8rem;
}

/* EVENT DETAILS AND COUNTDOWN */
.event-section {
    padding-top: 72px;
}

.event-panel {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 22px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
}

.event-info {
    display: grid;
    gap: 12px;
}

.event-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 17px 19px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.event-detail span, .footer-label {
    color: var(--pink);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.event-detail strong {
    font-size: 0.96rem;
    overflow-wrap: anywhere;
}

.countdown-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 80% 20%, rgba(237, 101, 200, 0.15), transparent 40%),
        rgba(10, 7, 19, 0.38);
}

.countdown-title {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.timer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.time-box {
    min-width: 0;
    padding: 17px 8px;
    text-align: center;
    border: 1px solid rgba(164, 107, 255, 0.25);
    border-radius: 13px;
    background: rgba(113, 59, 210, 0.12);
}

.time-box strong {
    display: block;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.45rem, 3vw, 2.35rem);
    line-height: 1.3;
}

.time-box span {
    color: var(--muted);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

.countdown-note {
    margin-top: 14px;
    color: rgba(197, 184, 213, 0.7);
    font-size: 0.75rem;
}

/* GOOGLE FORM REGISTRATION */
.registration-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 110px;
    padding-bottom: 110px;
}

.registration-intro {
    width: 100%;
    max-width: 700px;
    margin: auto;
}

.registration-intro h2 {
    margin-bottom: 18px;
    font-family: "Orbitron", sans-serif;
}

.registration-intro > p:not(.section-kicker):not(.registration-note) {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.8;
}

.google-register-button {
    margin-top: 30px;
    padding: 16px 38px;
    border-radius: 50px;
    font-family: "Orbitron", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 8px 30px rgba(164, 107, 255, 0.3);
}

.google-register-button:hover {
    box-shadow: 0 12px 38px rgba(237, 101, 200, 0.4);
}

.registration-note {
    margin-top: 18px !important;
    font-size: 0.78rem;
    color: rgba(197, 184, 213, 0.7) !important;
}

/* COORDINATORS */
.coordinators-section, .coordinators-section * {
    font-family: "Exo 2", sans-serif;
}

.coordinator-group {
    margin-top: 35px;
}

.coordinator-category {
    margin-bottom: 18px;
    color: var(--pink);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.coordinator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.coordinator-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(42, 27, 66, 0.85), rgba(23, 15, 37, 0.9));
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.coordinator-card:hover {
    transform: translateY(-5px);
    border-color: var(--violet);
}

.faculty-card {
    max-width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 18px;
}

.coordinator-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: var(--pink);
    background: rgba(164, 107, 255, 0.16);
    font-size: 1.5rem;
}

.coordinator-card h4 {
    color: var(--cream);
    font-size: 1.25rem;
    font-weight: 700;
}

.coordinator-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.coordinator-card a {
    max-width: 100%;
    color: var(--pink);
    font-size: 0.85rem;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.coordinator-card a:hover {
    color: var(--cream);
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(8, 6, 15, 0.42);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 22px;
    padding-top: 36px;
    padding-bottom: 30px;
}

.footer-tagline {
    margin-top: 9px;
    color: var(--muted);
    font-size: 0.88rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.footer-contact a {
    color: var(--pink);
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--cream);
}

.copyright {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: rgba(197, 184, 213, 0.58);
    font-size: 0.76rem;
}

/* SCROLL REVEAL */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */
@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr 0.8fr;
        gap: 10px;
    }

    .hero h1 {
        font-size: clamp(2rem, 4.3vw, 3.5rem);
    }

    .planet-ring {
        width: 350px;
        height: 110px;
    }

    .orbit-a {
        width: 390px;
        height: 230px;
    }

    .orbit-b {
        width: 310px;
        height: 370px;
    }
}

/* MOBILE */
@media (max-width: 680px) {
    :root {
        --header-height: 68px;
    }

    .container {
        width: min(100% - 34px, var(--page-width));
    }

    .navbar {
        gap: 12px;
    }

    .logo {
        font-size: 0.95rem;
    }

    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 17px 15px;
        border-bottom: 1px solid var(--border);
        background: rgba(16, 11, 29, 0.98);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-nav a::after {
        display: none;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 15px;
        padding-top: 65px;
        padding-bottom: 55px;
    }

    .hero-content {
        max-width: none;
    }

    .eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    .hero h1 {
        font-size: clamp(1.65rem, 7.5vw, 3rem);
    }

    .hero h1 small {
        font-size: 0.38em;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-meta {
        gap: 12px;
        font-size: 0.77rem;
    }

    .planet-scene {
        min-height: 350px;
        margin-top: 5px;
    }

    .planet {
        width: 205px;
    }

    .planet-halo {
        width: 260px;
        height: 260px;
    }

    .planet-ring {
        width: 290px;
        height: 92px;
    }

    .orbit-a {
        width: 330px;
        height: 190px;
    }

    .orbit-b {
        width: 260px;
        height: 315px;
    }

    .planet-caption {
        right: 3%;
        bottom: 0;
    }

    .hero-bottom-label {
        display: none;
    }

    .section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .section-heading {
        margin-bottom: 27px;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature-card {
        min-height: 180px;
    }

    .event-section {
        padding-top: 50px;
    }

    .event-panel {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .countdown-panel {
        padding: 18px 12px;
    }

    .timer {
        gap: 7px;
    }

    .time-box {
        padding: 13px 4px;
    }

    .time-box span {
        font-size: 0.56rem;
    }

    .registration-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .google-register-button {
        width: 100%;
    }

    .coordinator-grid {
        grid-template-columns: 1fr;
    }

    .coordinator-card {
        padding: 22px;
    }

    .faculty-card {
        align-items: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        align-items: flex-start;
    }

    .copyright {
        grid-column: auto;
    }
}

/* SMALL PHONES */
@media (max-width: 380px) {
    .container {
        width: calc(100% - 28px);
    }

    .hero h1 {
        font-size: 1.45rem;
    }

    .hero h1 small {
        font-size: 0.38em;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .planet {
        width: 180px;
    }

    .planet-ring {
        width: 255px;
        height: 82px;
    }

    .orbit-a {
        width: 290px;
    }

    .orbit-b {
        width: 235px;
    }

    .timer {
        gap: 5px;
    }

    .time-box {
        padding: 11px 2px;
    }

    .time-box strong {
        font-size: 1.25rem;
    }

    .time-box span {
        font-size: 0.49rem;
        letter-spacing: 0.06em;
    }
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
