body {
  margin: 0;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Exo 2', 'Segoe UI', sans-serif;
  background-color: #0d0d0d;
  background-image: linear-gradient(rgba(7, 10, 15, 0.72), rgba(7, 10, 15, 0.72)), url('/images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
}

.mini-title {
  margin: 1rem auto 0;
  width: min(calc(100% - 2rem), 96rem);
  max-width: calc(100% - 8rem);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  line-height: 1.5;
  text-align: center;
  opacity: 0.92;
  color: #8FA3BF;
  padding: clamp(0.65rem, 1vw, 0.8rem) clamp(0.9rem, 1.4vw, 1rem);
  border-radius: 12px;
  background: rgba(10, 18, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.scroll-container {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}

.panel {
  min-width: 100vw;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 4vw, 4rem) clamp(2rem, 4vw, 4rem);
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
}

.panel-header {
  width: min(calc(80vw + clamp(1rem, 2vw, 2rem)), calc(84rem + clamp(1rem, 2vw, 2rem)));
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.left img {
  width: min(40vw, 42rem);
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
  transition: transform 0.22s ease;
  cursor: zoom-in;
}

.left:hover img {
  transform: scale(1.03);
}

.left {
  width: min(40vw, 42rem);
  margin-top: 0;
}

.right {
  width: min(40vw, 42rem);
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.right h1 {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  letter-spacing: 0.04em;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.right p {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.tagline {
  margin-top: 0;
}

.btn {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  letter-spacing: 0.04em;
  display: inline-block;
  padding: clamp(0.7rem, 1vw, 0.8rem) clamp(1.2rem, 1.8vw, 1.6rem);
  background: rgba(92, 200, 255, 0.2);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: rgba(92, 200, 255, 0.34);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.scroll-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(40px, 4vw, 48px);
  height: clamp(40px, 4vw, 48px);
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}

.scroll-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.04);
}

.scroll-btn-left {
  left: 1rem;
}

.scroll-btn-right {
  right: 1rem;
}

.app-description {
  margin-top: clamp(1rem, 1.8vw, 1.4rem);
  margin-bottom: 0;
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  line-height: 1.6;
  opacity: 0.88;
  max-width: 40ch;
}

.screenshot-description {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  letter-spacing: 0.02em;
  font-weight: 500;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  width: 100%;
  max-width: min(calc(80vw + clamp(1rem, 2vw, 2rem)), calc(84rem + clamp(1rem, 2vw, 2rem)));
  margin-top: 0;
  margin-bottom: 0;
  font-size: clamp(0.8rem, 0.95vw, 0.88rem);
  line-height: 1.55;
  opacity: 0.9;
  white-space: pre-line;
  color: #5CC8FF;
  padding: clamp(0.85rem, 1.2vw, 1rem) clamp(1rem, 1.5vw, 1.2rem);
  border-radius: 14px;
  background: rgba(10, 18, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.image-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 30;
  cursor: zoom-out;
  padding: 2rem;
  box-sizing: border-box;
}

.image-overlay.open {
  display: flex;
}

.overlay-image {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.site-footer {
  text-align: center;
  padding: 0.5rem 1rem clamp(0.85rem, 1.5vw, 1rem);
  margin-top: 0;
  font-size: clamp(0.72rem, 0.9vw, 0.8rem);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.03em;
}

.panel-footer {
  width: 100%;
  max-width: min(calc(80vw + clamp(1rem, 2vw, 2rem)), calc(84rem + clamp(1rem, 2vw, 2rem)));
  margin-top: clamp(0.5rem, 1vw, 0.85rem);
  padding-bottom: 0;
}

@media (max-width: 1100px) {
  .panel-header {
    gap: 1.5rem;
  }

  .left,
  .right {
    width: min(46vw, 100%);
  }

  .left img {
    width: 100%;
  }
}

@media (max-width: 760px) {
  body {
    background-attachment: scroll;
  }

  .mini-title {
    width: calc(100% - 1rem);
    max-width: none;
    margin-top: 0.75rem;
  }

  .scroll-container {
    overflow-x: auto;
  }

  .panel {
    padding: 1rem;
    gap: 0.85rem;
  }

  .panel-header {
    width: 100%;
    gap: 1rem;
  }

  .left,
  .right {
    width: 100%;
    margin-top: 0;
  }

  .screenshot-description {
    max-width: none;
    margin-bottom: 0.85rem;
  }

  .left img {
    width: 100%;
  }

  .right h1 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .scroll-btn {
    width: 40px;
    height: 40px;
  }

  .scroll-btn-left {
    left: 0.5rem;
  }

  .scroll-btn-right {
    right: 0.5rem;
  }

  .screenshot-description {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .mini-title {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .panel {
    padding: 0.85rem;
  }

  .right h1 {
    font-size: 1.5rem;
  }

  .btn {
    font-size: 0.85rem;
  }

  .screenshot-description {
    padding: 0.8rem 0.9rem;
  }

  .site-footer {
    font-size: 0.68rem;
    padding-bottom: 0.75rem;
  }
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
