/* ═══════════════════════════════════════════════════════
   GravinGo — Premium Landing Page
   Dark futuristic theme · Apple-style minimal design
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep:    #060816;
  --bg-surface: #0B1022;
  --bg-card:    #0f1530;
  --bg-card-hover: #141a3a;
  --accent:     #00D9FF;
  --accent2:    #8B5CF6;
  --white:      #F0F0F5;
  --gray:       #8892B0;
  --gray-light: #A8B2D1;
  --border:     rgba(255,255,255,0.06);
  --glow-accent:  0 0 40px rgba(0,217,255,0.15);
  --glow-accent2: 0 0 40px rgba(139,92,246,0.15);
  --radius:     16px;
  --radius-sm:  10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
}

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

/* ── Typography ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

/* ── Layout ────────────────────────────────────────── */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 120px 0;
  position: relative;
}

section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ── Stars Background ─────────────────────────────── */
#stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Navbar ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(6, 8, 22, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width var(--transition);
  border-radius: 1px;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 4px;
}

.lang-switch button {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}

.lang-switch button.active {
  background: rgba(0, 217, 255, 0.12);
  color: var(--accent);
}

/* Nav CTA */
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg-deep) !important;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

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

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ──────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 217, 255, 0.08);
  border: 1px solid rgba(0, 217, 255, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-subtitle {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--gray-light);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

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

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.store-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
}

.store-btn:hover::before {
  opacity: 1;
}

.store-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg-deep);
}

.store-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 217, 255, 0.35);
}

.store-btn.secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}

.store-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.2);
}

.store-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hero Screenshots (PNG already includes device frame) */
.hero-screenshot {
  width: min(240px, 40vw);
  max-width: 100%;
  min-width: 0;
  flex-shrink: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), var(--glow-accent);
  transition: transform var(--transition);
}

.hero-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-screenshot:first-child {
  transform: rotate(-4deg) translateY(20px);
}

.hero-screenshot:last-child {
  transform: rotate(4deg) translateY(20px);
}

.hero-screenshot:hover {
  transform: rotate(0deg) translateY(0) scale(1.03);
}

/* Hero Phones */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.phone-mockup {
  position: relative;
  width: 220px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-card);
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), var(--glow-accent);
  transition: transform var(--transition);
}

.phone-mockup:first-child {
  transform: rotate(-4deg) translateY(20px);
}

.phone-mockup:last-child {
  transform: rotate(4deg) translateY(20px);
}

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

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: var(--bg-deep);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  aspect-ratio: 9/19.5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder screen */
.phone-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

.phone-placeholder .placeholder-icon {
  font-size: 3rem;
  opacity: 0.6;
}

.phone-placeholder .placeholder-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.phone-mockup:first-child .phone-screen {
  background: linear-gradient(180deg, #0a0f2e 0%, #0d1a3a 50%, #060816 100%);
}

.phone-mockup:last-child .phone-screen {
  background: linear-gradient(180deg, #1a0a2e 0%, #0d1a3a 50%, #060816 100%);
}

.phone-label {
  text-align: center;
  margin-top: 0.8rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Hero glow orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

.hero-glow.glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(0, 217, 255, 0.08);
  top: 10%;
  left: -10%;
}

.hero-glow.glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.08);
  bottom: 10%;
  right: -5%;
}

/* ── Features Section ──────────────────────────────── */
#features {
  z-index: 1;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 217, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: var(--glow-accent);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ── Game Modes Section ────────────────────────────── */
#modes {
  z-index: 1;
  position: relative;
}

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

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.mode-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0,217,255,0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.mode-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 217, 255, 0.2);
  box-shadow: var(--glow-accent);
}

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

.mode-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  display: block;
}

.mode-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  background: rgba(0, 217, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 217, 255, 0.15);
}

.mode-card:nth-child(2) .mode-tag {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent2);
  border-color: rgba(139, 92, 246, 0.2);
}

.mode-card:nth-child(3) .mode-tag {
  background: rgba(255, 100, 100, 0.1);
  color: #ff6b6b;
  border-color: rgba(255, 100, 100, 0.2);
}

.mode-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.mode-card p {
  color: var(--gray);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* ── Gallery Section ───────────────────────────────── */
#gallery {
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.gallery-slider {
  display: flex;
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 1rem 0;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-slider::-webkit-scrollbar {
  display: none;
}

.gallery-item--screenshot {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: center;
}

.gallery-item--screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item--screenshot img:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55), var(--glow-accent);
}

.gallery-item {
  flex: 0 0 280px;
  scroll-snap-align: center;
}

.gallery-phone {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-card);
  border: 2px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all var(--transition);
}

.gallery-phone:hover {
  transform: scale(1.04);
  border-color: rgba(0, 217, 255, 0.15);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), var(--glow-accent);
}

.gallery-screen {
  aspect-ratio: 9/19.5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-surface), var(--bg-deep));
  position: relative;
}

.gallery-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--gray);
  font-size: 0.8rem;
}

.gallery-placeholder span:first-child {
  font-size: 2.5rem;
  opacity: 0.5;
}

.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav button:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 217, 255, 0.2);
  box-shadow: var(--glow-accent);
}

/* ── Download Section ──────────────────────────────── */
#download {
  z-index: 1;
  position: relative;
}

.download-box {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(0, 217, 255, 0.03) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.download-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
}

.download-box .section-title {
  margin-bottom: 0.5rem;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin: 2.5rem 0 1.5rem;
  flex-wrap: wrap;
}

.download-note {
  color: var(--gray);
  font-size: 0.85rem;
}

.redirect-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.2);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.redirect-banner::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ── FAQ Section ───────────────────────────────────── */
#faq {
  z-index: 1;
  position: relative;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: rgba(0, 217, 255, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  transition: color var(--transition);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'Inter', sans-serif;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
  color: var(--gray);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.2rem;
  color: var(--gray);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── Contact Section ───────────────────────────────── */
#contact {
  z-index: 1;
  position: relative;
}

.contact-content {
  text-align: center;
}

.contact-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 4rem;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-email svg {
  width: 20px;
  height: 20px;
}

.contact-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  text-decoration: none;
  transition: all var(--transition);
}

.social-link:hover {
  background: rgba(0, 217, 255, 0.1);
  border-color: rgba(0, 217, 255, 0.2);
  color: var(--accent);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* ── Footer ────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  z-index: 1;
  position: relative;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition);
}

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

.footer-copy {
  color: var(--gray);
  font-size: 0.8rem;
}

/* ── Scroll Reveal Animations ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ── Button Ripple ─────────────────────────────────── */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ── Utility ───────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
