/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0F0808;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── Utilities ── */
.gradient-text {
  background: linear-gradient(135deg, #FF008C, #E91E63, #9C27B0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #FF008C, #E91E63);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 0, 140, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 0, 140, 0.45);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-premium {
  background: linear-gradient(135deg, #FF008C, #9C27B0);
  color: #fff;
  font-size: 16px;
  padding: 16px 40px;
  box-shadow: 0 4px 24px rgba(255, 0, 140, 0.35);
}
.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 0, 140, 0.5);
}
.btn-full { width: 100%; }

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}
#navbar.scrolled {
  background: rgba(15, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-img { width: 36px; height: 36px; }
.nav-logo-text {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #FF008C, #E91E63);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}
.nav-links a:hover { color: #FF008C; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-selector { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.1); }
.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: #1a1212;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px;
  display: none;
  min-width: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.lang-dropdown.open { display: block; }
.lang-dropdown button {
  display: block;
  width: 100%;
  padding: 8px 14px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s;
}
.lang-dropdown button:hover { background: rgba(255, 0, 140, 0.15); color: #FF008C; }
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 0, 140, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(156, 39, 176, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero-content { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 0, 140, 0.12);
  border: 1px solid rgba(255, 0, 140, 0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #FF008C;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; align-items: center; }
.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #FF008C;
}
.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* Phone Mockup */
.hero-phone { flex-shrink: 0; }
.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1a1212, #231818);
  border-radius: 40px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 0, 140, 0.08);
  position: relative;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #0F0808;
  border-radius: 20px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #0F0808;
  border-radius: 30px;
  overflow: hidden;
}
.phone-ui { padding: 48px 16px 16px; }
.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 16px;
}
.phone-logo { width: 28px; height: 28px; }
.phone-timer {
  text-align: center;
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(255, 0, 140, 0.06);
  border: 1px solid rgba(255, 0, 140, 0.15);
  border-radius: 20px;
}
.timer-hearts { font-size: 28px; margin-bottom: 8px; }
.timer-label { font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.timer-value { font-size: 24px; font-weight: 800; color: #FF008C; }
.timer-value span { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.6); }
.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.phone-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}
.phone-card span { font-size: 24px; display: block; margin-bottom: 6px; }
.phone-card small { font-size: 11px; color: rgba(255, 255, 255, 0.5); }

/* ── Section Headers ── */
section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 0, 140, 0.1);
  border: 1px solid rgba(255, 0, 140, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #FF008C;
  margin-bottom: 20px;
}
.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-title-sm {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Features ── */
#features { background: linear-gradient(180deg, #0F0808 0%, #120A0A 100%); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s ease;
}
.feature-card:hover {
  border-color: rgba(255, 0, 140, 0.25);
  background: rgba(255, 0, 140, 0.04);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* ── Games ── */
#games {
  background: linear-gradient(180deg, #120A0A 0%, #0F0808 100%);
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.game-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}
.game-card:hover {
  border-color: rgba(255, 0, 140, 0.3);
  transform: translateY(-4px);
}
.game-icon { font-size: 40px; margin-bottom: 14px; }
.game-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.game-badge.free {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.game-badge.premium {
  background: rgba(255, 0, 140, 0.15);
  color: #FF008C;
}
.game-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.game-card p { font-size: 12px; color: rgba(255, 255, 255, 0.45); line-height: 1.6; }

/* ── Daily Question ── */
#daily { background: #0F0808; }
.daily-content {
  display: flex;
  align-items: center;
  gap: 80px;
}
.daily-text { flex: 1; }
.daily-text .section-title { text-align: left; }
.daily-text .section-subtitle { text-align: left; margin: 0 0 24px 0; }
.daily-tags { display: flex; gap: 10px; }
.tag {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}
.tag-fun { background: rgba(234, 179, 8, 0.15); color: #eab308; }
.tag-deep { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.tag-plan { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.daily-visual { flex-shrink: 0; }
.question-card {
  width: 300px;
  background: linear-gradient(145deg, rgba(255, 0, 140, 0.08), rgba(156, 39, 176, 0.06));
  border: 1px solid rgba(255, 0, 140, 0.2);
  border-radius: 24px;
  padding: 32px;
}
.question-type {
  font-size: 12px;
  font-weight: 700;
  color: #FF008C;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.question-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}
.question-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Premium ── */
#premium { background: #0F0808; padding: 80px 0; }
.premium-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 0, 140, 0.06), rgba(156, 39, 176, 0.04));
  border: 1px solid rgba(255, 0, 140, 0.2);
  border-radius: 32px;
  padding: 64px;
  text-align: center;
  overflow: hidden;
}
.premium-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 0, 140, 0.12), transparent 70%);
  pointer-events: none;
}
.premium-content { position: relative; z-index: 1; }
.premium-icon { font-size: 48px; margin-bottom: 20px; display: block; }
.premium-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}
.premium-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.premium-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}
.pf {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

/* ── Download ── */
#download {
  background: linear-gradient(180deg, #0F0808, #120A0A);
  padding: 100px 0;
}
.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  transition: all 0.3s ease;
  min-width: 200px;
}
.store-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 0, 140, 0.3);
  transform: translateY(-2px);
}
.store-btn small { font-size: 11px; color: rgba(255, 255, 255, 0.5); display: block; }
.store-btn strong { font-size: 16px; font-weight: 700; display: block; }

/* ── Legal ── */
#legal {
  background: #0F0808;
  padding: 60px 0;
}
.legal-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.legal-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  cursor: pointer;
}
.legal-link:hover { color: #FF008C; }

/* Legal Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-card {
  background: #1a1212;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.modal-close:hover { background: rgba(255, 0, 140, 0.2); }
.modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}
.modal-body h1, .modal-body h2, .modal-body h3 {
  color: #fff;
  margin: 20px 0 10px;
}
.modal-body h1 { font-size: 22px; }
.modal-body h2 { font-size: 18px; }
.modal-body h3 { font-size: 16px; }
.modal-body p { margin-bottom: 12px; }
.modal-body ul, .modal-body ol { margin-left: 20px; margin-bottom: 12px; }
.modal-body li { margin-bottom: 6px; }
.modal-loading {
  text-align: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Contact ── */
#contact {
  background: linear-gradient(180deg, #120A0A, #0F0808);
  padding: 100px 0;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-row { display: flex; gap: 16px; }
.form-group {
  flex: 1;
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 0, 140, 0.4);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-success, .contact-error {
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.contact-success { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.contact-error { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

/* ── Footer ── */
#footer {
  background: #0a0505;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 60px 0 30px;
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 40px;
}
.footer-brand { max-width: 260px; }
.footer-logo { width: 40px; height: 40px; margin-bottom: 12px; }
.footer-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #FF008C;
  display: block;
  margin-bottom: 8px;
}
.footer-tagline { font-size: 14px; color: rgba(255, 255, 255, 0.4); }
.footer-links-grid {
  display: flex;
  gap: 60px;
}
.footer-links-grid h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-links-grid a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer-links-grid a:hover { color: #FF008C; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, 0.3); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .daily-content { flex-direction: column; gap: 40px; }
  .daily-text .section-title, .daily-text .section-subtitle { text-align: center; }
  .daily-tags { justify-content: center; }
  .daily-visual { order: -1; }
}

@media (max-width: 768px) {
  #hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
    gap: 40px;
    min-height: auto;
  }
  .hero-title { font-size: 38px; }
  .hero-subtitle { font-size: 16px; margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-phone .phone-mockup { width: 240px; height: 480px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 8, 8, 0.97);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
  }
  .mobile-menu-btn { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 30px; }
  .premium-card { padding: 40px 24px; }
  .premium-content h2 { font-size: 28px; }
  .form-row { flex-direction: column; gap: 0; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links-grid { gap: 40px; }
  .legal-links { flex-direction: column; align-items: center; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .games-grid { grid-template-columns: 1fr; }
  .footer-links-grid { flex-direction: column; gap: 30px; }
  .question-card { width: 100%; }
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}
.feature-card, .game-card { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.feature-card.visible, .game-card.visible { opacity: 1; transform: translateY(0); }
