/**
 * Yoink Adventures - Homepage Styles
 * Accessible landing page (WCAG 2.1 Level AA)
 */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.yoink-homepage {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  overflow-x: hidden;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #4f46e5;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 1000;
  font-weight: 500;
}

.skip-link:focus {
  top: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  overflow: hidden;
}

/* Background Image */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Dark Overlay for Text Contrast (WCAG compliance) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
}

/* Content Container */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

/* Main Title */
.hero-title {
  font-family: 'Brush Script MT', cursive, 'Lucida Handwriting', 'Apple Chancery', serif;
  font-size: clamp(48px, 10vw, 80px);
  font-weight: 400;
  margin: 0 0 20px 0;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

/* Tagline */
.hero-tagline {
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 40px 0;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Call to Action Button */
.cta-button {
  display: inline-block;
  background: #2196F3;
  color: #ffffff;
  text-decoration: none;
  padding: 20px 40px;
  border-radius: 50px;
  margin: 0 0 60px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4);
}

.cta-button:hover {
  background: #1976D2;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(33, 150, 243, 0.6);
}

.cta-button:focus {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
  background: #1976D2;
}

.cta-main {
  display: block;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 600;
  margin-bottom: 4px;
}

.cta-sub {
  display: block;
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 300;
  opacity: 0.95;
}



/* Text Content */
.hero-text {
  max-width: 960px;
  margin: 1.75rem auto 0;
}

.section-heading {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 300;
  margin: 0 0 30px 0;
  color: #ffffff;
  line-height: 1.3;
}

.hero-paragraph {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 300;
  line-height: 1.7;
  margin: 0 0 25px 0;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-paragraph:last-child {
  margin-bottom: 0;
}

/* Social Media Section */
.social-section {
  margin: 60px 0 30px 0;
}

.social-heading {
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 300;
  margin: 0 0 15px 0;
  color: #ffffff;
}

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

.social-link {
  color: #2196F3;
  text-decoration: none;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 400;
  transition: color 0.2s;
}

.social-link:hover {
  color: #64B5F6;
  text-decoration: underline;
}

.social-link:focus {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
  color: #64B5F6;
}

.social-separator {
  color: #2196F3;
  font-size: clamp(16px, 3vw, 20px);
  margin: 0 4px;
}

/* Beta Notice */
.beta-notice {
  margin: 40px 0 0 0;
  font-size: clamp(13px, 2.5vw, 15px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.beta-notice p {
  margin: 0 0 8px 0;
}

.beta-notice p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 16px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-tagline {
    font-size: 14px;
    letter-spacing: 1px;
  }
  
  .cta-button {
    padding: 16px 32px;
  }
  
  .section-heading {
    font-size: 24px;
  }
  
  .hero-paragraph {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 40px;
  }
  
  .cta-main {
    font-size: 18px;
  }
  
  .cta-sub {
    font-size: 13px;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .hero-overlay {
    background: rgba(0, 0, 0, 0.8);
  }
  
  .cta-button {
    border: 2px solid #ffffff;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .cta-button {
    transition: none;
  }
  
  .cta-button:hover {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .hero-background,
  .hero-overlay {
    display: none;
  }
  
  .hero-content {
    color: #000000;
  }
  
  .hero-title,
  .hero-tagline,
  .section-heading,
  .hero-paragraph {
    color: #000000;
    text-shadow: none;
  }
}

.hero-kicker {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-card {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(4px);
}

.hero-card .section-heading {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.hero-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 1em;
  position: relative;
  margin-bottom: 0.25rem;
}

.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #facc15;
}

/* Mobile stacking */
@media (max-width: 768px) {
  .hero-cards {
    grid-template-columns: 1fr;
  }
}

.hero-card .section-heading {
  font-size: 1.25rem !important; /* larger */
  font-weight: 600 !important;   /* bold */
  color: #ffd54f !important;     /* warm accent (gold) */
  text-shadow: 0 1px 2px rgba(0,0,0,0.4); /* subtle pop */
  margin-bottom: 0.75rem;
}