@import url('fonts.css');

:root {
  /* Color Palette matching video & brand */
  --color-gold: #ebb129;
  --color-gold-hover: #dda31c;
  --color-gold-light: #f7ca5e;
  --color-dark: #1b1918;
  --color-dark-surface: #24211f;
  --color-dark-card: #2e2a28;
  --color-dark-border: #423c38;
  --color-cream: #faf5ea;
  --color-white: #ffffff;
  --color-text-dark: #1f1b18;
  --color-text-light: #f9f8f6;
  --color-text-dim: #c5bfb6;
  --color-badge-bg: rgba(27, 25, 24, 0.08);

  /* Fonts (aligned with palmelito.app: Pirata One, Ranchers, Rakkas) */
  --font-pirate: 'Pirata One', cursive, serif;
  --font-title: 'Pirata One', cursive, serif;
  --font-cta: 'Pirata One', cursive, serif;
  --font-ranchers: 'Ranchers', cursive, serif;
  --font-subtitle: 'Ranchers', cursive, serif;
  --font-rakkas: 'Rakkas', cursive, serif;
  --font-body: 'Rakkas', cursive, serif;

  /* Shadows */
  --shadow-card: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  --shadow-card-hover: 0 20px 35px rgba(0, 0, 0, 0.35), 0 15px 15px rgba(0, 0, 0, 0.25);
  --shadow-btn: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size-adjust: from-font;
  background-color: var(--color-gold);
  color: var(--color-text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Enforcement (Strictly following assets/fonts/agents.md & palmelito.app) */
h1, 
.hero-title,
.section-heading,
.rules-heading,
.box-title,
.cta-title,
.faq-title,
.title, 
.heading-primary,
.font-title,
.font-pirate,
.font-cta {
  font-family: var(--font-title);
  font-size-adjust: cap-height from-font;
  font-weight: 400;
  letter-spacing: 0.03em;
}

h2.subheading, 
h3, 
h4, 
.subtitle, 
.heading-secondary,
.section-callout,
.step-number,
.step-info h3,
.box-subtitle,
.box-item-texts h4,
.cta-tag,
.faq-subtitle,
.nav-link,
.accordion-trigger,
.accordion-trigger span,
.font-subtitle,
.font-ranchers {
  font-family: var(--font-subtitle);
  font-size-adjust: from-font;
  font-weight: 400;
  letter-spacing: 0.04em;
}

p, span, a, button, input, textarea, label, li, small, strong, em, .font-body, .font-rakkas {
  font-family: var(--font-body);
  font-size-adjust: from-font;
}

.btn-primary,
.btn-secondary,
.enter-site-btn,
.enter-site-btn span,
.btn-next-card,
.age-badge,
.age-badge span,
.footer-socials-title {
  font-family: var(--font-cta);
  letter-spacing: 0.05em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Common UI Elements */

/* Pill buttons */
.btn-primary {
  font-family: var(--font-cta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background-color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

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

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-dark);
  font-weight: 700;
}

.btn-gold:hover {
  background-color: var(--color-gold-light);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* Badge / Chips */
.badge-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
