/* QuoriVoryVexa - Unique Design 1: Gradient-driven modern split layout */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Playfair+Display:wght@500;700&display=swap');

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

:root {
  --primary: #6C3CE0;
  --secondary: #F857A6;
  --accent: #FF5858;
  --dark: #1A0E2E;
  --light: #F8F5FF;
  --text: #2D1B4E;
  --text-light: #8B7BAE;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(108,60,224,0.15);
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; transition: color 0.3s; }

img, svg { max-width: 100%; display: block; }

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,14,46,0.92);
  backdrop-filter: blur(14px);
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo { height: 36px; }

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

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

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

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

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

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* HERO SECTION */
.hero {
  margin-top: 68px;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, var(--dark) 0%, #2D1456 50%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248,87,166,0.25), transparent 70%);
  top: -100px; right: -100px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  color: var(--white);
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-text h1 span {
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  width: fit-content;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(248,87,166,0.4);
}

.hero-game {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-game iframe {
  width: 100%;
  max-width: 560px;
  height: 420px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}

/* INFO CARDS */
.info-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.info-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.info-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  text-align: center;
}

.info-card:hover { transform: translateY(-6px); }

.info-card .icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* NOTICE BANNER */
.notice-banner {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--white);
  text-align: center;
  padding: 3rem 2rem;
}

.notice-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.notice-banner p { max-width: 700px; margin: 0 auto; opacity: 0.9; }

/* WIDGETS */
.widgets-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.widgets-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.widget-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.widget-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.widget-box h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.widget-box ul { list-style: none; }

.widget-box ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #EDE8F7;
  color: var(--text-light);
  font-size: 0.95rem;
}

.widget-box ul li:last-child { border-bottom: none; }

/* PAGE CONTENT (terms, privacy, etc.) */
.page-content {
  margin-top: 68px;
  padding: 4rem 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100vh - 68px - 200px);
}

.page-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--primary);
  margin: 2rem 0 0.8rem;
}

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

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

.page-content ul li {
  margin-bottom: 0.4rem;
  color: var(--text-light);
}

/* PLAY PAGE */
.play-area {
  margin-top: 68px;
  padding: 3rem 2rem;
  text-align: center;
  min-height: calc(100vh - 68px - 200px);
}

.play-area h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.play-area p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-light);
}

.play-area iframe {
  width: 100%;
  max-width: 960px;
  height: 600px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* FOOTER */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}

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

.footer-links a {
  color: var(--secondary);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent); }

.site-footer p { font-size: 0.85rem; }

/* AGE GATE */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26,14,46,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-gate-overlay.hidden { display: none; }

.age-gate-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 16px 64px rgba(0,0,0,0.3);
}

.age-gate-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.age-gate-box p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

.age-gate-btns button {
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
}

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

.btn-yes {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
}

.btn-no {
  background: #E8E0F5;
  color: var(--text);
}

/* MOBILE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 3rem 1.5rem; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-game { padding: 1rem 1.5rem 3rem; }
  .hero-game iframe { height: 300px; }
  .card-grid { grid-template-columns: 1fr; }
  .widget-row { grid-template-columns: 1fr; }
  .play-area iframe { height: 400px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(26,14,46,0.98);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
  }
  .nav-links.open { transform: translateY(0); }
}
