/* Xècc Kids - Main Stylesheet */

/* Import theme */
@import './styles/theme.css';

/* Additional global styles */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
*:focus-visible {
  outline: 2px solid #8B5CF6;
  outline-offset: 2px;
}

/* Button reset */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}

/* Link reset */
a {
  text-decoration: none;
  color: inherit;
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hide scrollbar but keep functionality */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Glassmorphism utility */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════
   LANDING PAGE — "Cosmic Academy"
   Dark immersive space theme for kids 5-16
   ═══════════════════════════════════════════════════════ */

/* ── Typography ──────────────────────────────────── */
.lp-display {
  font-family: 'Nunito', 'Fredoka', system-ui, sans-serif;
}

.lp-gradient-text {
  background: linear-gradient(135deg, #22d3ee 0%, #6366f1 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glass / Buttons ─────────────────────────────── */
.lp-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.lp-btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-btn-primary:hover {
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.3);
  transform: translateY(-2px) scale(1.02);
}

/* ── Star field ──────────────────────────────────── */
.lp-star {
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: lp-twinkle 3s ease-in-out infinite;
}

@keyframes lp-twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.4); }
}

/* ── Body & page ─────────────────────────────────── */
.lp-body {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Keyframes ───────────────────────────────────── */
@keyframes lp-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes lp-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes lp-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@keyframes lp-badge-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-6px) rotate(2deg); }
  75% { transform: translateY(4px) rotate(-1deg); }
}

@keyframes lp-badge-bounce {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}
