@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --navy: #0a1628;
  --deep-blue: #142240;
  --gold: #d4a742;
  --gold-light: #f0d078;
  --cream: #faf5e8;
  --text-dark: #1a1a2e;
  --text-light: #e8e0d0;
  --card-border: rgba(212, 167, 66, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: #b8912f; }

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.logo-star {
  display: inline-block;
  color: var(--gold-light);
  margin-right: 8px;
  font-size: 1.3rem;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}
.nav-links a:hover { border-color: var(--gold); color: var(--gold); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--gold);
  display: block;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--deep-blue);
  flex-direction: column;
  padding: 1rem 2rem;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-light);
  padding: 0.75rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .site-header { padding: 0 1.5rem; }
}

/* HERO — split layout */
.hero {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  background: var(--navy);
  color: var(--text-light);
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--gold-light);
}

.hero-text p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-visual {
  background: linear-gradient(135deg, var(--deep-blue), #1a3060);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,167,66,0.15), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.hero-decoration {
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.3;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 3rem 1.5rem; }
  .hero-visual { min-height: 200px; }
}

.btn-gold {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s, transform 0.3s;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  color: var(--navy);
}

/* NOTICES */
.notice-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--deep-blue);
  color: var(--text-light);
}

.notice-block {
  text-align: center;
  padding: 1.8rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.notice-block:last-child { border-right: none; }

.notice-block .n-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.notice-block span {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .notice-strip { grid-template-columns: 1fr; }
  .notice-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
}

/* GAME SECTION */
.game-area {
  padding: 4rem 2rem;
  background: var(--cream);
  text-align: center;
}

.game-area h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.game-area .subtitle {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.game-frame {
  max-width: 1000px;
  margin: 0 auto;
  border: 3px solid var(--gold);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.game-frame iframe {
  width: 100%;
  height: 620px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .game-frame iframe { height: 380px; }
}

/* ABOUT */
.about-section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
  color: var(--navy);
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.about-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s;
}
.about-card:hover { transform: translateY(-4px); }

.about-card .card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
  color: var(--navy);
}

.about-card p { color: #555; font-size: 0.95rem; }

/* INFO BLOCK */
.info-block {
  background: var(--navy);
  color: var(--text-light);
  padding: 4rem 2rem;
}

.info-block .inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.info-block h2 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.info-block p {
  opacity: 0.85;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

/* CONTENT PAGES */
.page-content {
  margin-top: 64px;
  padding: 3rem 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100vh - 64px - 180px);
}

.page-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--navy);
}

.page-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
  color: var(--deep-blue);
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
}

.page-content p {
  margin-bottom: 1rem;
  color: #444;
  font-size: 1.02rem;
}

.page-content ul, .page-content ol {
  margin: 0.8rem 0 1.5rem 1.5rem;
  color: #444;
}

.page-content li { margin-bottom: 0.4rem; }

/* PLAY NOTE */
.play-info {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 1000px;
}
.play-info h3 { color: var(--navy); margin-bottom: 0.5rem; }
.play-info p { color: #555; font-size: 0.95rem; }

/* FOOTER */
.site-footer {
  background: var(--navy);
  color: var(--text-light);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-nav a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold); }

.footer-responsible {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

.footer-responsible p { font-size: 0.8rem; opacity: 0.5; margin-bottom: 0.6rem; }
.footer-responsible a { color: var(--gold); margin: 0 0.4rem; font-size: 0.8rem; }

/* AGE GATE */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-dialog {
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  max-width: 420px;
  width: 92%;
  color: var(--text-light);
}

.age-dialog h2 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.age-dialog p { opacity: 0.8; margin-bottom: 1.8rem; font-size: 0.95rem; }

.age-actions { display: flex; gap: 1rem; justify-content: center; }

.age-actions button {
  padding: 0.7rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid var(--gold);
  transition: all 0.3s;
}

.btn-confirm { background: var(--gold); color: var(--navy); }
.btn-confirm:hover { background: var(--gold-light); }

.btn-deny { background: transparent; color: var(--gold); }
.btn-deny:hover { background: rgba(212,167,66,0.1); }

.blocked-screen {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
}

.blocked-screen h2 { color: #e74c3c; font-size: 2rem; margin-bottom: 1rem; }
