@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=DM+Sans:wght@400;700;900&display=swap');
:root {
  --ink: #172554;
  --muted: #5b6fa5;
  --paper: #f2f6ff;
  --line: #c7d2fe;
  --navy: #4f46e5;
  --navy-dark: #312e81;
  --green: #14b8a6;
  --amber: #f59e0b;
  --red: #e11d48;
  --foam: #eef2ff;
  --shadow: 0 20px 44px rgba(12, 54, 68, .18);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  background:
    linear-gradient(180deg, #dff7fb 0%, #fffaf0 46%, #fff4d7 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 42px);
  border-bottom: 1px solid rgba(21, 94, 117, .18);
  background: rgba(255, 250, 240, .9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--navy-dark);
  font-weight: 900;
  text-decoration: none;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a,
.language-picker select,
button,
.text-link {
  min-height: 42px;
  border-radius: 8px;
  font: inherit;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy-dark);
  background: rgba(21, 94, 117, .1);
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
}

.language-picker select {
  width: 132px;
  border: 1px solid var(--line);
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
}

.game-shell,
.content-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(22px, 4vw, 48px) 0;
}

.intro {
  width: min(860px, 100%);
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.05rem, 6vw, 4.8rem);
  line-height: .98;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.play-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.stats-grid {
  display: grid;
  gap: 10px;
  align-content: start;
}

.stat {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 26px rgba(21, 94, 117, .08);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
}

.stat strong {
  display: block;
  margin-top: 4px;
  font-size: 1.7rem;
}

.ocean-stage {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(21, 94, 117, .22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #96d7e6 0 23%, #fff7d6 23% 31%, #0ea5b5 31% 100%);
  box-shadow: var(--shadow);
  outline: none;
  isolation: isolate;
}

.ocean-stage::before,
.ocean-stage::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  height: 34px;
  border-radius: 50%;
  background: rgba(236, 254, 255, .72);
}

.ocean-stage::before {
  top: 29%;
}

.ocean-stage::after {
  top: 35%;
  opacity: .38;
}

.boat {
  position: absolute;
  top: 9%;
  left: 50%;
  width: min(42%, 230px);
  transform: translateX(-50%);
  z-index: 4;
  filter: drop-shadow(0 12px 14px rgba(12, 54, 68, .18));
}

.line {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 3px;
  height: 138px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  transform: translateX(-50%);
  z-index: 3;
}

.hook {
  position: absolute;
  top: calc(24% + 128px);
  left: 50%;
  width: 42px;
  transform: translateX(-50%);
  z-index: 5;
  filter: drop-shadow(0 8px 12px rgba(8, 47, 55, .24));
}

.catch-item {
  position: absolute;
  width: 76px;
  height: 52px;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 10px 12px rgba(8, 47, 55, .22));
  user-select: none;
}

.catch-item.junk {
  width: 62px;
}

.stage-status {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 8;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 8px;
  color: #f8fffd;
  font-weight: 900;
  background: rgba(9, 56, 67, .72);
}

.controls {
  grid-column: 2;
  display: grid;
  grid-template-columns: 54px minmax(160px, 1fr) 54px auto;
  gap: 10px;
}

button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 16px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  color: white;
  background: var(--navy);
  box-shadow: 0 12px 25px rgba(21, 94, 117, .25);
}

.primary-button:hover {
  background: var(--navy-dark);
}

.ghost-button,
.text-link {
  border: 1px solid var(--line);
  color: var(--navy-dark);
  background: rgba(255, 255, 255, .72);
}

.icon-button {
  padding: 0;
  color: white;
  font-size: 2rem;
  line-height: 1;
  background: var(--amber);
}

.icon-button:active,
.primary-button:active {
  transform: translateY(1px);
}

.content-block {
  width: min(760px, 100%);
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, .84);
  box-shadow: var(--shadow);
}

.content-block h1 {
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.text-link {
  width: max-content;
  margin-top: 10px;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .brand,
  .language-picker {
    justify-self: center;
  }

  .play-layout {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .controls {
    grid-column: 1;
  }

  .ocean-stage {
    min-height: clamp(430px, 78vw, 580px);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a {
    justify-content: center;
    padding-inline: 8px;
  }

  .language-picker {
    width: 100%;
    justify-content: space-between;
  }

  .language-picker select {
    flex: 1;
  }

  .game-shell,
  .content-page {
    width: min(100% - 20px, 1120px);
  }

  .stats-grid {
    gap: 6px;
  }

  .stat {
    padding: 10px 8px;
  }

  .stat strong {
    font-size: 1.18rem;
  }

  .controls {
    grid-template-columns: 52px 1fr 52px;
  }

  .ghost-button {
    grid-column: 1 / -1;
  }

  .boat {
    width: 54%;
  }

  .line {
    height: 118px;
  }

  .hook {
    top: calc(24% + 108px);
    width: 38px;
  }

  .catch-item {
    width: 64px;
  }
}


/* ===== Big Bass Tide unique visual layer — original catch logic preserved ===== */
h1, .brand span {
  font-family: 'Oswald', sans-serif;
}
body {
  background:
    radial-gradient(circle at 18% 10%, #f59e0b24, transparent 24%),
    radial-gradient(circle at 86% 18%, #4f46e522, transparent 28%),
    linear-gradient(180deg, #eef2ff 0%, #f2f6ff 46%, #fff4d7 100%);
}
.site-header {
  border-bottom-color: #4f46e533;
  box-shadow: 0 14px 38px rgba(12, 54, 68, .12);
}
.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 20px #4f46e522;
}
.ocean-stage {
  border-radius: 28px;
  box-shadow: 0 24px 54px #4f46e52e;
}
.stat, .control-card, .content-block {
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(12, 54, 68, .12);
}
button, .text-link {
  border-radius: 999px;
}
