/* Orivarynx.xyz - Vibrant Playful Theme */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Work+Sans:wght@300;400;500;700&display=swap');

:root {
  --bg: #0f1923;
  --surface: #162435;
  --lime: #76ff03;
  --green: #00e676;
  --yellow: #ffea00;
  --text: #e0e7ef;
  --dim: #7a8f9e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* HEADER */
.topnav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(15,25,35,0.97);
  backdrop-filter: blur(10px);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  border-bottom: 2px solid var(--lime);
}

.topnav-brand {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--lime);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topnav-brand svg { width: 30px; height: 30px; }

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

.topnav-links a {
  color: var(--dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.topnav-links a:hover, .topnav-links a.act { color: var(--lime); }

.burg {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burg i {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--lime);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

.burg.x i:first-child { transform: rotate(45deg) translate(6px,6px); }
.burg.x i:nth-child(2) { opacity: 0; }
.burg.x i:last-child { transform: rotate(-45deg) translate(6px,-6px); }

@media (max-width: 768px) {
  .burg { display: block; }
  .topnav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    padding: 85px 2rem;
    gap: 1.2rem;
    transition: left 0.35s;
  }
  .topnav-links.open { left: 0; }
}

/* HERO - centered big text */
.splash {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 5% 40px;
  background:
    radial-gradient(circle at 50% 40%, rgba(118,255,3,0.06) 0%, transparent 60%),
    var(--bg);
}

.splash-emoji { font-size: 4rem; margin-bottom: 1rem; }

.splash h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.splash h1 .pop { color: var(--lime); }

.splash p {
  color: var(--dim);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.btn-lime {
  display: inline-block;
  padding: 14px 38px;
  background: var(--lime);
  color: var(--bg);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-lime:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 25px rgba(118,255,3,0.3);
}

/* CARDS ROW */
.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 3rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(118,255,3,0.08);
  transition: border-color 0.3s, transform 0.3s;
}

.info-card:hover { border-color: var(--lime); transform: translateY(-4px); }

.info-card .ic-icon { font-size: 2.2rem; margin-bottom: 0.7rem; }

.info-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.info-card p { color: var(--dim); font-size: 0.9rem; line-height: 1.6; }

@media (max-width: 700px) { .card-row { grid-template-columns: 1fr; } }

/* GAME */
.game-sec {
  padding: 3rem 4%;
  max-width: 1200px;
  margin: 0 auto;
}

.game-sec h2 {
  font-family: 'Fredoka', sans-serif;
  text-align: center;
  color: var(--yellow);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 1.2rem;
}

.game-box {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(118,255,3,0.15);
  background: #000;
}

.game-box iframe { width: 100%; height: 100%; border: none; }

/* PERKS */
.perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 3rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.perk {
  background: var(--surface);
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid var(--green);
}

.perk h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.perk p { color: var(--dim); font-size: 0.88rem; line-height: 1.5; }

/* PAGES */
.content-pg {
  padding: 100px 5% 50px;
  max-width: 880px;
  margin: 0 auto;
}

.content-pg h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--lime);
  margin-bottom: 1.2rem;
}

.content-pg h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  color: var(--green);
  margin: 1.8rem 0 0.6rem;
}

.content-pg p { color: var(--dim); line-height: 1.8; margin-bottom: 0.8rem; }

.content-pg ul { list-style: none; margin-bottom: 1rem; }
.content-pg ul li { color: var(--dim); padding: 0.25rem 0 0.25rem 1.2rem; position: relative; }
.content-pg ul li::before { content: '\2713'; color: var(--lime); position: absolute; left: 0; font-weight: bold; }

/* PLAY */
.play-intro {
  padding: 85px 5% 25px;
  text-align: center;
}

.play-intro h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--lime);
  margin-bottom: 0.6rem;
}

.play-intro p { color: var(--dim); max-width: 620px; margin: 0 auto; }

.play-frame {
  padding: 1.5rem 3%;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.play-frame .game-box { max-width: 100%; }

/* FOOTER */
.btm {
  background: var(--surface);
  border-top: 2px solid var(--lime);
  padding: 2rem 5%;
  text-align: center;
}

.btm-nav { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.btm-nav a { color: var(--dim); text-decoration: none; font-size: 0.84rem; transition: color 0.3s; }
.btm-nav a:hover { color: var(--lime); }

.rg-area { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(118,255,3,0.08); }
.rg-area p { color: var(--dim); font-size: 0.78rem; margin-bottom: 0.4rem; }
.rg-area a { color: var(--green); text-decoration: none; font-size: 0.78rem; margin: 0 0.5rem; }
.rg-area a:hover { text-decoration: underline; }

.btm-copy { color: var(--dim); font-size: 0.72rem; margin-top: 1rem; opacity: 0.5; }

/* AGE */
.age-screen {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-screen.hide { display: none; }

.age-dialog {
  background: var(--surface);
  border: 2px solid var(--lime);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.age-dialog h2 {
  font-family: 'Fredoka', sans-serif;
  color: var(--lime);
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.age-dialog p { color: var(--dim); margin-bottom: 1.5rem; font-size: 0.9rem; }

.age-row { display: flex; gap: 0.8rem; justify-content: center; }

.age-row button {
  padding: 10px 28px;
  border-radius: 50px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  border: 2px solid var(--lime);
  transition: all 0.3s;
}

.a-yes { background: var(--lime); color: var(--bg); }
.a-yes:hover { box-shadow: 0 4px 15px rgba(118,255,3,0.35); }
.a-no { background: transparent; color: var(--lime); }
.a-no:hover { background: rgba(118,255,3,0.08); }
