:root {
  --night: #081a3a;
  --deep: #0e2a5c;
  --blue: #1f5fbf;
  --ice: #a9d4f8;
  --snow: #f2f8ff;
  --orange: #ff6b35;
  --orange-dark: #e2521f;
  --text: #f4f8ff;
  --muted: #b7cbec;
  --card: rgba(8, 26, 58, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--night);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: #ffd166; }
a:hover { color: #fff; }

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

.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8, 26, 58, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; letter-spacing: 0.5px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: #fff; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--night) 0%, var(--deep) 30%, var(--blue) 62%, var(--ice) 100%);
  padding: 72px 0 320px;
  text-align: center;
}
.hero-icon, .title, .tagline, .badges { z-index: 1; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: 120px; width: 900px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(150, 205, 255, 0.35) 0%, rgba(150, 205, 255, 0) 60%);
  pointer-events: none;
}
.hero .mountains {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 300px;
  background: url("assets/mountains.png") center bottom / cover no-repeat;
}
.snow { position: absolute; inset: 0; pointer-events: none; }
.snow i {
  position: absolute; top: -10px; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0.8;
  animation: fall linear infinite;
}
@keyframes fall { to { transform: translate3d(30px, 110vh, 0); } }

.hero-icon {
  position: relative; width: 240px; height: auto; margin: 0 auto 26px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
  animation: pop 0.9s cubic-bezier(.2, 1.6, .4, 1) both, bob 4s ease-in-out 1s infinite;
}
@keyframes pop { from { transform: scale(0) rotate(-14deg); } to { transform: scale(1) rotate(0); } }
@keyframes bob { 50% { transform: translateY(-8px) rotate(1.5deg); } }

.title {
  position: relative; margin: 0; line-height: 0.95;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", system-ui, sans-serif; font-weight: 900;
  font-size: clamp(48px, 9vw, 104px); letter-spacing: 1px; text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 3px #0a1e50; paint-order: stroke fill;
  text-shadow: 0 6px 0 rgba(4, 14, 40, 0.55);
}
.title .accent { display: block; color: var(--orange); font-size: 1.22em; }
.tagline { position: relative; margin: 18px auto 30px; max-width: 620px; font-size: clamp(18px, 2.4vw, 22px); color: #e6f0ff; font-weight: 600; }

.badges { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  font-weight: 800; text-decoration: none; font-size: 17px; border: 0;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 0 var(--orange-dark), 0 14px 26px rgba(0, 0, 0, 0.3); }
.btn-ghost { background: rgba(8, 26, 58, 0.55); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn small { font-weight: 600; opacity: 0.85; }
.btn .play {
  width: 0; height: 0; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}

/* ---------------------------------------------------------------- sections */
section { padding: 72px 0; }
.section-title { text-align: center; font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px; font-weight: 900; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 40px; max-width: 640px; }

.features { background: linear-gradient(180deg, var(--snow) 0%, #dcebfb 100%); color: #10244d; }
.features .section-sub { color: #3d5b8f; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 24px 22px; box-shadow: 0 10px 30px rgba(16, 36, 77, 0.12);
  border: 1px solid rgba(16, 36, 77, 0.06);
}
.feature img { width: 64px; height: 64px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 6px; font-size: 20px; }
.feature p { margin: 0; color: #3d5b8f; }

.gallery { background: linear-gradient(180deg, var(--deep), var(--night)); }
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.shot {
  flex: 0 0 auto; width: 230px; scroll-snap-align: center;
  border-radius: 28px; padding: 8px; background: #0b1530; border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}
.shot img { border-radius: 21px; width: 100%; height: auto; aspect-ratio: 540 / 1056; object-fit: cover; }
.shot figcaption { text-align: center; color: var(--muted); font-size: 14px; padding-top: 8px; }

.cta { text-align: center; background: radial-gradient(circle at 50% 0%, #1f5fbf 0%, var(--night) 70%); }

/* ---------------------------------------------------------------- legal pages */
.legal { background: var(--snow); color: #13264d; padding: 40px 0 72px; }
.legal .wrap { width: min(860px, 100% - 32px); }
.legal h1 { font-size: clamp(28px, 4.5vw, 40px); margin: 10px 0 4px; line-height: 1.2; }
.legal h2 { font-size: 22px; margin: 34px 0 8px; }
.legal h3 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { color: #2a3f68; }
.legal .meta { color: #5a729c; margin: 0 0 22px; }
.legal .lang { display: inline-flex; gap: 8px; margin: 6px 0 18px; }
.legal .lang a {
  padding: 6px 14px; border-radius: 999px; background: #e3edfb; color: #13264d; text-decoration: none; font-weight: 700; font-size: 14px;
}
.legal .lang a:hover { background: #cfe0f8; }
.legal .box { background: #fff; border-radius: 16px; padding: 18px 20px; border: 1px solid #dbe6f5; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #dbe6f5; }
.legal th { background: #eef4fc; }
.legal a { color: #1f5fbf; }
.legal hr { border: 0; border-top: 2px dashed #c9d8ee; margin: 56px 0; }

/* ---------------------------------------------------------------- footer */
footer { background: #050f24; color: var(--muted); padding: 34px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-start; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero { padding: 48px 0 220px; }
  .hero .mountains { height: 200px; }
  .hero-icon { width: 180px; }
  .brand { font-size: 15px; }
  .nav { gap: 12px; }
  .nav a { font-size: 14px; }
  .nav a.wide { display: none; }
  section { padding: 52px 0; }
  .shot { width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-icon, .snow i { animation: none; }
}
