:root {
  --bg: #f3edfb;
  --bg-elevated: #ece2fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 248, 255, 0.96);
  --card: #ffffff;
  --text: #34195f;
  --muted: #8e73b4;
  --line: rgba(193, 86, 255, 0.16);
  --accent: #ff3d9a;
  --accent-deep: #8a39ff;
  --accent-soft: rgba(255, 61, 154, 0.12);
  --shadow: 0 24px 70px rgba(103, 39, 154, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: #ffffff;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.admin-shell {
  padding-bottom: 64px;
}

.topbar {
  position: relative;
  top: 0;
  z-index: 20;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 18px 16px 20px;
  margin-bottom: 30px;
  border: 1px solid rgba(188, 111, 255, 0.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 61, 154, 0.24), transparent 20%),
    radial-gradient(circle at 78% 10%, rgba(155, 92, 255, 0.18), transparent 18%),
    linear-gradient(135deg, rgba(48, 17, 78, 0.96), rgba(69, 24, 112, 0.94));
  backdrop-filter: blur(24px);
  overflow: hidden;
  box-shadow:
    0 28px 60px rgba(61, 14, 98, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.topbar::after {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 61, 154, 0.28), rgba(138, 57, 255, 0.32), transparent);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 340px;
  position: relative;
  z-index: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  padding: 3px;
  border-radius: 999px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(255, 61, 154, 0.14), rgba(138, 57, 255, 0.18));
  box-shadow:
    0 14px 28px rgba(21, 4, 36, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 999px;
  background: transparent;
  transform: none;
  filter: drop-shadow(0 10px 16px rgba(91, 17, 120, 0.18));
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-text strong,
.nav a,
.hero h1,
.section-heading h2,
.collection-copy h2 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-text small {
  color: rgba(232, 216, 255, 0.74);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #fff3ff;
  line-height: 1;
}

.preview-top {
  display: flex;
  gap: 4px;
}

.preview-top i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 61, 154, 0.34);
}

.preview-body {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 7px;
  align-items: stretch;
}

.preview-sidebar {
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(138, 57, 255, 0.16), rgba(255, 61, 154, 0.07));
}

.preview-content {
  display: grid;
  gap: 6px;
}

.preview-hero {
  height: 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 61, 154, 0.95), rgba(138, 57, 255, 0.76));
}

.preview-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.preview-row span {
  height: 14px;
  border-radius: 7px;
  background: rgba(138, 57, 255, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 1 auto;
  padding: 9px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 0 0 1px rgba(203, 144, 255, 0.14),
    0 14px 30px rgba(19, 4, 34, 0.16);
  position: relative;
  z-index: 1;
}

.nav a {
  color: rgba(239, 226, 255, 0.78);
  padding: 11px 18px;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 61, 154, 0.92), rgba(138, 57, 255, 0.84));
  transform: translateY(-1px);
}

.ghost-button,
.primary-button,
.secondary-button {
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ghost-button,
.secondary-button {
  padding: 13px 22px;
  border-radius: 18px;
  color: #fff8ff;
  background: linear-gradient(135deg, rgba(255, 61, 154, 0.94), rgba(138, 57, 255, 0.88));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 16px 28px rgba(92, 19, 142, 0.28);
}

.ghost-button {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  font-weight: 700;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 16px 30px rgba(170, 46, 173, 0.24);
}

.secondary-button {
  color: var(--text);
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
  padding: 24px 0 36px;
}

.hero-copy,
.hero-visual,
.feature-strip article,
.product-card,
.collection-section,
.reviews-grid article,
.footer {
  border: 1px solid rgba(193, 86, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-visual,
.product-card,
.reviews-grid article {
  background: var(--surface);
  backdrop-filter: blur(16px);
}

.hero-copy {
  padding: 40px;
  border-radius: var(--radius-xl);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: 0.96;
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.collection-copy p,
.reviews-grid p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-stats li {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(193, 86, 255, 0.08);
}

.hero-stats strong,
.bundle-total strong,
.product-price {
  display: block;
  font-size: 1.1rem;
}

.hero-stats span,
.bundle-row span,
.bundle-total span {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(255, 61, 154, 0.24), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(138, 57, 255, 0.28), transparent 28%),
    linear-gradient(180deg, #5a1f97 0%, #421570 52%, #2a0e4e 100%);
  box-shadow:
    0 26px 60px rgba(78, 22, 126, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.device-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: 14px 16px;
  width: 100%;
  min-height: 680px;
  padding: 24px;
}

.stage-card-main {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  place-items: center;
  min-height: 0;
  height: 100%;
  padding: 24px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow:
    0 28px 50px rgba(15, 3, 34, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.stage-card-main img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.24));
  opacity: 0.75;
  transform: scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.stage-card-main img.is-visible {
  opacity: 1;
  transform: scale(1);
}

.floating-note {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff6ff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  animation: floaty 4s ease-in-out infinite;
  box-shadow:
    0 14px 28px rgba(16, 4, 33, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.floating-note span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 219, 245, 0.72);
  margin-bottom: 4px;
}

.floating-note strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.note-top {
  grid-column: 1;
  grid-row: 1;
}

.note-bottom {
  grid-column: 2;
  grid-row: 1;
  animation-delay: 0.8s;
}

.hero-slider-dots {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 24px rgba(16, 4, 33, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.hero-dot.active {
  width: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 14px 0 28px;
}

.feature-strip article,
.collection-section,
.footer {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
}

.feature-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  font-weight: 800;
}

.feature-strip h2,
.bundle-card strong,
.reviews-grid strong,
.footer strong,
.product-card h3 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
}

.products-section,
.reviews-section {
  padding: 54px 0 24px;
}

.section-heading {
  max-width: 760px;
}

.products-grid,
.reviews-grid {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  border-radius: 24px;
}

.product-media {
  position: relative;
  min-height: 320px;
  padding: 26px;
  background:
    radial-gradient(circle at top, rgba(255, 61, 154, 0.16), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(138, 57, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f8f1ff 100%);
}

.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.product-thumb {
  padding: 0;
  border: 1px solid rgba(193, 86, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-thumb.active {
  border-color: rgba(255, 61, 154, 0.34);
  box-shadow: 0 10px 20px rgba(170, 46, 173, 0.14);
}

.product-thumb:hover {
  transform: translateY(-1px);
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
}

.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}

.product-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.product-code {
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-meta a {
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(193, 86, 255, 0.14);
}

.collection-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  margin: 24px 0 10px;
}

.bundle-card {
  padding: 24px;
  border-radius: 22px;
  color: #fff4ff;
  background: linear-gradient(180deg, #65188f 0%, #4f147f 52%, #31105f 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.bundle-row,
.bundle-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.bundle-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bundle-total {
  padding-bottom: 0;
}

.bundle-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.bundle-price small {
  color: rgba(255, 221, 245, 0.68);
  font-size: 0.9rem;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reviews-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 24px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 255, 0.96));
  box-shadow:
    0 18px 40px rgba(75, 29, 120, 0.08),
    inset 0 0 0 1px rgba(152, 77, 218, 0.12);
}

.reviews-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}

.review-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3c1b68;
  font-weight: 900;
}

.review-stars::before {
  content: "★★★★★";
  color: #ff3d9a;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #6b36a2;
  background: rgba(138, 57, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.reviews-grid > article > strong {
  margin: 0 0 12px;
  color: #32145d;
  font-size: 1.16rem;
  line-height: 1.35;
}

.reviews-grid p {
  margin: 0;
  color: #80669f;
  line-height: 1.75;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.review-author > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff3d9a, #8a39ff);
  box-shadow: 0 10px 20px rgba(138, 57, 255, 0.18);
}

.review-author div {
  display: grid;
  gap: 2px;
}

.review-author div strong {
  color: #34195f;
  font-size: 0.96rem;
}

.review-author small {
  color: #9a82b6;
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.admin-panel,
.admin-output-panel {
  min-height: 100%;
}

.admin-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.admin-card {
  padding: 18px;
  border: 1px solid rgba(71, 112, 214, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 30px rgba(63, 89, 145, 0.08);
}

.admin-card-head {
  margin-bottom: 14px;
}

.admin-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.admin-fields {
  display: grid;
  gap: 12px;
}

.admin-fields label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}

.admin-fields input,
.admin-output {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
}

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

.admin-output-wrap {
  padding: 34px;
}

.admin-output-wrap h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.admin-output {
  min-height: 540px;
  margin-top: 18px;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.92rem;
  line-height: 1.6;
  resize: vertical;
}

.footer {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 34px;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(255, 61, 154, 0.18), transparent 26%),
    radial-gradient(circle at right bottom, rgba(127, 61, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #2c0f59 0%, #47107f 42%, #250a4d 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 28px 60px rgba(59, 16, 109, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer,
.footer p,
.footer span,
.footer strong,
.footer a {
  color: #f7f3ff;
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.footer-eyebrow {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand strong {
  display: block;
  max-width: 18ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.footer-brand p:last-child {
  max-width: 58ch;
  color: rgba(247, 243, 255, 0.78);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-link-card span {
  color: rgba(247, 243, 255, 0.66);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-link-card strong {
  font-size: 1rem;
  text-align: right;
}

.footer-link-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 24px rgba(0, 0, 0, 0.14);
}

@media (max-width: 1080px) {
  .hero,
  .admin-layout,
  .collection-section,
  .products-grid,
  .reviews-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 540px;
  }

  .device-stage {
    min-height: 540px;
    padding: 20px;
  }

  .floating-note {
    padding: 12px 14px;
  }

  .floating-note strong {
    font-size: 0.94rem;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 20px, 1200px);
  }

  .topbar {
    position: static;
    top: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 26px;
  }

  .nav {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    padding: 6px;
    font-size: 0.92rem;
  }

  .nav a {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px 10px;
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand-mark {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    padding: 3px;
    border-radius: 999px;
  }

  .brand-block {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 1.16rem;
  }

  .brand-text small {
    font-size: 0.9rem;
  }

  .brand-preview {
    display: none;
  }

  .ghost-button {
    justify-self: end;
    padding: 12px 16px;
  }

  .hero-copy,
  .feature-strip article,
  .collection-section,
  .footer {
    padding: 22px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .device-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr;
    min-height: 420px;
    gap: 10px;
    padding: 14px;
  }

  .stage-card-main {
    grid-column: 1;
    grid-row: 4;
    padding: 14px;
  }

  .floating-note {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .note-top {
    grid-column: 1;
    grid-row: 1;
    justify-self: stretch;
  }

  .note-bottom {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
  }

  .hero-slider-dots {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
    padding: 7px 10px;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

body.modal-open {
  overflow: hidden;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

.giveaway-trigger,
.giveaway-inline-button,
.giveaway-submit {
  border: 0;
  cursor: pointer;
}

.giveaway-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: center;
  margin: 8px 0 28px;
  padding: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 116, 196, 0.3), transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(138, 57, 255, 0.22), transparent 26%),
    radial-gradient(circle at 68% 84%, rgba(255, 255, 255, 0.56), transparent 18%),
    linear-gradient(135deg, rgba(255, 243, 252, 0.97), rgba(244, 235, 255, 0.98) 48%, rgba(255, 246, 252, 0.97));
  box-shadow:
    0 24px 70px rgba(103, 39, 154, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.giveaway-section::before,
.giveaway-section::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.giveaway-section::before {
  top: -28%;
  left: -8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 115, 196, 0.34), rgba(255, 115, 196, 0.08) 44%, transparent 68%);
  filter: blur(12px);
  z-index: -1;
}

.giveaway-section::after {
  top: 14px;
  right: 24px;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.92),
    0 0 44px rgba(255, 108, 188, 0.42);
}

.giveaway-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: #2f1360;
  text-shadow:
    0 10px 26px rgba(255, 130, 205, 0.18),
    0 0 20px rgba(255, 255, 255, 0.34);
  max-width: 10ch;
}

.giveaway-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #7c2cff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 235, 248, 0.72));
  box-shadow:
    inset 0 0 0 1px rgba(193, 86, 255, 0.12),
    0 10px 24px rgba(170, 46, 173, 0.1),
    0 0 24px rgba(255, 110, 191, 0.12);
}

.giveaway-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4db2, #8a39ff);
  box-shadow:
    0 0 0 6px rgba(255, 77, 178, 0.1),
    0 0 18px rgba(255, 77, 178, 0.45);
}

.giveaway-copy p {
  max-width: 58ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(69, 32, 111, 0.82);
}

.giveaway-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.giveaway-points li {
  position: relative;
  padding: 14px 18px;
  border-radius: 18px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 247, 253, 0.76));
  box-shadow:
    inset 0 0 0 1px rgba(193, 86, 255, 0.12),
    0 12px 24px rgba(128, 66, 180, 0.08);
}

.giveaway-points li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff56bc, #8a39ff);
  transform: translateY(-50%);
  box-shadow: 0 0 14px rgba(255, 86, 188, 0.74);
}

.giveaway-points li {
  padding-left: 30px;
}

.giveaway-inline-button {
  margin-top: 22px;
  position: relative;
  overflow: hidden;
  padding-inline: 28px;
  border-radius: 18px;
  box-shadow:
    0 20px 36px rgba(170, 46, 173, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 34px rgba(255, 82, 185, 0.24);
}

.giveaway-inline-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.76) 34%, transparent 46%);
  transform: translateX(-120%);
  animation: shimmerSweep 3.6s ease-in-out infinite;
}

.giveaway-burst {
  position: relative;
  min-height: 300px;
  height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0 20%, transparent 20%),
    radial-gradient(circle at center, rgba(255, 90, 192, 0.32) 0 36%, transparent 36%),
    radial-gradient(circle at center, rgba(157, 78, 255, 0.34) 0 54%, transparent 54%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0 65%, transparent 65%),
    linear-gradient(135deg, #6d1fc0 0%, #4a1892 46%, #36115d 100%);
  box-shadow:
    0 22px 40px rgba(63, 20, 109, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 80px rgba(255, 115, 196, 0.16);
}

.giveaway-glow-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
  z-index: 0;
}

.giveaway-glow-ring-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 38%, transparent 68%);
  filter: blur(2px);
}

.giveaway-glow-ring-2 {
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 28%, rgba(255, 120, 199, 0.2) 29%, transparent 60%);
  box-shadow:
    0 0 36px rgba(255, 98, 188, 0.34),
    0 0 80px rgba(145, 74, 255, 0.24);
}

.apple-showcase {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.apple-prize-card {
  position: absolute;
  right: 34px;
  bottom: 30px;
  width: 206px;
  padding: 18px 18px 16px;
  border-radius: 26px;
  color: #fff9ff;
  background: linear-gradient(135deg, rgba(255, 76, 178, 0.94), rgba(134, 57, 255, 0.86));
  box-shadow:
    0 20px 36px rgba(41, 9, 77, 0.26),
    0 0 30px rgba(255, 92, 182, 0.24);
  backdrop-filter: blur(12px);
  transform: rotate(6deg);
  z-index: 2;
}

.apple-prize-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.05;
}

.apple-prize-card small {
  display: block;
  color: rgba(255, 241, 248, 0.92);
  line-height: 1.45;
}

.mystery-box {
  position: absolute;
  top: 48px;
  left: 50%;
  width: 240px;
  height: 210px;
  translate: -50% 0;
  transform: rotate(-4deg);
}

.mystery-apple-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  translate: -50% 0;
  border-radius: 999px;
  color: #fffaf0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  z-index: 3;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.2) 18%, transparent 19%),
    linear-gradient(160deg, #ffd978, #e9a927 54%, #ffca59 100%);
  box-shadow:
    0 16px 30px rgba(128, 75, 0, 0.26),
    0 0 34px rgba(255, 210, 89, 0.52),
    inset 0 0 0 1px rgba(255, 250, 220, 0.52);
}

.mystery-box-lid {
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 58px;
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(135deg, rgba(255, 225, 134, 0.98), rgba(235, 170, 52, 0.96) 52%, rgba(255, 208, 93, 0.96));
  box-shadow:
    0 18px 28px rgba(106, 60, 0, 0.22),
    0 0 28px rgba(255, 206, 86, 0.28),
    inset 0 0 0 1px rgba(255, 246, 206, 0.34);
}

.mystery-box-lid::before {
  content: "";
  position: absolute;
  inset: 10px 22px auto;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 249, 219, 0.18), rgba(255, 249, 219, 0.66), rgba(255, 249, 219, 0.18));
}

.mystery-box-front {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 162px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 251, 220, 0.32), transparent 18%),
    radial-gradient(circle at 78% 72%, rgba(255, 255, 255, 0.16), transparent 16%),
    linear-gradient(160deg, rgba(255, 217, 121, 0.98), rgba(237, 178, 60, 0.96) 48%, rgba(194, 118, 20, 0.94));
  box-shadow:
    0 26px 44px rgba(98, 57, 0, 0.28),
    inset 0 0 0 1px rgba(255, 249, 219, 0.34),
    0 0 46px rgba(255, 211, 104, 0.22);
}

.mystery-question {
  position: absolute;
  left: 50%;
  top: 52%;
  translate: -50% -50%;
  font-family: "Space Grotesk", sans-serif;
  font-size: 4.8rem;
  font-weight: 800;
  color: #fffaf0;
  text-shadow:
    0 0 14px rgba(255, 246, 191, 0.5),
    0 0 34px rgba(255, 213, 100, 0.4);
}

.mystery-box-glow {
  position: absolute;
  inset: auto 20px -10px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 102, 0.54), transparent 68%);
  filter: blur(8px);
}

.giveaway-burst::before,
.giveaway-burst::after {
  content: "";
  position: absolute;
  inset: 12% 18%;
  border-radius: 999px;
  border: 2px dashed rgba(255, 214, 236, 0.26);
  animation: pulseOrbit 6s linear infinite;
}

.giveaway-burst::after {
  inset: 24% 8%;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.08);
  animation-direction: reverse;
}

.giveaway-burst::selection {
  background: transparent;
}

.giveaway-burst .sparkle {
  position: absolute;
}

.burst-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow:
    0 16px 30px rgba(36, 7, 68, 0.28),
    0 0 24px rgba(255, 77, 171, 0.32);
  z-index: 2;
}

.burst-tag-1 {
  top: 18%;
  left: 14%;
  transform: rotate(-12deg);
  animation: floatTag 4.6s ease-in-out infinite;
}

.burst-tag-2 {
  top: 44%;
  right: 12%;
  transform: rotate(10deg);
  animation: floatTag 4.2s ease-in-out infinite 0.4s;
}

.burst-tag-3 {
  bottom: 14%;
  left: 24%;
  transform: rotate(-6deg);
  animation: floatTag 4.8s ease-in-out infinite 0.8s;
}

.giveaway-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.giveaway-modal.is-open {
  display: block;
}

.giveaway-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 7, 37, 0.58);
  backdrop-filter: blur(8px);
}

.giveaway-dialog {
  position: relative;
  width: min(100% - 24px, 560px);
  margin: min(8vh, 64px) auto;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 61, 154, 0.2), transparent 24%),
    radial-gradient(circle at top right, rgba(138, 57, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 249, 255, 0.98), rgba(255, 244, 251, 0.98));
  box-shadow:
    0 28px 60px rgba(41, 11, 72, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.56),
    0 0 36px rgba(255, 85, 185, 0.14);
}

.giveaway-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(193, 86, 255, 0.14);
  cursor: pointer;
}

.giveaway-close:hover {
  box-shadow:
    inset 0 0 0 1px rgba(193, 86, 255, 0.18),
    0 0 18px rgba(255, 82, 185, 0.24);
}

.giveaway-note {
  margin-bottom: 18px;
  color: var(--muted);
}

.giveaway-form {
  display: grid;
  gap: 14px;
}

.giveaway-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.giveaway-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(193, 86, 255, 0.18);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.giveaway-form input:focus {
  border-color: rgba(255, 61, 154, 0.34);
  box-shadow: 0 0 0 4px rgba(255, 61, 154, 0.1);
}

.giveaway-actions {
  margin-top: 8px;
}

.giveaway-submit {
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 36px rgba(170, 46, 173, 0.28),
    0 0 32px rgba(255, 82, 185, 0.2);
}

.giveaway-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.7) 34%, transparent 48%);
  transform: translateX(-120%);
  animation: shimmerSweep 3.1s ease-in-out infinite;
}

@keyframes shimmerSweep {
  0%,
  100% {
    transform: translateX(-120%);
  }
  45%,
  60% {
    transform: translateX(120%);
  }
}

@keyframes pulseOrbit {
  0% {
    transform: scale(0.98);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
  100% {
    transform: scale(0.98);
    opacity: 0.7;
  }
}

@keyframes floatTag {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@media (max-width: 1080px) {
  .giveaway-section {
    grid-template-columns: 1fr;
  }

  .giveaway-burst {
    min-height: 220px;
    height: 260px;
  }

  .giveaway-section::after {
    width: 58%;
  }
}

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

  .hero-actions > * {
    width: 100%;
    justify-content: center;
  }

  .floating-note {
    animation: none;
  }

  .giveaway-section {
    padding: 22px;
  }

  .giveaway-copy h2 {
    max-width: none;
    font-size: clamp(2.1rem, 9vw, 3rem);
    line-height: 0.98;
  }

  .giveaway-copy p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .giveaway-section::before {
    width: 220px;
    height: 220px;
  }

  .giveaway-section::after {
    right: 16px;
    width: 46%;
  }

  .giveaway-dialog {
    width: min(100% - 18px, 560px);
    margin: 18px auto;
    padding: 22px;
  }

  .giveaway-burst span {
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .burst-tag {
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .mystery-box {
    top: 32px;
    width: 196px;
    height: 178px;
  }

  .mystery-apple-badge {
    width: 56px;
    height: 56px;
    background-size: 24px 24px;
  }

  .apple-prize-card {
    right: 26px;
    bottom: 26px;
    width: 154px;
    padding: 14px 14px 12px;
  }

  .mystery-box-front {
    height: 138px;
  }

  .mystery-apple-badge {
    font-size: 0.84rem;
  }

  .mystery-question {
    font-size: 4rem;
  }
}

.blog-page {
  display: grid;
  gap: 26px;
}

.blog-hero,
.blog-card,
.blog-cta {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.blog-hero h1,
.blog-card h2,
.blog-cta h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.blog-hero h1 {
  max-width: 16ch;
  margin: 12px 0 14px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.96;
}

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

.blog-card h2 {
  margin: 10px 0 12px;
  font-size: 1.5rem;
  line-height: 1.08;
}

.blog-card p,
.blog-cta p {
  color: var(--muted);
}

.blog-card-featured {
  grid-column: span 2;
  background:
    radial-gradient(circle at top left, rgba(255, 61, 154, 0.14), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(138, 57, 255, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(255, 252, 255, 0.98), rgba(250, 245, 255, 0.96));
}

.blog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.blog-cta p {
  max-width: 52ch;
}

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

  .blog-card-featured {
    grid-column: auto;
  }

  .blog-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
