:root {
  --cream: #fef9ee;
  --dark:  #141830;
  --ink:   #16162a;
  --sky2:  #34b8d6;
  --gold:  #4ecb71;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: #16162a;
  overflow-x: hidden;
  background: var(--ink);
  position: relative;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99998;
  padding: 18px 44px;
  display: flex;
  justify-content: flex-end;
  transition: background .4s, backdrop-filter .4s;
}
nav.stuck {
  background: rgba(18, 18, 38, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.nav-links a:hover { color: rgba(255,255,255,0.6); }

#hero-clip {
  position: relative;
  height: calc(100vh + 120px);
  min-height: 580px;
  overflow: hidden;
}
#hero {
  position: relative;
  height: calc(100vh + 120px);
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: linear-gradient(180deg, #8de0f6 0%, #4cc8e8 45%, #68d2ed 75%, #aaeaf7 100%);
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 70% 30% at 50% 0%, rgba(255,246,172,.18) 0%, transparent 55%);
}

.wave-hero-bot {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
  pointer-events: none;
  z-index: 5;
}
.wave-hero-bot svg { display: block; width: 100%; }

.hero-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  padding: 0 24px;
  margin-top: -16vh;
}
.logo-img {
  width: 300px;
  max-width: 70vw;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.2));
  animation: logoFloat 5.5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-.4deg); }
  50%       { transform: translateY(-14px) rotate(.4deg); }
}

.hero-tag {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: #fff;
  text-shadow: 1px 2px 0 rgba(0,0,0,.2);
  letter-spacing: .02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-tag-sub {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-tag-main {
  font-family: 'Lilita One', cursive;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  max-width: 560px;
  line-height: 1.4;
  text-align: center;
  color: #fff;
  text-shadow: 2px 3px 0 rgba(0,0,0,.25);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  border-radius: 50px;
  padding: 13px 30px;
  text-decoration: none;
  box-shadow: 0 5px 22px rgba(0,0,0,.28);
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.hero-btn:hover {
  background: var(--sky2);
  color: var(--ink);
  transform: translateY(-3px);
}

.scroll-hint {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: .5;
  animation: shBounce 2.5s ease-in-out infinite;
}
@keyframes shBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.cloud-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.cl-img {
  position: absolute;
  user-select: none;
  pointer-events: none;
  will-change: transform, opacity;
}

#about {
  position: relative;
  z-index: 50;
  background: var(--cream);
  overflow: hidden;
  padding: 60px 40px 160px;
}
#about .cloud-layer { overflow: hidden; }

.wave-about-bot {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
  pointer-events: none;
  z-index: 5;
}
.wave-about-bot svg { display: block; width: 100%; }

.sec-inner { position: relative; z-index: 5; }

.about-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sky2);
  margin-bottom: 14px;
}
.about-inner h2 {
  font-family: 'Lilita One', cursive;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
}
.about-inner h2 em { color: var(--sky2); font-style: normal; }
.about-inner p {
  font-size: 1.02rem;
  line-height: 1.9;
  color: #4a4a6e;
}

#bigloot {
  position: relative;
  z-index: 20;
  background: #141830;
  overflow: hidden;
  margin-top: -100px;
  padding-top: 100px;
}
.bl-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 40px 76px;
  position: relative;
  z-index: 5;
}

.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 4px 13px;
  font-size: .72rem;
  font-weight: 800;
  color: rgba(255,255,255,.65);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tag.g {
  background: rgba(78,203,113,.12);
  border-color: rgba(78,203,113,.36);
  color: var(--gold);
}

.game-hero {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.game-capsule-img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 80%;
}
.game-info {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.game-title {
  font-family: 'Lilita One', cursive;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
  text-shadow: 0 4px 20px rgba(78,203,113,.25);
}
.game-divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  margin: 18px 0 20px;
}
.bl-desc p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,.62);
  margin-bottom: 14px;
}
.bl-desc p:last-child { margin-bottom: 0; }
.bl-desc p strong { color: var(--gold); }

.game-media { padding: 24px 32px 32px; }
.media-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 12px;
}

.ss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  margin-bottom: 24px;
}
.ss-card {
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.35);
  aspect-ratio: 16/9;
  cursor: zoom-in;
  position: relative;
  transition: border-color .2s, transform .22s;
}
.ss-card.wide { grid-column: 1 / 3; aspect-ratio: 21/9; }
.ss-card:hover { border-color: rgba(78,203,113,.4); transform: scale(1.018); }
.ss-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-card .zoom-icon {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(0,0,0,.55);
  border-radius: 6px;
  padding: 4px 6px;
  opacity: 0;
  transition: opacity .2s;
}
.ss-card:hover .zoom-icon { opacity: 1; }

.gifs-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gif-card {
  flex: 1;
  min-width: 220px;
  max-width: 380px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.35);
  aspect-ratio: 16/9;
  position: relative;
}
.gif-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gif-label {
  position: absolute;
  bottom: 8px; left: 10px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.lb {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.lb.open { display: flex; }
.lb img { max-width: 90vw; max-height: 90vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.8); }
.lb-close {
  position: absolute;
  top: 20px; right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: .04em;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.22); }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: background .2s;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }

body.lb-open .scroll-hint    { display: none; }
body.lb-open .cloud-layer    { display: none; }
body.lb-open .wave-about-bot { display: none; }
body.lb-open #bigloot::before { display: none; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: .95rem;
  border-radius: 50px;
  padding: 15px 30px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 22px rgba(78,203,113,.3);
  transition: transform .2s, box-shadow .2s;
}
.btn-gold:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 34px rgba(78,203,113,.4); }

.btn-trailer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  border-radius: 50px;
  padding: 13px 24px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-trailer:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); }

.wave-bigloot-bot { position: relative; line-height: 0; pointer-events: none; margin-bottom: -1px; }
.wave-bigloot-bot svg { display: block; width: 100%; }

#contact {
  position: relative;
  z-index: 10;
  background: var(--ink);
  overflow: hidden;
  padding: 76px 40px 54px;
  text-align: center;
}
#contact h2 {
  font-family: 'Lilita One', cursive;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: #fff;
  margin-bottom: 12px;
}
#contact .sec-inner > p {
  color: rgba(255,255,255,.45);
  font-size: .92rem;
  line-height: 1.72;
  margin-bottom: 32px;
}
.srow { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 50px;
  padding: 10px 22px;
  color: rgba(255,255,255,.75);
  font-weight: 800;
  font-size: .86rem;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.sb:hover { background: var(--sky2); border-color: var(--sky2); color: #fff; }

.copy { margin-top: 48px; color: rgba(255,255,255,.7); font-size: .74rem; letter-spacing: .05em; }
#contact .cloud-layer { overflow: hidden; }

.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.rv.d1 { transition-delay: .12s; }
.rv.d2 { transition-delay: .24s; }
.rv.in { opacity: 1; transform: none; }