:root {
    --color-bg: #10061e;
    --color-bg2: #10061e;
    --color-surface: #1e1033;
    --color-primary: #a361ff;
    --color-accent-pink: #ff3cda;
    --color-accent-yellow: #ffc800;
    --color-text: #e2d8f3;
    --color-text-dark: #10061e;
    --font-heading: 'Unbounded', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* --- RESET Y ESTILOS GLOBALES --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(3rem, 10vw, 5.5rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 2rem; }
h3 { font-size: 1.5rem; color: var(--color-accent-yellow); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; max-width: 65ch; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-padding { padding: clamp(4rem, 10vw, 6rem) 0; }

/* --- HEADER --- */
.header {
    position: fixed;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(16, 6, 30, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(163, 97, 255, 0.2);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 45px; }
.nav-menu ul { display: flex; list-style: none; gap: 2rem; }
.nav-menu a { color: var(--color-text); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.nav-menu a:hover { color: var(--color-accent-pink); }
.hamburger { display: none; background: none; border: none; cursor: pointer; z-index: 101; }
.bar { display: block; width: 25px; height: 3px; margin: 5px 0; background-color: var(--color-text); transition: all 0.3s ease; }

/* --- BOTONES --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary {
    background: linear-gradient(45deg, var(--color-accent-pink), var(--color-primary));
    color: white;
    box-shadow: 0 5px 20px rgba(255, 60, 218, 0.3);
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(255, 60, 218, 0.5); }
.btn-nav {
    background: var(--color-primary);
    color: white;
    font-size: 0.9rem;
}
.btn-nav:hover { background: var(--color-accent-pink); }

/* --- HERO SECTION --- */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px; /* offset for header */
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('fondocamp2.png') no-repeat center center/cover; /* Tu imagen de fondo principal */
    z-index: -2;
   /*filter: brightness(0.9);*/
}
#hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 40%;
    background: linear-gradient(to top, var(--color-bg), transparent);
    z-index: -1;
}

#hero2 {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 40px; 
     padding-bottom: 40px; 
    overflow: hidden;
}
.hero2-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('fondodia2.jpg') no-repeat center center/cover; /* Tu imagen de fondo principal */
    z-index: -2;
   filter: brightness(0.6);
}
#hero2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 40%;
    background: linear-gradient(to top, var(--color-bg), transparent);
    z-index: -1;
}


#features::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 40%;
    background: linear-gradient(to top, var(--color-bg), transparent);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.hero-content .subtitle { font-size: 1.25rem; color: var(--color-accent-yellow); font-weight: 600; }
.date-badge {
    background-color: #ffc800;
    color: #5b0099;
    padding: 0.5rem 1.5rem;
    border: 1px solid #ffffff;
    border-radius: 50px;
    font-weight: 800;
    width: 40%;
    margin: auto;
}

/* --- OTRAS SECCIONES --- */
#about { background-color: var(--color-bg); }
.sponsors { margin-top: 2rem; opacity: 0.7; font-weight: 600; }
.sponsors strong { color: var(--color-accent-pink); }


/*background-color: var(--color-surface)*/
#features { ;

 background: url('fondo5.png') no-repeat center center/cover; /* Tu imagen de fondo principal */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.feature-card {
    background: var(--color-bg);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-primary);
    text-align: center;
    font-weight: 300;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }
.highlight { margin-top: 3rem; font-size: 1.2rem; font-weight: 700; color: var(--color-accent-yellow); }

/* --- AGENDA (TIMELINE) --- */
.agenda-timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    padding-left: 2rem;
    border-left: 3px solid var(--color-surface);
}
.timeline-item { position: relative; margin-bottom: 3rem; }
.timeline-dot {
    position: absolute;
    left: -2.75rem;
    top: 0.25rem;
    width: 20px;
    height: 20px;
    background-color: var(--color-accent-pink);
    border-radius: 50%;
    border: 4px solid var(--color-bg);
}
.timeline-content p { color: var(--color-text); opacity: 0.9; }

/* --- REQUISITOS --- */
.requirements-list {
    list-style: none;
    display: inline-block;
    text-align: left;
    margin-top: 2rem;
}
.requirements-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    background: var(--color-surface);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

/* --- CTA SECTION --- */
.cta-section { background-color: var(--color-surface); }
.rewards { margin-top: 2rem; background: var(--color-bg); padding: 1rem; border-radius: 8px; display: inline-block; }
.rewards p { margin: 0; font-size: 1rem; }
.rewards strong { color: var(--color-accent-yellow); }

/* --- FOOTER --- */
.footer { padding: 2rem 0; border-top: 1px solid var(--color-surface); }
.footer .container { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-logo { height: 40px; opacity: 0.8; }
.footer p { margin: 0; opacity: 0.7; font-size: 0.9rem; }


/* --- ANIMACIONES DE SCROLL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%; top: 0;
        width: 100%; height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease-in-out;
    }
    .nav-menu.active { left: 0; }
       .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
        margin-top: 80px;
        /* margin-left: 20px; */
        text-align: center;
    }
    .nav-menu a { font-size: 1.5rem; }
   /*  .btn-nav { display: none; } */
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

.padtop40{
    padding-top: 40px;
}

.padbot40{
    padding-bottom: 40px;
}

.padbot20{
    padding-bottom: 20px;
}


section#register2{
    background-color: #ffffff;
}

.textoprincipal{
    font-size: 30px;
    line-height: 36px;
}
.reveal2 {
  display: flex !important;
  justify-content: center;
  /* si necesitás centrar también verticalmente, añade: align-items: center; */
}
.reveal2 img {
  max-width: 50%;
  height: auto;
}

.fondoquien {
   
    width: 100%; height: 100%;
    background: url('fondisimo.png') no-repeat center center; /* Tu imagen de fondo principal */
   
   
}

#about .container img {
  display: block;
  margin: 0 auto;
  width: 30%; /* o el ancho que necesites */
}

.mobilelogo{
    display: none;
}
.desktoplogo{
        display: block;
    }

@media (max-width:767px){
    .desktoplogo{
        display: none;
    }
    .mobilelogo{
    display: block;
}
.reveal2 img {
    max-width: 80%; 
    height: auto;
}
}