* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
:root {
  --zonetop: 15,102,116;
  --zonebot: 8,50,72;
  --tealc: #1fb8b0;
  --coralc: #ff8a5c;
  --foamc: #eaf7f5;
  --sandc: #ffd68a;
  --inkc: #0b2e40;
  --glow: #4dfcf0;
  --glassc: rgba(234, 247, 245, 0.85);
}
body { font-family: 'Nunito', sans-serif; background: #04141f; color: var(--foamc); min-height: 100vh; }
.seabg { position: fixed; inset: 0; overflow: hidden; z-index: 0; background: linear-gradient(180deg, rgb(var(--zonetop)) 0%, rgb(var(--zonebot)) 100%); }
.rays { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.1) 0%, transparent 10%, transparent 22%, rgba(255,255,255,.06) 30%, transparent 42%); animation: rshift 12s ease-in-out infinite alternate; opacity: .6; }
@keyframes rshift { from { transform: translateX(-5%); } to { transform: translateX(5%); } }
.fishlayer { position: absolute; inset: 0; }
.back { opacity: .35; filter: blur(1.5px); }
.mid { opacity: .55; filter: blur(.5px); }
.front { opacity: .9; }
.fw { position: absolute; left: -15%; animation-name: swim; animation-timing-function: ease-in-out; animation-iteration-count: infinite; will-change: left; }
.fw.rev { animation-direction: reverse; }
@keyframes swim { 0% { left: -15%; } 50% { left: 50%; } 100% { left: 115%; } }
svg.fsh { width: 100%; height: auto; display: block; fill: currentColor; }
svg.fsh.flip { transform: scaleX(-1); }
svg.glowfish { filter: drop-shadow(0 0 6px currentColor); }
svg.anglerfsh { filter: drop-shadow(0 0 8px currentColor); }
.anglerfsh .lure { fill: var(--glow); animation: lurepulse 2.2s ease-in-out infinite; }
@keyframes lurepulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
.bub { position: absolute; inset: 0; }
.bub span { position: absolute; bottom: -40px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.05) 70%); animation-name: rise; animation-timing-function: ease-in; animation-iteration-count: infinite; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .8; } 100% { transform: translate(10px, -110vh); opacity: 0; } }
.weeds { position: absolute; bottom: 0; left: 0; right: 0; height: 110px; display: flex; justify-content: space-evenly; align-items: flex-end; opacity: .5; }
.weeds span { display: block; width: 14px; background: linear-gradient(var(--tealc), #083248); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform-origin: bottom center; animation: sway 5s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.gauge { position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.gauge-label { text-align: center; font-size: .62rem; letter-spacing: .04em; line-height: 1.4; color: var(--foamc); opacity: .85; text-shadow: 0 1px 4px rgba(0,0,0,.6); display: flex; flex-direction: column; }
.gauge-zone { font-family: 'Baloo 2', sans-serif; font-weight: 700; text-transform: uppercase; font-size: .58rem; }
.gauge-depth { font-weight: 700; }
.gauge-track { position: relative; width: 6px; height: 46vh; border-radius: 6px; background: linear-gradient(180deg, #7fe8e2, #1fb8b0 35%, #0b3d59 70%, #030a10 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.gauge-marker { position: absolute; left: 50%; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--foamc); box-shadow: 0 0 8px rgba(255,255,255,.9), 0 0 0 3px rgba(31,184,176,.4); transform: translate(-50%, -50%); }
@media (max-width: 420px) { .gauge-label { display: none; } .gauge-track { height: 38vh; } .gauge { right: 5px; } }
.app { position: relative; z-index: 1; max-width: 430px; margin: 0 auto; min-height: 100vh; padding: 40px 20px 0; display: flex; flex-direction: column; gap: 30px; }
.hero { text-align: center; }
.hero .porthole, .hero .nm, .hero .tag, .hero .scrollcue { opacity: 0; animation: risein .8s ease forwards; }
.hero .porthole { animation-delay: .05s; }
.hero .nm { animation-delay: .25s; }
.hero .tag { animation-delay: .45s; }
.hero .scrollcue { animation-delay: .65s; }
@keyframes risein { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.porthole { width: 150px; height: 150px; margin: 0 auto 18px; border-radius: 50%; border: 6px solid var(--foamc); box-shadow: 0 0 0 4px #083248, 0 0 0 10px var(--tealc), 0 12px 34px rgba(0,0,0,.5), inset 0 0 24px rgba(0,0,0,.4); overflow: hidden; cursor: pointer; }
.pfp { width: 100%; height: 100%; object-fit: cover; display: block; }
.nm { font-family: 'Baloo 2', sans-serif; font-size: clamp(1.7rem, 8vw, 2.3rem); line-height: 1.15; color: var(--foamc); text-shadow: 0 0 24px rgba(79,252,240,.35); }
.nm span { color: var(--sandc); }
.tag { margin-top: 10px; font-weight: 700; color: var(--tealc); letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; }
.scrollcue { margin-top: 34px; font-size: .72rem; letter-spacing: .05em; color: var(--foamc); opacity: .7; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scrollcue span { width: 10px; height: 10px; border-right: 2px solid var(--foamc); border-bottom: 2px solid var(--foamc); transform: rotate(45deg); animation: bounce 2s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes bounce { 0%,100% { transform: rotate(45deg) translate(0,0); } 50% { transform: rotate(45deg) translate(5px,5px); } }
.idcard { position: relative; background: linear-gradient(135deg, var(--glassc), rgba(234,247,245,.6)); backdrop-filter: blur(10px); border: 2px dashed rgba(4,20,31,.25); border-radius: 22px; padding: 28px 22px 20px; color: var(--inkc); box-shadow: 0 14px 32px rgba(0,0,0,.35); overflow: hidden; }
.idcard::before { content: ''; position: absolute; top: -60%; left: -40%; width: 60%; height: 220%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent); transform: rotate(20deg) translateX(0); animation: shine 5s ease-in-out infinite; will-change: transform; }
@keyframes shine { 0% { transform: rotate(20deg) translateX(0); } 45%, 100% { transform: rotate(20deg) translateX(340%); } }
.hole { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: #04141f; box-shadow: inset 0 2px 4px rgba(0,0,0,.6); }
.idlabel { text-align: center; font-family: 'Baloo 2', sans-serif; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; color: #0f5470; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.facts dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--tealc); font-weight: 700; }
.facts dd { font-size: .96rem; font-weight: 700; margin-top: 3px; }
.idfoot { text-align: center; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #083248; opacity: .6; margin-top: 20px; }
.log { position: relative; background: repeating-linear-gradient(var(--foamc) 0 32px, rgba(4,20,31,.06) 32px 33px), linear-gradient(var(--foamc), #dff2f0); border-radius: 4px 20px 20px 20px; padding: 30px 24px 26px; color: var(--inkc); box-shadow: 0 16px 36px rgba(0,0,0,.4); }
.logtag { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: #0f5470; font-weight: 700; margin-bottom: 8px; }
.log h2 { font-family: 'Baloo 2', sans-serif; font-size: clamp(1.15rem, 5.5vw, 1.4rem); margin-bottom: 16px; color: #083248; }
.log p { font-size: .93rem; line-height: 1.7; margin-bottom: 15px; }
.log .sig { font-family: 'Baloo 2', sans-serif; font-style: italic; text-align: right; color: #0f5470; margin-bottom: 0; }
.stamp { position: absolute; top: -16px; right: 16px; width: 88px; height: 88px; border-radius: 50%; border: 3px dashed var(--coralc); color: var(--coralc); font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: .58rem; text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.25; transform: rotate(-10deg); background: rgba(255,255,255,.55); }
.abyss { position: relative; padding: 10px 4px 30px; text-align: center; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.glowfield { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px 3px var(--glow); animation: flicker 3.4s ease-in-out infinite; }
@keyframes flicker { 0%,100% { opacity: .25; transform: scale(1); } 50% { opacity: 1; transform: scale(1.6); } }
.abyss-eyebrow { position: relative; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--glow); font-weight: 700; margin-bottom: 10px; }
.abyss h2 { position: relative; font-family: 'Baloo 2', sans-serif; font-size: clamp(1.2rem, 6vw, 1.5rem); margin-bottom: 14px; text-shadow: 0 0 20px rgba(79,252,240,.4); }
.abyss p { position: relative; font-size: .92rem; line-height: 1.7; color: rgba(234,247,245,.85); max-width: 340px; margin: 0 auto; }
.foot { text-align: center; font-size: .85rem; opacity: .8; padding: 10px 0 40px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.surfacebtn { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .04em; color: #04141f; background: var(--foamc); border: none; padding: 10px 22px; border-radius: 999px; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.35); transition: transform .2s ease, box-shadow .2s ease; }
.surfacebtn:active { transform: translateY(2px); box-shadow: 0 4px 12px rgba(0,0,0,.35); }
@media (prefers-reduced-motion: reduce) { .fw, .bub span, .weeds span, .rays, .glow, .hero .porthole, .hero .nm, .hero .tag, .hero .scrollcue, .idcard::before { animation: none !important; opacity: 1 !important; } }
