/* ─── MyDate · Global Stylesheet ─── */
/* Dark theme — Warm Coral / Ruby primary · Gold tertiary */

:root {
  --primary: #FFB3BA;
  --primary-deep: #8F1B30;
  --primary-dark: #6B0020;
  --primary-light: #FFD9DD;
  --secondary: #E8BCBA;
  --tertiary: #F5C252;
  --tertiary-deep: #573B00;
  --bg: #1A1110;
  --bg-dim: #140D0C;
  --surface: #221917;
  --surface-mid: #271E1C;
  --surface-high: #322522;
  --surface-highest: #3D2F2D;
  --surface-bright: #423733;
  --on-surface: #ECDED9;
  --on-surface-muted: #D8C2BD;
  --outline: #A08C89;
  --outline-faint: #534340;
  --action-like: #66BB6A;
  --action-dislike: #EF5350;
  --action-super: #F5C252;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--on-surface);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(26,17,16,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline-faint);
  z-index: 100;
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.nav-logo span { color: var(--tertiary); }
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  color: var(--on-surface-muted);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--primary); background: rgba(255,179,186,0.08); }
.nav-links a.active { color: var(--primary); }
.nav-cta {
  background: var(--primary) !important;
  color: var(--primary-dark) !important;
  font-weight: 500 !important;
  padding: 0.4rem 1rem !important;
}
.nav-cta:hover { background: var(--primary-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--on-surface); border-radius: 2px; transition: 0.3s; }

/* ── LAYOUT ── */
.page-wrap { padding-top: 64px; min-height: 100vh; }
.container { max-width: 1000px; margin: 0 auto; }
section { padding: 5rem 2rem; }
.divider { border: none; border-top: 1px solid var(--outline-faint); margin: 0; }

/* ── TYPOGRAPHY ── */
.section-label {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 1rem; line-height: 1.2;
}
.section-sub {
  color: var(--on-surface-muted);
  font-size: 1.0625rem;
  max-width: 520px;
  margin-bottom: 3rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500; font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--outline-faint);
  color: var(--on-surface-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400; font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  text-decoration: none; cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ── INNER PAGE (legal/info pages) ── */
.inner-page { max-width: 760px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.inner-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--on-surface);
  margin-bottom: 0.5rem;
}
.inner-page .last-updated { font-size: 0.875rem; color: var(--outline); margin-bottom: 2.5rem; }
.inner-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem; font-weight: 700;
  color: var(--on-surface);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--outline-faint);
}
.inner-page h3 { font-size: 1rem; font-weight: 500; color: var(--primary); margin: 1.5rem 0 0.5rem; }
.inner-page p { color: var(--on-surface-muted); margin-bottom: 1rem; font-size: 0.9375rem; line-height: 1.8; }
.inner-page ul, .inner-page ol { margin: 0.75rem 0 1rem 1.5rem; }
.inner-page li { color: var(--on-surface-muted); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 0.3rem; }
.inner-page a { color: var(--primary); }
.inner-page strong { color: var(--on-surface); }

/* ── SAFETY GRID ── */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.safety-item {
  display: flex; gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--outline-faint);
  border-radius: 14px; padding: 1.5rem;
}
.safety-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.safety-item h4 { font-size: 0.9375rem; font-weight: 500; margin-bottom: 0.25rem; }
.safety-item p { font-size: 0.875rem; color: var(--on-surface-muted); line-height: 1.5; margin: 0; }

/* ── GUIDELINE ITEMS ── */
.guideline-item {
  display: flex; gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--outline-faint);
  border-radius: 14px; padding: 1.5rem;
  margin-bottom: 1rem;
}
.guideline-icon { font-size: 1.75rem; flex-shrink: 0; }
.guideline-item h3 { font-size: 1rem; font-weight: 500; color: var(--on-surface); margin-bottom: 0.35rem; }
.guideline-item p { font-size: 0.875rem; color: var(--on-surface-muted); line-height: 1.6; margin: 0; }

/* ── SUPPORT ── */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 3rem; }
.support-card {
  background: var(--surface);
  border: 1px solid var(--outline-faint);
  border-radius: 14px; padding: 1.5rem;
  text-align: center; transition: border-color 0.2s;
}
.support-card:hover { border-color: var(--outline); }
.support-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.support-card h3 { font-size: 0.9375rem; font-weight: 500; margin-bottom: 0.35rem; }
.support-card p { font-size: 0.8375rem; color: var(--outline); margin-bottom: 0.5rem; }
.support-card a { color: var(--primary); text-decoration: none; font-size: 0.875rem; }

/* ── DELETE FORM ── */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--on-surface-muted); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--outline-faint);
  border-radius: 8px;
  color: var(--on-surface);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--surface-mid); }
.form-group .checkbox-row { display: flex; align-items: flex-start; gap: 0.6rem; }
.form-group .checkbox-row input[type="checkbox"] { width: auto; margin-top: 3px; flex-shrink: 0; }
.warning-box {
  background: rgba(143,27,48,0.2);
  border: 1px solid rgba(255,179,186,0.25);
  border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 2rem;
}
.warning-box p { color: var(--primary-light); margin: 0; font-size: 0.9rem; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--surface-bright);
  border: 1px solid var(--outline-faint);
  border-radius: 100px; padding: 0.75rem 1.5rem;
  color: var(--on-surface); font-size: 0.875rem;
  z-index: 999; transition: transform 0.4s ease; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── FOOTER ── */
footer {
  background: var(--bg-dim);
  border-top: 1px solid var(--outline-faint);
  padding: 3rem 2rem 2rem;
}
.footer-inner { max-width: 1000px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 2rem;
  margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--outline-faint);
}
.footer-brand .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--primary); margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.875rem; color: var(--outline); max-width: 260px; }
.footer-col h4 {
  font-size: 0.8125rem; font-weight: 500;
  color: var(--on-surface-muted); margin-bottom: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: var(--outline); font-size: 0.875rem; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8125rem; color: var(--outline); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--bg-dim);
    border-bottom: 1px solid var(--outline-faint);
    padding: 1rem; gap: 0.25rem;
  }
  .hamburger { display: flex; }
  .safety-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}
