:root {
  --sky: #b3e6ff;
  --ocean: #7fd6f7;
  --sand: #ffe5b4;
  --storm: #232a36;
  --white: #fff;
  --red: #e53935;
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --radius: 1.5rem;
  --blocky: 'Press Start 2P', 'VT323', monospace;
}

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

html, body {
  margin: 0; padding: 0; min-height: 100%;
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(var(--sky), var(--ocean) 80%);
  background-color: var(--sky);
  color: #222;
  scroll-behavior: smooth;
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
}

body {
  display: flex; flex-direction: column; min-height: 100vh;
  background: none;
}

header {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.3rem 1rem 0 1rem;
}

.logo {
  width: 220px; max-width: 60vw; height: auto;
  margin: 0 auto;
  display: block;
  transition: width 0.2s;
}

@media (max-width: 600px) {
  .logo { width: 140px; }
}

.hero {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0rem 1rem 1.2rem 1rem;
  gap: 1.2rem;
  position: relative;
  min-height: 45vh;
}

.clouds {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  background: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" xmlns="http://www.w3.org/2000/svg"><ellipse cx="20%25" cy="30%25" rx="80" ry="30" fill="%23fff" fill-opacity="0.18"/><ellipse cx="60%25" cy="60%25" rx="100" ry="40" fill="%23fff" fill-opacity="0.13"/><ellipse cx="80%25" cy="20%25" rx="60" ry="20" fill="%23fff" fill-opacity="0.10"/></svg>');
  animation: cloudmove 24s linear infinite;
}

@keyframes cloudmove {
  0% { background-position-x: 0; }
  100% { background-position-x: 200px; }
}

.title {
  font-family: var(--blocky);
  font-size: 2.8rem;
  letter-spacing: 0.05em;
  color: var(--storm);
  text-shadow: 2px 4px 0 var(--white), 0 2px 8px #0002;
  margin: 0;
  z-index: 1;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--red);
  margin: 0;
  z-index: 1;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px #fff8;
}

.store-btn {
  display: inline-block;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.5rem 1.5rem 0.5rem 1.2rem;
  margin: 0;
  transition: transform 0.1s;
  border: none;
  text-decoration: none;
}

.store-btn:hover, .store-btn:focus {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}

.store-badge {
  height: 40px; width: auto; vertical-align: middle;
  display: inline-block;
}

.store-label {
  font-size: 0.95rem;
  color: #333;
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.now-available {
  font-size: 1rem;
  color: var(--storm);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}

main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screenshots {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.2rem 0 1.2rem 0;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

@media (max-width: 800px) {
  .screenshots { grid-template-columns: 1fr; }
}

.screenshot-img {
  width: 120px;
  max-width: 10vw;
  min-width: 40px;
  border-radius: 0.7rem;
  box-shadow: 0 4px 18px 0 #0002;
  background: var(--white);
  padding: 0.5rem;
  object-fit: cover;
  transition: box-shadow 0.15s;
  aspect-ratio: 9/19.5;
  flex-shrink: 0;
  cursor: pointer;
}

.screenshot-img:hover, .screenshot-img:focus {
  box-shadow: 0 8px 32px 0 #0003;
}

footer {
  background: transparent;
  padding: 1.2rem 1.2rem 1.2rem 1.2rem;
  text-align: center;
  font-size: 0.98rem;
  color: #444;
  letter-spacing: 0.01em;
  box-sizing: border-box;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.footer-link {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: text-decoration 0.1s;
}

.footer-link:hover, .footer-link:focus {
  text-decoration: underline;
}

/* Lightbox styles */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(20, 24, 32, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.2s;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px 0 #0008;
  background: var(--white);
  padding: 0.5rem;
  object-fit: contain;
  outline: none;
}

.lightbox-close {
  position: absolute;
  top: 2.5vh;
  right: 3vw;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 1001;
  padding: 0.2em 0.5em;
  border-radius: 0.3em;
  transition: background 0.15s;
}

.lightbox-close:hover, .lightbox-close:focus {
  background: rgba(255,255,255,0.12);
}

.hero-plane-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
}

.hero-plane {
  width: 120px;
  max-width: 22vw;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.10));
  margin-top: 0;
  padding-top: 0;
}

@media (max-width: 600px) {
  .hero-plane { width: 110px; max-width: 65vw; }
  .hero-plane-wrapper { margin: 0; }
}

@media (max-width: 500px) {
  .title { font-size: 1.5rem; }
  .tagline { font-size: 1rem; }
  .screenshots { gap: 1rem; }
  .screenshot-img { border-radius: 0.7rem; }
} 