/* ================================================================
   Yoink Adventures - Front Page Styles
   Extracted from front-page.php inline <style>
   ================================================================ */

/* ================================================================
   CSS VARIABLES
   ================================================================ */
:root {
  --leather-dark: #3D2914;
  --leather-mid: #5D4037;
  --leather-light: #8B5A2B;
  --brass: #B8860B;
  --brass-light: #DAA520;
  --brass-shine: #FFD700;
  --vintage-teal: #2A7B7B;
  --vintage-coral: #E07B54;
  --vintage-mustard: #D4A017;
  --paper-cream: #F5F0E6;
  --text-light: #F5F0E6;
  --text-dark: #2C1810;
  --card-border: rgba(218, 165, 32, 0.3);
}

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

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--leather-dark);
  color: var(--text-light);
  line-height: 1.6;
}

:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================
   SECTION 1: HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(61,41,20,0.65) 0%, rgba(61,41,20,0.55) 50%, rgba(61,41,20,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.hero-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--brass-light);
  margin: 0 0 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 4px 24px rgba(0,0,0,0.3);
  color: var(--paper-cream);
}

.hero-subtitle {
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.7;
  margin: 0 0 2rem;
  color: var(--paper-cream);
  opacity: 0.92;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle em {
  font-style: italic;
  color: var(--brass-light);
}

.cta-button {
  display: inline-block;
  padding: 1.1rem 2.75rem;
  background: linear-gradient(180deg, var(--brass-shine) 0%, var(--brass) 50%, var(--brass-light) 100%);
  color: var(--leather-dark);
  text-decoration: none;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(184,134,11,0.4), inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 0 rgba(0,0,0,0.1);
}

.cta-button:hover, .cta-button:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(184,134,11,0.5), inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -2px 0 rgba(0,0,0,0.1);
}

.hero-beta {
  margin-top: 1rem;
  font-family: 'Caveat', cursive;
  font-size: 0.95rem;
  color: var(--brass-light);
  opacity: 0.75;
}

/* ================================================================
   SECTION 2: THE PROBLEM
   ================================================================ */
.problem-section {
  background: var(--paper-cream);
  color: var(--text-dark);
  padding: 4rem 2rem;
}

.problem-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.problem-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1.5rem;
  color: var(--leather-dark);
}

.problem-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--leather-mid);
  margin: 0 0 1.5rem;
}

.problem-punchline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--leather-dark);
  margin: 0;
}

/* ================================================================
   SECTION 3: HOW IT WORKS
   ================================================================ */
.how-section {
  background: var(--leather-dark);
  color: var(--text-light);
  padding: 4rem 2rem;
  position: relative;
}

/* Top stitching */
.how-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, transparent, transparent 12px, var(--brass) 12px, var(--brass) 24px);
  opacity: 0.5;
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.how-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 2.5rem;
  color: var(--brass-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.step-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brass-light);
  margin: 0 0 0.5rem;
}

.step-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--paper-cream);
  opacity: 0.9;
}

.how-link {
  display: inline-block;
  margin-top: 2rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brass-light);
  text-decoration: none;
  border-bottom: 2px solid var(--brass);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.how-link:hover, .how-link:focus {
  color: var(--brass-shine);
  border-color: var(--brass-shine);
}

/* ================================================================
   SECTION 4: WHAT WILL YOU COLLECT?
   ================================================================ */
.collect-section {
  background: var(--paper-cream);
  color: var(--text-dark);
  padding: 4rem 2rem;
}

.collect-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.collect-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--leather-dark);
}

.collect-subheading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 600;
  color: var(--leather-mid);
  margin: 2rem 0 1.25rem;
  text-align: left;
}

.collect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Category card — photo background with text overlay */
.collect-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.collect-card:hover, .collect-card:focus {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Category card background — photo or placeholder */
.collect-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(93,64,55,0.85) 0%, rgba(61,41,20,0.95) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.collect-card-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collect-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(218,165,32,0.05) 10px, rgba(218,165,32,0.05) 11px);
}

.card-emoji {
  font-size: 2.25rem;
  position: relative;
}

.card-photo-hint {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--paper-cream);
  opacity: 0.9;
  position: relative;
  text-align: center;
  padding: 0.25rem 0.75rem;
  background: rgba(0,0,0,0.35);
  border-radius: 4px;
  line-height: 1.4;
}

/* Dark gradient overlay at bottom for text */
.collect-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 0.75rem 0.75rem;
  background: linear-gradient(transparent 0%, rgba(44,24,16,0.85) 100%);
}

.collect-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.collect-tagline {
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  color: var(--leather-mid);
  margin: 1.5rem 0 0;
  line-height: 1.5;
}

/* ================================================================
   SECTION 5: CTA + FOOTER
   ================================================================ */
.footer-section {
  background: var(--leather-dark);
  color: var(--text-light);
  padding: 4rem 2rem 3rem;
  text-align: center;
  position: relative;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, transparent, transparent 12px, var(--brass) 12px, var(--brass) 24px);
  opacity: 0.5;
}

.footer-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: var(--brass-light);
}

.footer-cta {
  margin-bottom: 3rem;
}

.social-section {
  margin-bottom: 2rem;
}

.social-heading {
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--brass-light);
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  color: var(--paper-cream);
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--brass);
  border-radius: 4px;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-link:nth-child(1) { transform: rotate(-2deg); }
.social-link:nth-child(3) { transform: rotate(1deg); }
.social-link:nth-child(5) { transform: rotate(-1deg); }

.social-link:hover, .social-link:focus {
  background: var(--brass);
  color: var(--leather-dark);
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 4px 12px rgba(184,134,11,0.4);
}

.social-separator {
  color: var(--brass);
  opacity: 0.5;
  font-weight: 300;
}

.beta-notice {
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, rgba(245,240,230,0.1) 0%, rgba(245,240,230,0.05) 100%);
  border: 1.5px solid var(--card-border);
  border-radius: 4px;
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  transform: rotate(-0.5deg);
  position: relative;
}

.beta-notice::before {
  content: '';
  position: absolute;
  top: -8px; left: 20px;
  width: 40px; height: 20px;
  background: rgba(255,235,180,0.6);
  transform: rotate(-5deg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.beta-notice p { margin: 0; color: var(--paper-cream); }
.beta-notice p + p { margin-top: 0.5rem; }

.feedback-link {
  color: var(--brass-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-style: wavy;
  text-decoration-color: var(--brass);
}

.feedback-link:hover { color: var(--brass-shine); }

.footer-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--brass);
  opacity: 0.6;
  margin: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 900px) {
  .collect-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 639px) {
  .hero-content { padding: 2rem 1.5rem; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }

  .cta-button { padding: 1rem 2rem; font-size: 1.05rem; }

  .problem-section, .how-section, .collect-section, .footer-section {
    padding: 3rem 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .collect-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .collect-card {
    aspect-ratio: 16 / 9;
  }

  .social-links { flex-direction: column; gap: 0.5rem; }
  .social-link { transform: rotate(0deg) !important; width: 100%; text-align: center; }
  .social-separator { display: none; }
}
