/* example02.com — minimalist gold-on-black landing page */

:root{
  --bg: #000000;
  --panel: #050505;
  --text: #f2e6b6;
  --muted: rgba(242, 230, 182, 0.70);
  --accent: #d4af37;
  --focus: rgba(212, 175, 55, 0.55);

  --radius: 20px;
  --gap: clamp(10px, 2.0vmin, 18px);
  --pad: clamp(14px, 3.2vmin, 26px);
}

*{ box-sizing: border-box; }

html{
  height: 100%;
}

body{
  margin: 0;

  height: 100vh;       /* fallback */
  height: 100svh;      /* small viewport height (mobile UI safe fallback) */
  height: 100dvh;      /* dynamic viewport height (best on modern mobile browsers) */
  height: var(--vvh, 100dvh); /* visualViewport override when available */

  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.35;

  /* Notch / status-bar protection: safe-area insets only */
  padding: env(safe-area-inset-top, 0px)
           env(safe-area-inset-right, 0px)
           env(safe-area-inset-bottom, 0px)
           env(safe-area-inset-left, 0px);
}

.screen{
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;  /* horizontal centering */
  align-items: stretch;
}

.container{
  width: min(960px, 100%);
  height: 100%;
  padding: var(--pad);

  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  row-gap: var(--gap);

  place-items: center;
  text-align: center;
}

.brand h1{
  margin: 0;
  font-size: clamp(22px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.carousel{
  width: 100%;
  height: 100%;
  min-height: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: min(12px, var(--gap));
}

.carousel-area{
  width: min(900px, 100%);
  flex: 1 1 auto;
  min-height: 0;

  padding: 0;
  margin: 0;

  background: var(--panel);
  border: none;                 /* explicitly no border */
  border-radius: var(--radius);
  overflow: hidden;

  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  /* Let the browser keep vertical UI gestures; we handle taps/swipes to advance */
  touch-action: pan-y;
}

.carousel-area:focus{ outline: none; }

.carousel-area:focus-visible{
  box-shadow: 0 0 0 3px var(--focus);
}

.carousel-area img{
  width: 100%;
  height: 100%;
  display: block;

  /* Maintain image aspect ratio (no distortion). */
  object-fit: contain;
  background: var(--bg);
}

.dots{
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 12px;
  flex: 0 0 auto;
}

.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.22);
}

.dot.is-active{
  background: rgba(212, 175, 55, 0.90);
}

.disclaimer{
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 1.9vw, 16px);
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  letter-spacing: 0.01em;

  transition: transform 120ms ease, filter 120ms ease;
}

.btn:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn:active{ transform: translateY(0px); }

.btn:focus{ outline: none; }

.btn:focus-visible{
  box-shadow: 0 0 0 3px var(--focus);
}

/* Tighten layout on short viewports to ensure "no scroll" even on small landscape phones */
@media (max-height: 460px){
  :root{
    --gap: 8px;
    --pad: 10px;
  }
  .dots{ display: none; }
  .brand h1{ font-size: clamp(18px, 4.2vw, 28px); }
  .btn{ padding: 10px 16px; }
}

@media (prefers-reduced-motion: reduce){
  .btn{ transition: none; }
}
