/* ============================================================
   BWG HUB Landing v6 — single-screen teaser
   Champagne gold on dark navy. No scroll.
   ============================================================ */

:root {
  --bg: #06070d;
  --gold: #e6c875;
  --gold-bright: #f5cf6a;
  --gold-hot: #fae29c;
  --gold-deep: #b8923e;
  --chrome: #d8d8e0;
  --white: #fafafa;
  --silver: #b8b8c4;
  --silver-dim: #6e6e7a;
  --hairline-gold: rgba(230, 200, 117, 0.30);
}

.bwg-root,
.bwg-root * { box-sizing: border-box; }

.bwg-root {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--silver);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   BACKGROUND AMBIENT
   ============================================================ */
.bwg-bg-base {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, #0c0e18 0%, var(--bg) 60%),
    var(--bg);
}

.bwg-glow {
  position: absolute; z-index: 1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}
.bwg-glow-1 {
  width: 70%; aspect-ratio: 1;
  left: -15%; top: -20%;
  background: radial-gradient(circle, rgba(230,200,117,0.20) 0%, rgba(230,200,117,0) 65%);
  animation: drift1 28s ease-in-out infinite alternate;
}
.bwg-glow-2 {
  width: 60%; aspect-ratio: 1;
  right: -20%; top: 25%;
  background: radial-gradient(circle, rgba(245,207,106,0.16) 0%, rgba(245,207,106,0) 65%);
  animation: drift2 24s ease-in-out infinite alternate;
}
.bwg-glow-3 {
  width: 90%; aspect-ratio: 1;
  left: -10%; bottom: -45%;
  background: radial-gradient(circle, rgba(184,146,62,0.18) 0%, rgba(184,146,62,0) 60%);
  animation: drift3 32s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.85; }
  100% { transform: translate(8%, 6%) scale(1.08); opacity: 1; }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
  100% { transform: translate(-6%, 4%) scale(1.1); opacity: 1; }
}
@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.75; }
  100% { transform: translate(5%, -6%) scale(1.12); opacity: 1; }
}

.bwg-godrays {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(230,200,117,0.10) 0%,
      rgba(230,200,117,0.04) 25%,
      rgba(230,200,117,0) 60%);
  mix-blend-mode: screen;
  animation: rayPulse 25s ease-in-out infinite;
}
@keyframes rayPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

.bwg-vignette {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 180px 40px rgba(0,0,0,0.85);
  animation: vignettePulse 8s ease-in-out infinite;
}
@keyframes vignettePulse {
  0%, 100% { box-shadow: inset 0 0 180px 40px rgba(0,0,0,0.85); }
  50%      { box-shadow: inset 0 0 220px 50px rgba(0,0,0,0.92); }
}

.bwg-grain {
  position: absolute; inset: 0; z-index: 4;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
  mix-blend-mode: overlay;
}

.bwg-sparkles {
  position: absolute; inset: 0; z-index: 5;
  pointer-events: none;
}
.bwg-sparkle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,250,235,1) 0%,
    rgba(245,207,106,0.9) 40%,
    rgba(245,207,106,0) 70%);
  box-shadow: 0 0 6px rgba(245,207,106,0.7);
  opacity: 0;
  animation-name: twinkle;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
@keyframes twinkle {
  0%, 65%, 100% { opacity: 0; transform: scale(0.6); }
  78%           { opacity: 1; transform: scale(1.2); }
  90%           { opacity: 0; transform: scale(0.6); }
}

/* ============================================================
   TOP BAR
   ============================================================ */
.bwg-topbar {
  position: relative;
  z-index: 10;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 12px;
}
.bwg-root[data-mode="desktop"] .bwg-topbar {
  padding: 22px 40px 18px;
}
.bwg-wordmark {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--white);
  font-weight: 500;
}
.bwg-est {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--silver-dim);
}
.bwg-topbar-rule {
  position: absolute;
  left: 22px; right: 22px; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(230,200,117,0.20) 50%,
    transparent 100%);
  opacity: 0.6;
}
.bwg-root[data-mode="desktop"] .bwg-topbar-rule { left: 40px; right: 40px; }

/* ============================================================
   HERO STACK — fills remaining vertical space, content centered
   ============================================================ */
.bwg-stack {
  position: relative;
  z-index: 10;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  min-height: 0;
}
.bwg-root[data-mode="desktop"] .bwg-stack { padding: 16px 40px; }

.bwg-stack-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
}
.bwg-root[data-mode="desktop"] .bwg-stack-inner { max-width: 720px; }

/* Eyebrow */
.bwg-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  margin-bottom: 10px;
}
.bwg-root[data-mode="desktop"] .bwg-eyebrow {
  max-width: 360px;
  margin-bottom: 18px;
}
.bwg-eyebrow-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold);
  white-space: nowrap;
}
.bwg-eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(230,200,117,0.55) 50%,
    transparent 100%);
  background-size: 200% 100%;
  animation: lineShimmer 3s ease-in-out infinite;
}
@keyframes lineShimmer {
  0%   { background-position: 100% 0; opacity: 0.7; }
  50%  { background-position: 0% 0;   opacity: 1; }
  100% { background-position: -100% 0; opacity: 0.7; }
}

/* H1 chrome+gold metallic */
.bwg-h1 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  line-height: 0.92;
  position: relative;
}
.bwg-root[data-mode="desktop"] .bwg-h1 { margin-bottom: 10px; }
.bwg-h1-inner {
  background: linear-gradient(
    100deg,
    #8a7a4a 0%,
    #e6c875 18%,
    #fff5d6 32%,
    #f5cf6a 46%,
    #d8d8e0 58%,
    #f5cf6a 70%,
    #e6c875 82%,
    #8a7a4a 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.6))
          drop-shadow(0 0 18px rgba(230,200,117,0.25));
  animation: chromeShift 8s ease-in-out infinite;
  display: inline-block;
}
@keyframes chromeShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.bwg-subline {
  font-family: "Inter", sans-serif;
  color: var(--silver);
  font-size: 13px;
  margin: 0 0 18px;
  letter-spacing: 0.005em;
}
.bwg-root[data-mode="desktop"] .bwg-subline {
  font-size: 16px;
  margin-bottom: 36px;
}

/* PHOTO */
.bwg-photo-wrap {
  position: relative;
  margin: 4px 0 22px;
  animation: photoFloat 5s ease-in-out infinite;
}
.bwg-root[data-mode="desktop"] .bwg-photo-wrap { margin: 8px 0 40px; }
@keyframes photoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.bwg-photo-glow {
  position: absolute; inset: -54px;
  background: radial-gradient(circle,
    rgba(230,200,117,0.35) 0%,
    rgba(230,200,117,0.18) 30%,
    rgba(230,200,117,0) 65%);
  filter: blur(20px);
  animation: haloPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.07); }
}

.bwg-photo-ring {
  position: absolute; inset: -14px;
  border-radius: 22px;
  background:
    conic-gradient(from 0deg,
      rgba(230,200,117,0.0) 0deg,
      rgba(230,200,117,0.7) 60deg,
      rgba(255,245,214,0.9) 90deg,
      rgba(230,200,117,0.7) 120deg,
      rgba(230,200,117,0.0) 200deg,
      rgba(184,146,62,0.5) 280deg,
      rgba(230,200,117,0.0) 360deg);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
  animation: ringSpin 30s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

.bwg-photo {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 14px;
  overflow: hidden;
  z-index: 2;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.6),
    0 0 0 1px rgba(0,0,0,0.4);
  background: #000;
}
.bwg-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.03) saturate(1.05);
}
.bwg-photo-inner-border {
  position: absolute; inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(230,200,117,0.30);
  pointer-events: none;
  box-shadow: inset 0 0 24px rgba(230,200,117,0.10);
}
.bwg-photo-shimmer {
  position: absolute; inset: 0;
  border-radius: 14px;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255,245,214,0.18) 48%,
    rgba(255,245,214,0.32) 50%,
    rgba(255,245,214,0.18) 52%,
    transparent 65%
  );
  background-size: 250% 250%;
  background-position: -50% -50%;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: photoShimmer 6s ease-in-out infinite;
}
@keyframes photoShimmer {
  0%   { background-position: -50% -50%; opacity: 0.7; }
  50%  { background-position: 150% 150%; opacity: 1; }
  100% { background-position: 350% 350%; opacity: 0.7; }
}

/* ============================================================
   CTA — molten gold, BRIGHT and HOT
   ============================================================ */
.bwg-cta {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 999px;
  isolation: isolate;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: filter 0.4s ease;
  width: 100%;
  max-width: 340px;
}
.bwg-root[data-mode="desktop"] .bwg-cta { max-width: 480px; }

.bwg-cta-halo {
  position: absolute; inset: -10px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center,
    rgba(245,207,106,0.55) 0%,
    rgba(230,200,117,0.25) 40%,
    rgba(230,200,117,0) 70%);
  filter: blur(18px);
  z-index: -2;
  animation: ctaHalo 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaHalo {
  0%, 100% { opacity: 0.7; transform: scale(0.96); }
  50%      { opacity: 1.2; transform: scale(1.04); }
}

.bwg-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: 999px;
  background:
    linear-gradient(180deg,
      #f7d97a 0%,
      #e6c875 45%,
      #c9a657 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,250,235,0.9),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,245,214,0.3),
    0 6px 20px rgba(230,200,117,0.25);
  overflow: hidden;
  animation: ctaInnerPulse 5s ease-in-out infinite;
}
.bwg-root[data-mode="desktop"] .bwg-cta-inner { height: 64px; }

@keyframes ctaInnerPulse {
  0%, 100% { box-shadow:
    inset 0 1px 0 rgba(255,250,235,0.9),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,245,214,0.3),
    0 6px 20px rgba(230,200,117,0.25); }
  50% { box-shadow:
    inset 0 1px 0 rgba(255,250,235,1),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    inset 0 0 24px rgba(255,245,214,0.45),
    0 8px 30px rgba(230,200,117,0.4); }
}

/* Top inner highlight kept but very subtle */
.bwg-cta-tophi {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 1;
}

.bwg-cta-label {
  position: relative;
  z-index: 3;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: #1a1407;
  text-shadow: 0 1px 0 rgba(255,250,235,0.4);
}
.bwg-root[data-mode="desktop"] .bwg-cta-label { font-size: 18px; }

.bwg-cta-shimmer {
  position: absolute;
  top: 0; bottom: 0; left: -40%;
  width: 40%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.55) 50%,
    transparent 100%);
  transform: skewX(-20deg);
  animation: ctaShimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes ctaShimmer {
  0%, 15%  { left: -40%; }
  60%      { left: 110%; }
  100%     { left: 110%; }
}

.bwg-cta:hover { filter: brightness(1.10); }
.bwg-cta:hover .bwg-cta-halo { opacity: 1; filter: blur(18px); }
.bwg-cta:active .bwg-cta-inner { transform: translateY(1px); }

/* Microcopy */
.bwg-microcopy {
  margin-top: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--silver-dim);
}
.bwg-root[data-mode="desktop"] .bwg-microcopy {
  margin-top: 16px;
  font-size: 10.5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.bwg-footer {
  position: relative;
  z-index: 10;
  flex: 0 0 auto;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--silver-dim);
  padding: 12px 24px 16px;
}
.bwg-root[data-mode="desktop"] .bwg-footer {
  font-size: 10px;
  padding: 16px 40px 22px;
}
