/* ========================================
   PLAYFRONTIERFLIP — FRUITY GLOW PARADISE
   ======================================== */

/* --- VARIABLES --- */
:root {
  --bg-primary: #fff7ed;
  --bg-secondary: #ffe4e6;
  --strawberry: #ef4444;
  --orange: #f97316;
  --yellow: #facc15;
  --berry: #ec4899;
  --green: #22c55e;
  --gradient-fruity: linear-gradient(135deg, #ef4444, #ec4899);
  --gradient-citrus: linear-gradient(135deg, #f97316, #facc15);
  --gradient-tropical: linear-gradient(135deg, #facc15, #22c55e);
  --gradient-mix: linear-gradient(135deg, #ec4899, #f97316);
  --glow-red: rgba(239,68,68,0.35);
  --glow-orange: rgba(249,115,22,0.35);
  --glow-pink: rgba(236,72,153,0.35);
  --surface: rgba(255,255,255,0.6);
  --surface-solid: rgba(255,255,255,0.85);
  --text-primary: #1c1917;
  --text-secondary: #44403c;
  --text-muted: #78716c;
  --blur: 20px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
  --shadow-glow: 0 8px 40px rgba(239,68,68,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka', 'Inter', sans-serif;
  line-height: 1.2;
  color: var(--text-primary);
}

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

.container-narrow {
  max-width: 800px;
}

/* --- UTILITIES --- */
.gradient-text {
  background: var(--gradient-fruity);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-citrus {
  background: var(--gradient-citrus);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-tropical {
  background: var(--gradient-tropical);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--surface-solid);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-fruity);
  color: #fff;
  box-shadow: 0 4px 20px var(--glow-red);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 35px var(--glow-red);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-primary);
  border: 2px solid rgba(239,68,68,0.2);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.9);
  border-color: var(--strawberry);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  font-size: 18px;
  padding: 18px 40px;
  border-radius: var(--radius-lg);
}

.btn-full {
  width: 100%;
}

.btn-glow {
  animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 20px var(--glow-red); }
  50% { box-shadow: 0 8px 45px var(--glow-pink); }
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255,247,237,0.9);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-solid);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: var(--radius-xl);
  padding: 12px 12px 12px 24px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 28px;
  animation: fruitBounce 2s ease-in-out infinite;
}

@keyframes fruitBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(-5deg); }
  75% { transform: translateY(-2px) rotate(5deg); }
}

.logo-text {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 20px;
  background: var(--gradient-fruity);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--strawberry);
  background: rgba(239,68,68,0.08);
}

.nav-link.active {
  color: var(--strawberry);
  background: rgba(239,68,68,0.1);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn {
  font-size: 14px;
  padding: 10px 24px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,247,237,0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.mobile-link {
  font-family: 'Fredoka', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mobile-link:hover {
  color: var(--strawberry);
  background: rgba(239,68,68,0.1);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-fruit {
  position: absolute;
  font-size: 48px;
  opacity: 0.6;
  animation: floatFruit 8s ease-in-out infinite;
  will-change: transform;
}

.fruit-1 { top: 10%; left: 5%; animation-delay: 0s; font-size: 56px; }
.fruit-2 { top: 20%; right: 8%; animation-delay: 1.2s; font-size: 44px; }
.fruit-3 { bottom: 25%; left: 10%; animation-delay: 2.5s; font-size: 52px; }
.fruit-4 { bottom: 15%; right: 12%; animation-delay: 0.8s; font-size: 40px; }
.fruit-5 { top: 40%; left: 2%; animation-delay: 3.2s; font-size: 36px; }
.fruit-6 { top: 60%; right: 3%; animation-delay: 1.8s; font-size: 42px; }
.fruit-7 { top: 8%; left: 40%; animation-delay: 4s; font-size: 34px; }
.fruit-8 { bottom: 35%; right: 30%; animation-delay: 2s; font-size: 38px; }
.fruit-9 { top: 30%; left: 25%; animation-delay: 3.5s; font-size: 30px; }
.fruit-10 { bottom: 8%; left: 35%; animation-delay: 1s; font-size: 32px; }

@keyframes floatFruit {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-30px) rotate(10deg); }
  50% { transform: translateY(-15px) rotate(-5deg); }
  75% { transform: translateY(-25px) rotate(8deg); }
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: glowPulse 6s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--strawberry);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: var(--orange);
  bottom: -10%;
  left: -5%;
  animation-delay: 2s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--berry);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 4s;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.15); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 24px;
  background: var(--surface-solid);
  border-radius: 50px;
  color: var(--text-secondary);
  border: 1px solid rgba(239,68,68,0.15);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.hero-legal {
  margin-top: 48px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.5);
  border-radius: var(--radius-md);
  border: 1px solid rgba(239,68,68,0.1);
}

.hero-legal p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--strawberry);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.4; }
}

/* --- SECTION COMMON --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 20px;
  background: var(--surface-solid);
  border-radius: 50px;
  color: var(--text-secondary);
  border: 1px solid rgba(239,68,68,0.12);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- GAME SECTION --- */
.game-section {
  padding: 100px 0;
  position: relative;
}

.game-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.game-card {
  background: var(--surface-solid);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: var(--shadow-lg), 0 0 60px var(--glow-pink);
  overflow: hidden;
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-fruity);
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
}

.game-frame-wrapper {
  position: relative;
  width: 100%;
  padding-top: 62.5%;
  background: linear-gradient(135deg, #fff7ed, #ffe4e6);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.game-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.game-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.game-info-left {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.game-tag {
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  background: rgba(239,68,68,0.08);
  border-radius: 50px;
  color: var(--text-secondary);
}

.game-rating {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--orange);
}

/* --- FEATURES --- */
.features {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,68,68,0.2), transparent);
}

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

.feature-card {
  background: var(--surface-solid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
  animation-delay: var(--delay);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 40px var(--glow-orange);
}

.feature-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.feature-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  mix-blend-mode: multiply;
  opacity: 0.7;
}

.feature-card:hover .feature-card-img img {
  transform: scale(1.08);
  opacity: 0.85;
}

.feature-card-body {
  padding: 28px;
}

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

.feature-card-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* --- CTA BANNER --- */
.cta-banner {
  padding: 80px 0;
}

.cta-card {
  background: var(--gradient-fruity);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 80px var(--glow-red);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content .btn-primary {
  background: #fff;
  color: var(--strawberry);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-content .btn-primary:hover {
  box-shadow: 0 8px 35px rgba(0,0,0,0.2);
}

.cta-fruits {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-fruit {
  position: absolute;
  font-size: 60px;
  opacity: 0.2;
  animation: floatFruit 6s ease-in-out infinite;
}

.cf-1 { top: 10%; left: 5%; animation-delay: 0s; }
.cf-2 { top: 15%; right: 8%; animation-delay: 1.5s; }
.cf-3 { bottom: 10%; left: 15%; animation-delay: 3s; }
.cf-4 { bottom: 15%; right: 10%; animation-delay: 2s; }

/* --- FOOTER --- */
.footer {
  background: #fef2f2;
  padding: 80px 0 0;
  border-top: 1px solid rgba(239,68,68,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(239,68,68,0.1);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border-radius: 50%;
  font-size: 20px;
  transition: var(--transition-bounce);
  border: 1px solid rgba(239,68,68,0.1);
}

.social-link:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-md);
}

.footer-links h4 {
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--strawberry);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 32px 0;
  text-align: center;
}

.footer-legal {
  margin-bottom: 16px;
}

.footer-legal p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

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

/* --- PAGE HERO --- */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.page-hero-sm {
  padding: 140px 0 60px;
}

.page-title {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- ABOUT --- */
.about-content {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse > * {
  direction: ltr;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--surface-solid);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
}

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

.stat-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}

.stat-number {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient-fruity);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- CONTACT --- */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.contact-form h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 28px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  border: 2px solid rgba(239,68,68,0.12);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.8);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--strawberry);
  box-shadow: 0 0 0 4px var(--glow-red);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2378716c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  padding: 28px;
  text-align: center;
}

.info-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

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

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

.info-card a {
  color: var(--strawberry);
  font-weight: 600;
}

.info-card a:hover {
  text-decoration: underline;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.form-success.show {
  display: block;
}

.form-success.show + .contact-form,
.contact-form.hidden {
  display: none;
}

.success-icon {
  font-size: 64px;
  display: block;
  margin-bottom: 16px;
  animation: fruitBounce 1s ease-in-out;
}

.form-success h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 28px;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-secondary);
}

/* --- LEGAL CONTENT --- */
.legal-content {
  padding: 60px 0 80px;
}

.legal-card {
  line-height: 1.8;
}

.legal-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(239,68,68,0.1);
}

.legal-card h2:first-child,
.legal-card .responsible-banner + h2 {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.legal-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-card ul {
  margin: 12px 0 20px 0;
  padding-left: 0;
}

.legal-card ul li {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 6px 0 6px 24px;
  position: relative;
}

.legal-card ul li::before {
  content: '🍓';
  position: absolute;
  left: 0;
  font-size: 12px;
}

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

.responsible-banner {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(239,68,68,0.06), rgba(236,72,153,0.06));
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
  border: 1px solid rgba(239,68,68,0.1);
}

.responsible-icon {
  font-size: 56px;
  display: block;
  margin-bottom: 16px;
}

.responsible-banner h2 {
  border-top: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  font-size: 28px;
  margin-bottom: 12px;
}

.responsible-banner p {
  max-width: 500px;
  margin: 0 auto;
}

/* --- ANIMATIONS --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .about-grid {
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .game-section,
  .features {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-grid.reverse {
    direction: ltr;
  }

  .about-image img {
    height: 280px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-card {
    padding: 48px 24px;
  }

  .glass-card {
    padding: 28px;
  }

  .game-info {
    padding: 16px 20px;
    justify-content: center;
  }

  .game-info-left {
    justify-content: center;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .page-hero-sm {
    padding: 110px 0 50px;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .floating-fruit {
    font-size: 28px !important;
    opacity: 0.4;
  }

  .glow-orb {
    display: none;
  }

  .logo-text {
    font-size: 16px;
  }
}

/* --- PRINT --- */
@media print {
  .header, .mobile-menu, .cta-banner, .floating-fruit, .glow-orb {
    display: none;
  }

  body {
    background: #fff;
  }
}