:root {
  --font-display: Outfit, sans-serif;
  --font-text: "Inter Tight", sans-serif;
  --paper: #101428;
  --ink: #eef2ff;
  --muted: #9aa6c8;
  --line: rgba(180, 210, 255, 0.22);
  --surface: rgba(255, 255, 255, 0.08);
  --accent: #8ec8c4;
  --accent-hover: #a6d8d4;
  --accent-ink: #101428;
  --radius: 18px;
  --bg: var(--paper);
  --card: var(--surface);
  --text: var(--ink);
}

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

html {
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--paper);
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.theme-scrollbar {
  position: fixed;
  top: 10px;
  right: 4px;
  bottom: 10px;
  z-index: 40;
  width: 6px;
}

.theme-scrollbar.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.theme-scrollbar-thumb {
  width: 100%;
  min-height: 28px;
  border-radius: 999px;
  background: var(--accent);
}

.theme-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

body {
  font-family: var(--font-text);
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.5;
  scrollbar-width: none;
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 24px 72px;
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
  padding: 8px 0 14px;
  border-bottom: 1px solid var(--line);
}

.view-hint {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  cursor: pointer;
}

.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  padding: 0;
}

#open-view {
  position: relative;
  z-index: 1;
  padding: 6px 12px;
  isolation: isolate;
}

#open-view::before {
  content: "";
  position: absolute;
  inset: -8px -14px;
  z-index: -1;
  pointer-events: none;
  border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
  background: color-mix(in srgb, var(--accent) 42%, transparent);
  filter: blur(11px);
  animation: view-glow 7s ease-in-out infinite;
}

@keyframes view-glow {
  0%, 100% {
    border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
    transform: translate(0, 0) scale(1, 1);
    opacity: 0.72;
  }
  25% {
    border-radius: 58% 42% 62% 38% / 38% 62% 42% 58%;
    transform: translate(4px, -3px) scale(1.18, 0.86);
    opacity: 0.95;
  }
  50% {
    border-radius: 38% 62% 44% 56% / 60% 36% 64% 40%;
    transform: translate(-3px, 4px) scale(0.88, 1.22);
    opacity: 0.78;
  }
  75% {
    border-radius: 64% 36% 52% 48% / 44% 56% 36% 64%;
    transform: translate(3px, 2px) scale(1.12, 1.08);
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  #open-view::before {
    animation: none;
    border-radius: 999px;
    transform: none;
    opacity: 0.65;
  }
}

.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.view-header h1 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.view-section h2 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.theme-choice-intro {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.theme-choice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.theme-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.theme-choice.is-active {
  border-color: var(--accent);
}

.theme-choice-name {
  font-weight: 500;
}

.theme-choice-hint {
  font-size: 0.85rem;
  color: var(--muted);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5.5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  margin: 0;
}

.logo-tag {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 0.5em;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.pitch {
  font-size: 1.05rem;
  margin-bottom: 28px;
  color: var(--ink);
  text-align: center;
}

.pitch-sub {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

ul {
  list-style: none;
  margin-bottom: 28px;
}

li {
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.shots {
  margin: 0 0 32px;
}

.shots-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.02em;
}

.shots-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 6px 0 16px;
}

.shots-viewport {
  position: relative;
  margin-inline: -24px;
}

.shots-track {
  --shot-w: 240px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: calc(50% - var(--shot-w) / 2);
  padding: 8px calc(50% - var(--shot-w) / 2) 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.shots-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.shots-track::-webkit-scrollbar { display: none; }

.shots-nav {
  display: none;
  position: absolute;
  top: calc(8px + 240px);
  z-index: 1;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 20, 40, 0.28);
}

.shots-nav:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 45%, transparent);
}

.shots-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.shots-nav-prev { left: 8px; }
.shots-nav-next { right: 8px; }

@media (hover: hover) and (pointer: fine) {
  .shots-nav { display: grid; }
}

.shot {
  flex: 0 0 240px;
  scroll-snap-align: center;
  text-align: center;
}

.shot-phone {
  aspect-ratio: 449 / 1024;
  border-radius: 28px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: zoom-in;
}

.shot-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  pointer-events: none;
  -webkit-user-drag: none;
}

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 56px 16px 24px;
  background: color-mix(in srgb, var(--paper) 78%, #000);
}

.shot-lightbox.is-open {
  display: grid;
}

.shot-lightbox-close,
.shot-lightbox-nav {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.shot-lightbox-close {
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
}

.shot-lightbox-nav {
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
}

.shot-lightbox-prev { left: 8px; }
.shot-lightbox-next { right: 8px; }

.shot-lightbox-close:hover,
.shot-lightbox-nav:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.shot-lightbox-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.shot-lightbox figure {
  margin: 0;
  max-width: min(100%, 480px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shot-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.shot-lightbox figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.shot figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.shots-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 4px;
}

.shots-dots button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.shots-dots button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--muted);
}

.shots-dots button.is-active::after {
  background: var(--accent);
  width: 8px;
  height: 8px;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cta:hover { background: var(--accent-hover); }

.cta-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.cta-secondary:hover {
  background: var(--surface);
  border-color: var(--muted);
  color: var(--ink);
}

.cta-web {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  padding: 4px 8px 8px;
}

.cta-web:hover { color: var(--ink); }

.cta-web span {
  border-bottom: 1px solid var(--line);
}

.cta-web:hover span { border-color: var(--muted); }

.disclaimer {
  margin-top: 32px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

html[data-theme='air'] {
  --font-display: "Inter Tight", sans-serif;
  --font-text: "Inter Tight", sans-serif;
  --paper: #eef3fa;
  --ink: #243044;
  --muted: #6e7d93;
  --line: rgba(255, 255, 255, 0.7);
  --surface: rgba(255, 255, 255, 0.55);
  --accent: #5b8fd4;
  --accent-hover: #4a7cc0;
  --accent-ink: #f7fbff;
  --radius: 22px;
  color-scheme: light;
}

html[data-theme='air'] body {
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 90% 55% at 8% -8%, rgba(170, 210, 255, 0.75), transparent 58%),
    radial-gradient(ellipse 70% 45% at 100% 8%, rgba(210, 230, 255, 0.65), transparent 52%),
    radial-gradient(ellipse 55% 40% at 70% 100%, rgba(255, 255, 255, 0.85), transparent 60%);
}

html[data-theme='air'] li,
html[data-theme='air'] .disclaimer,
html[data-theme='air'] .theme-choice {
  background: var(--surface);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(140, 170, 210, 0.18);
  padding: 16px 18px;
  margin-bottom: 12px;
}

html[data-theme='air'] .theme-choice.is-active {
  border-color: color-mix(in srgb, var(--accent) 55%, white);
  box-shadow: 0 12px 32px rgba(91, 143, 212, 0.2);
}

html[data-theme='glass'] {
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-text: "Plus Jakarta Sans", sans-serif;
  --paper: #fbf4ec;
  --ink: #4a372e;
  --muted: #8a7368;
  --line: rgba(255, 236, 220, 0.8);
  --surface: rgba(255, 250, 244, 0.62);
  --accent: #e08b72;
  --accent-hover: #d07860;
  --accent-ink: #fffaf6;
  --radius: 26px;
  color-scheme: light;
}

html[data-theme='glass'] body {
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(255, 214, 190, 0.7), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 20%, rgba(255, 228, 214, 0.65), transparent 50%),
    linear-gradient(180deg, #fdf6ee 0%, #f7ece1 100%);
}

html[data-theme='glass'] li,
html[data-theme='glass'] .disclaimer,
html[data-theme='glass'] .theme-choice {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 244, 232, 0.85);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(196, 150, 120, 0.14);
  padding: 16px 18px;
  margin-bottom: 12px;
}

html[data-theme='glass'] .cta,
html[data-theme='glass'] .theme-choice.is-active {
  box-shadow: 0 0 22px rgba(224, 139, 114, 0.35);
}

html[data-theme='glass'] .theme-choice.is-active {
  border-color: color-mix(in srgb, var(--accent) 45%, white);
}

html[data-theme='aurora-depth'] {
  --font-display: Outfit, sans-serif;
  --font-text: "Inter Tight", sans-serif;
  --paper: #171a32;
  --ink: #f1f3ff;
  --muted: #aab2d0;
  --line: rgba(205, 215, 255, 0.2);
  --surface: rgba(226, 231, 255, 0.09);
  --accent: #9edbd0;
  --accent-hover: #b8e7df;
  --accent-ink: #171a32;
  --radius: 22px;
  color-scheme: dark;
}

html[data-theme='aurora-depth'] body {
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 75% 50% at 4% -4%, rgba(96, 132, 255, 0.42), transparent 58%),
    radial-gradient(ellipse 58% 46% at 102% 18%, rgba(191, 112, 255, 0.32), transparent 54%),
    radial-gradient(ellipse 56% 42% at 52% 104%, rgba(77, 218, 190, 0.2), transparent 58%),
    linear-gradient(155deg, #1d2140 0%, #13162b 72%);
}

html[data-theme='aurora-depth'] li,
html[data-theme='aurora-depth'] .disclaimer,
html[data-theme='aurora-depth'] .theme-choice {
  background: var(--surface);
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    10px 12px 28px rgba(5, 7, 20, 0.34),
    -7px -7px 22px rgba(119, 139, 220, 0.11),
    inset 1px 1px 0 rgba(255, 255, 255, 0.14);
  padding: 16px 18px;
  margin-bottom: 14px;
}

html[data-theme='aurora-depth'] .cta {
  box-shadow:
    5px 6px 14px rgba(4, 6, 18, 0.3),
    -4px -4px 12px rgba(126, 145, 220, 0.1);
}

html[data-theme='aurora-depth'] .theme-choice.is-active {
  border-color: rgba(158, 219, 208, 0.55);
  box-shadow:
    inset 5px 5px 13px rgba(4, 6, 18, 0.36),
    inset -4px -4px 12px rgba(131, 151, 224, 0.12),
    0 0 24px rgba(158, 219, 208, 0.16);
}

html[data-theme='aurora-depth'] .shot-phone,
html[data-theme='aurora-depth'] .shot-lightbox img {
  box-shadow:
    10px 12px 28px rgba(5, 7, 20, 0.34),
    -7px -7px 22px rgba(119, 139, 220, 0.11);
}

html[data-theme='cloud'] {
  --font-display: "Inter Tight", sans-serif;
  --font-text: Inter, sans-serif;
  --paper: #f7f9fc;
  --ink: #2b3444;
  --muted: #7a8494;
  --line: #e6ebf2;
  --surface: #ffffff;
  --accent: #6d8fb8;
  --accent-hover: #5c7ea6;
  --accent-ink: #f7f9fc;
  --radius: 16px;
  color-scheme: light;
}

html[data-theme='cloud'] body {
  background-color: var(--paper);
  background-image: linear-gradient(180deg, #fbfcfe 0%, #eef3f9 100%);
}

html[data-theme='cloud'] li,
html[data-theme='cloud'] .disclaimer,
html[data-theme='cloud'] .theme-choice {
  background: var(--surface);
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(170, 190, 210, 0.16);
  padding: 16px 18px;
  margin-bottom: 10px;
}

html[data-theme='cloud'] .theme-choice.is-active {
  box-shadow: 0 8px 24px rgba(109, 143, 184, 0.22);
}

html[data-theme='neo'] {
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-text: "Plus Jakarta Sans", sans-serif;
  --paper: #e8eef6;
  --ink: #3a4860;
  --muted: #7b889c;
  --line: transparent;
  --surface: #e8eef6;
  --accent: #8f7db8;
  --accent-hover: #7d6ba8;
  --accent-ink: #f4f7fb;
  --radius: 22px;
  color-scheme: light;
}

html[data-theme='neo'] li,
html[data-theme='neo'] .theme-choice {
  background: var(--surface);
  border: none;
  border-radius: var(--radius);
  box-shadow:
    8px 8px 18px rgba(163, 177, 198, 0.45),
    -8px -8px 18px rgba(255, 255, 255, 0.9);
  padding: 16px 18px;
  margin-bottom: 14px;
}

html[data-theme='neo'] .cta {
  box-shadow:
    5px 5px 12px rgba(163, 177, 198, 0.4),
    -5px -5px 12px rgba(255, 255, 255, 0.9);
}

html[data-theme='neo'] .disclaimer {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 48px rgba(140, 160, 190, 0.28);
}

html[data-theme='neo'] .theme-choice.is-active {
  box-shadow:
    inset 5px 5px 12px rgba(163, 177, 198, 0.4),
    inset -5px -5px 12px rgba(255, 255, 255, 0.92);
}

html[data-theme='control'] {
  --font-display: "IBM Plex Sans", sans-serif;
  --font-text: "IBM Plex Sans", sans-serif;
  --paper: #121417;
  --ink: #e8eaed;
  --muted: #8b929a;
  --line: #2a3038;
  --surface: #1c2128;
  --accent: #c5a572;
  --accent-hover: #d4b88a;
  --accent-ink: #121417;
  --radius: 4px;
  color-scheme: dark;
}

html[data-theme='control'] li,
html[data-theme='control'] .disclaimer,
html[data-theme='control'] .theme-choice {
  background: var(--surface);
  border: none;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 8px;
}

html[data-theme='classic'] {
  --font-display: "Inter Tight", sans-serif;
  --font-text: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --paper: #0b0b0c;
  --ink: #f4f4f5;
  --muted: #8e9297;
  --line: #2a2d31;
  --surface: #17181a;
  --accent: #c8ff2e;
  --accent-hover: #d6ff5a;
  --accent-ink: #0b0b0c;
  --radius: 8px;
  color-scheme: dark;
}

html[data-theme='classic'] li,
html[data-theme='classic'] .disclaimer,
html[data-theme='classic'] .theme-choice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 10px;
}

html[data-theme='telegram'] {
  --font-display: Outfit, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --paper: #0f1419;
  --ink: #e7e9ea;
  --muted: #8b98a5;
  --line: #38444d;
  --surface: #1a2332;
  --accent: #1d9bf0;
  --accent-hover: #1a8cd8;
  --accent-ink: #fff;
  --radius: 12px;
  color-scheme: dark;
}

html[data-theme='telegram'] li,
html[data-theme='telegram'] .disclaimer,
html[data-theme='telegram'] .theme-choice {
  background: var(--surface);
  border: none;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 10px;
}

html[data-theme='telegram'] .theme-choice-name {
  font-weight: 600;
}
