:root {
  --sr-red: #d4112f;
  --sr-red-dark: #6e0a19;
  --sr-ink: #16090d;
  --sr-ink-soft: #2c0d14;
  --sr-rose: #fff1f4;
  --sr-blue: #c9e3ff;
  --sr-white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 18px 55px rgba(212, 17, 47, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--sr-ink-soft);
  background:
    radial-gradient(circle at 88% 12%, rgba(164, 204, 255, 0.65), transparent 44%),
    radial-gradient(circle at 18% 80%, rgba(212, 17, 47, 0.15), transparent 40%),
    linear-gradient(180deg, #f8fbff 0%, #fff5f7 46%, #fff 100%);
  min-height: 100dvh;
}

:focus-visible {
  outline: 2px solid var(--sr-red);
  outline-offset: 2px;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
}

.topbar {
  width: min(1140px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 17, 47, 0.22);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid rgba(68, 22, 30, 0.2);
  background: rgba(255, 255, 255, 0.66);
  padding: 4px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--sr-ink-soft);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 9px;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: var(--sr-red);
  color: var(--sr-white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--sr-ink);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

main {
  width: min(1140px, calc(100% - 32px));
  margin: 24px auto 72px;
}

.view-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(212, 17, 47, 0.16);
  margin-bottom: 18px;
}

.view-tab {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  color: var(--sr-ink-soft);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.view-tab.is-active {
  background: linear-gradient(130deg, rgba(212, 17, 47, 0.98), #ff2450);
  color: var(--sr-white);
}

.view-panel {
  display: none;
}

.view-panel.is-active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sr-red-dark);
  font-weight: 700;
  font-size: 0.78rem;
}

h1 {
  margin: 10px 0 14px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.9rem, 4.3vw, 3.6rem);
  line-height: 1.07;
  color: var(--sr-ink);
}

.lead {
  margin: 0;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.6;
  max-width: 60ch;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta {
  background: linear-gradient(135deg, var(--sr-red) 0%, #ff2450 100%);
  color: var(--sr-white);
  box-shadow: var(--shadow);
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 58px rgba(212, 17, 47, 0.3);
}

.cta-small {
  padding: 9px 16px;
  font-size: 0.92rem;
}

.ghost {
  border: 1px solid rgba(68, 22, 30, 0.28);
  color: var(--sr-ink);
  background: rgba(255, 255, 255, 0.56);
}

button.ghost {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.94rem;
  cursor: pointer;
}

.gallery-header {
  margin-bottom: 14px;
}

.gallery-header h2 {
  margin: 8px 0 8px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  color: var(--sr-ink);
}

.gallery-header p {
  margin: 0;
  max-width: 64ch;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.shot {
  border: 1px solid rgba(212, 17, 47, 0.2);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 239, 244, 0.86));
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.shot:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(25, 10, 14, 0.16);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: linear-gradient(150deg, #2a1118, #5a1426);
}

.shot span {
  display: block;
  padding: 10px 12px 12px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3f121c;
}

.shot.is-missing::after {
  content: attr(data-missing-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffdfe6;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(155deg, rgba(44, 9, 17, 0.92), rgba(130, 18, 40, 0.86));
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 3, 6, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  z-index: 1000;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  width: min(440px, 92vw);
  max-height: 88vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
  background: #12070b;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.gallery-grid .shot:nth-child(1),
.gallery-grid .shot:nth-child(2) {
  grid-column: span 4;
}

.gallery-grid .shot:nth-child(3),
.gallery-grid .shot:nth-child(4),
.gallery-grid .shot:nth-child(5) {
  grid-column: span 4;
}

.hero-art {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 17, 47, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 247, 255, 0.88));
}

.hero-logo {
  width: min(100%, 640px);
  height: auto;
  object-fit: contain;
  z-index: 2;
  animation: float 5.6s ease-in-out infinite;
}

.features,
.tester,
.faq,
.gallery-header,
.gallery-grid {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  z-index: 1;
}

.glow-red {
  width: 260px;
  height: 260px;
  background: rgba(212, 17, 47, 0.3);
  top: 16%;
  left: 10%;
}

.glow-blue {
  width: 280px;
  height: 280px;
  background: rgba(138, 187, 255, 0.34);
  right: 5%;
  bottom: 10%;
}

.features {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.85), rgba(255, 240, 244, 0.86));
  border: 1px solid rgba(212, 17, 47, 0.2);
  border-radius: var(--radius-md);
  padding: 18px;
}

.card h2 {
  margin: 0 0 8px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  line-height: 1.55;
}

.tester {
  margin-top: 26px;
}

.tester-box {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 17, 47, 0.22);
  background: linear-gradient(160deg, rgba(27, 9, 14, 0.96), rgba(74, 13, 24, 0.94));
  color: #fceff2;
  padding: clamp(20px, 3.5vw, 34px);
}

.tester-box h2 {
  margin: 0 0 8px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
}

.android-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 179, 193, 0.55);
  background: rgba(255, 179, 193, 0.12);
  color: #ffd9e1;
  font-weight: 600;
  line-height: 1.45;
}

.faq {
  margin-top: 18px;
  border: 1px solid rgba(212, 17, 47, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  padding: 16px;
}

.faq h2 {
  margin: 0 0 10px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: #3c121b;
}

.faq details {
  border-top: 1px solid rgba(212, 17, 47, 0.16);
  padding: 10px 0;
}

.faq details:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #2f0f17;
}

.faq p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.linkbox {
  display: block;
  margin: 16px 0 18px;
  color: #ffd9e1;
  text-decoration: none;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(0.8rem, 1.25vw, 0.96rem);
  line-height: 1.5;
  word-break: break-all;
  border: 1px solid rgba(255, 179, 193, 0.45);
  background: rgba(255, 179, 193, 0.08);
  border-radius: 12px;
  padding: 12px;
}

.footer {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5f3540;
}

.footer img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.footer p,
.footer small {
  margin: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-9px);
  }
}

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

  .hero-art {
    min-height: 260px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .gallery-grid .shot {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .topbar {
    border-radius: 16px;
  }

  .topbar-actions {
    gap: 8px;
  }

  .lang-switch {
    padding: 3px;
  }

  .lang-switch button {
    font-size: 0.72rem;
    padding: 6px 7px;
  }

  .topbar .cta-small {
    display: none;
  }

  .view-tab {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid .shot {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-logo {
    animation: none;
  }
}
