/* ============================================================
   NET DROP — Cast & Catch Fishing Game
   style.css  |  Japanese Woodblock (ukiyo-e) Aesthetic
   ============================================================ */

@import url('css2');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --indigo: #1f3a24;
  --indigo-dk: #102016;
  --indigo-lt: #315f37;
  --navy: #236846;
  --wave: #4b9d6b;
  --foam: #f0fff4;
  --ochre: #e9c46a;
  --ochre-lt: #ffe8a8;
  --ochre-dk: #997129;
  --vermillion: #e76f88;
  --vermillion-lt: #f4a6b6;
  --jade: #52b788;
  --jade-lt: #95d5b2;
  --cream: #fbfff0;
  --text: #152418;
  --text-dim: #5d7661;
  --text-light: #ffe8a8;
  --radius: 22px;
  --shadow:    0 4px 24px rgba(10,20,40,0.35);
  --font-title: 'Marcellus', Georgia, serif;
  --font-body: 'Mulish', sans-serif;
}

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

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

/* horizontal woodblock stripe texture on body */
body::before {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 3px,
    rgba(232,213,163,0.018) 3px,
    rgba(232,213,163,0.018) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* ── HEADER ─────────────────────────────────────────────────── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: var(--indigo-dk);
  border-bottom: 1px solid rgba(200,160,48,0.3);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.YJ2sj28 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ochre-lt);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.YJ2sj28 span { color: var(--vermillion); }

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

nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(232,213,163,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover { color: var(--ochre-lt); }

#lang-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  background: transparent;
  border: 1px solid rgba(200,160,48,0.4);
  border-radius: var(--radius);
  color: rgba(232,213,163,0.7);
  cursor: pointer;
  transition: all 0.2s;
}
#lang-btn:hover {
  border-color: var(--ochre);
  color: var(--ochre-lt);
  background: rgba(200,160,48,0.08);
}

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

/* ── HUD ─────────────────────────────────────────────────────── */
#hud {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 820px;
  background: var(--indigo-dk);
  border: 1px solid rgba(200,160,48,0.25);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.Qbkqli {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 8px;
  border-right: 1px solid rgba(200,160,48,0.12);
}
.Qbkqli:last-child { border-right: none; }

.FCg54NUMeA {
  font-family: var(--font-body);
  font-size: 0.52rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(232,213,163,0.45);
  font-weight: 700;
}

.ZIP9g3YM {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ochre-lt);
  line-height: 1;
}

#net-hp-bar {
  width: 80px; height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 3px;
}
#net-hp-fill {
  height: 100%;
  background: var(--jade-lt);
  border-radius: 4px;
  transition: width 0.3s ease, background 0.3s;
  width: 100%;
}
#net-hp-fill.QVJOkvm { background: var(--vermillion); }

/* cast button */
#cast-btn {
  flex: 1.6;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--vermillion), var(--vermillion-lt));
  border: none;
  border-left: 1px solid rgba(200,160,48,0.2);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.12s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#cast-btn:hover  { background: linear-gradient(135deg, var(--vermillion-lt), #f08070); }
#cast-btn:active { transform: scaleY(0.96); }
#cast-btn.vpctVgVJlhB { background: linear-gradient(135deg, var(--wave), #3a7ab0); cursor: default; }
#cast-btn.UOwFqZmws { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.3); cursor: not-allowed; }

/* ── CANVAS WRAP ─────────────────────────────────────────────── */
#canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 820px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(200,160,48,0.3);
  box-shadow: var(--shadow), 0 0 60px rgba(10,20,60,0.6);
}

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

/* corner marks — woodblock style */
#canvas-wrap::before, #canvas-wrap::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--ochre);
  border-style: solid;
  z-index: 5; opacity: 0.45;
}
#canvas-wrap::before { top:6px; left:6px;   border-width: 2px 0 0 2px; }
#canvas-wrap::after  { bottom:6px; right:6px; border-width: 0 2px 2px 0; }

/* ── OVERLAY ─────────────────────────────────────────────────── */
#overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px; padding: 28px;
  background: rgba(10,16,35,0.93);
  backdrop-filter: blur(8px);
  transition: opacity 0.35s;
  z-index: 20;
}
#overlay.wsfoW619KD { opacity:0; pointer-events:none; }

.y0PAVBI {
  font-size: 4.5rem;
  animation: float-icon 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(200,160,48,0.3));
}
@keyframes float-icon {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-14px) rotate(3deg); }
}

.I7iARBe0NIM {
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ochre-lt);
  letter-spacing: 4px;
  text-align: center;
  text-shadow: 0 2px 20px rgba(200,160,48,0.4);
}

.isxLlazlIU5 {
  color: rgba(232,213,163,0.65);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  max-width: 380px;
  line-height: 1.65;
}

.xafKsQe {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 48px;
  background: transparent;
  border: 2px solid var(--ochre);
  border-radius: var(--radius);
  color: var(--ochre-lt);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(200,160,48,0.12);
  touch-action: manipulation;
}
.xafKsQe:hover {
  background: rgba(200,160,48,0.12);
  box-shadow: 0 0 40px rgba(200,160,48,0.3);
  transform: translateY(-2px);
}
.xafKsQe:active { transform: scale(0.97); }

.QniTNfx6Rzu {
  display: flex; gap: 14px;
  flex-wrap: wrap; justify-content: center;
}
.zDSMpZs9IJ {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600;
  color: rgba(232,213,163,0.55);
}
.ZNzyHrn { width:9px; height:9px; border-radius:50%; flex-shrink:0; }

/* ── SCORE FLASH ─────────────────────────────────────────────── */
#score-flash {
  position: absolute; left: 50%; top: 35%;
  transform: translateX(-50%);
  font-family: var(--font-title);
  font-size: 2rem; font-weight: 700;
  pointer-events: none; opacity: 0; z-index: 15;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
#score-flash.t4ND6Qn { animation: flash-up 1.2s ease-out forwards; }
@keyframes flash-up {
  0%   { opacity:1; transform:translateX(-50%) translateY(0) scale(1); }
  60%  { opacity:1; transform:translateX(-50%) translateY(-36px) scale(1.08); }
  100% { opacity:0; transform:translateX(-50%) translateY(-60px) scale(0.9); }
}

/* ── CURRENT INDICATOR ───────────────────────────────────────── */
#current-bar {
  display: flex; align-items: center; gap: 10px;
  width: 100%; max-width: 820px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(232,213,163,0.45);
}
#current-arrows { display: flex; gap: 4px; }
.f0CAWSM {
  width: 24px; height: 10px;
  background: url('T1i9Tp8IN/JgZGhRB/HMkj6kUCNa.svg') center/contain no-repeat;
  opacity: 0.5;
}

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

.nVu1GR {
  font-family: var(--font-title);
  font-size: 1.7rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--ochre-lt);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 16px;
}
.nVu1GR::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(200,160,48,0.4), transparent);
}

.WrZTs3gc5Y {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ly3TG19 {
  background: rgba(26,39,68,0.7);
  border: 1px solid rgba(200,160,48,0.15);
  border-radius: 6px; padding: 24px;
  position: relative; overflow: hidden;
}
.ly3TG19::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--vermillion), var(--ochre));
  opacity: 0.5;
}

.ly3TG19 h3 {
  font-family: var(--font-title);
  font-size: 0.85rem; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ochre); margin-bottom: 12px;
}

.ly3TG19 p, .ly3TG19 li {
  color: rgba(232,213,163,0.6);
  font-size: 0.9rem; line-height: 1.72;
}

.ly3TG19 ul {
  padding-left: 0; list-style: none;
  display: flex; flex-direction: column; gap: 5px;
}
.ly3TG19 li::before { content: '— '; color: var(--ochre); opacity: 0.6; }

.GuP9dd {
  display: grid; grid-template-columns: auto 1fr;
  gap: 8px 14px; align-items: center;
}
.IGLbcWS0hZ {
  background: rgba(200,160,48,0.08);
  border: 1px solid rgba(200,160,48,0.3);
  border-radius: 4px; padding: 3px 10px;
  font-family: var(--font-body); font-size: 0.75rem;
  font-weight: 700; color: var(--ochre-lt); white-space: nowrap;
}
.Ucn25nxfBy { color: rgba(232,213,163,0.55); font-size: 0.88rem; }

/* ── CONTACT ────────────────────────────────────────────────── */
#contact-section {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(200,160,48,0.15);
  padding: 48px 32px;
  max-width: 960px; margin: 0 auto;
}
.HH0FCr { display:flex; gap:14px; flex-wrap:wrap; }
.PTdY5YqkP {
  flex:1; min-width:180px;
  background: rgba(26,39,68,0.5);
  border: 1px solid rgba(200,160,48,0.12);
  border-radius: 6px; padding: 18px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.PTdY5YqkP .uOb3p2M {
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(200,160,48,0.45);
}
.PTdY5YqkP a, .PTdY5YqkP p {
  color: var(--ochre-lt); font-size: 0.9rem;
  font-weight: 600; text-decoration: none;
  transition: color 0.2s; word-break: break-all;
}
.PTdY5YqkP a:hover { color: var(--cream); }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  position: relative; z-index: 1;
  text-align: center; padding: 20px 16px;
  color: rgba(232,213,163,0.3); font-size: 0.75rem;
  letter-spacing: 1px; border-top: 1px solid rgba(200,160,48,0.1);
  font-family: var(--font-body); text-transform: uppercase;
}
footer a { color: rgba(232,213,163,0.3); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  header { padding: 10px 16px; }
  .YJ2sj28  { font-size: 1.25rem; }
  nav    { gap: 16px; }
  #game-section { padding: 14px 10px 40px; gap: 10px; }
  .WrZTs3gc5Y   { grid-template-columns: 1fr; }
  #about-section { padding: 48px 16px; }
  #contact-section { padding: 36px 16px; }
  .I7iARBe0NIM { font-size: 2rem; }
}

@media (max-width: 480px) {
  header { padding: 8px 12px; gap: 6px; flex-wrap: wrap; }
  .YJ2sj28  { font-size: 1.1rem; }
  nav a  { display: none; }
  nav a.mlHoPr { display: block; }
  #lang-btn { font-size: 0.68rem; padding: 5px 10px; }

  #hud { flex-wrap: wrap; }
  .Qbkqli { min-width: calc(33% - 2px); padding: 8px 4px; }
  .ZIP9g3YM { font-size: 1.15rem; }
  #cast-btn { width: 100%; border-left: none; border-top: 1px solid rgba(200,160,48,0.15); padding: 14px; }

  .I7iARBe0NIM { font-size: 1.6rem; letter-spacing: 2px; }
  .isxLlazlIU5   { font-size: 0.85rem; }
  .xafKsQe   { padding: 12px 28px; font-size: 0.9rem; }
  .y0PAVBI  { font-size: 3.5rem; }

  .ly3TG19 { padding: 16px 14px; }
  .nVu1GR { font-size: 1.25rem; }
  .GuP9dd { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 360px) {
  .YJ2sj28 { font-size: 0.95rem; }
  .ZIP9g3YM { font-size: 1rem; }
  .I7iARBe0NIM { font-size: 1.3rem; }
}

@media (hover: none) {
  #cast-btn:hover, .xafKsQe:hover { transform: none; }
  #cast-btn:active  { transform: scaleY(0.97); }
  .xafKsQe:active { transform: scale(0.97); }
}


/* ===== Net Drop Lotus second style batch — fixed logic preserved ===== */
body {
  background:
    radial-gradient(circle at 16% 12%, #95d5b222, transparent 28%),
    radial-gradient(circle at 86% 20%, #ffe8a820, transparent 30%),
    linear-gradient(180deg, var(--indigo-dk), var(--indigo) 54%, var(--navy));
}
.YJ2sj28 {
  letter-spacing: .055em;
}
.YJ2sj28::before {
  content:'';
  width:31px;
  height:31px;
  display:inline-block;
  margin-right:10px;
  background:url('../T1i9Tp8IN/JgZGhRB/ko7dHES.svg') center/contain no-repeat;
  vertical-align:-7px;
}
header {
  border-bottom-color:#ffe8a855;
}
#canvas-wrap {
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 22px 60px #95d5b220;
}
.ly3TG19, .PTdY5YqkP, .Qbkqli {
  border-radius: var(--radius);
  box-shadow: 0 16px 42px #95d5b218;
}
.I7iARBe0NIM, .nVu1GR {
  text-shadow:0 0 26px #ffe8a838;
}
#cast-btn, .xafKsQe {
  border-radius: calc(var(--radius) + 10px);
}
#current-bar {
  border-color:#95d5b255;
}
.zDSMpZs9IJ {
  border-radius: calc(var(--radius) + 5px);
}
