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

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

:root {
  /* Vibrant Color System - Pink & Purple */
  --primary: #F90CA9;
  --primary-dark: #D60A8F;
  --primary-light: #FF4DBF;
  --secondary: #A003FC;
  --secondary-light: #B83DFF;
  --accent: #F59E0B;
  --accent-light: #FCD34D;
  
  /* Background Colors */
  --bg-primary: #FFF0F9;
  --bg-white: #FFFFFF;
  --bg-surface: #FAF0FF;
  --bg-card: #FFFFFF;
  
  /* Text Colors */
  --text-primary: #8B0A5C;
  --text-secondary: #A30B6E;
  --text-muted: #6B7280;
  --text-white: #FFFFFF;
  
  /* Border & Shadow */
  --border: #FDB8E3;
  --border-light: #FFE4F3;
  --shadow-sm: 0 1px 2px rgba(249, 12, 169, 0.1);
  --shadow-md: 0 4px 12px rgba(249, 12, 169, 0.15);
  --shadow-lg: 0 8px 30px rgba(249, 12, 169, 0.2);
  --shadow-xl: 0 20px 50px rgba(249, 12, 169, 0.25);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #F90CA9 0%, #FF4DBF 50%, #A003FC 100%);
  --gradient-secondary: linear-gradient(135deg, #A003FC 0%, #B83DFF 100%);
  --gradient-hero: linear-gradient(135deg, #F90CA9 0%, #D60A8F 40%, #8B0A5C 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,240,249,0.95));
  
  /* Animation */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 4px rgba(249, 12, 169, 0.2));
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-menu {
  position: relative;
}

.language-switch {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(249, 12, 169, 0.18);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.language-switch svg {
  transition: transform var(--transition-fast);
}

.language-switch:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.language-menu.open .language-switch {
  background: white;
  box-shadow: var(--shadow-md);
}

.language-menu.open .language-switch svg {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 1200;
  min-width: 11rem;
  padding: 0.45rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(249, 12, 169, 0.16);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.language-option {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.language-option:hover,
.language-option:focus {
  color: var(--primary);
  background: rgba(249, 12, 169, 0.08);
}

.language-option.active {
  color: white;
  background: var(--gradient-primary);
}

.download-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  display: inline-block;
}

.download-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.3) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

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

.hero-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.hero-features span {
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-features span::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: white;
  color: var(--primary);
  border: none;
  padding: 1.125rem 2.5rem;
  border-radius: 9999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.btn-primary.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 1.125rem 2.5rem;
  border-radius: 9999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Phone Mockup */
.phone-mockup {
  background: white;
  border-radius: 2.5rem;
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  max-width: 320px;
  margin: 0 auto;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.phone-mockup:hover {
  transform: rotate(0deg) scale(1.02);
}

.phone-screen {
  background: var(--gradient-primary);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  text-align: center;
  color: white;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.phone-screen::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  animation: shimmer 3s ease-in-out infinite;
}

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

.app-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.app-icon svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

.phone-screen h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.phone-screen p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.finger-indicator {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.finger {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  animation: pulse-finger 2s infinite;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.finger:nth-child(2) {
  animation-delay: 0.5s;
}

.finger:nth-child(3) {
  animation-delay: 1s;
}

@keyframes pulse-finger {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--bg-white);
}

.section-title {
  text-align: center;
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 3.5rem;
}

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

.feature-card {
  background: var(--gradient-card);
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.feature-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Preview Section */
.preview {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.preview-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}

.preview-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.preview-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Game Modes Section */
.game-modes {
  padding: 6rem 0;
  background: var(--bg-white);
}

.game-modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.game-mode-card {
  background: var(--bg-surface);
  padding: 2.5rem;
  border-radius: 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.game-mode-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.game-mode-icon {
  width: 72px;
  height: 72px;
  background: var(--gradient-primary);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}

.game-mode-icon svg {
  width: 36px;
  height: 36px;
  color: white;
}

.game-mode-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.game-mode-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Themes Section */
.themes {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.themes-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.theme-card {
  height: 180px;
  border-radius: 1.5rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.theme-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.theme-card:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.theme-card:hover::after {
  opacity: 1;
}

.theme-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.theme-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.theme-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.theme-orange {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
}

.features-list li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.features-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: rgba(249, 12, 169, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

/* Reviews Section */
.reviews {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.review-content {
  margin-bottom: 1.5rem;
}

.review-content p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  font-style: italic;
}

.review-author {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.avatar {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: 'Nunito', sans-serif;
  box-shadow: var(--shadow-sm);
}

.review-author h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.review-author p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Final CTA Section */
.final-cta {
  padding: 6rem 0;
  background: var(--gradient-hero);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.final-cta p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-qr {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.qr-code {
  text-align: center;
}

.qr-code img {
  background: white;
  border-radius: 1rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-lg);
}

.qr-code p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.final-cta .btn-primary {
  background: white;
  color: var(--primary);
  font-size: 1.25rem;
  padding: 1.25rem 3rem;
}

.final-cta .btn-primary:hover {
  background: var(--bg-primary);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #8B0A5C 0%, #D60A8F 100%);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-family: 'Nunito', sans-serif;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.footer-section a:hover {
  color: white;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.store-btn img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

/* Scroll Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .phone-mockup {
    max-width: 280px;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .themes-preview {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .download-qr {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .download-buttons {
    align-items: center;
  }
  
  .store-btn {
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .language-switch,
  .download-btn {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .features-grid,
  .game-modes-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal pages */
.legal-page {
  background:
    radial-gradient(circle at top left, rgba(249, 12, 169, 0.12), transparent 32rem),
    radial-gradient(circle at top right, rgba(160, 3, 252, 0.12), transparent 30rem),
    var(--background);
}

.logo {
  text-decoration: none;
}

.legal-main {
  padding-top: 5rem;
}

.legal-hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.legal-hero .badge {
  display: inline-flex;
  margin-bottom: 1rem;
}

.legal-hero h1 {
  max-width: 820px;
  margin: 0 auto 1rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-primary);
}

.legal-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.8;
}

.legal-switcher {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.legal-switcher a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--primary);
  background: white;
  border: 1px solid rgba(249, 12, 169, 0.18);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto 6rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.legal-content h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
}

.legal-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-primary);
}

.legal-content h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.2rem;
  color: var(--primary);
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 1rem;
}

.legal-content p + p {
  margin-top: 0.875rem;
}

.legal-content ul {
  margin: 0.75rem 0 1rem 1.25rem;
  padding-left: 1rem;
}

.legal-content li + li {
  margin-top: 0.45rem;
}

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

.platform-filter-note {
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.125rem;
  border-radius: 1rem;
  background: rgba(249, 12, 169, 0.08);
  border: 1px solid rgba(249, 12, 169, 0.16);
  color: var(--text-secondary);
  line-height: 1.7;
}

.platform-filter-note strong {
  color: var(--primary);
}

.platform-mobile-message {
  display: none;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.platform-card {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.platform-card h3 {
  margin-top: 0;
}

html.platform-ios .platform-android,
html.platform-android .platform-ios,
.legal-page.platform-ios .platform-android,
.legal-page.platform-android .platform-ios {
  display: none !important;
}

@media (max-width: 768px) {
  .legal-page .header {
    display: none;
  }

  .legal-page .footer {
    display: none;
  }

  .legal-main {
    padding-top: 0;
  }

  .platform-desktop-message {
    display: none;
  }

  html.platform-ios .platform-mobile-message.platform-ios,
  html.platform-android .platform-mobile-message.platform-android,
  .legal-page.platform-ios .platform-mobile-message.platform-ios,
  .legal-page.platform-android .platform-mobile-message.platform-android {
    display: inline;
  }

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

  .legal-hero {
    padding: 4rem 0 2rem;
  }

  .legal-content {
    border-radius: 1rem;
    margin-bottom: 4rem;
  }
}
