@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --background: #1c291f;
  --foreground: #e8f0ea;
  --primary: #fbbf24;
  --primary-hi: #fef3c7;
  --primary-low: #d97706;
  --primary-foreground: #141d16;
  --secondary: #3a5241;
  --secondary-foreground: #e8f0ea;
  --muted: #2f4033;
  --muted-foreground: #8ca694;
  --accent: #b89b4d;
  --card: #273b2d;
  --card-foreground: #e8f0ea;
  --border: #3e5c46;
  --input: #152018;
  --ring: #fbbf24;
  --radius: 0.5rem;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* the app's actual base pattern: crossed 45deg/-45deg gold hairlines, 30px spacing, 15% opacity */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    repeating-linear-gradient(45deg, #fbbf24, #fbbf24 1px, transparent 1px, transparent 30px),
    repeating-linear-gradient(-45deg, #fbbf24, #fbbf24 1px, transparent 1px, transparent 30px);
}

body > * { position: relative; z-index: 1; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, .font-heading {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wordmark {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(to bottom, var(--primary-hi), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
}

/* header chip: bg-card/40 + backdrop-blur + border, exactly as in the app's Play header badges */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 40%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}

/* app card surface */
.card {
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  border-radius: calc(var(--radius) * 3); /* rounded-3xl equivalent */
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.card.interactive { cursor: pointer; transition: transform 0.2s ease; }
.card.interactive:hover { transform: translateY(-2px); }

/* gold pill CTA — matches the app's primary gradient button with border-b-4 emphasis */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary-foreground);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-low) 100%);
  border: none;
  border-bottom: 4px solid var(--primary-low);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.pill-gold {
  display: inline-block;
  padding: 4px 12px;
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
  color: color-mix(in srgb, var(--primary) 90%, white);
}

.text-muted { color: var(--muted-foreground); }
