/* ============================================
   Alchemist Idle RPG — Cartoon / Fun Theme
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg: #f0e6ff;
  --bg-light: #faf5ff;
  --bg-alt: #e8f5e9;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --purple-dark: #5b21b6;
  --green: #10b981;
  --green-dark: #059669;
  --orange: #f59e0b;
  --orange-dark: #d97706;
  --pink: #ec4899;
  --pink-light: #f9a8d4;
  --blue: #3b82f6;
  --red: #ef4444;
  --text: #1e1b4b;
  --text-light: #4c1d95;
  --text-muted: #6b7280;
  --white: #ffffff;
  --shadow: rgba(124, 58, 237, 0.15);
  --shadow-lg: rgba(124, 58, 237, 0.25);
  --font-heading: 'Baloo 2', cursive;
  --font-body: 'Nunito', sans-serif;
  --max-width: 1080px;
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--purple);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--pink);
}

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.page-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Section shared styles --- */
section {
  padding: 70px 0;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--purple-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple));
  margin: 0.6rem auto 0;
  border-radius: 10px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--purple-dark);
  text-align: center;
  margin-bottom: 2rem;
}

/* SVG Ornament Divider — hide in cartoon style */
.ornament-divider {
  display: none;
}

/* --- Scroll animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  background: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px var(--shadow);
  border-bottom: 3px solid var(--purple-light);
}

.site-header .page-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 64px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-logo a {
  color: var(--purple);
  text-decoration: none;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-list a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-list a:hover {
  background: var(--bg);
  color: var(--purple);
}

/* Burger */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.burger-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--purple);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.burger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #f093fb 60%, #f5576c 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  color: var(--white);
  text-shadow: 3px 3px 0 rgba(0,0,0,0.15);
  margin-bottom: 0.8rem;
  line-height: 1.1;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-weight: 600;
}

.hero-description {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* CTA Button — Cartoon style */
.cta-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--orange-dark), 0 8px 25px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
  border: none;
  width: auto;
  height: auto;
  position: relative;
}

.cta-seal::before {
  display: none;
}

.cta-seal:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--orange-dark), 0 12px 30px rgba(0,0,0,0.25);
  color: var(--white);
}

.cta-seal:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--orange-dark), 0 4px 15px rgba(0,0,0,0.2);
}

.hero-note {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-image {
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px var(--shadow-lg);
  overflow: hidden;
  border: 4px solid var(--white);
}

.about-image img {
  width: 100%;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* ============================================
   ALCHEMY SYSTEM — Recipe Cards
   ============================================ */
.alchemy-section {
  background: var(--bg);
}

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

.recipe-card {
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
}

.recipe-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 1;
  transition: none;
}

.recipe-card:nth-child(1)::before { background: var(--green); }
.recipe-card:nth-child(2)::before { background: var(--purple); }
.recipe-card:nth-child(3)::before { background: var(--orange); }
.recipe-card:nth-child(4)::before { background: var(--pink); }
.recipe-card:nth-child(5)::before { background: var(--blue); }

.recipe-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px var(--shadow-lg);
}

.recipe-card:hover::before {
  opacity: 1;
}

.recipe-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}

.recipe-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--purple-dark);
  margin-bottom: 0.75rem;
}

.recipe-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============================================
   PROGRESSION — Lab Levels
   ============================================ */
.progression-section {
  background: var(--bg-light);
}

.progression-list {
  max-width: 700px;
  margin: 0 auto;
}

.progression-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--white);
  border: none;
  border-left: 5px solid var(--purple);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow);
}

.progression-item:nth-child(2) { border-left-color: var(--green); }
.progression-item:nth-child(3) { border-left-color: var(--orange); }
.progression-item:nth-child(4) { border-left-color: var(--pink); }
.progression-item:nth-child(5) { border-left-color: var(--blue); }

.progression-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px var(--shadow-lg);
}

.progression-numeral {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple);
  min-width: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progression-item:nth-child(2) .progression-numeral { color: var(--green); }
.progression-item:nth-child(3) .progression-numeral { color: var(--orange); }
.progression-item:nth-child(4) .progression-numeral { color: var(--pink); }
.progression-item:nth-child(5) .progression-numeral { color: var(--blue); }

.progression-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.progression-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================
   SCREENSHOTS — Book Gallery
   ============================================ */
.screenshots-section {
  background: var(--bg);
}

.book-gallery {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-light) rgba(0,0,0,0.05);
}

.book-gallery::-webkit-scrollbar { height: 6px; }
.book-gallery::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 10px; }
.book-gallery::-webkit-scrollbar-thumb { background: var(--purple-light); border-radius: 10px; }

.book-page {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
}

.book-page img {
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 25px var(--shadow-lg);
  transition: transform 0.3s ease;
}

.book-page:hover img {
  transform: scale(1.05) rotate(-1deg);
}

.book-page__label {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--purple);
  font-weight: 600;
}

/* ============================================
   FEATURES — Fun Cards
   ============================================ */
.features-section {
  background: var(--bg-alt);
}

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

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px var(--shadow-lg);
}

.feature-stamp {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  border: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.feature-card:nth-child(1) .feature-stamp { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.feature-card:nth-child(2) .feature-stamp { background: linear-gradient(135deg, #c4b5fd, #7c3aed); }
.feature-card:nth-child(3) .feature-stamp { background: linear-gradient(135deg, #a7f3d0, #10b981); }
.feature-card:nth-child(4) .feature-stamp { background: linear-gradient(135deg, #fbcfe8, #ec4899); }
.feature-card:nth-child(5) .feature-stamp { background: linear-gradient(135deg, #bfdbfe, #3b82f6); }
.feature-card:nth-child(6) .feature-stamp { background: linear-gradient(135deg, #fecaca, #ef4444); }

.feature-card:hover .feature-stamp {
  transform: scale(1.1) rotate(-5deg);
}

.feature-stamp svg {
  width: 34px;
  height: 34px;
  color: var(--white);
  stroke: var(--white);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section {
  background: var(--bg-light);
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--white);
  background: var(--white);
  box-shadow: 0 4px 15px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px var(--shadow-lg);
}

/* ============================================
   REVIEWS — Bubble Cards
   ============================================ */
.reviews-section {
  background: var(--bg);
}

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

.review-scroll {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  border: none;
  box-shadow: 0 4px 15px var(--shadow);
  transition: transform 0.3s ease;
}

.review-scroll::before,
.review-scroll::after {
  display: none;
}

.review-scroll:hover {
  transform: translateY(-4px);
}

.review-stars {
  color: var(--orange);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.review-author {
  font-weight: 700;
  color: var(--purple);
  font-size: 0.9rem;
}

/* ============================================
   FAQ — Accordion
   ============================================ */
.faq-section {
  background: var(--bg-light);
}

.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border: none;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--bg);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
}

.faq-item.active .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
  background: var(--purple);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: linear-gradient(135deg, var(--purple-dark) 0%, #1e1b4b 100%);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--purple-light);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--purple-light);
  border-radius: 12px;
  color: var(--purple-light);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--purple-light);
  color: var(--white);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-info {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-info p {
  margin-bottom: 0.3rem;
}

/* ============================================
   GDPR MODAL — Fun Popup
   ============================================ */
.gdpr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 27, 75, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.gdpr-overlay.show {
  opacity: 1;
  visibility: visible;
}

.gdpr-scroll {
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: popUp 0.4s ease forwards;
}

.gdpr-scroll.closing {
  animation: popDown 0.3s ease forwards;
}

.gdpr-scroll::before {
  display: none;
}

@keyframes popUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes popDown {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(30px); opacity: 0; }
}

@keyframes scrollRollDown {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes scrollRollUp {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(30px); opacity: 0; }
}

.gdpr-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--purple-dark);
  text-align: center;
  margin-bottom: 1rem;
}

.gdpr-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.gdpr-text a {
  color: var(--purple);
  text-decoration: underline;
}

.gdpr-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.gdpr-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 48px;
  border-radius: 50px;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 0 var(--purple-dark), 0 6px 20px var(--shadow);
}

.gdpr-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--purple-dark), 0 10px 25px var(--shadow-lg);
}

.gdpr-more {
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--purple);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 var(--purple-dark), 0 6px 20px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 0 var(--purple-dark), 0 10px 25px var(--shadow-lg);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
  stroke: var(--white);
}

.scroll-top:hover svg {
  fill: var(--white);
}

/* ============================================
   PARCHMENT TOAST
   ============================================ */
.parchment-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text);
  box-shadow: 0 8px 30px var(--shadow-lg);
  z-index: 8000;
  opacity: 0;
  transition: all 0.4s ease;
  max-width: 90%;
  text-align: center;
}

.parchment-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-details h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--purple-dark);
  margin-bottom: 1rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--purple);
}

.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--purple-dark);
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 0 var(--purple-dark), 0 6px 20px var(--shadow);
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--purple-dark), 0 10px 25px var(--shadow-lg);
}

.contact-hours {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border: none;
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px var(--shadow);
}

.contact-hours p {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding: 40px 0 60px;
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--purple-dark);
  margin-bottom: 0.5rem;
}

.legal-page .legal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--purple);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--bg);
}

.legal-page h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.legal-page p {
  margin-bottom: 0.75rem;
  text-align: justify;
  line-height: 1.7;
}

.legal-page ul,
.legal-page ol {
  margin: 0.5rem 0 1rem 1.5rem;
}

.legal-page ul {
  list-style: disc;
}

.legal-page ol {
  list-style: decimal;
}

.legal-page li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
  .burger-btn {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 30px 30px;
    transition: right 0.4s ease;
    box-shadow: -8px 0 30px var(--shadow-lg);
    z-index: 1050;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav-list a {
    font-size: 1.1rem;
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 12px;
  }

  .nav-list a:hover {
    background: var(--bg);
  }

  .hero {
    min-height: 70vh;
    padding: 60px 15px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-seal {
    padding: 14px 28px;
    font-size: 1rem;
  }

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

  .recipe-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

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

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

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

  section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .recipe-grid {
    grid-template-columns: 1fr 1fr;
  }

  .recipe-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .review-scroll:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .book-page {
    width: 240px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.2rem;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --max-width: 1100px;
  }

  html {
    font-size: 17px;
  }
}
