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

:root {
  /* ألوان مستخرجة من بanner FIZZL */
  --bg: #0b0614;
  --bg-elevated: #130818;
  --surface: #1a0a22;
  --surface-hover: #250e30;
  --glass: rgba(26, 10, 34, 0.82);
  --primary: #2d0a3d;
  --accent: #ff0080;
  --accent-soft: #ff4da6;
  --purple: #9333ea;
  --purple-deep: #6b21a8;
  --purple-light: #c084fc;
  --secondary: #b24bf3;
  --text: #ffffff;
  --text-muted: #a89bb8;
  --border: rgba(255, 255, 255, 0.06);
  --gradient: linear-gradient(135deg, #ff0080 0%, #9333ea 52%, #6b21a8 100%);
  --gradient-btn: linear-gradient(135deg, #ff0080 0%, #c026d3 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 0, 128, 0.14), rgba(147, 51, 234, 0.14));
  --shadow-glow: 0 12px 40px rgba(255, 0, 128, 0.22);
  --shadow-purple: 0 8px 32px rgba(147, 51, 234, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --header-h: 78px;
  --max-w: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Tajawal", "Segoe UI", Tahoma, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 0, 128, 0.14), transparent),
    radial-gradient(ellipse 55% 45% at 100% 40%, rgba(147, 51, 234, 0.1), transparent),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(107, 33, 168, 0.08), transparent),
    var(--bg);
  pointer-events: none;
}

.page-shell {
  padding-bottom: 2rem;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--max-w), 100% - 2.5rem);
  margin-inline: auto;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 6, 20, 0.92);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(147, 51, 234, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(255, 0, 128, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.logo-link:hover .logo-img {
  transform: scale(1.04);
  box-shadow: 0 6px 28px rgba(147, 51, 234, 0.4);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 0.15rem;
  flex-shrink: 0;
}

.nav a {
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav a.active {
  color: #fff;
  background: rgba(147, 51, 234, 0.18);
  border-color: rgba(255, 0, 128, 0.35);
  box-shadow: 0 0 20px rgba(255, 0, 128, 0.15);
}

.search-wrap {
  flex: 1;
  min-width: 0;
  max-width: 480px;
  margin-inline: auto;
  position: relative;
  display: flex;
  align-items: center;
}

.search-wrap input {
  width: 100%;
  height: 46px;
  padding-inline-start: 2.85rem;
  padding-inline-end: 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(147, 51, 234, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.search-wrap input:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(147, 51, 234, 0.35);
}

.search-wrap input:focus {
  background: rgba(26, 10, 34, 0.95);
  border-color: rgba(255, 0, 128, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.12), 0 4px 20px rgba(147, 51, 234, 0.15);
}

.search-wrap input::placeholder {
  color: rgba(168, 155, 184, 0.75);
}

.search-icon {
  position: absolute;
  inset-inline-start: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--purple-light);
  opacity: 0.85;
  pointer-events: none;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 44px;
  padding: 0 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-points {
  background: transparent;
  color: var(--purple-light);
  border: 1px solid rgba(147, 51, 234, 0.45);
  box-shadow: none;
}

.btn-points:hover {
  background: rgba(147, 51, 234, 0.12);
  border-color: rgba(255, 0, 128, 0.5);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, #ff0080, #9333ea);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 0, 128, 0.35);
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 24px rgba(255, 0, 128, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(147, 51, 234, 0.45);
  transform: translateY(-1px);
}

.icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

/* ── Hero ── */
.hero {
  position: relative;
  margin: 1.5rem auto 0;
  width: min(var(--max-w), 100% - 2.5rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-card);
}

.hero-banner {
  padding: 0;
  min-height: auto;
  background: var(--bg);
  line-height: 0;
  box-shadow: var(--shadow-purple);
}

.hero-banner-link {
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-banner-link:hover {
  transform: scale(1.008);
}

.hero-banner-link:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 60%, rgba(255, 46, 201, 0.28), transparent 42%),
    radial-gradient(circle at 85% 25%, rgba(0, 194, 255, 0.22), transparent 38%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 40%, rgba(7, 0, 15, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.75rem 3rem;
  min-height: 300px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
}

.hero-text h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.hero-text p {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  max-width: 30rem;
  line-height: 1.75;
}

.hero-visual {
  flex-shrink: 0;
  width: min(200px, 32vw);
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(255, 46, 201, 0.35), transparent 65%);
  filter: blur(24px);
}

.hero-logo {
  position: relative;
  width: 100%;
  border-radius: 24px;
  filter: drop-shadow(0 12px 40px rgba(255, 46, 201, 0.45));
  animation: float 5s ease-in-out infinite;
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: min(var(--max-w), 100% - 2.5rem);
  margin: 1.25rem auto 0;
}

.stat-item {
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.stat-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.hero-dots span.active {
  width: 24px;
  border-radius: var(--radius-pill);
  background: var(--gradient);
}

/* ── Categories ── */
.categories {
  position: sticky;
  top: calc(var(--header-h) + 0.5rem);
  z-index: 50;
  margin: 1.5rem auto;
  width: min(var(--max-w), 100% - 2.5rem);
}

.categories-inner {
  display: flex;
  gap: 0.4rem;
  padding: 0.45rem;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: var(--shadow-card);
}

.categories-inner::-webkit-scrollbar {
  display: none;
}

.cat-btn,
a.cat-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: inherit;
  text-decoration: none;
}

.cat-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.cat-btn.active {
  color: var(--text);
  background: var(--gradient-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 46, 201, 0.3);
}

.cat-icon {
  font-size: 1.15rem;
}

.cat-btn.active {
  color: #fff;
  background: var(--gradient-btn);
  box-shadow: 0 4px 16px rgba(255, 0, 128, 0.4);
}

/* ── Sections ── */
.section {
  padding: 0.5rem 0 2.5rem;
}

.section-block {
  background: var(--glass);
  border: 1px solid rgba(147, 51, 234, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.75rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.section-head-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple-light);
}

.section-tag.live-tag {
  color: #ff6b6b;
}

.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.section-head a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.section-head a:hover {
  color: var(--text);
  border-color: rgba(255, 0, 128, 0.45);
  background: rgba(255, 0, 128, 0.08);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.1rem;
}

.card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 0, 128, 0.4);
  box-shadow: var(--shadow-glow);
}

.card-thumb {
  position: relative;
  aspect-ratio: 9 / 14;
  background: linear-gradient(160deg, #2d0a3d, #1a0a22);
  overflow: hidden;
}

.card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-thumb img {
  transform: scale(1.06);
}

.card-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s;
}

.card-play span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(255, 0, 128, 0.5);
}

.card:hover .card-play {
  opacity: 1;
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(145deg, rgba(255, 0, 128, 0.2), rgba(147, 51, 234, 0.18));
}

.live-badge {
  position: absolute;
  top: 0.65rem;
  inset-inline-start: 0.65rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ff0080, #dc2626);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4444;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.viewers {
  position: absolute;
  bottom: 0.65rem;
  inset-inline-start: 0.65rem;
  z-index: 3;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  font-size: 0.72rem;
  font-weight: 600;
}

.card-body {
  padding: 0.9rem 1rem 1.05rem;
}

.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

/* ── Features strip ── */
.features {
  margin: 1rem auto 2.5rem;
  width: min(var(--max-w), 100% - 2.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.35rem 1.15rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--border);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  border-radius: 14px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── CTA download ── */
.cta-band {
  margin: 0 auto 3rem;
  width: min(var(--max-w), 100% - 2.5rem);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #2d0a3d, #130818);
  border: 1px solid rgba(255, 0, 128, 0.25);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-purple);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 0, 128, 0.18), transparent 60%);
}

.cta-band h2 {
  position: relative;
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.cta-band p {
  position: relative;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.cta-buttons {
  position: relative;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.5rem;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.85rem;
  transition: border-color 0.2s, transform 0.15s;
}

.store-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 128, 0.3);
}

.store-btn strong {
  display: block;
  font-size: 1rem;
}

/* ── Footer ── */
.footer {
  position: relative;
  margin-top: 2rem;
  padding: 0 0 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(19, 8, 24, 0.95) 12%, #0b0614 100%);
  overflow: hidden;
}

.footer-accent {
  height: 3px;
  background: var(--gradient);
  opacity: 0.85;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem 2rem;
  padding: 2.75rem 0 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(255, 0, 128, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.footer-logo-link:hover .footer-logo {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(147, 51, 234, 0.35);
}

.footer-tagline {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  max-width: 260px;
  margin: 0;
}

.footer-company {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0 0 0.75rem;
}

.footer-cta {
  height: 40px;
  padding: 0 1.35rem;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-light);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer li {
  margin: 0;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: var(--accent-soft);
  transform: translateX(-3px);
}

.footer-package {
  margin: 1rem 0 0;
  padding: 0.35rem 0.65rem;
  display: inline-block;
  border-radius: var(--radius-pill);
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(147, 51, 234, 0.25);
  color: var(--purple-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(147, 51, 234, 0.12);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .nav,
  .search-wrap {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .hero-banner {
    margin-top: 1rem;
    border-radius: var(--radius);
  }

  .hero-banner-link:hover {
    transform: none;
  }

  .hero-text p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: 130px;
  }

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

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
    padding-top: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-cta {
    align-self: center;
  }

  .section-block {
    padding: 1.15rem;
  }
}

@media (max-width: 480px) {
  .header-actions .btn-points {
    display: none;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-col a:hover {
    transform: none;
  }
}

/* ── Inner pages ── */
.page-main {
  padding: 2rem 0 3rem;
  min-height: 50vh;
}

.page-head {
  margin-bottom: 1.5rem;
}

.page-head h1 {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
}

.page-head p {
  margin: 0;
  color: var(--text-muted);
}

.info-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  background: var(--gradient-soft);
  border: 1px solid var(--border);
}

.loading-state,
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-state.error {
  color: #f87171;
}

.spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 0.75rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.feature-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s;
}

.feature-link:hover {
  border-color: rgba(255, 0, 128, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

/* About */
.about-page {
  max-width: 900px;
}

.about-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.about-logo {
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0 30px rgba(255, 46, 201, 0.35));
}

.about-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-card {
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.about-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.about-card p,
.about-card ul {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-card ul {
  padding-inline-start: 1.2rem;
}

.about-card a {
  color: var(--purple-light);
}

.about-contact {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.about-contact h2 {
  margin: 0 0 1rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-links a {
  color: var(--accent-soft);
  font-weight: 600;
}

/* Policy pages (privacy, child-safety) */
.policy-page {
  max-width: 760px;
}

.policy-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.policy-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.policy-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.85rem;
}

.policy-lead {
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

.policy-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.policy-highlight {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  background: var(--gradient-soft);
  border: 1px solid rgba(255, 0, 128, 0.25);
  color: var(--text);
  line-height: 1.75;
}

.policy-section {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.policy-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.policy-section p,
.policy-section ul {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.policy-section ul {
  padding-inline-start: 1.25rem;
}

.policy-section a {
  color: var(--purple-light);
  font-weight: 600;
}

.policy-contact .policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
  justify-content: center;
}

.policy-en-note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Auth / download pages */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
}

.auth-card {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-glow);
}

.auth-logo,
.download-card img {
  margin: 0 auto 1rem;
  border-radius: 16px;
}

.auth-card h1 {
  margin: 0 0 0.5rem;
}

.auth-card p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.auth-note {
  margin-top: 1.25rem !important;
  font-size: 0.85rem !important;
}

.points-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.points-list {
  text-align: start;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.points-list li {
  padding: 0.35rem 0;
}

/* Video player */
.video-page {
  max-width: 800px;
}

.video-player-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.video-player {
  width: 100%;
  max-height: 70vh;
  display: block;
  background: #000;
}

.video-info h1 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.video-author {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.video-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
