:root {
  --content-width: min(720px, 90%);
  --btn-width: min(360px, 80%);
  --accent: #626886;
  --muted: #9ca1a1;
  --bg: #f3f4e6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  text-align: center;
  background: #000; /* fallback while video loads */
}

/* NEW: main wrapper centers all sections */
.wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 40px 0;
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

/* Fullscreen background video */
#bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

/* Soft vertical glow behind the full content column */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;                 /* anchor center */
  transform: translateX(-50%); /* pull overlay back into true center */
  
  width: min(760px, 90%);
  height: 100vh;

  background: radial-gradient(
    circle at 50% 25%,
    rgba(255, 255, 255, 0.30) 0%,
    rgba(255, 255, 255, 0.20) 30%,
    rgba(255, 255, 255, 0.12) 65%,
    rgba(255, 255, 255, 0.00) 100%
  );

  backdrop-filter: blur(4px);
  pointer-events: none; /* IMPORTANT: prevents layout interference */
  z-index: -1;
}

/* main sections use the same centered column width */
.intro {
  width: var(--content-width);
  margin: 0 auto 24px;
  position: relative; /* so the toggle positions inside this column */
}

/* Language toggle — clickable images in the top-right of the text column */
.lang-toggle {
  position: absolute;
  top: -10px;     /* adjust to fit your layout */
  right: 0;
  z-index: 10;
}

.lang-toggle .lang-tile {
  width: 60px;         /* clean + consistent */
  height: auto;
  display: block;
  border-radius: 3px;  /* optional small rounding */
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-toggle .lang-tile:hover {
  opacity: 1;
  transform: scale(1.04);
}
.logo-text {
  width: var(--content-width);
  max-width: 520px;
}

.tagline {
  margin-top: 12px;
  margin-bottom: 40px; /* extra space before cover */
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.hero {
  width: var(--content-width);
  margin: 0 auto;        /* center the block */
}

.cover {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  margin-bottom: 40px; /* space before release line */
}

.release-line {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  margin: 32px 0; /* same space before + after */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.actions {
  width: var(--content-width);
  margin: 20px auto 0;   /* center the block */
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.action {
  background: rgba(255, 255, 255, 0.78);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.btn {
  display: block;
  margin: 0 auto;
  width: var(--btn-width);
  padding: 16px 22px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
  background: white;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.95);
}

.btn.disabled {
  opacity: 0.7;
  border-style: dashed;
  cursor: default;
  box-shadow: none;
}

.btn:not(.disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
}

.note {
  margin-top: 10px;
  color: var(--muted);
}

.site-footer {
  margin-top: 20px;
  padding-bottom: 24px;
}

.footer-inner {
  width: var(--content-width);
  margin: 0 auto;        /* center the block */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.logo {
  height: 80px;
  width: auto;
}
@media (max-width: 480px) {
  .lang-toggle {
    top: -26px;   /* higher = more breathing room */
    right: -4px;  /* nudged outward slightly */
  }
}
