/* YummyCrash legal pages — candy-themed minimal style */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #ffd2e0;
  color: #4a2c3a;
  line-height: 1.7;
  min-height: 100vh;
  padding: 24px 16px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 10px 40px rgba(201, 94, 155, 0.18);
  border: 3px solid #e988b8;
}

/* Home page hero */
.hero {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px dashed #ffd2e0;
}

.hero h1 {
  font-size: 48px;
  font-weight: 900;
  color: #c95e9b;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.hero .tagline {
  color: #a4587a;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Home page cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 600px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  display: block;
  background: linear-gradient(135deg, #ffe9f1 0%, #ffd2e0 100%);
  border: 2px solid #e988b8;
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201, 94, 155, 0.25);
}

.card h2 {
  color: #c95e9b;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
}

.card p {
  color: #6b4456;
  font-size: 14px;
}

/* Legal pages */
.legal h1 {
  font-size: 36px;
  font-weight: 900;
  color: #c95e9b;
  margin-bottom: 8px;
  text-align: center;
}

.legal .updated {
  text-align: center;
  color: #a4587a;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px dashed #ffd2e0;
}

.legal h2 {
  color: #c95e9b;
  font-size: 20px;
  font-weight: 900;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal p {
  margin-bottom: 14px;
  color: #4a2c3a;
}

.legal strong {
  color: #c95e9b;
  font-weight: 800;
}

.legal ul {
  margin-bottom: 14px;
  padding-left: 24px;
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  color: #c95e9b;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(201, 94, 155, 0.4);
  text-underline-offset: 3px;
}

.legal a:hover {
  text-decoration-color: #c95e9b;
}

.back {
  display: inline-block;
  margin-bottom: 16px;
  color: #c95e9b;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.back:hover {
  text-decoration: underline;
}

footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px dashed #ffd2e0;
  text-align: center;
  font-size: 14px;
  color: #6b4456;
}

footer a {
  color: #c95e9b;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  body {
    padding: 12px 8px;
  }
  .container {
    padding: 28px 20px;
    border-radius: 18px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .legal h1 {
    font-size: 28px;
  }
}
