:root {
  --bg-1: #0f172a;
  --bg-2: #071029;
  --bg-3: #3f9bfe;
  --accent: #E46362;
  --accent2: #F9C462;
  --accent3: #6aade0;
  --accent4: #82a996;
  --accent5: #bcac9c;
  --muted: #9aa4b2;
  --glass: rgba(255,255,255,0.06);
  --title: #e6eef8;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #bcc9e9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  margin: 0 auto;
  padding: 0 30px;
}

.site-header {
  height: 60px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--accent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav a {
  text-decoration: none;
  margin-right: 12px;
  font-weight: 600;
  color: var(--title);
}

.site-title {
  letter-spacing: -0.02em;
  font-size: 20px;
  color: var(--title);
}

.header-nav a:hover {
  color: var(--accent2);
}

.header-nav a + a::before {
  content: " | ";
  margin-right: 12px;
  color: var(--title);
  opacity: 0.9;
  display: inline-block;
  pointer-events: none;
}

.header-nav a:hover::before,
.header-nav a:hover + a::before {
  color: var(--title);
}

.header-left {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 30px;
  margin-top: -2px;
  margin-right: 12px;
}

.banner {
  position: fixed;
  width: 100%;
  height: auto;
  overflow: hidden;
  pointer-events: none;
}

.banner > img {
  width: 100%;
  height: auto;
  display: block;
}

.cards {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 13.65%;
  height: auto;
  z-index: 1;
}

.card {
  position: absolute;
  width: 100%;
  height: auto;
  transform-origin: bottom center;
  border-radius: 16px;
  border: 2px solid black;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

.card1 {
  transform: rotate(-12deg) translateX(2%);
  z-index: 3;
}

.card2 {
  transform: rotate(5deg) translateX(-2%);
  z-index: 2;
}

.stickers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sticker {
  position: absolute;
  height: auto;
}

.boost {
  top: 38%;
  left: 7%;
  width: 3%;
  transform: rotate(100deg);
}

.drone {
  top: 33%;
  left: 40.5%;
  width: 4.8%;
  transform: rotate(50deg);
}

.puzzle {
  bottom: 12%;
  left: 9%;
  width: 5.1%;
  transform: rotate(-5deg);
}

.rocket {
  bottom: 10%;
  left: 40%;
  width: 2.4%;
  transform: rotate(-70deg);
}

.frog {
  bottom: 30%;
  left: 48.5%;
  width: 3.6%;
  transform: rotate(-30deg);
}

.content {
  position: relative;
  z-index: 10;
  background: #bcc9e9;
}

.content2 {
  background: linear-gradient(180deg, var(--bg-1) 0%, rgba(14,23,40,0.8) 40%, var(--bg-2) 100%);
  border-radius: 20px 20px 0 0;
}

.hero {
  padding: 84px 0 48px 0;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-title {
  font-size: clamp(32px, 6vw, 72px);
  line-height: 0.95;
  margin: 0;
  background: linear-gradient(90deg, #fff, #cbd6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 18px);
  margin: 0;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.btn {
  flex: 0 0 auto;
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-1 { background: var(--accent); }
.btn-2 { background: var(--accent2); }
.btn-3 { background: var(--accent3); }

.gallery-section {
  padding: 20px 0;
  overflow-x: auto;
  position: relative;
}
.gallery-section::-webkit-scrollbar { display: none; }

.gallery-grid {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-grid::after {
  content: "";
  flex: 0 0 30px;
}

.gallery-container {
  margin: 0 auto;
  padding: 0 5%;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 0 0;
}

.gallery-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.gallery-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent2) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  width: max-content;
}

.gallery-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  opacity: 0.95;
}

.gallery-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: min(210px, 30vw);
  aspect-ratio: 195/422;
  scroll-snap-align: center;
  box-shadow: 0 10px 40px rgba(2,6,23,0.6);
  transition: transform 300ms cubic-bezier(.2,.9,.2,1), box-shadow 300ms;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #071226;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.03) rotateX(4deg);
  box-shadow: 0 22px 60px rgba(2,6,23,0.75);
}

@media (min-width: 900px) {
  .gallery-section .gallery-item { width: min(260px, 28vw) }
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 70;
  visibility: hidden;
  opacity: 0;
  transition: opacity 200ms;
}

.lightbox[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.85), rgba(2,6,23,0.95));
  backdrop-filter: blur(6px);
}

.lightbox-body {
  position: relative;
  z-index: 72;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-body img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(2,6,23,0.7);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: relative;
  z-index: 73;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  padding: 12px;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 75;
}

.lightbox-prev { left: 24px }
.lightbox-next { right: 24px }
.lightbox-close { position: absolute; top: 22px; right: 22px }

@media (max-width: 720px) {
  .header-nav { display: none }
  .gallery-item { width: min(160px, 44vw) }
  .hero { padding: 56px 0 28px }
}
