@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
  --royal-purple: #6b21a8;
  --soft-violet: #a855f7;
  --deep-plum: #1e0533;
  --charcoal: #18181b;
  --silver: #d4d4d8;
  --pearl: #fafafa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  background: var(--charcoal);
  color: var(--pearl);
  line-height: 1.75;
}

.announcement {
  background: linear-gradient(90deg, var(--royal-purple), var(--soft-violet));
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.main-header {
  background: var(--deep-plum);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-row {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-link svg {
  width: 42px;
  height: 42px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--soft-violet);
  letter-spacing: 2px;
}

.menu-trigger {
  display: none;
  background: none;
  border: 2px solid var(--soft-violet);
  border-radius: 5px;
  padding: 6px 10px;
  cursor: pointer;
}

.menu-trigger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--soft-violet);
  margin: 4px 0;
  transition: 0.3s;
}

.site-menu ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.site-menu a {
  color: var(--silver);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.site-menu a:hover {
  color: var(--soft-violet);
}

.splash {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(168, 85, 247, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(107, 33, 168, 0.15) 0%, transparent 50%),
    var(--charcoal);
  text-align: center;
}

.splash-content {
  max-width: 900px;
}

.splash-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--pearl) 0%, var(--soft-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.splash-content p {
  font-size: 1.15rem;
  color: var(--silver);
  margin-bottom: 2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.info-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tag {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  padding: 0.6rem 1.3rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}

.tag.adult {
  background: rgba(107, 33, 168, 0.3);
  border-color: var(--soft-violet);
}

.action-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--royal-purple), var(--soft-violet));
  color: var(--pearl);
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(168, 85, 247, 0.3);
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.game-showcase {
  padding: 5rem 1.5rem;
  background: var(--deep-plum);
}

.showcase-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 2rem;
  color: var(--soft-violet);
}

.game-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid var(--soft-violet);
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.25);
}

.game-wrapper iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: none;
}

.cards-section {
  padding: 5rem 1.5rem;
  background: var(--charcoal);
}

.cards-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.info-card {
  background: linear-gradient(180deg, #2a1442 0%, var(--deep-plum) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--soft-violet);
}

.info-card .symbol {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--soft-violet);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.info-card p {
  color: var(--silver);
  font-size: 0.9rem;
  opacity: 0.85;
}

.details-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, var(--deep-plum) 0%, var(--charcoal) 100%);
}

.details-inner {
  max-width: 900px;
  margin: 0 auto;
}

.detail-block {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(168, 85, 247, 0.08);
  border-radius: 10px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--soft-violet);
}

.detail-block .emoji {
  font-size: 1.8rem;
  min-width: 50px;
}

.detail-block h4 {
  font-family: 'Playfair Display', serif;
  color: var(--soft-violet);
  margin-bottom: 0.3rem;
}

.detail-block p {
  color: var(--silver);
  font-size: 0.9rem;
}

.site-footer {
  background: #0f0817;
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(168, 85, 247, 0.3);
}

.site-footer p {
  color: var(--silver);
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

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

.support-links a {
  color: var(--soft-violet);
  text-decoration: none;
  font-size: 0.85rem;
}

.support-links a:hover {
  text-decoration: underline;
}

.copyright {
  color: var(--silver);
  opacity: 0.5;
  font-size: 0.8rem;
}

/* Age Modal */
.age-screen {
  position: fixed;
  inset: 0;
  background: rgba(24, 24, 27, 0.98);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.age-dialog {
  background: linear-gradient(180deg, #2a1442 0%, var(--deep-plum) 100%);
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
  max-width: 430px;
  border: 2px solid var(--soft-violet);
}

.age-dialog h2 {
  font-family: 'Playfair Display', serif;
  color: var(--soft-violet);
  margin-bottom: 1rem;
}

.age-dialog p {
  color: var(--silver);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.age-choices {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-adult, .btn-minor {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  border: none;
}

.btn-adult {
  background: linear-gradient(135deg, var(--royal-purple), var(--soft-violet));
  color: var(--pearl);
}

.btn-minor {
  background: transparent;
  border: 1px solid var(--silver);
  color: var(--silver);
}

.btn-adult:hover, .btn-minor:hover {
  transform: scale(1.05);
}

.blocked {
  text-align: center;
  padding: 4rem 1.5rem;
}

.blocked h2 {
  font-family: 'Playfair Display', serif;
  color: #dc2626;
}

/* Pages */
.page-top {
  padding: 7rem 1.5rem 3rem;
  background: linear-gradient(180deg, var(--deep-plum) 0%, var(--charcoal) 100%);
  text-align: center;
  border-bottom: 2px solid rgba(168, 85, 247, 0.3);
}

.page-top h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--soft-violet);
}

.page-main {
  max-width: 850px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.page-main h2 {
  font-family: 'Playfair Display', serif;
  color: var(--soft-violet);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.page-main p {
  color: var(--silver);
  margin-bottom: 1rem;
}

.page-main ul {
  color: var(--silver);
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-main li {
  margin-bottom: 0.4rem;
}

.play-zone {
  padding: 2rem 1.5rem 5rem;
}

.play-instructions {
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding: 1.25rem;
  background: rgba(168, 85, 247, 0.1);
  border-radius: 10px;
  border-left: 4px solid var(--soft-violet);
  font-size: 0.9rem;
  color: var(--silver);
}

@media (max-width: 768px) {
  .menu-trigger {
    display: block;
  }

  .site-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--deep-plum);
    padding: 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.3s;
  }

  .site-menu.visible {
    transform: translateY(0);
  }

  .site-menu ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .game-wrapper iframe {
    height: 420px;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .age-choices {
    flex-direction: column;
  }
}
