* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #050b19;
  --panel: rgba(12, 20, 36, 0.82);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #e9edf6;
  --muted: #a6b4c8;
  --accent: #46e0c2;
  --accent-2: #8aa4ff;
  --shadow: 0 15px 60px rgba(5, 11, 25, 0.5);
}

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: radial-gradient(120% 120% at 20% 20%, rgba(70, 224, 194, 0.18), transparent),
              radial-gradient(110% 130% at 80% 0%, rgba(138, 164, 255, 0.18), transparent),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.page {
  position: relative;
  min-height: 100vh;
}

.bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(70, 224, 194, 0.2), transparent 40%),
              radial-gradient(circle at 80% 0%, rgba(138, 164, 255, 0.2), transparent 45%);
  filter: blur(90px);
  opacity: 0.6;
  pointer-events: none;
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.hero {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.topbar::after {
  content: '';
  flex: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #041224;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(138, 164, 255, 0.3);
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-list a:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.hero-body h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.lead {
  color: var(--muted);
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041224;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(138, 164, 255, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-actions .btn {
  width: 60%;
  max-width: 320px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(138, 164, 255, 0.45);
}

.hint {
  color: var(--muted);
  font-size: 0.93rem;
}

.layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.panel-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.panel-text {
  color: var(--muted);
}

.forecast {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.weather-card,
.map-card,
.overall-bite {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.weather-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.weather-main {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--accent);
}

.weather-details {
  display: grid;
  gap: 8px;
}

.detail {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.label {
  font-weight: 700;
  color: var(--text);
}

.subtle {
  color: var(--muted);
  font-size: 0.88rem;
}

.map-header h3 {
  font-size: 1.1rem;
}

.map-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

#map {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
}

.overall-bite {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overall-bite h3 {
  font-size: 1.4rem;
}

.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(70, 224, 194, 0.14);
  border: 1px solid rgba(70, 224, 194, 0.35);
}

.level-high {
  background: rgba(70, 224, 194, 0.2);
  border-color: rgba(70, 224, 194, 0.5);
}

.level-medium {
  background: rgba(255, 193, 94, 0.2);
  border-color: rgba(255, 193, 94, 0.5);
}

.level-low {
  background: rgba(255, 117, 117, 0.2);
  border-color: rgba(255, 117, 117, 0.5);
}

.fish-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}


.fish-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.fish-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
}

.fish-icon {
  font-size: 1.8rem;
}

.fish-info {
  flex: 1;
}

.fish-name {
  font-weight: 700;
  margin-bottom: 6px;
}

.bite-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.bite-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff8a8a, #46e0c2);
  transition: width 0.4s ease;
}

.bite-percent {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.95rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.banner {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, rgba(70, 224, 194, 0.2), rgba(138, 164, 255, 0.25));
  width: 100%;
  max-width: 345px;
  min-height: 320px;
  aspect-ratio: 345 / 698;
  align-self: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
}

.banner.clickable {
  cursor: pointer;
}

.banner h4 {
  font-size: 1.1rem;
  font-weight: 800;
}

.banner p {
  color: var(--text);
}

.footer {
  margin-top: 20px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-nav {
  justify-content: flex-end;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
}

.copyright {
  font-weight: 800;
  color: var(--text);
}

.hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .nav-list {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 16px;
  }
  .topbar {
    justify-content: center;
    gap: 10px;
  }
  .brand {
    justify-content: center;
    width: 100%;
  }
  .nav {
    flex: 1;
    margin-left: 0;
    width: 100%;
    justify-content: center;
    position: relative;
    height: auto;
  }
  .nav-list {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    flex-direction: column;
    width: max-content;
    min-width: 180px;
    padding: 10px 12px;
    gap: 8px;
    border-radius: 12px;
    background: rgba(12, 20, 36, 0.96);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
  }
  .nav.open .nav-list {
    display: flex;
  }
  .nav-list li {
    width: 100%;
  }
  .nav-list a {
    width: 100%;
    background: transparent;
    border: none;
    text-align: center;
    padding: 10px 10px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
  }
  .nav-list a::before {
    content: attr(data-icon);
    display: inline-block;
    width: 16px;
    text-align: center;
    opacity: 0.8;
  }
  .nav-list li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 6px;
  }
  .burger {
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
  }
  .hero-body h1 {
    font-size: 1.9rem;
  }
  .hero-actions {
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  #map {
    height: 240px;
  }
  .fish-list {
    grid-template-columns: 1fr;
  }
  .overall-bite {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .banner {
    max-width: 100%;
    min-height: 240px;
    aspect-ratio: 3 / 4;
  }
}
