/* ====================================================================
   MIND MIX — Global Stylesheet
   mindmix.co.in | Hardik Visalpura | Ahmedabad, Gujarat
   ==================================================================== */

/* ── 1. CSS Variables ─────────────────────────────────────────────── */
:root {
  --purple:      #6C3CE1;
  --purple-lt:   #9B72EF;
  --purple-dk:   #4A24B0;
  --purple-deep: #1A0535;
  --orange:      #FF6B35;
  --yellow:      #FFD93D;
  --green:       #22C55E;
  --blue:        #4D96FF;
  --pink:        #EC4899;
  --teal:        #06B6D4;
  --red:         #EF4444;
  --dark:        #0F0C29;
  --dark2:       #1A0535;
  --dark3:       #302B63;
  --card-bg:     #F3EDFF;
  --cream:       #FEFCFF;
  --text:        #2D1B5E;
  --text-muted:  #7B6B9A;
  --border:      #E5D9FF;
  --white:       #FFFFFF;
  --shadow-sm:   0 2px 8px rgba(108,60,225,.1);
  --shadow-md:   0 6px 24px rgba(108,60,225,.15);
  --shadow-lg:   0 12px 48px rgba(108,60,225,.2);
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

/* ── 2. Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── 3. Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-muted); line-height: 1.75; }

/* ── 4. Layout Utilities ──────────────────────────────────────────── */
.container    { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section      { padding: 80px 0; }
.section-sm   { padding: 50px 0; }
.flex         { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2       { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3       { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4       { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.text-center  { text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,60,225,.1);
  color: var(--purple);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 14px;
}
.section-title { margin-bottom: 10px; }
.section-desc  { margin-bottom: 40px; max-width: 600px; }
.center-block  { text-align: center; }
.center-block .section-desc { margin-left: auto; margin-right: auto; }

/* ── 5. Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 800;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dk) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,60,225,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,60,225,.5); }
.btn-secondary {
  background: #fff;
  color: var(--purple);
  border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--purple); background: var(--card-bg); }
.btn-yellow {
  background: var(--yellow);
  color: var(--dark2);
  box-shadow: 0 4px 18px rgba(255,217,61,.5);
}
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,217,61,.6); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: .82rem; }

/* ── 6. Navigation ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(108,60,225,.12); }
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
}
.nav-logo .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--purple-lt), var(--purple-dk));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(108,60,225,.35);
}
.nav-logo span { color: var(--purple); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 7px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--purple); background: var(--card-bg); }
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle:hover { background: var(--card-bg); }

/* ── 7. Hero ──────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 40%, var(--dark3) 100%);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(108,60,225,.28) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255,107,53,.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,217,61,.15);
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,217,61,.3);
}
.hero h1 {
  color: #fff;
  margin-bottom: 18px;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stat-item { text-align: left; }
.hero-stat-item .stat-num {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.hero-stat-item .stat-lbl {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── 8. Phone Mockup ──────────────────────────────────────────────── */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.phone-frame {
  width: 220px;
  border-radius: 42px;
  border: 6px solid rgba(255,255,255,.15);
  background: var(--dark3);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
  z-index: 2;
}
.phone-notch {
  height: 26px;
  background: #000;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
  width: 80px;
}
.phone-screen {
  background: linear-gradient(160deg, var(--dark2), var(--dark3));
  padding: 14px;
  min-height: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-screen-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-screen-hdr .logo-sm {
  font-family: 'Baloo 2', sans-serif;
  font-size: .85rem;
  font-weight: 800;
  color: #fff;
}
.phone-games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pg-card {
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pg-card .em { font-size: 1.6rem; display: block; margin-bottom: 4px; }
.pg-card .nm { font-size: .6rem; font-weight: 800; color: #fff; line-height: 1.2; }
.phone-home-bar {
  width: 80px;
  height: 4px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
  margin: 6px auto 2px;
}
.phone-glow {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,60,225,.45) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
  pointer-events: none;
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: .7; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;  transform: translate(-50%,-50%) scale(1.1); }
}

/* ── 9. Trust Bar ─────────────────────────────────────────────────── */
.trust-bar {
  background: var(--dark2);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
}
.trust-item .ti-icon { font-size: 1rem; }

/* ── 10. Age Groups ───────────────────────────────────────────────── */
.age-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.age-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.age-card-inner {
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.age-card-inner::after {
  content: '';
  position: absolute;
  right: -20px; bottom: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.age-card-emoji { font-size: 2.4rem; margin-bottom: 10px; }
.age-card-title { font-size: 1.15rem; color: #fff; font-weight: 800; margin-bottom: 2px; }
.age-card-range {
  display: inline-block;
  background: rgba(0,0,0,.2);
  color: rgba(255,255,255,.9);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 40px;
  margin-bottom: 8px;
}
.age-card-desc { font-size: .82rem; color: rgba(255,255,255,.8); }
.age-card-arrow {
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: .6;
  transition: var(--transition);
}
.age-card:hover .age-card-arrow { opacity: 1; transform: translateY(-50%) translateX(4px); }

/* ── 11. Game Cards ───────────────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.game-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.game-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.game-card-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.6rem;
  position: relative;
  overflow: hidden;
}
.game-card-thumb::before {
  content: attr(data-pattern);
  position: absolute;
  font-size: 4rem;
  opacity: .08;
  top: -5px; right: -5px;
}
.game-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.game-card-tag {
  display: inline-block;
  background: var(--card-bg);
  color: var(--purple);
  font-size: .7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 40px;
  margin-bottom: 8px;
}
.game-card-title { font-size: 1.05rem; margin-bottom: 6px; }
.game-card-desc { font-size: .85rem; flex: 1; margin-bottom: 14px; }
.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.game-card-ages {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ── 12. Features ─────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--purple); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px;
}
.feature-card h4 { font-size: .95rem; margin-bottom: 6px; }
.feature-card p  { font-size: .82rem; }

/* ── 13. QR Download Block ────────────────────────────────────────── */
.qr-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, var(--dark3) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.qr-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(108,60,225,.3) 0%, transparent 70%);
  pointer-events: none;
}
.qr-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: center;
}
.qr-left h2 { color: #fff; margin-bottom: 14px; }
.qr-left p  { color: rgba(255,255,255,.65); margin-bottom: 28px; }
.qr-badges  { display: flex; gap: 14px; flex-wrap: wrap; }
.qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  transition: var(--transition);
}
.qr-badge:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.qr-badge .badge-icon { font-size: 1.6rem; }
.qr-badge-lbl-sm { font-size: .65rem; color: rgba(255,255,255,.55); display: block; }
.qr-badge-lbl-lg { font-size: .9rem; }
.qr-center { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qr-frame-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.qr-frame-wrap img { width: 130px; height: 130px; border-radius: 8px; }
.qr-scan-label {
  text-align: center;
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  font-weight: 700;
}
.qr-scan-sublabel { color: rgba(255,255,255,.4); font-size: .7rem; }
.qr-right { display: flex; flex-direction: column; gap: 16px; }
.qr-right-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.qr-right-stat .s-icon { font-size: 1.4rem; }
.qr-right-stat .s-num {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.qr-right-stat .s-lbl { font-size: .72rem; color: rgba(255,255,255,.5); font-weight: 700; }

/* ── 14. Video Cards ──────────────────────────────────────────────── */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.video-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
}
.video-thumb-bg {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  transition: var(--transition);
}
.video-play-btn::after {
  content: '▶';
  width: 52px; height: 52px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--purple);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  padding-left: 4px;
}
.video-thumb:hover .video-play-btn { background: rgba(0,0,0,.45); }
.video-card-body { padding: 16px; }
.video-tag {
  font-size: .7rem;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 5px;
}
.video-card-title { font-size: .95rem; margin-bottom: 5px; }
.video-card-meta  { font-size: .78rem; color: var(--text-muted); }

/* ── 15. Testimonials ─────────────────────────────────────────────── */
.testimonials-wrap { position: relative; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-md); border-color: var(--purple-lt); }
.testi-stars { color: var(--yellow); font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.testi-text { font-size: .9rem; margin-bottom: 16px; color: var(--text); font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.testi-name { font-weight: 800; font-size: .88rem; }
.testi-loc  { font-size: .75rem; color: var(--text-muted); }

/* ── 16. FAQ ──────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--purple); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-weight: 800;
  font-size: .95rem;
  color: var(--text);
  text-align: left;
  gap: 14px;
}
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--purple); color: #fff; transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-answer {
  padding: 0 22px 18px;
  max-height: 400px;
}
.faq-answer p { font-size: .9rem; }

/* ── 17. Blog ─────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.blog-card-thumb {
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.blog-card-thumb-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 40px;
}
.blog-card-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}
.blog-card:hover .blog-card-title { color: var(--purple); }
.blog-card-desc {
  font-size: .85rem;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .76rem;
  color: var(--text-muted);
  font-weight: 700;
}
.blog-meta-sep { color: var(--border); }
.blog-read-more {
  font-size: .82rem;
  font-weight: 800;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  transition: var(--transition);
}
.blog-read-more:hover { gap: 8px; }

/* ── 18. Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p  { font-size: .85rem; margin: 14px 0 20px; max-width: 280px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}
.footer-logo .fl-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--purple-lt), var(--purple-dk));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  transition: var(--transition);
}
.footer-badge:hover { background: rgba(255,255,255,.12); }
.footer-col h5 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: .85rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-link:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--yellow); }

/* ── 19. Inner Page Hero ──────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, var(--dark3) 100%);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 60% at 80% 50%, rgba(108,60,225,.25) 0%, transparent 70%);
  pointer-events: none;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumbs a, .breadcrumbs span {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs .sep { color: rgba(255,255,255,.25); }
.breadcrumbs .current { color: rgba(255,255,255,.85); }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero .hero-desc { max-width: 560px; }

/* ── 20. Game Detail Page ─────────────────────────────────────────── */
.game-detail-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
.game-icon-lg {
  width: 90px; height: 90px;
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}
.game-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: .75rem;
  font-weight: 800;
}
.tag-white { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }

.game-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}
.game-sticky-sidebar {
  position: sticky;
  top: 90px;
}
.sidebar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.sidebar-card h4 { font-size: 1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.sidebar-dl-btn { width: 100%; text-align: center; justify-content: center; }
.sidebar-qr-mini {
  margin: 14px auto 0;
  text-align: center;
}
.sidebar-qr-mini img { width: 90px; height: 90px; margin: 0 auto 6px; border-radius: 6px; }
.sidebar-qr-mini span { font-size: .72rem; color: var(--text-muted); font-weight: 700; }

.how-to-steps { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.how-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  color: #fff;
}
.step-content h5 { font-size: .95rem; margin-bottom: 4px; }
.step-content p  { font-size: .85rem; }

.skills-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.skill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.skill-row .skill-name { font-size: .85rem; font-weight: 700; min-width: 100px; }
.skill-bar-wrap { flex: 1; background: var(--card-bg); border-radius: 40px; height: 8px; overflow: hidden; }
.skill-bar { height: 100%; border-radius: 40px; }
.skill-pct { font-size: .75rem; color: var(--text-muted); font-weight: 700; min-width: 32px; text-align: right; }

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.screenshot-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--border);
  aspect-ratio: 9/16;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
}
.screenshot-frame .ss-label {
  position: absolute;
  bottom: 6px;
  left: 0; right: 0;
  text-align: center;
  font-size: .6rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  background: rgba(0,0,0,.3);
  padding: 3px;
}

/* ── 21. Blog Post ────────────────────────────────────────────────── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.post-body {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.post-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 700;
}
.post-author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-lt), var(--purple-dk));
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.post-content h2 { font-size: 1.4rem; margin: 32px 0 12px; color: var(--text); }
.post-content h3 { font-size: 1.15rem; margin: 24px 0 10px; color: var(--text); }
.post-content p  { margin-bottom: 16px; line-height: 1.8; }
.post-content ul, .post-content ol { margin: 14px 0 14px 22px; display: flex; flex-direction: column; gap: 8px; }
.post-content li { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.post-content ul li::marker { color: var(--purple); }
.post-content strong { color: var(--text); font-weight: 800; }
.post-highlight {
  background: var(--card-bg);
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px;
  margin: 24px 0;
}
.post-highlight p { color: var(--text); font-weight: 600; margin: 0; }
.post-tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.post-tag {
  background: var(--card-bg);
  color: var(--purple);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 40px;
  transition: var(--transition);
}
.post-tag:hover { background: var(--purple); color: #fff; }
.share-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share-btn {
  padding: 7px 16px;
  border-radius: 40px;
  font-size: .78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.share-twitter  { background: #1DA1F2; color: #fff; }
.share-facebook { background: #1877F2; color: #fff; }
.share-whatsapp { background: #25D366; color: #fff; }
.share-copy     { background: var(--card-bg); color: var(--purple); border: 1px solid var(--border); }
.share-btn:hover { transform: translateY(-2px); opacity: .9; }

.author-box {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 30px;
}
.author-avatar-lg {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-lt), var(--purple-dk));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.author-name { font-size: 1rem; margin-bottom: 4px; }
.author-role { font-size: .78rem; color: var(--purple); font-weight: 700; margin-bottom: 8px; }
.author-bio  { font-size: .85rem; }

/* ── 22. Pagination ───────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}
.page-btn {
  min-width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .88rem;
  transition: var(--transition);
  padding: 0 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
}
.page-btn:hover, .page-btn.active {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

/* ── 23. Sidebar Widgets ──────────────────────────────────────────── */
.widget {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.widget h4 { font-size: .95rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.widget-link { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .85rem; transition: color var(--transition); }
.widget-link:last-child { border: none; }
.widget-link:hover { color: var(--purple); }
.widget-link .wl-icon { font-size: 1rem; }
.search-box {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.search-box input {
  flex: 1;
  padding: 9px 12px;
  font-size: .88rem;
  border: none;
  outline: none;
  background: none;
}
.search-box button {
  background: var(--purple);
  color: #fff;
  padding: 9px 14px;
  font-size: .9rem;
}

/* ── 24. Privacy / Terms / FAQ Page ──────────────────────────────── */
.legal-body {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--border);
}
.legal-body h2 { font-size: 1.3rem; margin: 28px 0 12px; }
.legal-body h3 { font-size: 1.05rem; margin: 20px 0 8px; color: var(--text); }
.legal-body p  { margin-bottom: 12px; font-size: .9rem; }
.legal-body ul { margin: 10px 0 12px 22px; }
.legal-body li { font-size: .88rem; color: var(--text-muted); margin-bottom: 6px; line-height: 1.7; }
.legal-toc { background: var(--card-bg); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 28px; }
.legal-toc h4 { font-size: .9rem; margin-bottom: 12px; }
.legal-toc ol { margin-left: 18px; }
.legal-toc li { font-size: .85rem; margin-bottom: 5px; }
.legal-toc a  { color: var(--purple); font-weight: 700; }
.legal-toc a:hover { text-decoration: underline; }

/* ── 25. Utility ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 11px;
  border-radius: 40px;
  font-size: .73rem;
  font-weight: 800;
}
.badge-free   { background: rgba(34,197,94,.12); color: #16a34a; }
.badge-new    { background: rgba(239,68,68,.12);  color: #dc2626; }
.badge-hot    { background: rgba(255,107,53,.12); color: #e64a19; }
.badge-prem   { background: rgba(255,217,61,.15); color: #b45309; }

.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.text-purple { color: var(--purple); }
.text-white  { color: #fff; }
.text-muted  { color: var(--text-muted); }
.fw-800 { font-weight: 800; }
.relative { position: relative; }
.bg-dark  { background: var(--dark2); }
.bg-card  { background: var(--card-bg); }
.bg-white { background: #fff; }
.rounded  { border-radius: var(--radius); }

/* ── 26. Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid        { grid-template-columns: 1fr; gap: 40px; }
  .phone-frame      { width: 180px; }
  .qr-block         { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .qr-left p        { margin: 0 auto 28px; }
  .qr-center        { justify-self: center; }
  .qr-right         { flex-direction: row; flex-wrap: wrap; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .game-page-layout { grid-template-columns: 1fr; }
  .game-sticky-sidebar { position: static; }
  .post-layout      { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section          { padding: 50px 0; }
  .grid-2           { grid-template-columns: 1fr; }
  .grid-3           { grid-template-columns: 1fr; }
  .grid-4           { grid-template-columns: repeat(2, 1fr); }
  .video-grid       { grid-template-columns: 1fr; }
  .blog-grid        { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .nav-links        { display: none; flex-direction: column; gap: 4px; position: absolute;
                      top: 68px; left: 0; right: 0; background: #fff;
                      padding: 12px 16px 16px; border-bottom: 1px solid var(--border);
                      box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .nav-links.open   { display: flex; }
  .nav-link         { padding: 10px 14px; }
  .nav-toggle       { display: flex; }
  .nav-cta          { display: none; }
  .hero-btns        { flex-direction: column; }
  .btn-lg           { width: 100%; }
  .hero-stats       { justify-content: center; }
  .hero-visual      { justify-content: center; }
  .footer-grid      { grid-template-columns: 1fr; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .screenshot-grid  { grid-template-columns: repeat(2, 1fr); }
  .legal-body       { padding: 24px 18px; }
  .post-body        { padding: 22px 16px; }
  .qr-right         { flex-direction: column; }
  .game-detail-header { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4           { grid-template-columns: 1fr; }
  .screenshot-grid  { grid-template-columns: 1fr; }
  .trust-bar-inner  { gap: 16px; }
  .qr-badges        { flex-direction: column; }
  .qr-badge         { justify-content: center; }
}

/* ── 27. Animations ───────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.animate-up   { animation: fadeUp .6s ease both; }
.animate-in   { animation: fadeIn .4s ease both; }

/* ── 28. Cookie Notice ────────────────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 200;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { font-size: .8rem; color: rgba(255,255,255,.65); margin: 0; }
.cookie-bar a { color: var(--yellow); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* ── 29. Back to Top ──────────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 44px; height: 44px;
  background: var(--purple);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(108,60,225,.4);
  transition: var(--transition);
  opacity: 0; pointer-events: none;
  z-index: 90;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); }

/* ── 30. Video Modal ──────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  width: 100%;
  max-width: 860px;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 10px; right: 14px;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
  background: rgba(0,0,0,.5);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,.2); }
.modal-iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

/* ── 31. Custom scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--purple-lt); border-radius: 4px; }

/* ── 32. Games Section BG ─────────────────────────────────────────── */
.bg-section-alt { background: linear-gradient(180deg, var(--cream) 0%, #EDE4FF 100%); }
.bg-dark-section { background: var(--dark2); }

/* ================================================================
   3D ANIMATIONS & EFFECTS — Mind Mix v2
   ================================================================ */

/* ── Logo image + gradient text ─────────────────────────────────── */
.nav-logo-img {
  width: 36px; height: 36px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.nav-logo:hover .nav-logo-img {
  transform: rotate(-8deg) scale(1.12);
}
.logo-text {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #6C3CE1 0%, #EC4899 50%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-grad {
  background: linear-gradient(135deg, #FF6B35 0%, #FFD93D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Footer logo text */
.footer-logo .logo-text-footer {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #9B72EF 0%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 3D Perspective Scene ────────────────────────────────────────── */
.tilt-scene { perspective: 1000px; }

/* ── Tilt Card (3D hover effect) ────────────────────────────────── */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.23,1,.32,1), box-shadow .4s ease;
  will-change: transform;
}
.tilt-card:hover {
  box-shadow: 0 24px 60px rgba(108,60,225,.28), 0 0 0 1px rgba(108,60,225,.1);
}

/* ── 3D Hero Icon ────────────────────────────────────────────────── */
.hero-icon-3d {
  animation: icon-float 4s ease-in-out infinite;
  transform-style: preserve-3d;
  box-shadow: 0 20px 50px rgba(0,0,0,.3), 0 0 0 4px rgba(255,255,255,.1);
}
@keyframes icon-float {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  25%       { transform: translateY(-10px) rotateY(6deg); }
  75%       { transform: translateY(-6px) rotateY(-4deg); }
}

/* ── Content cards (replaces bg-white rounded) ───────────────────── */
.content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.content-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ── 3D Game Cards ───────────────────────────────────────────────── */
.game-card {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.23,1,.32,1), box-shadow .4s ease !important;
}
.game-card:hover {
  transform: translateY(-8px) rotateX(4deg) scale(1.02) !important;
  box-shadow: 0 28px 64px rgba(108,60,225,.22), 0 4px 16px rgba(0,0,0,.08) !important;
}
.game-card-thumb {
  transition: transform .4s ease;
}
.game-card:hover .game-card-thumb {
  transform: scale(1.04);
}

/* ── 3D Feature Cards ────────────────────────────────────────────── */
.feature-card {
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.23,1,.32,1), box-shadow .35s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(-2deg);
  box-shadow: 0 20px 48px rgba(108,60,225,.18);
}

/* ── Age Cards 3D ────────────────────────────────────────────────── */
.age-card {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.23,1,.32,1), box-shadow .4s ease !important;
}
.age-card:hover {
  transform: translateY(-8px) rotateX(5deg) scale(1.03) !important;
  box-shadow: 0 32px 72px rgba(0,0,0,.25) !important;
}

/* ── Blog Cards 3D ───────────────────────────────────────────────── */
.blog-card {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.23,1,.32,1), box-shadow .4s ease;
}
.blog-card:hover {
  transform: translateY(-8px) rotateX(3deg);
  box-shadow: 0 28px 60px rgba(108,60,225,.18);
}

/* ── Screenshot 3D ───────────────────────────────────────────────── */
.screenshot-3d {
  transition: transform .4s cubic-bezier(.23,1,.32,1), box-shadow .4s ease;
  cursor: pointer;
}
.screenshot-3d:hover {
  transform: perspective(600px) rotateY(-12deg) rotateX(4deg) scale(1.06);
  box-shadow: 12px 24px 48px rgba(0,0,0,.25);
  z-index: 2;
}

/* ── QR Block 3D ─────────────────────────────────────────────────── */
.qr-frame-wrap {
  transition: transform .4s cubic-bezier(.23,1,.32,1), box-shadow .4s ease;
}
.qr-frame-wrap:hover {
  transform: perspective(600px) rotateY(-8deg) rotateX(4deg) scale(1.06);
  box-shadow: 16px 24px 48px rgba(0,0,0,.4);
}

/* ── Skill Bar Animated ──────────────────────────────────────────── */
.skill-bar-anim {
  width: 0;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.skill-bar-anim.animated {
  width: var(--skill-w, 80%);
}

/* ── Floating Orbs (hero bg decoration) ─────────────────────────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}
.hero-orb-1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(108,60,225,.22) 0%, transparent 70%);
  top: -80px; right: -60px;
  animation: orb-drift 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,107,53,.18) 0%, transparent 70%);
  bottom: 20px; left: 5%;
  animation: orb-drift 11s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(255,217,61,.15) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: orb-drift 7s ease-in-out infinite 2s;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -25px) scale(1.08); }
  66%       { transform: translate(-15px, 15px) scale(.95); }
}

/* ── Animated gradient border on sidebar CTA ────────────────────── */
.sidebar-dl-btn {
  position: relative;
  overflow: hidden;
}
.sidebar-dl-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, #6C3CE1, #EC4899, #FF6B35, #FFD93D, #6C3CE1);
  background-size: 300% 100%;
  border-radius: inherit;
  z-index: -1;
  animation: gradient-border 3s linear infinite;
}
@keyframes gradient-border {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ── 3D Phone Mockup ─────────────────────────────────────────────── */
.phone-frame {
  animation: phone-float 5s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotateY(-8deg) rotateX(4deg); }
  50%       { transform: translateY(-14px) rotateY(6deg) rotateX(2deg); }
}

/* ── Page entrance animations ────────────────────────────────────── */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.88); }
  to   { opacity: 1; transform: scale(1); }
}
.anim-left  { animation: slideInLeft  .7s cubic-bezier(.23,1,.32,1) both; }
.anim-right { animation: slideInRight .7s cubic-bezier(.23,1,.32,1) both; }
.anim-scale { animation: scaleIn      .6s cubic-bezier(.23,1,.32,1) both; }

/* ── Particle sparkles on hero ───────────────────────────────────── */
.sparkle {
  position: absolute;
  pointer-events: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}
@keyframes sparkle-pop {
  0%   { opacity: 0; transform: scale(0) translateY(0); }
  50%  { opacity: 1; transform: scale(1) translateY(-20px); }
  100% { opacity: 0; transform: scale(.5) translateY(-40px); }
}

/* ── Hover glow on nav logo ──────────────────────────────────────── */
.nav-logo {
  position: relative;
}
.nav-logo::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(108,60,225,.15), rgba(255,107,53,.1));
  opacity: 0;
  transition: opacity .3s ease;
}
.nav-logo:hover::after { opacity: 1; }

/* ── Shimmer on download buttons ────────────────────────────────── */
.btn-yellow {
  position: relative;
  overflow: hidden;
}
.btn-yellow::after {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  animation: shimmer-sweep 3s ease-in-out infinite;
}
@keyframes shimmer-sweep {
  0%   { left: -75%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}

/* ── Testimonial cards 3D ────────────────────────────────────────── */
.testi-card {
  transition: transform .35s cubic-bezier(.23,1,.32,1), box-shadow .35s ease;
}
.testi-card:hover {
  transform: translateY(-6px) rotateX(3deg);
  box-shadow: 0 20px 50px rgba(108,60,225,.14);
}

/* ── Section entrance (scroll-triggered) ────────────────────────── */
.section-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.23,1,.32,1);
}
.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 3D Back-to-top button ───────────────────────────────────────── */
.back-top {
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .3s ease, box-shadow .3s ease !important;
}
.back-top:hover {
  transform: translateY(-4px) scale(1.15) !important;
  box-shadow: 0 8px 24px rgba(108,60,225,.5) !important;
}

/* ── Video card 3D ───────────────────────────────────────────────── */
.video-card {
  transition: transform .4s cubic-bezier(.23,1,.32,1), box-shadow .4s ease;
}
.video-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 56px rgba(108,60,225,.2);
}

/* ── Responsive 3D adjustments ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
@media (max-width: 768px) {
  .game-card:hover { transform: translateY(-4px) scale(1.01) !important; }
  .phone-frame { animation: none; transform: none; }
  .hero-icon-3d { animation-duration: 6s; }
}
