/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #050315;
  --color-bg-soft: #330e25;
  --color-primary: #7c3aed;   /* purple */
  --color-primary-soft: #a855f7;
  --color-accent: #ffee00;    /* gold */
  --color-text: #f9fafb;
  --color-text-muted: #9ca3af;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --transition-fast: 200ms ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1e1b4b 0, #020016 55%, #280F1E 100%);
  color: var(--color-text);
  line-height: 1.6;
}

/* ===== GLOBAL LAYOUT ===== */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

section {
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  section {
    padding-block: 4.5rem;
  }
}

/* ===== HEADER & NAV ===== */
.site-header {
  background: linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(18px);
}

.banner {
  position: relative;
  overflow: hidden;
  max-height: 600px;
}

.banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/*.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 5, 15, 0.1), rgba(5, 5, 15, 0.9));
}*/

.banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.banner-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.banner-subtitle {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
/* ===== BANNER SOCIAL LINKS ===== */
.banner {
  position: relative; /* ensures the social block positions relative to the banner */
}

.banner-social {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.55rem;
  z-index: 5;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(5, 5, 15, 0.55);
  backdrop-filter: blur(10px);

  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  text-decoration: none;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text);
  opacity: 0.9;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(255, 238, 0, 0.75);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45),
              0 0 14px rgba(255, 238, 0, 0.25);
  outline: none;
}

.social-link:hover svg,
.social-link:focus-visible svg {
  opacity: 1;
  fill: var(--color-accent);
}

/* Slightly smaller on phones */
@media (max-width: 520px) {
  .banner-social {
    top: 0.75rem;
    right: 0.75rem;
  }
  .social-link {
    width: 38px;
    height: 38px;
  }
  .social-link svg {
    width: 18px;
    height: 18px;
  }
}
.social-link--play {
  border-color: rgba(255, 238, 0, 0.55);
  background: rgba(255, 238, 0, 0.08);
}

.social-link--play svg {
  fill: var(--color-accent);
  opacity: 1;
}

/* NAVIGATION */
.main-nav {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(5, 5, 15, 0.85);
  backdrop-filter: blur(18px);
}

.main-nav .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 0.65rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 10%, #fef9c3, #ffee00 30%, #7c3aed 70%, #4c1d95 100%);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.45);
}

.brand-icon-img {
  width: 30px;        /* match original icon size */
  height: 30px;
  object-fit: cover;  /* keeps it nicely cropped */
  border-radius: 50%; /* optional if you want a circular logo */
  display: block;
}

.brand-text {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.brand-text span {
  color: var(--color-accent);
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--color-text-muted);
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-accent);
  border-color: rgba(250, 204, 21, 0.4);
  background: radial-gradient(circle at top, rgba(124, 58, 237, 0.25), transparent 55%);
}

/* ===== NAV ACTIVE STATE ===== */
.main-nav a.nav-link--active {
  color: var(--color-accent);
  border-color: rgba(250, 204, 21, 0.7);
  background: radial-gradient(
    circle at top,
    rgba(250, 204, 21, 0.16),
    rgba(124, 58, 237, 0.4)
  );
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.hero-gradient {
  background: linear-gradient(120deg, #ffee00, #a855f7, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-primary));
  color: #f9fafb;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--color-text-muted);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Bright Google Play button */
.btn-playstore {
  background: linear-gradient(135deg, #ffee00, #a855f7, #22d3ee);
  color: #ffffff;
  text-shadow:
    -1px -1px 0 #410075,
     1px -1px 0 #410075,
    -1px  1px 0 #410075,
     1px  1px 0 #410075;
  border-color: rgba(255, 238, 0, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55),
              0 0 18px rgba(255, 238, 0, 0.35);
  font-weight: 700;
}

.btn-playstore:hover {
  filter: brightness(1.08);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.6),
              0 0 26px rgba(255, 238, 0, 0.5);
}

.btn-playstore:focus-visible {
  outline: 2px solid rgba(255, 238, 0, 0.95);
  outline-offset: 4px;
}


/* Hero stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.hero-stat-block span {
  display: block;
}

.hero-stat-number {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.25), rgba(15,23,42,0.95));
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

.hero-pill {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.6);
  color: var(--color-accent);
}

/* Fake watchface grid preview */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: opacity, transform;
}
/* when grid is updating */
.hero-grid.is-swapping {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}
/* square cells */
.hero-grid-item {
  aspect-ratio: 1 / 1;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  perspective: 800px; /* 👈 gives depth for the flip */
}

/* Image fills the square nicely */
.hero-grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* Optional subtle stagger like before */
.hero-grid-item:nth-child(2),
.hero-grid-item:nth-child(5),
.hero-grid-item:nth-child(8) {
  transform: translateY(6px);
}
/* I will check with Mitch if he likes this or the staggered look*/
.hero-grid-item:nth-child(2),
.hero-grid-item:nth-child(5),
.hero-grid-item:nth-child(8) {
  transform: none;
}

/* Label pill overlay */
.hero-grid-tag {
  position: absolute;
  left: 50%;
  bottom: 0.45rem;
  transform: translateX(-50%);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.6rem;
  color: var(--color-text-muted);
}

/* ===== HERO GRID HOVER EFFECT ===== */

.hero-grid-item {
  aspect-ratio: 1 / 1;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Image zoom effect */
.hero-grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* Glow + slight lift on hover */
.hero-grid-item:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.35), 
              0 0 12px rgba(250, 204, 21, 0.25);
  border-color: rgba(255, 238, 0, 0.85);
}

/* Zoom image on hover */
.hero-grid-item:hover .hero-grid-img {
  filter: brightness(1.08);
}

/* Fade the tag slightly on hover (optional, looks nice) */
.hero-grid-item:hover .hero-grid-tag {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 238, 0, 0.85);
}
/* ===== HERO GRID SWAP ANIMATION ===== */
@keyframes heroPreviewSwapIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  60% {
    opacity: 1;
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroPreviewFlipIn {
  0% {
    opacity: 0;
    transform: rotateY(90deg) scale(0.96);
  }
  55% {
    opacity: 1;
    transform: rotateY(-12deg) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
  }
}

.hero-grid-img.is-updating {
  animation: heroPreviewFlipIn 0.48s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}


/* ===== SHOWCASE / SLIDESHOW ===== */
.showcase {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.97));
}

.section-heading {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ===== SHOWCASE SLIDESHOW ===== */
.showcase-slideshow {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.slideshow-frame {
  position: relative;   /* <-- Required */
  aspect-ratio: 1024 / 500;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.38), #020617);
}

.slideshow-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slideshow-label {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(250, 204, 21, 0.7);
  font-size: 0.8rem;
  color: var(--color-text);
}

/* Dots / controls */
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.slideshow-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slideshow-dot.is-active {
  width: 22px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-soft));
  border-color: #ffee00;
}


/* Scrollable “slideshow” row */
.showcase-row {
  margin-top: 2rem;
  display: flex;
  gap: 1.3rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.showcase-row::-webkit-scrollbar {
  height: 6px;
}

.showcase-row::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.9);
}

.showcase-row::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.7);
  border-radius: 999px;
}

.showcase-card {
  scroll-snap-align: start;
  min-width: 230px;
  max-width: 260px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top, rgba(124, 58, 237, 0.4), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-tag {
  display: inline-flex;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.6);
  font-size: 0.7rem;
  color: var(--color-accent);
  margin-bottom: 0.7rem;
}

.showcase-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.showcase-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.showcase-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
}

.about-copy p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0.9rem;
}

.about-list {
  list-style: none;
  margin-top: 0.8rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.55rem;
}

.about-badge {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 10%, #fef9c3, #facc15 40%, #7c3aed 100%);
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.55);
  flex-shrink: 0;
}

.about-card {
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.87rem;
  color: var(--color-text-muted);
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 2rem 0 2.6rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(3, 7, 18, 0.96);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
}
/* ===== SUPPORT FORM STATUS ===== */
.support-status {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  min-height: 1.2em; /* keeps space reserved even when empty */
}

.support-status.is-success {
  color: var(--color-accent);
}

.support-status.is-error {
  color: #f97373; /* soft red */
}

/* ===== SUPPORT FORM CUSTOM TEXT COLOR ===== */
#support-form input,
#support-form textarea,
#support-form select {
  color: rgb(255, 238, 0); /* your yellow */
}

/* optional placeholder color so it matches */
#support-form input::placeholder,
#support-form textarea::placeholder {
  color: rgba(255, 238, 0, 0.6);
}
/* ===== WATCHFACES PAGE: RANGE GALLERY ===== */

.watchface-gallery {
  padding-top: 0; /* hero already has padding */
}

.range-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.5rem 0 2rem;
}

.range-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.55);
  transition: var(--transition-fast);
}

.range-nav a:hover,
.range-nav a:focus-visible {
  color: var(--color-accent);
  border-color: rgba(250, 204, 21, 0.6);
  outline: none;
}

.watchface-range {
  padding: 2.2rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.watchface-range:first-of-type {
  border-top: 0;
  padding-top: 0.5rem;
}

.range-header {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.range-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.9;
}

.range-title {
  font-size: 1.35rem;
  font-weight: 700;
}

/* Row layout: keeps items in a "row" on desktop, wraps cleanly on smaller screens */
.watchface-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
  gap: 1.25rem;
  align-items: start;
}

.watchface-row.is-centered {
  justify-content: center;
}

/* Clickable hero card */
.watchface-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  overflow: hidden;

  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-soft);

  /* Enforce the hero shape (2138 x 3800) */
  aspect-ratio: 2138 / 3800;

  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.watchface-card img {
  width: 100%;
  height: 100%;
  display: block;

  /* If your images truly are 2138x3800, cover is perfect.
     If you use non-matching images and want to avoid cropping, change to: object-fit: contain; */
  object-fit: cover;
  object-position: center;
}

/* Dark gradient overlay for readable text */
.watchface-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78), transparent 52%);
  pointer-events: none;
}

.watchface-meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 1;
}

.watchface-name {
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.15;
}

.watchface-store {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.75);
  color: var(--color-accent);
  background: rgba(15, 23, 42, 0.75);
  white-space: nowrap;
}

/* Hover + keyboard focus */
.watchface-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 238, 0, 0.85);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55),
              0 0 14px rgba(124, 58, 237, 0.35);
}

.watchface-card:focus-visible {
  outline: 2px solid rgba(255, 238, 0, 0.9);
  outline-offset: 4px;
}
/* ===== BLOG PAGE ===== */
.blog-hero {
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: radial-gradient(circle at top, rgba(124, 58, 237, 0.18), rgba(15, 23, 42, 0.92));
}

.blog-tools {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-search,
.blog-filter {
  flex: 1 1 260px;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.8);
  color: var(--color-text);
}

.blog-search::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.blog-search:disabled,
.blog-filter:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.blog-list {
  padding-top: 2.8rem;
}

.blog-grid {
  display: grid;
  gap: 1.3rem;
}

@media (min-width: 850px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card--featured {
  grid-column: 1 / -1;
}

.blog-card-link {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 850px) {
  .blog-card--featured .blog-card-link {
    grid-template-columns: 1.2fr 1fr;
  }
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at top left, rgba(255, 238, 0, 0.16), transparent 50%),
              radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.4), rgba(2, 6, 23, 0.9));
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 238, 0, 0.75);
  background: rgba(2, 6, 23, 0.75);
  color: rgb(255, 238, 0);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card-content {
  padding: 1.1rem 1.1rem 1.2rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.blog-tag {
  color: rgb(255, 238, 0);
}

.blog-dot {
  opacity: 0.6;
}

.blog-title {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.blog-excerpt {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.95rem;
}

.blog-cta {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: rgb(255, 238, 0);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 238, 0, 0.6);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55),
              0 0 18px rgba(124, 58, 237, 0.22);
}
/* ===== WATCHFACE RANGE ROW: HORIZONTAL SWIPE (NO WRAP) ===== */
.watchface-row {
  display: grid;
  grid-auto-flow: column;

  /* Each card width: mobile-friendly swipe size up to desktop size */
  grid-auto-columns: clamp(220px, 70vw, 320px);

  gap: 1.25rem;

  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.75rem;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.watchface-card {
  scroll-snap-align: start;
}

/* Keep your "single card centered" behavior */
.watchface-row.is-centered {
  justify-content: center;
}

/* Optional: nicer scrollbar (matches your style) */
.watchface-row::-webkit-scrollbar {
  height: 6px;
}
.watchface-row::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.9);
}
.watchface-row::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.7);
  border-radius: 999px;
}
/* ===== BLOG POST PAGE ===== */
.post-wrap {
  padding-top: 2.8rem;
  padding-bottom: 3.5rem;
}

.post-breadcrumbs {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.post-breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.post-breadcrumbs a:hover {
  color: rgb(255, 238, 0);
}

.post-header {
  max-width: 820px;
  margin: 0 auto 1.6rem;
}

.post-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  margin-bottom: 0.75rem;
}

.post-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 70ch;
}

.post-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-meta .post-tag {
  color: rgb(255, 238, 0);
}

.post-cover {
  max-width: 980px;
  margin: 2rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  background: rgba(2, 6, 23, 0.85);
}

.post-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.post-cover figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

/* Prose (the readable article body) */
.prose {
  max-width: 820px;
  margin: 2.2rem auto 0;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(249, 250, 251, 0.92);
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose h2 {
  margin: 2.2rem 0 0.8rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.prose h3 {
  margin: 1.7rem 0 0.6rem;
  font-size: 1.15rem;
  line-height: 1.25;
  color: rgba(249, 250, 251, 0.95);
}

.prose ul,
.prose ol {
  margin: 0.2rem 0 1.2rem 1.25rem;
  color: rgba(249, 250, 251, 0.9);
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose a {
  color: rgb(255, 238, 0);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 238, 0, 0.35);
}

.prose a:hover {
  border-bottom-color: rgba(255, 238, 0, 0.85);
}

.prose blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1rem;
  border-left: 3px solid rgba(255, 238, 0, 0.85);
  background: rgba(15, 23, 42, 0.7);
  border-radius: 0.75rem;
  color: rgba(249, 250, 251, 0.9);
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 0.15rem 0.35rem;
  border-radius: 0.4rem;
  font-size: 0.95em;
}

.prose pre {
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.9rem;
  padding: 1rem;
  overflow: auto;
  margin: 1.4rem 0;
}

.prose pre code {
  border: none;
  background: transparent;
  padding: 0;
}

/* Inline images inside posts */
.post-figure {
  margin: 1.6rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.75);
}

.post-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.post-figure figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

/* Callout box */
.callout {
  margin: 1.6rem 0;
  padding: 1rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 238, 0, 0.35);
  background: radial-gradient(circle at top left, rgba(255, 238, 0, 0.12), rgba(15, 23, 42, 0.85));
}

.callout strong {
  color: rgb(255, 238, 0);
}

.post-footer {
  max-width: 820px;
  margin: 2.5rem auto 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.post-footer a {
  color: rgb(255, 238, 0);
  text-decoration: none;
}
