/* ================================
   COLOR SYSTEM (LIGHT DEFAULT)
================================ */

:root {
  --bg-main: #ffffff;
  --bg-soft: #dcfce7;
  --bg-dark: #020617;

  --text-main: #1f2937;
  --text-soft: #374151;
  --text-invert: #e5e7eb;

  --accent: #22c55e;
  --accent-dark: #166534;
  --bg-academy: #ecfdf5;
}

/* ================================
   AUTOMATIC DARK MODE
================================ */

@media (prefers-color-scheme: dark) {
  :root {
    --bg-main: #020617;
    --bg-soft: #1f2937;

    --text-main: #e5e7eb;
    --text-soft: #cbd5f5;
    --text-invert: #f8fafc;

    --accent-dark: #4ade80;
	--bg-academy: #020617;
  }
}

/* ================================
   BASE
================================ */

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(to bottom, var(--bg-main), var(--bg-soft));
  color: var(--text-main);
  line-height: 1.75;
}

/* ================================
   HERO / HEADER
================================ */

header {
  position: relative;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-invert);
  text-align: center;
  overflow: hidden;
}

header video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: -1;
}

.hero-content {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);

  max-width: 480px;
  text-align: right;
}

.hero-logo {
  width: 360px;
  max-width: 100%;
  margin-bottom: 20px;
}


/* ================================
   SECTIONS
================================ */

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
}

h2 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}

p {
  max-width: 820px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
}

/* ================================
   GIF PLACEHOLDERS
================================ */

.gif {
  background: var(--bg-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 32px;
  color: var(--accent-dark);
  max-width: 820px;
  position: relative;
  overflow: hidden;
}




/* ================================
   ACADEMY / RELEASE
================================ */

.academy {
  background: var(--bg-academy);
  color: var(--text-main);
  border-radius: 32px;
}

.release {
  background: var(--bg-soft);
  border-radius: 28px;
}

.release-date {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-dark);
}

/* ================================
   BUTTONS
================================ */

.wishlist {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 36px;
  background: var(--accent);
  color: #052e16;
  font-weight: 800;
  border-radius: 16px;
  text-decoration: none;
}

/* Sticky Wishlist */

.sticky-wishlist {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--accent);
  color: #052e16;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sticky-wishlist.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .sticky-wishlist {
    left: 16px;
    right: 16px;
    text-align: center;
  }
}

/* ================================
   SCROLL FADE ANIMATION
================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   RELEASE COUNTDOWN
================================ */

.countdown {
  margin-top: 28px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-dark);
}

.countdown span {
  display: inline-block;
  min-width: 64px;
  color: var(--accent);
  animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 0.85; }
}

/* ================================
   FOOTER
================================ */

.site-footer {
  margin-top: 120px;
  padding: 40px 24px;
  text-align: center;
  color: var(--text-soft);
}

.site-footer a {
  color: var(--text-soft);
  text-decoration: none;
  margin: 0 6px;
}

.site-footer a:hover {
  color: var(--accent);
}

/* ================================
   SOCIAL LINKS (FOOTER)
================================ */

.social-links {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.social-links a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(34,197,94,0.2);
}

.social-links img {
  width: 18px;
  height: 18px;
  opacity: 0.85;
  filter: brightness(0); /* Light Mode = dark icons */
}

.social-links a:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%) hue-rotate(90deg);
}

/* ================================
   FLOATING SOCIALS (GLOBAL)
================================ */

.floating-socials {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 12px;
  z-index: 1000;
}

.floating-socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-socials a:hover {
  transform: translateY(-2px);
  background: rgba(34, 197, 94, 0.25);
}

.floating-socials img {
  width: 20px;
  height: 20px;
  opacity: 0.9;
  filter: brightness(0); /* Light Mode */
}

.floating-socials a:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%) hue-rotate(90deg);
}

/* ================================
   LANGUAGE SWITCG
================================ */

.language-switch {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 1000;
  font-size: 1.1rem;
  display: flex;
  gap: 6px;
  align-items: center;
}

.language-switch a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.language-switch a:hover {
  opacity: 1;
  color: var(--accent);
}

.language-switch a.active {
  color: var(--accent);
  opacity: 1;
}

.language-switch span {
  color: var(--text-soft);
  opacity: 0.5;
}


/* ================================
   DARK MODE ICON OVERRIDE
================================ */

@media (prefers-color-scheme: dark) {
  .social-links img,
  .floating-socials img {
    filter: none; /* Dark Mode = white icons */
  }
}

/* ================================
   MOBILE FLOATING POSITION
================================ */

@media (max-width: 768px) {
  .floating-socials {
    top: auto;
    bottom: 20px;
    right: 20px;
  }
   .language-switch {
    top: 20px;
    left: 20px;
    font-size: 0.85rem;
  }
}
