:root {
  --wc-red: #c8102e;
  --wc-red-dark: #9c0c23;
  --wc-navy: #0b1f3a;
  --wc-navy-light: #142c52;
  --wc-white: #ffffff;
  --wc-cream: #f4f3ef;
  --wc-ink: #14171c;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--wc-navy);
  color: var(--wc-white);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none; /* iOS: blocks the long-press "Save Image" menu on the guard layer */
}

img { max-width: 100%; }

/* ---------- header ---------- */
.site-header {
  background: linear-gradient(180deg, var(--wc-navy) 0%, var(--wc-navy-light) 100%);
  border-bottom: 4px solid var(--wc-red);
  padding: 18px max(16px, env(safe-area-inset-left)) 18px max(16px, env(safe-area-inset-right));
}
.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.brand-text h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: clamp(20px, 4vw, 30px);
  margin: 0;
}
.brand-text p {
  margin: 2px 0 0;
  color: var(--wc-red);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

/* ---------- layout ---------- */
main {
  padding: 24px 16px 8px;
  max-width: 1000px;
  margin: 0 auto;
}

/* ---------- slideshow ---------- */
.slideshow-wrap { width: 100%; }
.slideshow { position: relative; }

.empty-state {
  background: var(--wc-navy-light);
  border: 2px dashed rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 60px 20px;
  text-align: center;
}
.empty-state p { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.empty-sub { font-size: 14px !important; font-weight: 400 !important; color: rgba(255,255,255,0.6); }

.slide-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 78vh;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 3px solid var(--wc-red);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #000;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
}
.slide.visible { opacity: 1; }

.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Transparent layer sitting above the images: blocks right-click "save image"
   and drag-out because there is no <img> element under the pointer. */
.guard-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: transparent;
}

.watermark {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0.14;
}
.watermark span {
  white-space: nowrap;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 13vw;
  color: #fff;
  transform: rotate(-28deg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 7;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 31, 58, 0.55);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}
.nav-btn:hover { background: var(--wc-red); }
.nav-prev { left: 12px; }
.nav-next { right: 12px; }

.play-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 7;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 31, 58, 0.55);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
}
.play-btn:hover { background: var(--wc-red); }

.mute-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 7;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 31, 58, 0.55);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}
.mute-btn:hover { background: var(--wc-red); }

.caption-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 7;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
}
.caption-text { margin: 0; font-weight: 600; font-size: 15px; }
.caption-date { margin: 2px 0 0; font-size: 12px; color: rgba(255,255,255,0.7); }

/* ---------- footer ---------- */
.site-footer {
  text-align: center;
  padding: 28px 16px calc(28px + env(safe-area-inset-bottom, 0px));
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}

@media (max-width: 480px) {
  .nav-btn { width: 38px; height: 38px; font-size: 15px; }
}
