/* ═══════════════════════════════════════════════
   Baccarat Coach — Privacy Policy
   Matches main site casino-craft aesthetic
   ═══════════════════════════════════════════════ */

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

:root {
  --felt:        #1B3A2D;
  --felt-light:  #2A5743;
  --charcoal:    #1E1E1E;
  --graphite:    #2C2C2C;
  --warm-gray:   #6B6560;
  --taupe:       #A89F91;
  --sand:        #C8BDA8;
  --ivory:       #F4F0E8;
  --neon:        #DFFD06;
  --neon-deep:   #9CB104;
  --neon-glow:   rgba(223, 253, 6, 0.15);
  --surface:     #FFFFFF;
  --player-blue: #3B7DD8;
  --banker-red:  #D84B3B;
  --ease-deal:   cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  background-color: var(--charcoal);
  color: var(--ivory);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Felt grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Nav — matches main site fixed nav */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,189,168,0.08);
}
.nav-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ivory);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.nav-back {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sand);
  text-decoration: none;
  transition: color 0.25s var(--ease-deal);
}
.nav-back:hover { color: var(--neon-deep); }

/* Main content */
main {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 28px 120px;
}

/* Header area with felt-green accent */
.policy-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(200,189,168,0.1);
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 12px;
  line-height: 1.1;
}
.updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--warm-gray);
  letter-spacing: 0.08em;
  display: block;
}

/* Policy body */
.policy-body {
  font-size: 0.95rem;
  color: var(--sand);
  line-height: 1.8;
}
.policy-body p {
  margin-bottom: 1.4em;
}
.policy-body p:last-child {
  margin-bottom: 0;
}
.policy-body strong {
  color: var(--ivory);
  font-weight: 500;
}

/* Highlight card for key privacy statement */
.privacy-highlight {
  background: linear-gradient(145deg, rgba(42,87,67,0.25) 0%, rgba(30,30,30,0.4) 100%);
  border: 1px solid rgba(223,253,6,0.1);
  border-radius: 12px;
  padding: 28px 28px;
  margin: 32px 0;
  position: relative;
}
.privacy-highlight::before {
  content: '';
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(223,253,6,0.35), transparent);
}
.privacy-highlight p {
  margin-bottom: 0;
  color: var(--ivory);
  font-weight: 400;
}

/* Footer — matches main site */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(200,189,168,0.08);
  padding: 36px 0;
  background: var(--charcoal);
}
.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sand);
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--warm-gray);
  text-decoration: none;
  margin-left: 24px;
  transition: color 0.25s var(--ease-deal);
}
.footer-links a:hover { color: var(--neon-deep); }

@media (max-width: 480px) {
  .nav-inner, main, .footer-inner { padding-left: 20px; padding-right: 20px; }
  main { padding-top: 100px; padding-bottom: 80px; }
  .privacy-highlight { padding: 22px 20px; }
}
