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

:root {
  --primary: #2d1b69;
  --secondary: #f0c040;
  --accent: #9b59b6;
  --dark: #1a0e3e;
  --light: #f5f0ff;
  --text: #e8e0f5;
  --card-bg: rgba(45, 27, 105, 0.7);
}

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

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--secondary);
}

a { color: var(--secondary); text-decoration: none; transition: color 0.3s; }
a:hover { color: #fff; }

/* HEADER */
.site-header {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--secondary);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transition: 0.3s;
}

/* HERO */
.hero {
  background: linear-gradient(160deg, var(--primary) 0%, var(--dark) 50%, #3a1d8e 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(240,192,64,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(155,89,182,0.1) 0%, transparent 50%);
  animation: shimmer 15s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-5%, 5%); }
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary), #d4a017);
  color: var(--dark);
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 192, 64, 0.3);
  color: var(--dark);
}

/* SECTIONS */
.section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-dark {
  background: rgba(0,0,0,0.2);
  max-width: 100%;
  padding: 4rem 2rem;
}

.section-dark .section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-dark h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* CARD GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid rgba(155, 89, 182, 0.3);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s;
}

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

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.card p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* GAME EMBED */
.game-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 2rem auto;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--secondary);
  box-shadow: 0 0 40px rgba(240,192,64,0.15);
}

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

/* NOTICES */
.notice-strip {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem;
  background: linear-gradient(90deg, var(--primary), var(--dark));
  border-top: 1px solid rgba(155,89,182,0.3);
  border-bottom: 1px solid rgba(155,89,182,0.3);
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
}

.notice-item .icon {
  font-size: 1.5rem;
}

/* WIDGETS */
.widget-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.widget {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(155,89,182,0.2);
}

.widget .big-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--secondary);
  font-weight: 900;
}

.widget p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* FOOTER */
.site-footer {
  background: var(--dark);
  border-top: 2px solid var(--accent);
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

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

.footer-links a {
  color: var(--accent);
  font-size: 0.9rem;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 1rem;
}

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

.age-box {
  background: linear-gradient(145deg, var(--primary), var(--dark));
  border: 2px solid var(--secondary);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 450px;
  width: 90%;
}

.age-box h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.age-box p {
  margin-bottom: 2rem;
  opacity: 0.85;
}

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

.age-buttons button {
  padding: 0.8rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.age-buttons button:hover { transform: scale(1.05); }

.btn-yes {
  background: var(--secondary);
  color: var(--dark);
}

.btn-no {
  background: transparent;
  border: 2px solid var(--secondary) !important;
  color: var(--secondary);
}

/* CONTENT PAGES */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

.page-content p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  opacity: 0.9;
}

.page-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 2px solid var(--secondary);
  }
  
  .nav-links.open { display: flex; }
  
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .section h2, .section-dark h2 { font-size: 1.6rem; }
  .game-wrapper iframe { height: 400px; }
  .notice-strip { gap: 1.5rem; }
  .card-grid { grid-template-columns: 1fr; }
}
