/* ============================================================
   KittyHop Official Website — style.css
   Color Palette: Warm Peach + Honey Gold + Soft Lavender + Cream
   ============================================================ */

:root {
  --peach:      #FF9E6B;
  --peach-lt:   #FFD4B8;
  --honey:      #FFBC45;
  --honey-lt:   #FFF0C2;
  --lavender:   #C4A8FF;
  --lav-lt:     #EDE0FF;
  --cream:      #FFF8F2;
  --cream-dk:   #FFF0E4;
  --white:      #FFFFFF;
  --text-dark:  #2D1B0E;
  --text-mid:   #6B4C38;
  --text-lt:    #A07860;
  --pink-soft:  #FFD6CC;
  --teal:       #5ECDC8;

  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  32px;
  --radius-xl:  48px;

  --shadow-sm:  0 2px 12px rgba(255,140,80,0.12);
  --shadow-md:  0 8px 32px rgba(255,120,60,0.15);
  --shadow-lg:  0 20px 64px rgba(220,100,40,0.18);

  --font-body: 'Outfit', system-ui, sans-serif;
  --font-head: 'Nunito', system-ui, sans-serif;

  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 248, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,180,120,0.2);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(255,120,60,0.12); }

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--text-dark);
}
.nav-icon { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.nav-title { letter-spacing: -0.3px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--cream-dk); color: var(--text-dark); }
.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--peach), var(--honey));
  color: white;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255,140,80,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-links .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,140,80,0.45);
  background: linear-gradient(135deg, var(--peach), #FFA820);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ======================== BUTTONS ======================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #FF8C4A, #FFAD00);
  color: white;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(255,140,60,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(255,140,60,0.5);
}
.btn-primary.btn-large {
  font-size: 1.15rem;
  padding: 18px 40px;
  gap: 14px;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 50px;
  background: rgba(255,255,255,0.6);
  border: 2px solid rgba(255,150,100,0.3);
  color: var(--text-mid);
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: white;
  border-color: var(--peach);
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* ======================== HERO ======================== */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.hero-bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: floatOrb 8s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #FFD4A8 0%, #FFBA80 60%, transparent 100%);
  top: -150px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #EDE0FF 0%, #C4A8FF 60%, transparent 100%);
  top: 30%; right: -100px;
  animation-delay: -3s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #FFF0C2 0%, #FFDA6A 60%, transparent 100%);
  bottom: 0; left: 30%;
  animation-delay: -5s;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  flex: 1;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--honey-lt), var(--peach-lt));
  color: #a05020;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary-dark);
}
.phone-link, .banner-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.phone-link:hover {
  transform: scale(1.02);
}
.banner-link:hover .banner-img {
  transform: scale(1.02);
}
.banner-img {
  transition: transform 0.4s ease;
}
.hero-title {
  font-family: var(--font-head);
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.05;
}
.hero-brand {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #FF7A3C 0%, #FFAD00 50%, #FF8CA0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
}
.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: -0.5px;
}
.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,180,120,0.2);
  backdrop-filter: blur(12px);
  width: fit-content;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #FF7A3C, #FFAD00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-lt);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,150,100,0.2);
}

/* Phone mockup */
.hero-visual {
  flex-shrink: 0;
  position: relative;
}
.phone-mockup {
  position: relative;
  width: 240px;
  filter: drop-shadow(0 32px 80px rgba(200,100,40,0.25));
}
.phone-frame {
  background: linear-gradient(145deg, #2D1B0E, #5A3520);
  border-radius: 36px;
  padding: 10px;
  position: relative;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.1),
    0 0 0 1px rgba(0,0,0,0.3);
}
.phone-notch {
  width: 80px;
  height: 20px;
  background: #1A0E07;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 6px;
}
.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  background: #000;
}
.phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s;
}
.phone-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at 50% 60%, rgba(255,160,80,0.3), transparent 70%);
  pointer-events: none;
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--peach);
  animation: scrollBounce 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(255,140,80,0.2);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

/* ======================== FEATURE BANNER ======================== */
.feature-banner {
  position: relative;
  overflow: hidden;
  max-height: 300px;
}
.banner-inner { position: relative; }
.banner-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,140,60,0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
}
.banner-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
}

/* ======================== SECTIONS COMMON ======================== */
.how-to-play, .features, .audience {
  padding: 100px 0;
}
.screenshots { padding: 80px 0 60px; }
.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--peach);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 56px;
}

/* ======================== HOW TO PLAY ======================== */
.how-to-play { background: var(--cream-dk); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeUp 0.6s both;
  animation-delay: var(--delay);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.step-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  line-height: 1;
}
.step-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--peach-lt);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 18px;
  letter-spacing: -2px;
}
.step-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.step-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ======================== FEATURES ======================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,180,120,0.15);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,150,80,0.3);
}
.feature-card--wide { grid-column: span 2; }
.feature-icon { font-size: 2.4rem; line-height: 1; }
.feature-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-dark);
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
}
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.feature-pills span {
  padding: 5px 13px;
  background: var(--cream-dk);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  border: 1px solid rgba(255,180,120,0.2);
}
.lang-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.lang-flags span {
  padding: 5px 12px;
  background: linear-gradient(135deg, var(--lav-lt), var(--honey-lt));
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-mid);
}

/* ======================== SCREENSHOTS ======================== */
.screenshots { background: var(--cream-dk); }
.screenshots .container { padding-bottom: 0; }

.screenshots-scroll-wrap {
  overflow-x: auto;
  padding: 20px 24px 8px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.screenshots-scroll-wrap::-webkit-scrollbar { display: none; }

.screenshots-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 4px 8px 16px;
}
.screenshot-item {
  flex-shrink: 0;
  width: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-md);
  scroll-snap-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.screenshot-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}
.screenshot-caption {
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-mid);
  text-align: center;
  background: white;
}

.screenshots-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0 32px;
}
.shot-nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,150,100,0.3);
  background: white;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}
.shot-nav-btn:hover {
  background: var(--peach);
  color: white;
  border-color: var(--peach);
  transform: scale(1.1);
}
.shot-dots { display: flex; gap: 8px; }
.shot-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,150,100,0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.shot-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--peach);
}

/* ======================== AUDIENCE ======================== */
.audience { background: white; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.audience-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px 20px;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all 0.3s;
}
.audience-card:hover {
  background: linear-gradient(135deg, var(--honey-lt), var(--peach-lt));
  border-color: rgba(255,180,100,0.3);
  transform: translateY(-4px);
}
.audience-emoji {
  font-size: 3rem;
  line-height: 1;
  display: block;
}
.audience-card p {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ======================== DOWNLOAD CTA ======================== */
.download-cta {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #FF8C4A 0%, #FFAD00 40%, #FF8CA0 100%);
}
.cta-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.cta-orb-1 {
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.2);
  top: -100px; left: -100px;
}
.cta-orb-2 {
  width: 350px; height: 350px;
  background: rgba(255,255,255,0.15);
  bottom: -80px; right: -80px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-icon {
  width: 96px; height: 96px;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  letter-spacing: -1.5px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.1);
}
.cta-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  line-height: 1.7;
}
.cta-desc strong { color: white; }
.btn-primary.btn-large {
  background: white;
  color: var(--peach);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.btn-primary.btn-large:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.cta-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

/* ======================== FOOTER ======================== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  opacity: 0.9;
}
.footer-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  color: white;
}
.footer-by { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-by strong { color: rgba(255,255,255,0.7); }

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--peach); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  text-align: right;
}

/* ======================== ANIMATIONS ======================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--wide { grid-column: span 2; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { gap: 40px; }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: calc(var(--nav-h) + 40px) 20px 60px;
    text-align: center;
  }
  .hero-stats { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 180px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: white; padding: 16px; gap: 4px; border-bottom: 1px solid var(--cream-dk); box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
  .hero-scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .stat-divider { display: none; }
}
