* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  background: #070707;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  -webkit-user-select: none;
  user-select: none;
}

/* --- Page --- */
.page {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* --- Infinite photo mosaic --- */
.mosaic-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  z-index: 1;
}

.mosaic-viewport.grabbing {
  cursor: grabbing;
}

.mosaic-grid {
  position: absolute;
  will-change: transform;
}

.photo-card {
  position: absolute;
  overflow: hidden;
  background: #111;
  border-radius: 0;
}

.photo-card img,
.photo-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* --- Content overlay --- */
.content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0 calc(36px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

/* --- Header --- */
.header {
  pointer-events: all;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.logo {
  height: 56px;
  width: auto;
}

/* --- Sound toggle --- */
.sound-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.sound-btn:hover {
  opacity: 1;
}

.sound-icon {
  width: 28px;
  height: 28px;
}

/* --- Headline (exact Figma vector) --- */
.headline-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.headline {
  width: clamp(320px, 45vw, 576px);
  height: auto;
}

/* --- CTA --- */
.cta {
  text-align: center;
  pointer-events: all;
}

.cta-text {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
}

.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.store-badge {
  display: block;
  transition: transform 0.2s ease;
}

.store-badge:hover {
  transform: scale(1.05);
}

.store-badge img {
  height: 36px;
  width: auto;
}

.store-badge .gplay-fix {
  transform: rotate(180deg) scaleX(-1);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .logo {
    height: 40px;
  }

  .headline {
    width: clamp(260px, 80vw, 400px);
  }

  .content {
    padding: 24px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .cta-text {
    font-size: 16px;
  }

  .store-badge img {
    height: 30px;
  }
}
