/* Galavoryx.xyz - Royal Warmth Theme */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Nunito:wght@300;400;600;700&display=swap');

:root {
  --royal: #2d1b4e;
  --deep: #1a0f30;
  --gold: #f0c040;
  --amber: #e8962e;
  --cream: #faf3e0;
  --soft: #c4b8d8;
  --card-bg: rgba(45, 27, 78, 0.7);
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--deep);
  color: var(--cream);
  overflow-x: hidden;
}

/* NAV */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26,15,48,0.96);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  height: 64px;
  border-bottom: 1px solid rgba(240,192,64,0.1);
}

.site-logo {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo svg { width: 30px; height: 30px; }

.nav-menu { display: flex; list-style: none; gap: 1.6rem; }

.nav-menu a {
  color: var(--soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-menu a:hover, .nav-menu a.on { color: var(--gold); }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.burger div {
  width: 26px;
  height: 3px;
  background: var(--gold);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.active div:first-child { transform: rotate(45deg) translate(5px, 6px); }
.burger.active div:nth-child(2) { opacity: 0; }
.burger.active div:last-child { transform: rotate(-45deg) translate(5px, -6px); }

@media (max-width: 768px) {
  .burger { display: block; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 280px;
    background: var(--royal);
    flex-direction: column;
    padding: 80px 2rem;
    gap: 1.2rem;
    transition: right 0.35s;
    box-shadow: -3px 0 20px rgba(0,0,0,0.5);
  }
  .nav-menu.show { right: 0; }
}

/* BANNER */
.banner {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 5% 60px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(240,192,64,0.07) 0%, transparent 60%),
    linear-gradient(180deg, var(--deep) 0%, var(--royal) 100%);
}

.banner-inner { max-width: 750px; }

.crown-icon {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  display: block;
}

.banner h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.banner h1 span { color: var(--gold); }

.banner p {
  color: var(--soft);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.golden-btn {
  display: inline-block;
  padding: 14px 42px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--deep);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.golden-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(240,192,64,0.35);
}

/* INFO PANELS */
.info-panels {
  display: flex;
  gap: 1.5rem;
  padding: 3rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.panel {
  flex: 1;
  min-width: 250px;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(240,192,64,0.08);
  transition: border-color 0.3s;
}

.panel:hover { border-color: rgba(240,192,64,0.3); }

.panel-icon { font-size: 2.2rem; margin-bottom: 0.8rem; display: block; }

.panel h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.panel p { color: var(--soft); font-size: 0.9rem; line-height: 1.6; }

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

.game-area h2 {
  font-family: 'Cinzel', serif;
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.game-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(240,192,64,0.15);
  background: #0a0a0a;
}

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

/* WHY SECTION */
.why-us {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-item {
  background: linear-gradient(135deg, var(--royal), rgba(45,27,78,0.4));
  padding: 1.8rem;
  border-radius: 10px;
  border-bottom: 3px solid var(--gold);
}

.why-item h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.why-item p { color: var(--soft); font-size: 0.9rem; line-height: 1.6; }

@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* DIVIDER */
.gold-divider {
  text-align: center;
  padding: 2rem;
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: 8px;
  opacity: 0.3;
}

/* PAGE CONTENT */
.text-page {
  padding: 110px 5% 50px;
  max-width: 880px;
  margin: 0 auto;
}

.text-page h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.text-page h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--amber);
  margin: 1.8rem 0 0.8rem;
}

.text-page p {
  color: var(--soft);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.text-page ul {
  list-style: none;
  margin-bottom: 1.2rem;
}

.text-page ul li {
  color: var(--soft);
  padding: 0.3rem 0 0.3rem 1.3rem;
  position: relative;
}

.text-page ul li::before {
  content: '\2666';
  color: var(--gold);
  position: absolute;
  left: 0;
}

/* PLAY PAGE */
.play-top {
  padding: 90px 5% 30px;
  text-align: center;
}

.play-top h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--gold);
  margin-bottom: 0.8rem;
}

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

.play-game-wrap {
  padding: 2rem 3%;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.play-game-wrap .game-container { max-width: 100%; }

/* FOOTER */
.bottom-bar {
  background: rgba(26,15,48,0.95);
  border-top: 1px solid rgba(240,192,64,0.1);
  padding: 2.5rem 5%;
  text-align: center;
}

.bottom-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.bottom-links a { color: var(--soft); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.bottom-links a:hover { color: var(--gold); }

.rg-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240,192,64,0.08); }
.rg-links p { color: var(--soft); font-size: 0.8rem; margin-bottom: 0.5rem; }
.rg-links a { color: var(--amber); text-decoration: none; font-size: 0.8rem; margin: 0 0.5rem; }
.rg-links a:hover { text-decoration: underline; }

.copy-text { color: var(--soft); font-size: 0.75rem; margin-top: 1rem; opacity: 0.5; }

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

.age-wall.gone { display: none; }

.age-box {
  background: var(--royal);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.age-box h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

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

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

.age-btns button {
  padding: 10px 30px;
  border-radius: 6px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: 2px solid var(--gold);
  transition: all 0.3s;
}

.age-accept { background: var(--gold); color: var(--deep); }
.age-accept:hover { box-shadow: 0 4px 15px rgba(240,192,64,0.4); }
.age-decline { background: transparent; color: var(--gold); }
.age-decline:hover { background: rgba(240,192,64,0.1); }
