:root {
  --ink: #173553;
  --ink-soft: #4d667b;
  --sun: #ff9f1c;
  --melon: #ff6b35;
  --sky: #2f9cf4;
  --mint: #34c5b7;
  --lemon: #f9c80e;
  --night: #103e70;
  --panel: rgba(255, 255, 255, 0.84);
  --cloud: rgba(255, 255, 255, 0.74);
  --shadow: 0 24px 60px rgba(16, 62, 112, 0.14);
  --radius-lg: 32px;
  --radius-md: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 84, 0.6), transparent 28%),
    radial-gradient(circle at top right, rgba(52, 197, 183, 0.18), transparent 26%),
    linear-gradient(180deg, #fff8e4 0%, #fff8ef 45%, #f2f9ff 100%);
  color: var(--ink);
  font-family: "Nunito", sans-serif;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 156, 244, 0.4);
  outline-offset: 4px;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  border: 1px solid rgba(16, 62, 112, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong,
.site-nav a,
.button,
h1,
h2,
h3 {
  font-family: "Baloo 2", cursive;
}

.brand-copy strong {
  font-size: 1.28rem;
  line-height: 1;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-soft);
}

.site-nav a {
  font-size: 1rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 62, 112, 0.08);
}

.lang-toggle-button {
  min-width: 52px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-family: "Baloo 2", cursive;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-toggle-button:hover {
  transform: translateY(-1px);
}

.lang-toggle-button.is-active {
  background: linear-gradient(135deg, rgba(255, 159, 28, 0.18), rgba(47, 156, 244, 0.18));
  color: var(--night);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 700;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-sun {
  background: linear-gradient(135deg, var(--sun), #ffbf47);
  color: #fff;
  box-shadow: 0 16px 30px rgba(255, 159, 28, 0.28);
}

.button-cloud {
  background: var(--cloud);
  color: var(--night);
  border: 1px solid rgba(16, 62, 112, 0.1);
}

.button-night {
  background: linear-gradient(135deg, #16324a, #325c7f);
  color: #fff;
  box-shadow: 0 16px 30px rgba(22, 50, 74, 0.24);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 30px;
  align-items: center;
  padding: 54px 0 30px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #d96c00;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.93;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 640px;
}

.lang-block + .lang-block {
  margin-top: 18px;
}

[data-lang].is-hidden {
  display: none !important;
}

.lang-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--night);
  font-weight: 800;
}

.hero-text,
.section-intro,
.feature-card p,
.video-status p,
.footer-brand p {
  color: var(--ink-soft);
}

.hero-text {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-art {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.logo-showcase {
  position: absolute;
  inset: 24px 12px 34px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.45), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.58)),
    linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(47, 156, 244, 0.14));
  box-shadow: var(--shadow);
}

.hero-logo-image {
  width: min(100%, 480px);
  object-fit: contain;
  border-radius: 28px;
  filter: drop-shadow(0 18px 34px rgba(16, 62, 112, 0.16));
}

.planet,
.star {
  position: absolute;
  border-radius: 50%;
}

.planet-one {
  top: 10px;
  right: 0;
  width: 96px;
  height: 96px;
  background: radial-gradient(circle at 30% 30%, #fff9c4, #ffd166);
}

.planet-two {
  bottom: 0;
  left: 2px;
  width: 126px;
  height: 126px;
  background: radial-gradient(circle at 30% 30%, #c4f7ee, #34c5b7);
}

.star {
  width: 18px;
  height: 18px;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18);
}

.star-one {
  top: 110px;
  left: 12px;
}

.star-two {
  right: 6px;
  top: 220px;
}

.star-three {
  right: 44px;
  bottom: 96px;
}

.float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

.stats-strip,
.feature-card,
.video-status,
.video-card,
.site-footer {
  box-shadow: var(--shadow);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
}

.stats-strip article {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.stats-strip strong {
  display: block;
  font-family: "Baloo 2", cursive;
  font-size: 1.45rem;
}

.section {
  padding: 94px 0 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.section-intro {
  margin: 14px 0 0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.feature-card h3 {
  margin: 14px 0 10px;
  font-size: 1.75rem;
  line-height: 1;
}

.feature-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.68;
}

.feature-card p + p {
  margin-top: 14px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 16px 30px rgba(16, 62, 112, 0.16);
}

.melon .card-icon {
  background: linear-gradient(135deg, #ff8d61, var(--melon));
}

.sky .card-icon {
  background: linear-gradient(135deg, #74c0fc, var(--sky));
}

.lemon .card-icon {
  background: linear-gradient(135deg, #ffe68a, #fab005);
}

.latest-videos-shell {
  margin-top: 28px;
}

.video-status {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.video-status p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.video-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.video-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(255, 159, 28, 0.22), rgba(47, 156, 244, 0.18));
}

.video-card-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.video-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.video-meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 159, 28, 0.16), rgba(47, 156, 244, 0.16));
  color: var(--night);
  font-family: "Baloo 2", cursive;
  font-size: 1rem;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 96px;
  padding: 28px 0 12px;
  border-top: 1px solid rgba(16, 62, 112, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-family: "Baloo 2", cursive;
  font-size: 1.35rem;
}

.footer-brand p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--night);
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

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

  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 980px) {
  .hero,
  .stats-strip,
  .card-grid,
  .latest-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    border-radius: 28px;
    padding: 16px;
  }

  .site-nav {
    display: none;
  }

  .brand {
    grid-column: 1 / -1;
  }

  .lang-toggle {
    grid-column: 1;
    width: fit-content;
    justify-self: start;
  }

  .site-header > .button {
    grid-column: 2;
    min-width: 0;
    padding-inline: 18px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-art {
    min-height: 360px;
    order: -1;
  }

  .logo-showcase {
    inset: 20px 0 24px;
    padding: 22px;
  }

  .hero-logo-image {
    width: min(100%, 380px);
    border-radius: 24px;
  }

  .planet-one {
    width: 72px;
    height: 72px;
    top: 14px;
    right: 12px;
  }

  .planet-two {
    width: 92px;
    height: 92px;
    left: 10px;
    bottom: 8px;
  }

  .star-two,
  .star-three {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 100%);
    padding-top: 16px;
  }

  .site-header {
    padding: 14px;
    grid-template-columns: 1fr;
    top: 10px;
    border-radius: 24px;
  }

  .brand {
    gap: 10px;
    align-items: center;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    padding: 4px;
  }

  .brand-copy strong {
    font-size: 1.05rem;
  }

  .brand-copy small {
    font-size: 0.8rem;
  }

  .button {
    width: 100%;
  }

  .lang-toggle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    justify-self: stretch;
  }

  .site-header > .button {
    grid-column: auto;
  }

  .hero-text,
  .section-intro,
  .feature-card p,
  .video-status p,
  .footer-brand p {
    font-size: 1rem;
  }

  .hero-art {
    min-height: 280px;
  }

  .logo-showcase {
    inset: 10px 0 12px;
    padding: 18px;
    border-radius: 28px;
  }

  .hero-logo-image {
    width: min(100%, 280px);
    border-radius: 20px;
  }

  .float-slow {
    animation: none;
  }

  .planet,
  .star {
    display: none;
  }

  .section {
    padding-top: 72px;
  }

  .feature-card,
  .video-status,
  .video-card {
    padding: 22px;
  }

  .video-card-body {
    padding: 18px;
  }
}
