/* =========================================
   Base styles
   Design tokens, reset, document defaults,
   shared UI primitives, and utility classes
========================================= */

:root {
  color-scheme: dark;

  --bg: linear-gradient(135deg, #15366f 0%, #151f48 100%);
  --surface: #111526;
  --surface2: #0f1322;
  --text: #e9ecf1;
  --muted: #a8b0c2;
  --accent: #2783cb;
  --accent2: #2ee59d;
  --border: rgba(255, 255, 255, 0.08);

  --radius: 22px;
  --radius-lg: 24px;

  --container: 1240px;
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  --focus-ring: 2px solid var(--accent2);

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  line-height: 1.55;
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124, 92, 255, 0.25), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(46, 229, 157, 0.15), transparent 55%),
    var(--bg);
}

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

a:hover {
  color: var(--accent2);
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

textarea {
  resize: vertical;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.6rem 1rem;
  background: var(--surface);
  border-radius: 999px;
  outline: var(--focus-ring);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #a1b8c9, #2ccd8e);
  color: #08121f;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  color: #08121f;
}

.btn-ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(46, 229, 157, 0.45);
  color: var(--accent2);
  background: rgba(255, 255, 255, 0.06);
}

.btn-small {
  min-height: 38px;
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
}

.btn-youtube{
  background:#e0002c ;
}

.btn-youtube:hover {
  background: #e0002c;
  border-color: #e0002c;
  color: #000;
}

.muted {
  margin: 0;
  color: var(--muted);
}

.small {
  font-size: 0.92rem;
}

.strong {
  font-weight: 750;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  clip-path: inset(0 100% 0 0);
  animation: brandReveal 900ms cubic-bezier(.16, .84, .44, 1) forwards;
  animation-delay: 120ms;
}

.brand::after {
  content: "";
  position: absolute;
  inset: -35% -60%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.22) 50%, transparent 58%);
  transform: translateX(-85%) skewX(-18deg);
  mix-blend-mode: screen;
  opacity: 0;
  animation: brandShine 900ms ease forwards;
  animation-delay: 380ms;
}

.brand-logo {
  height: 88px;
  width: auto;
  transform-origin: left center;
}

.card {
  background: transparent;
  border-radius: var(--radius);
  padding: 1.15rem;
  margin: 0 auto;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.card-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--accent);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: whitesmoke;
  white-space: nowrap;
}

@keyframes brandReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes brandShine {
  0% {
    transform: translateX(-85%) skewX(-18deg);
    opacity: 0;
  }

  25% {
    opacity: 0.18;
  }

  100% {
    transform: translateX(85%) skewX(-18deg);
    opacity: 0;
  }
}

/* helpers */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 680px) {
  .brand-logo {
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .brand,
  .brand::after,
  .brand-logo {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
