/* veloryvoryx.xyz - Royal Violet Theme */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --deep-violet: #1a0a2e;
  --rich-purple: #3d1c6e;
  --accent-gold: #f0c040;
  --soft-lavender: #c9a0dc;
  --text-light: #f0eaf6;
  --text-muted: #b8a0cc;
  --card-bg: rgba(61, 28, 110, 0.55);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--deep-violet);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
}

a { color: var(--accent-gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: #ffe080; }

/* NAV */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26, 10, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 192, 64, 0.15);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem; font-weight: 900;
  color: var(--accent-gold);
  display: flex; align-items: center; gap: 0.6rem;
}

.nav-logo svg { width: 36px; height: 36px; }

.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a {
  color: var(--text-light); font-size: 0.95rem; font-weight: 400;
  padding: 0.4rem 0; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--accent-gold); transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--accent-gold); }

.hamburger {
  display: none; flex-direction: column; cursor: pointer;
  gap: 5px; background: none; border: none; padding: 6px;
}
.hamburger span {
  width: 26px; height: 2px; background: var(--accent-gold);
  transition: all 0.3s;
}

/* HERO */
.hero-section {
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(180deg, var(--deep-violet) 0%, var(--rich-purple) 50%, var(--deep-violet) 100%);
  position: relative;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(193, 160, 220, 0.12) 0%, transparent 70%);
}
.hero-section h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 900;
  color: var(--accent-gold); margin-bottom: 1rem; position: relative;
}
.hero-section p {
  font-size: 1.15rem; max-width: 700px; color: var(--text-muted); position: relative;
  margin-bottom: 1.5rem;
}

/* NOTICES */
.notice-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; width: 100%; max-width: 1200px; margin: 2rem auto 0;
  position: relative; padding: 0 1rem;
}
.notice-card {
  background: var(--card-bg); border: 1px solid rgba(240, 192, 64, 0.18);
  border-radius: 14px; padding: 2rem; text-align: center;
}
.notice-card .icon { font-size: 2.5rem; margin-bottom: 0.8rem; display: block; }
.notice-card h3 { font-size: 1.15rem; color: var(--accent-gold); margin-bottom: 0.5rem; }
.notice-card p { font-size: 0.92rem; color: var(--text-muted); }

/* SECTIONS */
.section-block {
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 4rem 2rem;
}
.section-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--accent-gold);
  margin-bottom: 1.5rem; text-align: center;
}
.section-block p {
  font-size: 1.02rem; color: var(--text-muted); margin-bottom: 1rem;
  max-width: 900px; margin-left: auto; margin-right: auto;
}

/* GAME EMBED */
.game-wrapper {
  width: 100%; max-width: 960px; margin: 2rem auto;
  border-radius: 16px; overflow: hidden;
  border: 2px solid rgba(240, 192, 64, 0.25);
  box-shadow: 0 8px 40px rgba(61, 28, 110, 0.6);
  background: #0d0520;
}
.game-wrapper iframe {
  width: 100%; height: 620px; border: none; display: block;
}

/* WIDGETS */
.widget-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin: 3rem auto; max-width: 1200px; padding: 0 2rem;
}
.widget-card {
  background: var(--card-bg); border-radius: 14px;
  padding: 2rem; border: 1px solid rgba(193, 160, 220, 0.12);
}
.widget-card h3 { color: var(--accent-gold); margin-bottom: 0.8rem; font-size: 1.1rem; }
.widget-card p, .widget-card li { color: var(--text-muted); font-size: 0.93rem; }
.widget-card ul { list-style: none; padding: 0; }
.widget-card ul li { padding: 0.35rem 0; border-bottom: 1px solid rgba(193,160,220,0.08); }
.widget-card ul li::before { content: '\2726 '; color: var(--accent-gold); }

/* FOOTER */
.site-footer {
  background: rgba(13, 5, 32, 0.9);
  border-top: 1px solid rgba(240, 192, 64, 0.12);
  padding: 2.5rem 2rem; text-align: center;
}
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--accent-gold); }
.site-footer p { color: var(--text-muted); font-size: 0.82rem; }

/* AGE GATE */
.age-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10, 4, 22, 0.96);
  display: flex; align-items: center; justify-content: center;
}
.age-overlay.hidden { display: none; }
.age-box {
  background: var(--rich-purple); border: 2px solid var(--accent-gold);
  border-radius: 18px; padding: 3rem; max-width: 420px; text-align: center;
}
.age-box h2 { color: var(--accent-gold); margin-bottom: 1rem; }
.age-box p { color: var(--text-muted); margin-bottom: 1.8rem; font-size: 1rem; }
.age-btns { display: flex; gap: 1rem; justify-content: center; }
.age-btns button {
  padding: 0.75rem 2.4rem; border: none; border-radius: 8px;
  font-size: 1rem; font-weight: 700; cursor: pointer; transition: transform 0.2s;
}
.age-btns button:hover { transform: scale(1.05); }
.btn-yes { background: var(--accent-gold); color: var(--deep-violet); }
.btn-no { background: transparent; border: 2px solid var(--accent-gold) !important; color: var(--accent-gold); }

/* PAGE CONTENT */
.page-content {
  max-width: 1200px; margin: 0 auto;
  padding: 7rem 2rem 4rem;
}
.page-content h1 {
  font-size: clamp(2rem, 4vw, 3rem); color: var(--accent-gold);
  margin-bottom: 1.5rem;
}
.page-content h2 { font-size: 1.5rem; color: var(--soft-lavender); margin: 2rem 0 0.8rem; }
.page-content p, .page-content li {
  color: var(--text-muted); font-size: 1rem; margin-bottom: 0.8rem;
}
.page-content ul { padding-left: 1.5rem; margin-bottom: 1.2rem; }

/* MOBILE */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(26, 10, 46, 0.98);
    flex-direction: column; padding: 1.5rem 2rem; gap: 1rem;
    transform: translateY(-120%); transition: transform 0.35s;
  }
  .nav-links.open { transform: translateY(0); }
  .hero-section { min-height: 80vh; padding: 5rem 1.2rem 3rem; }
  .game-wrapper iframe { height: 400px; }
  .notice-grid, .widget-row { grid-template-columns: 1fr; }
}
