/* ===================================================== */
/* BASE RESET */
/* ===================================================== */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html, body{
  height:100%;
}

body{
  font-family: 'Inter', sans-serif;
  background:#050505;
  color:#eaeaea;
  overflow-x:hidden;
  line-height:1.5;
}

/* ===================================================== */
/* TYPOGRAPHY */
/* ===================================================== */

h1,h2,h3{
  font-weight:700;
}

p{
  color:#aaa;
  font-size:14px;
  letter-spacing:0.3px;
}

/* ===================================================== */
/* GLOBAL LAYOUT */
/* ===================================================== */

.section{
  width:100%;
  padding:100px 20px;
}

.container{
  max-width:1200px;
  margin:0 auto;
}

.section-header{
  text-align:center;
  margin-bottom:50px;
}

.section-header h2{
  font-size:34px;
  color:#fff;
}

.section-header p{
  color:#777;
  margin-top:10px;
}
/* ===================================================== */
/* BACKGROUND SYSTEM */
/* ===================================================== */

.bg-grid{
  position:fixed;
  inset:0;

  background:
    linear-gradient(rgba(255,215,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,215,0,0.04) 1px, transparent 1px);

  background-size:40px 40px;
  z-index:-2;
}

.bg-glow{
  position:fixed;
  width:700px;
  height:700px;

  background:radial-gradient(circle, rgba(255,215,0,0.18), transparent);

  top:30%;
  left:50%;

  transform:translateX(-50%);
  filter:blur(120px);

  z-index:-1;
  opacity:0.8;
}

/* ===================================================== */
/* NAVBAR */
/* ===================================================== */

.nav{
  position:relative;
  z-index:10;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:20px 60px;

  border-bottom:1px solid rgba(255,215,0,0.15);
  backdrop-filter:blur(8px);
}

.nav-left h1{
  color:#ffd700;
  font-size:20px;
  letter-spacing:1px;
}

.nav-center{
  display:flex;
  align-items:center;
}

.nav-center a{
  margin:0 15px;
  text-decoration:none;
  color:#aaa;
  font-size:14px;
  position:relative;
  transition:0.25s;
}

/* hover */
.nav-center a:hover{
  color:#ffd700;
}

/* active link */
.nav-center a.active{
  color:#ffd700;
}

/* underline animation */
.nav-center a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-5px;
  width:0%;
  height:1px;
  background:#ffd700;
  transition:0.3s;
}

.nav-center a:hover::after{
  width:100%;
}

/* subtle gold line */
.nav::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:1px;

  background:linear-gradient(
    to right,
    transparent,
    rgba(255,215,0,0.4),
    transparent
  );
}
/* ===================================================== */
/* HERO SYSTEM (STABLE VERSION) */
/* ===================================================== */

.hero{
  width:100%;
  padding:140px 20px 80px;

  display:flex;
  justify-content:center;
  align-items:center;

  text-align:center;
}

.hero-content{
  max-width:800px;
  margin:0 auto;
}

/* title */
.hero-content h1{
  font-size:72px;
  letter-spacing:1px;

  color:#FFD700;

  text-shadow:
    0 0 8px rgba(255,215,0,0.4),
    0 0 18px rgba(255,215,0,0.2);

  font-weight:700;
}

/* subtitle */
.hero-sub{
  margin-top:12px;
  font-size:18px;
  color:#999;
}

/* description */
.hero-description{
  margin-top:20px;
}

.hero-description p{
  max-width:600px;
  margin:0 auto;
  color:#aaa;
}

/* ===================================================== */
/* HERO VARIANTS (FIX ABOUT / FEATURES ISSUE) */
/* ===================================================== */

/* smaller hero on inner pages */
body.about .hero,
body.features .hero{
  padding:120px 20px 60px;
}

/* keep text centered ONLY */
body.about .hero-content,
body.features .hero-content{
  text-align:center;
}

/* ===================================================== */
/* HERO BUTTONS */
/* ===================================================== */

.hero-buttons{
  margin-top:30px;
}

.hero-buttons .btn{
  margin:0 10px;
}

/* ===================================================== */
/* HERO STATS */
/* ===================================================== */

.hero-stats{
  display:flex;
  justify-content:center;
  gap:60px;
  margin-top:50px;
}

.stat{
  text-align:center;
}

.stat h3{
  color:#ffd700;
  font-size:32px;
}

.stat p{
  color:#777;
  font-size:13px;
}
/* ===================================================== */
/* BUTTON SYSTEM */
/* ===================================================== */

.btn{
  display:inline-block;
  padding:12px 28px;

  border-radius:10px;
  text-decoration:none;

  font-size:14px;
  letter-spacing:0.3px;

  transition:all 0.25s ease;
  cursor:pointer;
}

/* primary button */
.btn.primary{
  background:#ffd700;
  color:#000;
  border:none;
}

.btn.primary:hover{
  box-shadow:
    0 0 20px rgba(255,215,0,0.5),
    0 0 40px rgba(255,215,0,0.2);

  transform:translateY(-2px);
}

/* secondary button */
.btn.secondary{
  background:#111;
  color:#fff;
  border:1px solid rgba(255,215,0,0.2);
}

.btn.secondary:hover{
  border-color:#ffd700;

  box-shadow:
    0 0 15px rgba(255,215,0,0.15);

  transform:translateY(-2px);
}

/* click feel */
.btn:active{
  transform:scale(0.96);
}

/* ===================================================== */
/* UI ELEMENTS */
/* ===================================================== */

/* subtle card base */
.card{
  background:#0a0a0a;
  border:1px solid rgba(255,215,0,0.12);
  border-radius:14px;
}

/* hover glow */
.card:hover{
  border-color:#ffd700;

  box-shadow:
    0 0 20px rgba(255,215,0,0.2),
    0 0 60px rgba(255,215,0,0.05);
}

/* ===================================================== */
/* CTA SECTION */
/* ===================================================== */

.cta-box{
  text-align:center;

  padding:50px;

  background:#0a0a0a;
  border:1px solid rgba(255,215,0,0.15);
  border-radius:16px;
}

.cta-box h2{
  font-size:28px;
  margin-bottom:10px;
}

.cta-box p{
  color:#888;
  margin-bottom:20px;
}

/* ===================================================== */
/* SMALL UX DETAILS */
/* ===================================================== */

a{
  text-decoration: none;   /* ❌ haalt paarse lijn weg */
  color: inherit;          /* ❌ geen paarse kleur meer */
  transition:0.2s;
}

a:visited{
  color: inherit;          /* ❌ voorkomt paars na klikken */
}

/* text readability */
p{
  letter-spacing:0.3px;
}

/* selection color */
::selection{
  background:#ffd700;
  color:#000;
}

/* smooth scroll */
html{
  scroll-behavior:smooth;
}
/* ===================================================== */
/* FEATURES SYSTEM (FINAL FIX) */
/* ===================================================== */

/* container van alle features */
.features{
  display:grid;

  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));

  gap:25px;
  margin-top:40px;

  width:100%;
}

/* individuele feature card */
.feature{
  width:100%;

  padding:25px;

  background:#0a0a0a;
  border:1px solid rgba(255,215,0,0.12);
  border-radius:14px;

  text-align:center;

  transition:0.3s;
}

/* hover effect */
.feature:hover{
  border-color:#ffd700;

  box-shadow:
    0 0 20px rgba(255,215,0,0.2),
    0 0 60px rgba(255,215,0,0.05);

  transform:translateY(-5px);
}

/* titel */
.feature h3{
  color:#ffd700;
  margin-bottom:10px;
  font-size:16px;
}

/* tekst */
.feature p{
  color:#888;
  font-size:14px;
}

/* ===================================================== */
/* EXTRA FIXES (VERY IMPORTANT) */
/* ===================================================== */

/* voorkomt dat oude flex rules je layout slopen */
.features{
  align-items:stretch !important;
}

/* zorgt dat cards nooit klein worden */
.feature{
  max-width:100% !important;
}

/* zorgt dat alles full width blijft */
body.features .container{
  width:100%;
}

/* spacing consistent */
body.features .section{
  width:100%;
}
/* ===================================================== */
/* GAMES GRID SYSTEM */
/* ===================================================== */

.game-grid{
  display:grid;

  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));

  gap:25px;
  margin-top:40px;

  width:100%;
}

/* ===================================================== */
/* GAME CARD */
/* ===================================================== */

.game-card{
  position:relative;

  padding:25px;

  background:#0a0a0a;
  border:1px solid rgba(255,215,0,0.12);
  border-radius:16px;

  cursor:pointer;
  overflow:hidden;

  transition:0.3s;
}

/* glow overlay */
.game-card::before{
  content:"";
  position:absolute;
  inset:0;

  background:radial-gradient(circle at center, rgba(255,215,0,0.2), transparent 70%);
  opacity:0;

  transition:0.3s;
}

/* hover */
.game-card:hover::before{
  opacity:1;
}

.game-card:hover{
  transform:translateY(-8px) scale(1.02);

  border-color:#ffd700;

  box-shadow:
    0 15px 50px rgba(0,0,0,0.8),
    0 0 25px rgba(255,215,0,0.25);
}

/* click */
.game-card:active{
  transform:scale(0.97);
}

/* ===================================================== */
/* GAME CONTENT */
/* ===================================================== */

.game-info h3{
  color:#ffd700;
  font-size:18px;
  margin-bottom:8px;
}

.game-info p{
  color:#888;
  font-size:14px;
}

/* ===================================================== */
/* LOCKED STATE */
/* ===================================================== */

.game-card.locked{
  opacity:0.4;
  cursor:default;
}

.game-card.locked:hover{
  transform:none;
  box-shadow:none;
}

/* ===================================================== */
/* EXTRA FIXES */
/* ===================================================== */

/* zorgt dat grid altijd goed blijft */
body.games .container{
  width:100%;
}
/* ===================================================== */
/* FOOTER SYSTEM */
/* ===================================================== */

.footer{
  width:100%;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:40px 60px;

  border-top:1px solid rgba(255,215,0,0.1);

  margin-top:80px;
}

/* left */
.footer-left h3{
  color:#ffd700;
  font-size:18px;
}

.footer-left p{
  color:#777;
  font-size:13px;
  margin-top:5px;
}

/* right */
.footer-right p{
  color:#777;
  font-size:13px;
}

/* ===================================================== */
/* GLOBAL STRUCTURE FIXES */
/* ===================================================== */

/* voorkomt dat content "smal" lijkt */
.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding-left:20px;
  padding-right:20px;
}

/* zorgt dat alles netjes full width blijft */
.section{
  width:100%;
}

/* voorkomt rare alignment bugs */
body{
  display:block;
}

/* fix voor pagina’s */
body.about .section,
body.features .section,
body.games .section{
  width:100%;
}

/* ===================================================== */
/* FINAL ALIGNMENT FIXES */
/* ===================================================== */

/* alles consistent centreren */
.section-header{
  text-align:center;
}

/* spacing fix */
.section-header h2{
  margin-bottom:5px;
}

/* voorkomt rare kleine layout bugs */
.feature,
.game-card{
  box-sizing:border-box;
}
/* ===================================================== */
/* RESPONSIVE SYSTEM */
/* ===================================================== */

/* tablet */
@media (max-width:1024px){

  .nav{
    padding:20px 30px;
  }

  .hero-content h1{
    font-size:60px;
  }

  .hero-stats{
    gap:40px;
  }

}

/* mobile */
@media (max-width:768px){

  /* NAV */
  .nav{
    flex-direction:column;
    gap:10px;
    padding:15px 20px;
  }

  .nav-center{
    flex-wrap:wrap;
    justify-content:center;
  }

  .nav-center a{
    margin:5px 10px;
  }

  /* HERO */
  .hero{
    padding:100px 20px 60px;
  }

  .hero-content h1{
    font-size:42px;
  }

  .hero-sub{
    font-size:15px;
  }

  .hero-description p{
    font-size:14px;
  }

  /* BUTTONS */
  .hero-buttons{
    display:flex;
    flex-direction:column;
    gap:10px;
  }

  .hero-buttons .btn{
    width:100%;
  }

  /* STATS */
  .hero-stats{
    flex-direction:column;
    gap:20px;
  }

  /* FEATURES */
  .features{
    grid-template-columns:1fr;
  }

  /* GAMES */
  .game-grid{
    grid-template-columns:1fr;
  }

  /* FOOTER */
  .footer{
    flex-direction:column;
    gap:10px;
    text-align:center;
  }

}

/* small phones */
@media (max-width:480px){

  .hero-content h1{
    font-size:34px;
  }

  .section{
    padding:70px 15px;
  }

}

/* ===================================================== */
/* EXTRA POLISH */
/* ===================================================== */

/* smooth transitions */
*{
  transition:color 0.2s, border 0.2s;
}

/* better hover feel */
a, .btn, .game-card, .feature{
  transition:all 0.25s ease;
}

/* slight glow boost */
.hero-content h1{
  text-shadow:
    0 0 25px rgba(255,215,0,0.6),
    0 0 70px rgba(255,215,0,0.2);
}

/* subtle hover lift */
.feature:hover,
.game-card:hover{
  transform:translateY(-6px);
}

/* click feedback */
.feature:active,
.game-card:active{
  transform:scale(0.97);
}

/* readability */
p{
  letter-spacing:0.3px;
}

/* selection color */
::selection{
  background:#ffd700;
  color:#000;
}

/* smooth scroll */
html{
  scroll-behavior:smooth;
}

/* scrollbar styling */
::-webkit-scrollbar{
  width:8px;
}

::-webkit-scrollbar-track{
  background:#050505;
}

::-webkit-scrollbar-thumb{
  background:#222;
  border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
  background:#ffd700;
}
/* ===================================================== */
/* FEATURES HERO FIX */
/* ===================================================== */

body.features .hero{
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

body.features .hero-content{
  margin:0 auto;
  max-width:800px;
}

/* zorgt dat hij echt in het midden blijft */
body.features .hero-content h1{
  text-align:center;
}

/* extra spacing fix */
body.features .hero{
  padding-top:140px;
}
/* ================= HERO UPGRADE ================= */
.hero-content h1{
  font-size:72px;
  letter-spacing:-1px;

  color:#ffd700;

  text-shadow:
    0 0 20px rgba(255,215,0,0.5),
    0 0 50px rgba(255,215,0,0.2);
}

/* moving glow background */
.bg-glow{
  animation: glowMove 6s ease-in-out infinite;
}

@keyframes glowMove{
  0%{ transform: translate(0,0); }
  50%{ transform: translate(20px, -20px); }
  100%{ transform: translate(0,0); }
}
.game-card{
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.game-card:hover{
  transform: scale(1.05);
  box-shadow: 0 0 30px gold;
}

/* glow border effect */
.game-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:10px;
  border:1px solid rgba(255,215,0,0.2);
  opacity:0;
  transition:0.3s;
}

.game-card:hover::after{
  opacity:1;
}
.btn.primary{
  background: linear-gradient(45deg, gold, orange);
  box-shadow: 0 0 20px gold;
  transition: 0.2s;
}

.btn.primary:hover{
  transform: scale(1.1);
  box-shadow: 0 0 40px gold;
}

/* secondary button */
.btn{
  transition:0.2s;
}

.btn:hover{
  transform: scale(1.05);
}
.nav{
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.6);
  border-bottom:1px solid rgba(255,215,0,0.2);
}

.nav a:hover{
  color:gold;
  text-shadow:0 0 10px gold;
}
.nav-left h1{
  animation: skullGlow 3s infinite alternate;
}

@keyframes skullGlow{
  from { text-shadow: 0 0 5px gold; }
  to   { text-shadow: 0 0 20px gold; }
}
/* ================= PERFECT GAME MOBILE ================= */
@media (max-width:768px){

  #hud{
    position:fixed;
    top:10px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    z-index:20;
  }

  #hud div{
    font-size:12px;
    padding:8px 12px;
  }

  #backBtn{
    position:fixed;
    top:10px;
    right:10px;
    z-index:30;
  }

  #shopBtn{
    position:fixed;
    top:60px;
    right:10px;
    z-index:30;
  }

  #leaderboard{
    position:fixed;
    top:110px;
    left:50%;
    transform:translateX(-50%);
    width:85%;
    max-width:300px;
    z-index:10;
  }

  #shop{
    position:fixed;
    top:200px;
    left:50%;
    transform:translateX(-50%);
    width:90%;
    max-width:320px;
    z-index:25;
  }

}
.footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:25px 20px;
}

/* links */
.footer-left h3{
  margin:0;
}

.footer-left p{
  font-size:12px;
  color:#777;
}

/* midden */
.footer-center{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  font-size:12px;
  color:#777;
}

/* rechts */
.footer-right{
  text-align:right;
}

.footer-disclaimer{
  font-size:10px;
  color:#555;
  opacity:0.5;
  letter-spacing:0.5px;

  max-width:180px;
  line-height:1.4;

  text-align:right;
}
.site-disclaimer{
  position:relative;

  width:100%;
  display:flex;
  justify-content:center; /* 🔥 FORCE CENTER */

  font-size:10px;
  color:#555;
  opacity:0.5;

  margin:20px 0;
}
/* ========================================= */
/* SKELETGOLD UNIVERSE V2 */
/* ========================================= */

.universe-header{
    text-align:center;
    padding:80px 20px 120px;
}

.universe-header h1{
    font-size:72px;
    color:#FFD700;

    text-shadow:
    0 0 20px rgba(255,215,0,.5),
    0 0 80px rgba(255,215,0,.3);
}

.universe-header p{
    color:#888;
    margin-top:20px;
    font-size:18px;
}

.universe-map{

    position:relative;

    width:100%;
    max-width:1600px;

    height:1000px;

    margin:auto;
}

/* ========================================= */
/* NEXUS STAR */
/* ========================================= */

.nexus{

    position:absolute;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%);

    width:260px;
    height:260px;

    border-radius:50%;

    background:
    radial-gradient(
    circle,
    #fff6c7,
    #FFD700,
    #a37400
    );

    box-shadow:
    0 0 100px gold,
    0 0 250px rgba(255,215,0,.5);

    animation:pulseStar 6s infinite;
}

@keyframes pulseStar{

    0%{
        transform:translate(-50%,-50%) scale(1);
    }

    50%{
        transform:translate(-50%,-50%) scale(1.08);
    }

    100%{
        transform:translate(-50%,-50%) scale(1);
    }

}

/* ========================================= */
/* PLANETS */
/* ========================================= */

.planet{

    position:absolute;

    width:180px;
    height:180px;

    border-radius:50%;

    text-decoration:none;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    font-weight:700;
    color:white;

    overflow:hidden;

    transition:.4s;

    animation:floatPlanet 8s ease-in-out infinite;
}

.planet:hover{

    transform:scale(1.15);

    box-shadow:
    0 0 40px gold,
    0 0 120px rgba(255,215,0,.5);

}

.planet span{

    font-size:48px;
    margin-bottom:10px;

}

@keyframes floatPlanet{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-20px);
    }

    100%{
        transform:translateY(0px);
    }

}

/* ========================================= */
/* PLANET STYLES */
/* ========================================= */

.p1{

    background:
    radial-gradient(circle at 30% 30%,
    #ffe07a,
    #d4af37,
    #7a5600);

    top:350px;
    left:120px;
}

.p2{

    background:
    radial-gradient(circle at 30% 30%,
    #ff7dff,
    #5f1b87,
    #1e082c);

    top:140px;
    right:180px;
}

.p3{

    background:
    radial-gradient(circle at 30% 30%,
    #ffd6ff,
    #ff8ad8,
    #7a2e6b);

    bottom:180px;
    right:120px;
}

.p4{

    background:
    radial-gradient(circle at 30% 30%,
    #fff2b3,
    #b38b00,
    #4d3700);

    bottom:100px;
    left:350px;
}

.p5{

    background:
    radial-gradient(circle at 30% 30%,
    #dddddd,
    #888888,
    #2b2b2b);

    top:60px;
    left:50%;
    transform:translateX(-50%);
}

/* ========================================= */
/* STAR PARTICLES */
/* ========================================= */

.stars{

    position:fixed;
    inset:0;

    background-image:
    radial-gradient(white 1px, transparent 1px);

    background-size:60px 60px;

    opacity:.25;

    z-index:-5;
}