/* ── Spin The Super Wheel — Website Styles ── */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Nunito:wght@400;600;700&display=swap');

:root {
  --primary: #FF6B6B;
  --secondary: #4ECDC4;
  --accent: #FFE66D;
  --bg: #1A1A2E;
  --surface: #16213E;
  --surface-light: #1E2A4A;
  --text: #F0F0F0;
  --text-secondary: #A0A0B8;
  --text-muted: #6B6B80;
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1100px;
  --gradient: linear-gradient(135deg, #FF6B6B, #4ECDC4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Nav ── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span {
  font-size: 24px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  opacity: 1;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Container ── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.page-content {
  padding: 60px 0 80px;
}

/* ── Hero (Landing) ── */

.hero {
  text-align: center;
  padding: 80px 0 60px;
}

.hero-emoji {
  font-size: 72px;
  margin-bottom: 16px;
  display: block;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: clamp(18px, 3vw, 22px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge-link {
  display: inline-block;
  height: 52px;
  transition: transform 0.2s;
}

.badge-link:hover {
  transform: scale(1.05);
  opacity: 1;
}

.badge-link img {
  height: 52px;
}

/* ── Features ── */

.features {
  padding: 40px 0 60px;
}

.features h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.feature-top .feature-icon {
  margin-bottom: 0;
}

.pro-label {
  background: var(--gradient);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 8px;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 107, 0.2);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ── Pro Section ── */

.pro-section {
  padding: 60px 0 60px;
}

.pro-header {
  text-align: center;
  margin-bottom: 48px;
}

.pro-badge {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.pro-header h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.pro-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
}

.pro-card {
  border-color: rgba(255, 107, 107, 0.15);
  background: linear-gradient(160deg, var(--surface) 0%, rgba(255, 107, 107, 0.05) 100%);
}

.pro-card:hover {
  border-color: rgba(255, 107, 107, 0.35);
}

/* ── CTA Section ── */

.cta-section {
  text-align: center;
  padding: 60px 0;
}

.cta-section h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}

/* ── Footer ── */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
}

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

/* ── Legal Pages ── */

.legal-page h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.legal-date {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--primary);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page strong {
  color: var(--text);
}

/* ── Support Page ── */

.support-page h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.support-intro {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 48px;
}

.faq-section h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.contact-section {
  margin-top: 48px;
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.contact-section h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.contact-section p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 8px;
}

.contact-email {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 8px;
}

/* ── Mobile ── */

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

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-emoji {
    font-size: 56px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
