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

html{
scroll-behavior:smooth;
}

body{
background:
radial-gradient(circle at top,#3b2207,#090604 45%,#000);
color:white;
font-family:'Arial',sans-serif;
min-height:100vh;
}

/* MENU */

.nav{
height:80px;
padding:0 60px;
display:flex;
align-items:center;
justify-content:space-between;
background:rgba(0,0,0,.65);
backdrop-filter:blur(15px);
position:sticky;
top:0;
z-index:10;
border-bottom:1px solid #8b5a1b;
}

.brand{
font-size:32px;
font-weight:900;
color:#ffb347;
}

.nav a{
color:white;
text-decoration:none;
margin-left:25px;
font-weight:bold;
}

.nav a:hover{
color:#ffb347;
}


/* HERO */

.hero{
min-height:90vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
padding:40px;
}

.main-logo{
width:280px;
height:280px;
object-fit:cover;
border-radius:50%;
border:6px solid #ffb347;
box-shadow:
0 0 30px #ffb347,
0 0 80px #8b4a00;
animation:float 3s infinite ease-in-out;
}

@keyframes float{
50%{transform:translateY(-15px)}
}

h1{
font-size:85px;
letter-spacing:5px;
background:linear-gradient(90deg,#fff,#ffb347);
-webkit-background-clip:text;
color:transparent;
}

.subtitle{
font-size:32px;
color:#ffb347;
font-weight:bold;
}

.tagline{
font-size:22px;
opacity:.8;
margin:15px;
}


/* BOTONES */

.btn,
.big-btn,
button{
background:linear-gradient(135deg,#ffb347,#ff7b00);
border:none;
padding:15px 30px;
border-radius:50px;
font-size:18px;
font-weight:bold;
cursor:pointer;
margin:10px;
color:#111;
text-decoration:none;
box-shadow:0 0 20px #ff8c00;
}

.secondary{
background:transparent;
color:#ffb347;
border:2px solid #ffb347;
}


/* SECCIONES */

.section{
max-width:1100px;
margin:50px auto;
padding:40px;
background:rgba(255,255,255,.06);
border-radius:30px;
backdrop-filter:blur(15px);
box-shadow:0 0 40px rgba(255,150,0,.15);
}

h2{
font-size:42px;
text-align:center;
margin-bottom:30px;
color:#ffb347;
}


/* CONTADORES */

.countdown,
.stats{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:20px;
}

.countdown div,
.stats div{
background:#120b05;
padding:30px;
border-radius:25px;
text-align:center;
border:1px solid #ffb347;
}

.countdown span,
.stats strong{
display:block;
font-size:55px;
font-weight:900;
color:#ffb347;
}


/* INPUT */

input{
padding:18px;
border-radius:30px;
border:none;
font-size:18px;
text-align:center;
display:block;
margin:20px auto;
}


/* RANKING */

ol{
background:#120b05;
padding:40px;
border-radius:25px;
}

li{
font-size:22px;
margin:10px;
}


/* FOOTER */

footer{
padding:50px;
text-align:center;
background:black;
color:#ffb347;
}


/* MOVIL */

@media(max-width:700px){

.nav{
padding:20px;
height:auto;
flex-direction:column;
}

h1{
font-size:45px;
}

.main-logo{
width:200px;
height:200px;
}

.section{
margin:20px;
}
}
 
.hero-banner{
    width:90%;
    max-width:900px;
    display:block;
    margin:0 auto 30px auto;
    border-radius:25px;
    box-shadow:0 0 50px rgba(255,179,71,0.5);
}

.hero h1{
    font-size:80px;
    text-align:center;
}

.subtitle{
    font-size:32px;
    text-align:center;
}

.tagline{
    font-size:24px;
    text-align:center;
}
.social-buttons{
    text-align:center;
    margin:40px auto;
}

.social-buttons a{
    display:inline-block;
    margin:10px;
    padding:12px 25px;
    background:#ff9f1a;
    color:black;
    text-decoration:none;
    font-weight:bold;
    border-radius:30px;
    box-shadow:0 0 15px rgba(255,159,26,0.6);
}
.roadmap-section{
    max-width:1200px;
    margin:auto;
}

.roadmap-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
    margin-top:40px;
}

.roadmap-card{
    background:linear-gradient(180deg,#1a1a1a,#111);
    border:1px solid rgba(255,170,40,.25);
    border-radius:20px;
    padding:25px;
    transition:.3s;
    box-shadow:0 0 20px rgba(255,170,40,.08);
}

.roadmap-card:hover{
    transform:translateY(-8px);
    border-color:#ffb347;
    box-shadow:0 0 35px rgba(255,170,40,.35);
}

.roadmap-card h3{
    color:#ffb347;
    font-size:28px;
    margin-bottom:15px;
}

.roadmap-card p{
    color:#ddd;
    line-height:1.8;
    font-size:18px;
}
...última regla CSS...

}

/* PEGA AQUÍ DEBAJO */

.story-section{
    max-width:1100px;
    margin:80px auto;
}

.story-card{
    background:linear-gradient(180deg,#161616,#0d0d0d);
    border:1px solid rgba(255,179,71,.25);
    border-radius:28px;
    padding:45px;
    box-shadow:0 0 35px rgba(255,140,0,.12);
}

.story-card p{
    font-size:20px;
    line-height:1.8;
    color:#eee;
    margin-bottom:22px;
    text-align:left;
}

.story-highlight{
    color:#ffb347 !important;
    font-size:26px !important;
    font-weight:900;
    text-align:center !important;
    margin-top:30px;
}
...
.score{
    margin-top:25px;
    font-size:24px;
    font-weight:bold;
    color:#ffb347;
}

}   ← última llave que ya tenías

/* PEGAS AQUÍ DEBAJO */

.game-section{
    text-align:center;
}

.game-text{
    color:#d9d9d9;
    font-size:20px;
    max-width:700px;
    margin:0 auto 30px auto;
    line-height:1.8;
}

#nameInput{
    width:320px;
    padding:16px;
    border-radius:35px;
    border:none;
    outline:none;
    text-align:center;
    font-size:20px;
    margin:25px auto;
    display:block;
}

.big-btn{
    margin:10px;
    padding:18px 36px;
    font-size:22px;
    border-radius:40px;
    cursor:pointer;
    transition:.25s;
}

.big-btn:hover{
    transform:scale(1.05);
}

.score{
    margin-top:25px;
    font-size:24px;
    font-weight:bold;
    color:#ffb347;
}
.section-subtitle{
    text-align:center;
    color:#d6d6d6;
    font-size:20px;
    margin:-10px auto 35px auto;
    max-width:750px;
    line-height:1.6;
}

.launch-section,
.stats-section{
    background:linear-gradient(180deg,#24180d,#1a120d);
    border-radius:35px;
    padding:45px;
    box-shadow:0 0 40px rgba(255,140,0,.15);
}

.countdown div,
.stats div{
    background:linear-gradient(180deg,#140b03,#090909);
    border:1px solid rgba(255,180,70,.5);
    border-radius:25px;
    transition:.25s;
    box-shadow:0 0 20px rgba(255,140,0,.15);
}

.countdown div:hover,
.stats div:hover{
    transform:translateY(-6px) scale(1.03);
    box-shadow:0 0 35px rgba(255,140,0,.35);
}
.game-container{
    width:100%;
    max-width:950px;
    margin:25px auto;
    padding:15px;
    border-radius:25px;
    background:#120905;
    border:2px solid rgba(255,179,71,.5);
    box-shadow:0 0 35px rgba(255,140,0,.25);
}

#geroGame{
    display:block;
    width:100%;
   height:280px;
    border-radius:18px;
    background:#111;
}
#geroGame{
   game-background.png.png
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
.music-btn{
    display:block;
    margin:15px auto 25px auto;
    padding:12px 28px;
    border-radius:30px;
    border:1px solid rgba(255,179,71,.7);
    background:#120905;
    color:#ffb347;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 0 20px rgba(255,140,0,.25);
}

.music-btn:hover{
    background:#ff9f1a;
    color:black;
    transform:scale(1.05);
}
.champion-card{
    max-width:900px;
    margin:50px auto;
    padding:30px;
    background:#1d1712;
    border:2px solid #ffb347;
    border-radius:25px;
    text-align:center;
    box-shadow:0 0 30px rgba(255,170,0,.25);
}

.champion-card h2{
    color:#ffb347;
    font-size:38px;
    margin-bottom:15px;
}

.champion-text{
    color:white;
    font-size:20px;
    margin-bottom:30px;
}

.rewards{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.reward{
    width:180px;
    padding:20px;
    background:#2b2119;
    border:2px solid #ffb347;
    border-radius:18px;
    transition:0.3s;
}

.reward:hover{
    transform:translateY(-8px);
    box-shadow:0 0 20px orange;
}

.reward span{
    display:block;
    margin-top:10px;
    color:white;
    font-size:16px;
}

.small{
    margin-top:25px;
    color:#999;
    font-size:14px;
}
.challenge-banner{
    max-width:700px;
    margin:20px auto;
    padding:18px;
    border-radius:18px;

    background:linear-gradient(180deg,#2b1b08,#1b130c);
    border:2px solid #ffb347;

    text-align:center;

    box-shadow:0 0 25px rgba(255,170,0,.25);
}

.challenge-banner h2{
    color:#ffb347;
    font-size:36px;
    margin-bottom:8px;
}

.challenge-banner h3{
    color:#ffffff;
    font-size:24px;
    margin-bottom:12px;
}

.challenge-banner p{
    color:#ddd;
    font-size:18px;
    line-height:1.7;
}

}
.meme-gallery{
    max-width:900px;
    margin:50px auto;
    text-align:center;
}

.meme-gallery h2{
    color:#ffb347;
    font-size:34px;
    margin-bottom:25px;
}

.meme-grid{
    display:grid;
    grid-template-columns:repeat(2,320px);
    justify-content:center;
    gap:20px;
}

.meme-grid img{
    width:320px;
    height:320px;
    object-fit:cover;
    border-radius:18px;
    border:3px solid #ffb347;
    box-shadow:0 0 15px rgba(255,179,71,.25);
    transition:.25s;
    cursor:pointer;
}

.meme-grid img:hover{
    transform:translateY(-6px) scale(1.03);
    box-shadow:0 0 25px rgba(255,179,71,.6);
}
/* ===== MOBILE ===== */
@media (max-width: 768px) {

    body{
        overflow-x:hidden;
    }

    .hero,
    .section,
    .story-card,
    .challenge-banner{
        width:95%;
        margin:auto;
    }

    h1{
        font-size:38px;
    }

    h2{
        font-size:30px;
    }

    h3{
        font-size:22px;
    }

    p{
        font-size:16px;
        line-height:1.6;
    }

    .stats,
    .countdown,
    .roadmap-grid,
    .meme-grid{
        grid-template-columns:1fr;
    }

    .meme-grid img{
        width:100%;
        height:auto;
    }

    .buttons{
        flex-direction:column;
        gap:15px;
    }

    .nav{
        flex-direction:column;
        gap:15px;
    }

    canvas{
        width:100%;
        height:auto;
    }
}
@media (max-width: 768px) {

  .hero{
    padding:40px 18px;
    text-align:center;
  }

  .hero h1,
  .hero-title{
    font-size:38px !important;
    line-height:1.1;
    word-break:normal;
  }

  .hero p,
  .hero-subtitle{
    font-size:17px !important;
    line-height:1.5;
  }

  .hero img{
    max-width:180px;
    height:auto;
    margin:auto;
  }

  .hero-buttons,
  .buttons{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
    width:100%;
  }

  .hero-buttons a,
  .hero-buttons button,
  .buttons a,
  .buttons button,
  .big-btn{
    width:90%;
    max-width:320px;
    font-size:18px !important;
    padding:14px 18px !important;
    text-align:center;
    white-space:normal;
  }

  .brand{
    font-size:26px !important;
    text-align:center;
  }

  nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
  }

  nav a{
    font-size:14px;
  }
}
@media (max-width: 768px) {

  .game-container{
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
  }

#geroGame{
    width:100% !important;
    max-width:900px !important;
    height:220px !important;
    display:block;
    margin:0 auto;
}
#leaderboardList{
    max-height:520px;
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:10px;
}
