@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Lato:wght@300;400;700&display=swap');

:root {
  --bg: #f5f0e8;
  --bg-dark: #1c1714;
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --emerald: #1b6b4a;
  --text-dark: #2c2417;
  --text-light: #f5f0e8;
  --card-bg: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

a { color: var(--emerald); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

header {
  background: var(--bg-dark);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3%;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand svg { width: 38px; height: 38px; }

.brand h3 {
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: 2px;
}

header nav ul { list-style: none; display: flex; gap: 2rem; }
header nav ul a {
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s;
}
header nav ul a:hover { color: var(--gold); }

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1100;
}
.burger div {
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}
.burger.open div:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.burger.open div:nth-child(2) { opacity: 0; }
.burger.open div:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .burger { display: flex; }
  header nav ul {
    position: fixed;
    top: 0; left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    transition: left 0.4s;
  }
  header nav ul.show { left: 0; }
}

.banner {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2a1f14 50%, var(--bg-dark) 100%);
  padding: 6rem 5% 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
}

.banner h1 {
  color: var(--gold);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.2rem;
}

.banner p {
  color: var(--gold-light);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  padding: 14px 48px;
  background: var(--gold);
  color: var(--bg-dark);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  color: var(--bg-dark);
}

.container { max-width: 1140px; margin: 0 auto; padding: 4rem 5%; }

.wide-container { padding: 4rem 3%; }

.cards-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .cards-three { grid-template-columns: 1fr; }
}

.card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  text-align: center;
}
.card .ic { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.75rem; color: var(--emerald); }

.dark-section {
  background: var(--bg-dark);
  color: var(--text-light);
}

.game-frame {
  width: 100%;
  max-width: 780px;
  margin: 2rem auto;
  aspect-ratio: 750/600;
  border: 4px solid var(--gold);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(201,168,76,0.3);
}
.game-frame iframe { width: 100%; height: 100%; border: none; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

.sidebar-box {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--emerald);
}

.page-top {
  margin-top: 72px;
  background: var(--bg-dark);
  padding: 4rem 5% 3rem;
  text-align: center;
}
.page-top h1 { color: var(--gold); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-top p { color: var(--gold-light); margin-top: 0.75rem; opacity: 0.8; }

.text-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 5% 4rem;
}
.text-content h2 {
  color: var(--emerald);
  margin: 2.5rem 0 0.75rem;
  font-size: 1.3rem;
}
.text-content p { margin-bottom: 1rem; }
.text-content ul { margin: 0.5rem 0 1rem 1.5rem; }
.text-content li { margin-bottom: 0.4rem; }

footer {
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  padding: 2.5rem 5%;
  border-top: 3px solid var(--gold);
}
.ft-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1rem; }
.ft-links a { color: var(--gold-light); font-size: 0.9rem; }
.ft-links a:hover { color: var(--gold); }
.ft-copy { font-size: 0.8rem; opacity: 0.5; margin-top: 1rem; }

.age-wall {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(28,23,20,0.95);
  z-index: 9999;
  display: flex; justify-content: center; align-items: center;
}
.age-dialog {
  background: var(--bg-dark);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
}
.age-dialog h2 { color: var(--gold); margin-bottom: 1rem; }
.age-dialog p { color: var(--gold-light); margin-bottom: 2rem; }
.age-actions { display: flex; gap: 1rem; justify-content: center; }
.age-actions button {
  padding: 10px 32px;
  border: none;
  border-radius: 4px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.age-yes { background: var(--gold); color: var(--bg-dark); }
.age-no { background: #555; color: #ccc; }

.play-info {
  max-width: 780px;
  margin: 1.5rem auto;
  padding: 1.2rem;
  background: rgba(27,107,74,0.08);
  border-radius: 6px;
  border: 1px solid rgba(27,107,74,0.2);
  font-size: 0.95rem;
}
