/* ============================================================
   KinkMatch — shared stylesheet
   Dark luxury crimson theme, matches the mobile app
   ============================================================ */

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

:root {
  --bg:       #0d0d1a;
  --bg-deep:  #080810;
  --surface:  #1c1c2e;
  --card:     #14101f;
  --primary:  #e63946;
  --primary-dark: #8b0000;
  --primary-light: #ff6b9d;
  --text:     #ffffff;
  --text-mid: rgba(255,255,255,0.65);
  --text-dim: rgba(255,255,255,0.4);
  --border:   rgba(255,255,255,0.08);
  --border-accent: rgba(230,57,70,0.3);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Ambient gradient background ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(230,57,70,0.15), transparent 50%),
    radial-gradient(ellipse at 80% 110%, rgba(139,0,0,0.12), transparent 50%),
    linear-gradient(180deg, #0d0d1a 0%, #120008 50%, #0d0d1a 100%);
  z-index: -2;
  pointer-events: none;
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  text-decoration: none;
  color: #fff;
}
.brand span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--primary); }

.nav-cta {
  padding: 10px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(230,57,70,0.35);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230,57,70,0.5);
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* ── Section basics ── */
section { padding: 100px 32px; }
.container { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-eyebrow {
  text-align: center;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-sub {
  text-align: center;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(90deg, #ff3366, #e63946, #8b0000);
  color: #fff;
  box-shadow: 0 8px 24px rgba(230,57,70,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(230,57,70,0.55);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid var(--border-accent);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(230,57,70,0.08);
}

/* ── Cards ── */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

/* ── Footer ── */
.footer {
  padding: 60px 32px 40px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.4);
  margin-top: 60px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 12px;
  max-width: 300px;
  line-height: 1.7;
}
.footer h4 {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 800;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* ── Mobile responsive ── */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(13,13,26,0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .hamburger { display: block; }
  section { padding: 60px 20px; }
  .section-title { font-size: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}
