﻿:root {
  --bg: #eaf2ef;
  --panel: rgba(248, 253, 255, 0.9);
  --line: rgba(177, 207, 221, 0.82);
  --text: #112f2a;
  --muted: #4f6c66;
  --satellite-bg: url("/assets/sea-ice-bg.jpg");
  --panel-shadow: 0 16px 28px rgba(8, 34, 52, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(9, 24, 39, 0.42) 0%, rgba(12, 34, 54, 0.5) 55%, rgba(12, 38, 58, 0.56) 100%),
    var(--satellite-bg) center center / cover fixed no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 22%, rgba(230, 245, 255, 0.36) 0%, rgba(230, 245, 255, 0.02) 32%),
    radial-gradient(circle at 85% 18%, rgba(205, 232, 248, 0.28) 0%, rgba(205, 232, 248, 0.03) 28%);
}

.layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(4px);
  box-shadow: var(--panel-shadow);
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(130deg, rgba(242, 251, 255, 0.88) 0%, rgba(236, 249, 255, 0.78) 100%);
}

h1 {
  margin: 10px 0 8px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
}

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

.controls {
  display: flex;
  gap: 8px;
  align-items: end;
  flex-wrap: wrap;
}

label {
  display: grid;
  gap: 5px;
  color: #335e66;
  font-size: 12px;
  font-weight: 700;
}

select,
input[type="range"] {
  border: 1px solid #b3d0c9;
  border-radius: 9px;
  padding: 8px;
  background: rgba(248, 253, 251, 0.96);
  color: #11312d;
}

.btn {
  display: inline-block;
  border: 1px solid rgba(15, 140, 115, 0.78);
  background: linear-gradient(180deg, #ffffff 0%, #f1fbf8 100%);
  color: #0c6e5a;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(16, 108, 93, 0.15);
  border-color: rgba(14, 124, 102, 0.88);
}

#anivaMap {
  height: 620px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 12px 20px rgba(8, 34, 52, 0.15);
}

@media (max-width: 960px) {
  .hero {
    flex-direction: column;
  }

  #anivaMap {
    height: 520px;
  }
}
