* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: #1a1a1a;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}
.container {
  width: 100%;
  min-height: 100vh;
  padding: 15px;
  display: flex;
  flex-direction: column;
}
.header { margin-top: 10px; }
.description {
  color: #FF007F;
  font-size: 24px;
  text-align: center;
  margin-top: 100px;
  font-weight: 500;
}
.main-image-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}
.scrolling-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  animation: scrollBackground var(--scroll-seconds, 30s) linear infinite;
  background: linear-gradient(
    180deg,
    #fff4f6 0%,
    #ff9aab 20%,
    #fe4e60 42%,
    #ffe3e8 58%,
    #ff335c 78%,
    #fff4f6 100%
  );
}
.scrolling-images.is-paused { animation: none; }
.bg-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  background: transparent;
}
.bg-grid + .bg-grid { margin-top: 4px; }
.bg-row {
  display: grid;
  gap: 4px;
  width: 100%;
}
.bg-row img {
  width: 100%;
  height: 280px;
  object-fit: fill;
  display: block;
}
.bg-row.is-banner { display: block; }
.bg-row.is-banner img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: fill;
}
@keyframes scrollBackground {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.left-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: auto;
}
.title-text {
  width: 300px;
  color: #fe4e60;
  font-style: italic;
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 4px 8px rgba(0,0,0,0.7);
  letter-spacing: 2px;
  font-family: 'Montserrat', sans-serif;
}
.left-image-text-container {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
.left-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.left-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.text-label {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  font-style: italic;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  flex: 1;
  text-align: left;
}
.thumbnails {
  position: fixed;
  bottom: 125px;
  left: 0;
  width: 100%;
  display: flex;
  gap: 5px;
  z-index: 5;
  overflow-x: auto;
  scrollbar-width: none;
}
.thumbnails::-webkit-scrollbar { display: none; }
.thumbnails-container {
  display: flex;
  gap: 5px;
  animation: scroll 20s linear infinite;
  flex-shrink: 0;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.thumbnail {
  width: 120px;
  height: 200px;
  border-radius: 16px;
  object-fit: fill;
  border: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  flex: 0 0 120px;
}
.download-button {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  z-index: 99999 !important;
  background: linear-gradient(145deg, #ff5a70, #fe2f50);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  min-width: 240px;
  height: 75px;
  box-shadow:
    0 8px 30px rgba(254,78,96,0.7),
    0 0 40px rgba(255,60,80,0.8),
    0 0 60px rgba(255,100,120,0.6),
    inset 0 -4px 10px rgba(0,0,0,0.2),
    inset 0 4px 10px rgba(255,255,255,0.2);
  transition: all 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
  text-decoration: none;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform, box-shadow;
  -webkit-font-smoothing: antialiased;
  animation: glowPulse 2.2s infinite ease-in-out;
}
.download-button span {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  text-shadow: 0 3px 8px rgba(0,0,0,0.4);
  letter-spacing: 1.5px;
  z-index: 2;
}
.download-frame { position: absolute; width: 0; height: 0; border: 0; visibility: hidden; }
.download-modal {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(0, 0, 0, .55);
}
.download-modal[hidden] { display: none; }
.download-modal-card {
  position: relative; width: min(320px, 100%);
  background: #fff; color: #1a1a1a; text-align: center;
  border-radius: 20px; padding: 28px 20px 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.download-modal-card img {
  width: 280px; height: 160px; max-width: 100%; object-fit: contain; object-position: center;
  border-radius: 14px; margin: 0 auto 14px; display: block;
}
.download-modal-card h2 { margin: 0 0 8px; font-size: 22px; font-style: italic; font-weight: 900; color: #fe4e60; }
.download-modal-card p { margin: 0; font-size: 14px; line-height: 1.5; color: #333; }
.download-modal-close {
  position: absolute; top: 8px; right: 10px; border: 0; background: transparent;
  color: #666; font-size: 22px; line-height: 1; cursor: pointer;
}
.download-button:hover {
  transform: translateX(-50%) scale(1.08) translateZ(0);
  box-shadow:
    0 12px 40px rgba(254,78,96,0.9),
    0 0 55px rgba(255,60,80,1),
    0 0 80px rgba(255,100,120,0.8),
    inset 0 -4px 10px rgba(0,0,0,0.25),
    inset 0 4px 10px rgba(255,255,255,0.25);
}
@keyframes glowPulse {
  0%,100% {
    box-shadow:
      0 8px 30px rgba(254,78,96,0.7),
      0 0 40px rgba(255,60,80,0.8),
      0 0 60px rgba(255,100,120,0.6),
      inset 0 -4px 10px rgba(0,0,0,0.2),
      inset 0 4px 10px rgba(255,255,255,0.2);
  }
  50% {
    box-shadow:
      0 10px 35px rgba(254,78,96,0.9),
      0 0 50px rgba(255,60,80,1),
      0 0 75px rgba(255,100,120,0.8),
      inset 0 -4px 10px rgba(0,0,0,0.2),
      inset 0 4px 10px rgba(255,255,255,0.2);
  }
}
@media (max-width: 767px) {
  .main-image-section { left: 0; transform: none; width: 100%; }
  .left-container {
    left: 0; transform: none; width: 100%;
    padding: 0 16px; box-sizing: border-box; align-items: stretch;
  }
  .title-text { width: 100%; font-size: clamp(36px, 10vw, 48px); }
  .left-image-text-container { width: 100%; padding-left: 0; padding-right: 0; }
  .thumbnails { left: 0; transform: none; width: 100%; bottom: 118px; }
  .download-button { min-width: 0; width: calc(100vw - 32px); max-width: none; height: 72px; }
  .download-button span { font-size: 30px; }
}
@media (min-width: 768px) {
  .main-image-section {
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
  }
  .container { width: 400px; margin: 0 auto; }
  body { display: flex; justify-content: center; }
  .left-container { left: 50%; transform: translateX(-50%); }
  .title-text { font-size: 48px; }
  .left-image-text-container { width: 400px; padding-left: 0; padding-right: 0; }
  .left-image { width: 70px; height: 70px; }
  .text-label { font-size: 16px; }
  .thumbnails {
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    bottom: 80px;
  }
  .download-button { height: 80px; min-width: 350px; }
  .download-button span { font-size: 36px; }
}
.connect-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 32px;
}
.connect-page .heart {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
}
.connect-page .heart img { width: 100%; height: 100%; object-fit: cover; display: block; }
.connect-page h1 { font-size: 22px; font-style: italic; }
.connect-page p { color: rgba(255,255,255,.72); font-size: 14px; }
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255,255,255,.18);
  border-top-color: #fe4e60;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
