:root {
    --orange: #FE5C00;
    --pearl-bush: #EAE3DA;
    --black: #110900;
    --cerise: #DF2A5D;
    --heading-font: 'Host Grotesk', sans-serif;
    --body-font: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--black);
    background: var(--pearl-bush);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
}

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--black);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: box-shadow 0.3s;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-logo {
    font-family: var(--heading-font);
    color: var(--orange);
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--pearl-bush);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--pearl-bush);
    transition: 0.3s;
}

/* Hex decoration */
.hex {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--orange);
    opacity: 0.1;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: var(--black);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/Flyer Background Dark.png') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

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

.hero .hex-1 { top: 10%; left: 5%; width: 100px; height: 100px; opacity: 0.15; }
.hero .hex-2 { top: 20%; right: 10%; width: 70px; height: 70px; opacity: 0.1; }
.hero .hex-3 { bottom: 15%; left: 15%; width: 50px; height: 50px; opacity: 0.08; }
.hero .hex-4 { bottom: 25%; right: 5%; width: 90px; height: 90px; opacity: 0.12; }
.hero .hex-5 { top: 50%; left: 50%; width: 120px; height: 120px; opacity: 0.05; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--pearl-bush);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--orange);
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--pearl-bush);
    opacity: 0.85;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: var(--orange);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--pearl-bush);
    border: 2px solid var(--pearl-bush);
}

.btn-secondary:hover {
    background: var(--pearl-bush);
    color: var(--black);
}

/* Section base */
section {
    padding: 5rem 2rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* About */
.about {
    background: var(--black);
    color: var(--pearl-bush);
    position: relative;
    overflow: hidden;
}

.about-decor {
    position: absolute;
    top: -50px;
    right: -100px;
    width: 350px;
    height: 350px;
    opacity: 0.15;
    pointer-events: none;
}

.about-ellipse {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about .section-title span {
    color: var(--orange);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.stat-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid rgba(254, 92, 0, 0.3);
    border-radius: 8px;
}

.stat-number {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* How It Works */
.how-it-works {
    background: var(--pearl-bush);
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    opacity: 0.9;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-hex {
    width: 70px;
    height: 70px;
    background: var(--orange);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.5rem;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.step-card p {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Themes */
.themes {
    background: var(--black);
    color: var(--pearl-bush);
}

.themes .section-title span {
    color: var(--orange);
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.themes-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.themes-track {
    display: flex;
    gap: 1.5rem;
    overflow: hidden;
    flex: 1;
    scroll-behavior: smooth;
}

.slider-arrow {
    background: var(--orange);
    color: var(--black);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s, background 0.2s;
    font-weight: 700;
}

.slider-arrow:hover {
    transform: scale(1.1);
    background: #ff7a2e;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(234, 227, 218, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: var(--orange);
}

.flashcard {
    perspective: 1000px;
    min-width: 280px;
    height: 260px;
    cursor: pointer;
    flex-shrink: 0;
}

.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flashcard.flipped .flashcard-inner {
    transform: rotateY(180deg);
}

.flashcard-front,
.flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.flashcard-front {
    background: var(--orange);
    color: var(--black);
}

.flashcard-back {
    background: var(--pearl-bush);
    color: var(--black);
    transform: rotateY(180deg);
}

.flashcard-front .theme-month {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.flashcard-front .flip-hint {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.75rem;
}

.flashcard-back .theme-name {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
}

.flashcard.locked .flashcard-front {
    background: var(--cerise);
}

.flashcard.locked .flashcard-back {
    background: var(--pearl-bush);
}

/* Prizes */
.prizes {
    background: var(--pearl-bush);
}

.podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
}

.podium-place {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 280px;
}

.podium-place .prize-card {
    background: #fff;
    border-radius: 12px 12px 0 0;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    width: 100%;
}

.podium-place.first .prize-card {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 -8px 30px rgba(254, 92, 0, 0.3);
}

.podium-step {
    width: 100%;
    background: var(--black);
    border-left: 2px solid rgba(254, 92, 0, 0.3);
    border-right: 2px solid rgba(254, 92, 0, 0.3);
}

.step-1 {
    height: 40px;
}

.step-2 {
    height: 80px;
}

.step-3 {
    height: 120px;
}

.podium-place.first .podium-step {
    background: var(--orange);
    border-color: var(--orange);
}

.podium-place.second .podium-step {
    background: var(--black);
}

.podium-place.third .podium-step {
    background: var(--black);
}

.prize-position {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.prize-label {
    font-family: var(--heading-font);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.podium-place.first .prize-label {
    color: #fff;
    opacity: 0.9;
}

.prize-amount {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 1rem;
}

.podium-place.first .prize-amount {
    color: #fff;
}

.prize-details {
    list-style: none;
    font-size: 0.85rem;
    opacity: 0.8;
}

.prize-details li {
    padding: 0.3rem 0;
}

.peoples-choice {
    display: flex;
    justify-content: center;
}

.prize-card.peoples {
    background: #fff;
    border: 2px solid var(--cerise);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    max-width: 320px;
}

.prize-card.peoples .prize-position {
    color: var(--cerise);
    font-size: 1.2rem;
}

.prize-card.peoples .prize-amount {
    color: var(--cerise);
}

/* Sessions */
.sessions {
    background: var(--black);
    color: var(--pearl-bush);
}

.sessions .section-title span {
    color: var(--orange);
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(234, 227, 218, 0.1);
}

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

.timeline-month {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--orange);
    min-width: 100px;
    font-size: 0.9rem;
}

.timeline-topic {
    font-size: 1.05rem;
}

/* Speakers */
.speakers {
    background: var(--pearl-bush);
}

.speakers .section-title span {
    color: var(--orange);
}

.speakers-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.speakers-track {
    display: flex;
    gap: 1.5rem;
    overflow: hidden;
    justify-content: center;
    scroll-behavior: smooth;
}

.speaker-card {
    min-width: 280px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    position: relative;
}

.speaker-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--orange);
}

.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.speaker-title {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 0.75rem;
}

.speaker-topic {
    font-size: 0.9rem;
    color: var(--orange);
    font-weight: 500;
}

.speakers-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* Hackers / Teams */
.hackers {
    background: var(--black);
    color: var(--pearl-bush);
}

.hackers .section-title span {
    color: var(--orange);
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.team-group {
    background: rgba(234, 227, 218, 0.05);
    border: 1px solid rgba(254, 92, 0, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s;
}

.team-group:hover {
    border-color: var(--orange);
}

.team-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(254, 92, 0, 0.15);
}

.team-hex {
    width: 40px;
    height: 40px;
    background: var(--orange);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.team-name {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--orange);
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.member::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 2px;
    background: rgba(254, 92, 0, 0.4);
}

.member-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(254, 92, 0, 0.4);
}

.member-name {
    font-size: 1rem;
    opacity: 0.9;
}

/* Register CTA */
.register {
    background: var(--orange);
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.register-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.register-monument {
    height: 70%;
    width: auto;
    opacity: 0.1;
    object-fit: contain;
}

.register .container {
    position: relative;
    z-index: 1;
}

.register h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.register p {
    color: #fff;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.register .btn-primary {
    background: var(--black);
    color: #fff;
}

.register-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
    color: #fff;
}

/* Contact Form */
.contact {
    background: var(--pearl-bush);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 2px solid rgba(17, 9, 0, 0.15);
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.3s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.contact-form .btn-primary {
    align-self: flex-start;
}

.form-status {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--pearl-bush);
    text-align: center;
    padding: 3rem 2rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-powered {
    margin-bottom: 1.5rem;
}

.powered-by-img {
    height: 30px;
    width: auto;
    opacity: 0.7;
}

.footer-logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-family: var(--heading-font);
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.footer-links {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--pearl-bush);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-copy {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 900px) {
    .podium {
        gap: 0.5rem;
    }

    .podium-place {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .flashcard {
        min-width: 220px;
        height: 220px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .podium {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .podium-place {
        max-width: 100%;
        width: 100%;
    }

    .podium-step {
        display: none;
    }

    .podium-place .prize-card {
        border-radius: 12px;
    }

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

@media (max-width: 480px) {
    .themes-grid {
        grid-template-columns: 1fr;
    }

    .stat-block {
        grid-template-columns: 1fr;
    }
}
