/* ============================================================
   Big Bass Flash — Reflex Fishing Game
   style.css  |  Organic / Watercolour Aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Mulish:wght@400;600;800&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --linen: #effdf5;
  --warm: #dcfce7;
  --bark: #0f766e;
  --bark-dk: #064e3b;
  --bark-lt: #34d399;
  --moss: #16a34a;
  --moss-lt: #86efac;
  --water: #22d3ee;
  --water-dk: #0891b2;
  --water-lt: #a5f3fc;
  --sky: #e6fffb;
  --gold: #34d399;
  --gold-lt: #a7f3d0;
  --cream: #ffffff;
  --sand: #bff0dc;
  --danger: #ef4444;
  --success: #22c55e;
  --text: #0b2f2a;
  --text-dim: #5c857b;
  --radius:    12px;
  --shadow:    0 4px 20px rgba(90,50,20,0.15);
  --font-title:'Oswald', sans-serif;
  --font-body: 'Mulish', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  background: var(--linen);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── HEADER ─────────────────────────────────────────────────── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: var(--cream);
  border-bottom: 2px solid var(--sand);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(90,50,20,0.1);
}

.H0qWHeWOR {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 900;
  color: var(--bark-dk);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.H0qWHeWOR .o83Pbs3 { color: var(--water-dk); }
.H0qWHeWOR .vFPgwMd0UvX { color: var(--danger); }

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  text-transform: uppercase;
}

nav a:hover { color: var(--bark); }

/* lang button */
#lang-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  background: var(--warm);
  border: 2px solid var(--sand);
  border-radius: 20px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

#lang-btn:hover {
  background: var(--sand);
  color: var(--cream);
  border-color: var(--bark);
}

/* ── GAME SECTION ───────────────────────────────────────────── */
#game-section {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 56px;
  gap: 16px;
}

/* ── HUD ─────────────────────────────────────────────────────── */
#hud {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 820px;
  background: var(--cream);
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  padding: 10px 20px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.ts0jqwNj {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  flex: 1;
  min-width: 60px;
}

.m80HRA8SQQE {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.LpncJUHR {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bark-dk);
  line-height: 1;
}

#lives-display {
  display: flex;
  gap: 4px;
  font-size: 1.3rem;
  line-height: 1;
}

/* STRIKE button */
#strike-btn {
  flex: 0 0 auto;
  padding: 10px 32px;
  background: linear-gradient(135deg, var(--bark), var(--bark-lt));
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(90,50,20,0.3);
  transition: all 0.12s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

#strike-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.12s;
}

#strike-btn:hover::after { opacity: 1; }
#strike-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(90,50,20,0.4); }
#strike-btn:active { transform: translateY(1px); box-shadow: 0 2px 8px rgba(90,50,20,0.3); }

#strike-btn.ktLJE4pODpK {
  background: linear-gradient(135deg, #aaa, #888);
  cursor: not-allowed;
  transform: none;
}

/* ── CANVAS WRAP ─────────────────────────────────────────────── */
#canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 820px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--sand);
  box-shadow:
    0 0 0 1px rgba(139,94,60,0.2),
    0 8px 40px rgba(90,50,20,0.2);
}

#game-canvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* corner wood decorations */
#canvas-wrap::before,
#canvas-wrap::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--bark);
  border-style: solid;
  z-index: 5;
  opacity: 0.5;
}
#canvas-wrap::before { top:8px; left:8px;    border-width: 3px 0 0 3px; border-radius: 3px 0 0 0; }
#canvas-wrap::after  { bottom:8px; right:8px; border-width: 0 3px 3px 0; border-radius: 0 0 3px 0; }

/* ── WAIT INDICATOR ─────────────────────────────────────────── */
#wait-bar-wrap {
  width: 100%;
  max-width: 820px;
  height: 12px;
  background: var(--warm);
  border: 2px solid var(--sand);
  border-radius: 6px;
  overflow: hidden;
}

#wait-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--water), var(--water-dk));
  border-radius: 6px;
  width: 0%;
  transition: width 0.05s linear, background 0.3s;
}

#wait-bar.BhZCTIeQZ4 {
  background: linear-gradient(90deg, var(--danger), #ff6644);
  animation: bar-pulse 0.15s ease infinite alternate;
}

@keyframes bar-pulse {
  from { box-shadow: none; }
  to   { box-shadow: 0 0 8px var(--danger); }
}

/* ── OVERLAY ─────────────────────────────────────────────────── */
#overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  background: rgba(245,240,232,0.94);
  backdrop-filter: blur(6px);
  transition: opacity 0.35s;
  z-index: 20;
}

#overlay.jcsI3m { opacity:0; pointer-events:none; }

.OFWs8cP {
  font-size: 5rem;
  animation: float-icon 3.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(90,50,20,0.2));
}

@keyframes float-icon {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-16px) rotate(4deg); }
}

.Lk1oJd06 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--bark-dk);
  letter-spacing: 2px;
  text-align: center;
  line-height: 1.1;
}

.J9eIxY {
  color: var(--text-dim);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  max-width: 360px;
  line-height: 1.65;
}

.WDj9Mczp1I {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 48px;
  background: linear-gradient(135deg, var(--moss), var(--moss-lt));
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(74,122,58,0.35);
  transition: all 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.WDj9Mczp1I:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(74,122,58,0.5); }
.WDj9Mczp1I:active { transform: scale(0.97); }

/* legend */
.XInndP8XFaK {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.QIl6i58W1 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
}

.WBGMGjvmraT { width:10px; height:10px; border-radius:50%; flex-shrink:0; }

/* ── ABOUT SECTION ──────────────────────────────────────────── */
#about-section {
  position: relative; z-index: 1;
  padding: 70px 32px;
  max-width: 960px;
  margin: 0 auto;
}

.fktyqa {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bark-dk);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.fktyqa::after {
  content: '';
  flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--sand), transparent);
  border-radius: 1px;
}

.iyt7XY8swJ {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.UOtSB8qcIk {
  background: var(--cream);
  border: 2px solid var(--warm);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.UOtSB8qcIk::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--bark-lt), var(--gold));
  border-radius: 14px 14px 0 0;
}

.UOtSB8qcIk h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--bark);
  margin-bottom: 12px;
  font-weight: 700;
}

.UOtSB8qcIk p, .UOtSB8qcIk li {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
}

.UOtSB8qcIk ul { padding-left:16px; display:flex; flex-direction:column; gap:5px; }

.uruPNLPBJk {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: center;
}

.P3AMQQanEEd {
  background: var(--warm);
  border: 1px solid var(--sand);
  border-radius: 6px;
  padding: 3px 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bark);
  white-space: nowrap;
}

.QxEyBFcv { color:var(--text-dim); font-size:0.88rem; }

/* ── CONTACT ──────────────────────────────────────────────── */
#contact-section {
  position: relative; z-index: 1;
  border-top: 2px solid var(--warm);
  padding: 48px 32px;
  max-width: 960px;
  margin: 0 auto;
}

.a81t2HfV { display:flex; gap:14px; flex-wrap:wrap; }

.d5ImE0dU {
  flex:1; min-width:180px;
  background: var(--cream);
  border: 2px solid var(--warm);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex; flex-direction:column; gap:6px;
  box-shadow: var(--shadow);
}

.d5ImE0dU .MGxCHS4AXrc {
  font-size:0.62rem; font-weight:800;
  letter-spacing:1.5px; text-transform:uppercase;
  color:var(--text-dim);
}

.d5ImE0dU a, .d5ImE0dU p {
  color:var(--bark); font-size:0.9rem;
  font-weight:600; text-decoration:none;
  transition:color 0.2s; word-break:break-all;
}

.d5ImE0dU a:hover { color:var(--moss); }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  position: relative; z-index:1;
  text-align:center; padding:20px 16px;
  color:var(--text-dim); font-size:0.8rem;
  border-top:2px solid var(--warm);
  font-weight:600; letter-spacing:0.5px;
}

footer a { color:var(--text-dim); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  header { padding:12px 16px; }
  .H0qWHeWOR  { font-size:1.6rem; }
  nav    { gap:16px; }
  #game-section { padding:14px 10px 40px; gap:12px; }
  .iyt7XY8swJ   { grid-template-columns:1fr; }
  #about-section { padding:48px 16px; }
  #contact-section { padding:36px 16px; }
  .Lk1oJd06 { font-size:2.2rem; }
}

@media (max-width: 480px) {
  header { padding:8px 12px; gap:6px; }
  .H0qWHeWOR  { font-size:1.3rem; }
  nav a  { display:none; }
  nav a.K7c4gRao { display:block; }
  #lang-btn { font-size:0.72rem; padding:5px 12px; }

  #hud { padding:8px 12px; gap:8px; }
  .ts0jqwNj { min-width:50px; }
  .LpncJUHR { font-size:1.2rem; }
  #strike-btn { width:100%; margin-top:4px; padding:12px; }

  .Lk1oJd06 { font-size:1.8rem; }
  .J9eIxY   { font-size:0.88rem; }
  .WDj9Mczp1I   { padding:12px 32px; font-size:1rem; }
  .OFWs8cP  { font-size:3.8rem; }

  .UOtSB8qcIk { padding:16px 14px; }
  .fktyqa { font-size:1.6rem; }
  .uruPNLPBJk { grid-template-columns:1fr; gap:5px; }
}

@media (max-width: 360px) {
  .H0qWHeWOR { font-size:1.1rem; }
  .LpncJUHR { font-size:1rem; }
  .Lk1oJd06 { font-size:1.5rem; }
}

@media (hover:none) {
  #strike-btn:hover, .WDj9Mczp1I:hover { transform:none; box-shadow:var(--shadow); }
  #strike-btn:active { transform:scale(0.97); }
  .WDj9Mczp1I:active { transform:scale(0.97); }
}


/* ===== Big Bass Flash unique visual layer ===== */
body {
  background:
    radial-gradient(circle at 18% 8%, #22d3ee25, transparent 22%),
    radial-gradient(circle at 88% 18%, #34d39922, transparent 26%),
    linear-gradient(180deg, var(--linen), var(--warm));
}
.H0qWHeWOR::before {
  content:'';
  width:30px;height:30px;display:inline-block;margin-right:6px;
  background:url('../iMTnTj/s95SpbyRs/TCUdDoL.svg') center/contain no-repeat;
  vertical-align:-7px;
}
.H0qWHeWOR .o83Pbs3 { display:none; }
header, #hud, #canvas-wrap, .UOtSB8qcIk, .d5ImE0dU {
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 18px 44px rgba(0,0,0,.16), 0 0 28px #22d3ee18;
}
#game-section { padding: 34px 20px 66px; gap: 20px; }
#about-section, #contact-section { padding-top: 44px; padding-bottom: 54px; }
.WDj9Mczp1I, #strike-btn, #lang-btn {
  border-radius:999px;
}
