*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #f7f4ee;
  --gold:    #c98a0e;
  --gold-lt: #e8a012;
  --text:    #1c1917;
  --muted:   #9a8e82;
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(0, 0, 0, 0.07);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

/* ── MAIN CONTENT WRAPPER ── */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 3;
}

/* ── CANVAS PARTICLES ── */
#bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ── CSS ORBS ── */
.orb {
  position: fixed; border-radius: 50%;
  filter: blur(110px); pointer-events: none; z-index: 1;
}
.orb-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(220,150,30,0.2) 0%, transparent 70%);
  top: -200px; left: -140px;
  animation: drift1 20s ease-in-out infinite;
}
.orb-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(240,180,60,0.15) 0%, transparent 70%);
  bottom: -160px; right: -100px;
  animation: drift2 24s ease-in-out infinite;
}
.orb-3 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,200,80,0.12) 0%, transparent 70%);
  top: 45%; left: 62%;
  animation: drift3 28s ease-in-out infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(60px, 80px) scale(1.08); }
  66%      { transform: translate(-40px, 50px) scale(0.95); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(-70px,-60px) scale(1.1); }
  66%      { transform: translate(50px,-30px) scale(0.92); }
}
@keyframes drift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-80px, 60px) scale(1.15); }
}

/* ── SCROLLING WORDS ── */
.words-bg {
  position: fixed; inset: 0; z-index: 2;
  pointer-events: none; overflow: hidden;
}

.word-row {
  position: absolute; left: 0; right: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.word-track {
  display: inline-flex; align-items: center;
  white-space: nowrap;
  font-weight: 700; letter-spacing: 0.3px;
  will-change: transform;
}
.word-track span {
  padding: 0 22px;
  color: rgba(160, 110, 20, var(--row-opacity));
  font-size: var(--row-size);
}
.word-track span::after {
  content: '·';
  margin-left: 22px;
  opacity: 0.35;
}
.word-track span:last-child::after { content: ''; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.row-1 { top:  6%; --row-size: 11px; --row-opacity: 0.2; }
.row-1 .word-track { animation: scroll-left  55s linear infinite; }

.row-2 { top: 18%; --row-size: 14px; --row-opacity: 0.3; }
.row-2 .word-track { animation: scroll-right 38s linear infinite; }

.row-3 { top: 31%; --row-size: 12px; --row-opacity: 0.16; }
.row-3 .word-track { animation: scroll-left  70s linear infinite; }

.row-4 { top: 47%; --row-size: 13px; --row-opacity: 0.22; }
.row-4 .word-track { animation: scroll-right 45s linear infinite; }

.row-5 { top: 62%; --row-size: 11px; --row-opacity: 0.17; }
.row-5 .word-track { animation: scroll-left  60s linear infinite; }

.row-6 { top: 75%; --row-size: 15px; --row-opacity: 0.26; }
.row-6 .word-track { animation: scroll-right 42s linear infinite; }

.row-7 { top: 88%; --row-size: 11px; --row-opacity: 0.17; }
.row-7 .word-track { animation: scroll-left  68s linear infinite; }

/* ── LOGO ── */
.logo {
  width: 88px; height: 88px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(180,120,0,0.2), 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 32px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── EYEBROW ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--gold);
  background: rgba(201,138,14,0.1); border: 1px solid rgba(201,138,14,0.25);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.25; }
}

/* ── HEADING ── */
h1 {
  font-size: clamp(40px, 9vw, 80px);
  font-weight: 900; letter-spacing: -2.5px; line-height: 1.05;
  margin-bottom: 18px;
  color: var(--text);
}
h1 .accent { color: var(--gold); }

/* ── TAGLINE ── */
.tagline {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted); margin-bottom: 36px; line-height: 1.5;
}

/* ── HINT CARDS ── */
.hints {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; max-width: 640px; width: 100%;
}

.hint-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px; padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: default;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.hint-card:hover {
  border-color: rgba(201,138,14,0.35);
  box-shadow: 0 8px 28px rgba(180,120,0,0.12);
  transform: translateY(-3px);
}
.hint-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(201,138,14,0.1); border: 1px solid rgba(201,138,14,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.hint-title { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: -0.2px; }
.hint-desc  { font-size: 12px; color: var(--muted); line-height: 1.5; }

@media (max-width: 520px) {
  .hints { grid-template-columns: repeat(2, 1fr); }
}
