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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #080808;
    color: #ffffff;
    line-height: 1.6;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: rgba(8, 8, 8, 0.88);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(212, 175, 55, 0.2);

    z-index: 1000;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #ffffff;
    text-decoration: none;

    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand span {
    color: #D4AF37;
}

.navbar nav {
    display: flex;
    gap: 28px;
}

.navbar nav a {
    color: #cccccc;
    text-decoration: none;

    font-size: 13px;
    letter-spacing: 1px;

    transition: 0.3s;
}

.navbar nav a:hover {
    color: #D4AF37;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 120px 10% 80px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(212, 175, 55, 0.16),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(212, 175, 55, 0.08),
            transparent 30%
        ),
        #080808;
}

.hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: 120px;

    border: 1px solid rgba(212, 175, 55, 0.15);

    border-radius: 50%;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: #D4AF37;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(80px, 15vw, 190px);

    line-height: 0.78;

    letter-spacing: -8px;

    font-weight: 900;
}

.hero h1 span {
    color: #D4AF37;
}

.hero-subtitle {
    margin-top: 35px;

    font-size: clamp(22px, 3vw, 38px);

    font-weight: 300;

    letter-spacing: 4px;

    text-transform: uppercase;
}

.hero-description {
    max-width: 540px;

    margin-top: 20px;

    color: #a8a8a8;

    font-size: 17px;
}

.main-button {
    display: inline-block;

    margin-top: 35px;

    padding: 16px 30px;

    background: #D4AF37;
    color: #080808;

    text-decoration: none;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 1.5px;

    transition: 0.3s;
}

.main-button:hover {
    background: #ffffff;

    transform: translateY(-3px);
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 120px 10%;

    background: #0c0c0c;
}

.dark-section {
    background: #080808;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-bottom: 70px;
}

.section-title span {
    color: #D4AF37;

    font-size: 13px;

    letter-spacing: 2px;
}

.section-title h2 {
    font-size: clamp(28px, 5vw, 55px);

    letter-spacing: 2px;
}


/* =========================
   FESTIVAL
========================= */

.festival-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    max-width: 1100px;
}

.festival-content h3 {
    font-size: clamp(28px, 4vw, 48px);

    line-height: 1.1;

    font-weight: 400;
}

.festival-content p {
    color: #aaaaaa;

    margin-bottom: 20px;

    font-size: 16px;
}


/* =========================
   RULES
========================= */

.rules {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 1px;

    background: rgba(212, 175, 55, 0.18);

    border: 1px solid rgba(212, 175, 55, 0.18);
}

.rule {
    padding: 45px;

    background: #0c0c0c;

    min-height: 180px;
}

.rule strong {
    display: block;

    color: #D4AF37;

    font-size: 30px;

    margin-bottom: 20px;
}

.rule p {
    color: #aaaaaa;
}


/* =========================
   REGISTRATION
========================= */

.registration {
    min-height: 70vh;

    display: flex;
    align-items: center;

    padding: 100px 10%;

    background:
        linear-gradient(
            135deg,
            #111111,
            #080808
        );
}

.registration-content {
    max-width: 800px;
}

.registration h2 {
    font-size: clamp(50px, 8vw, 100px);

    line-height: 0.95;

    letter-spacing: -3px;
}

.registration h2 span {
    color: #D4AF37;
}

.registration p {
    margin-top: 25px;

    max-width: 600px;

    color: #aaaaaa;

    font-size: 17px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 50px 10%;

    border-top: 1px solid rgba(212, 175, 55, 0.2);

    background: #050505;

    color: #888888;
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 15px;
}

.footer-brand img {
    width: 35px;
    height: 35px;

    object-fit: contain;
}

.footer-brand span {
    color: #D4AF37;

    font-weight: bold;

    letter-spacing: 2px;
}

.copyright {
    margin-top: 25px;

    font-size: 12px;

    color: #555555;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .navbar {
        height: 68px;

        padding: 0 5%;
    }

    .navbar nav {
        display: none;
    }

    .hero {
        padding: 120px 7% 80px;
    }

    .hero h1 {
        font-size: clamp(70px, 23vw, 130px);

        letter-spacing: -5px;
    }

    .hero-subtitle {
        font-size: 20px;

        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 15px;
    }

    .section {
        padding: 90px 7%;
    }

    .festival-content {
        grid-template-columns: 1fr;

        gap: 35px;
    }

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

    .rule {
        padding: 35px;
    }

    .registration {
        padding: 90px 7%;
    }

    .registration h2 {
        font-size: clamp(45px, 15vw, 80px);
    }

    footer {
        padding: 40px 7%;
    }
}

/* =========================
   NAVBAR AL HACER SCROLL
========================= */

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.97);
    border-bottom-color: rgba(212, 175, 55, 0.35);
}


/* =========================
   ANIMACIONES
========================= */

.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
