:root {
  --bg-deep: #060b19;
  --bg-panel: #0d1630;
  --bg-panel-light: #132042;
  --gold: #e5b84b;
  --gold-bright: #f7d774;
  --gold-dark: #b38422;
  --text-cream: #fdf8ee;
  --text-soft: #d9e2f2;
  --text-muted: #9eb0d0;
  --ruby: #b91c46;
  --emerald: #10b981;
  --border-gold: rgba(229, 184, 75, 0.35);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  font-family: Georgia, 'Times New Roman', serif;
  background-color: var(--bg-deep);
  background-image: radial-gradient(circle at 50% 0%, #172652 0%, #060b19 70%);
  color: var(--text-cream);
  line-height: 1.72;
  min-height: 100vh;
  overflow-x: hidden;
}
.stars-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 11, 25, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
}
.nav-container {
  max-width: 1160px; margin: 0 auto; padding: 0.75rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.brand-logo {
  display: flex; align-items: center; gap: 0.65rem;
  color: var(--gold-bright); text-decoration: none; font-size: 1.28rem; font-weight: 700; letter-spacing: 0.02em;
}
.brand-crest {
  width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle, #f7d774 0%, #b38422 100%);
  color: #060b19; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; box-shadow: 0 0 15px rgba(229,184,75,0.45);
}
.nav-menu {
  display: flex; gap: 0.65rem; flex-wrap: wrap; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.nav-menu a {
  color: var(--text-soft); text-decoration: none; font-size: 0.92rem; font-weight: 600;
  padding: 0.42rem 0.8rem; border-radius: 999px; border: 1px solid transparent; transition: all 0.2s;
}
.nav-menu a:hover {
  color: var(--gold-bright); border-color: var(--border-gold); background: rgba(229,184,75,0.12);
}
main { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 0 1.15rem 4rem; }

.hero-banner {
  position: relative; border-radius: 24px; overflow: hidden; margin-top: 1.4rem;
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.65);
  background: #091126;
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42;
}
.hero-overlay {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(6,11,25,0.55) 0%, rgba(6,11,25,0.92) 100%);
  padding: 3.2rem 1.5rem; text-align: center;
}
.royal-pill {
  display: inline-block; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: rgba(229,184,75,0.16); border: 1px solid var(--gold);
  color: var(--gold-bright); padding: 0.32rem 1rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem;
}
h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.9rem); line-height: 1.22;
  color: #ffffff; text-shadow: 0 3px 18px rgba(0,0,0,0.8); margin-bottom: 0.9rem;
}
h1 span { color: var(--gold-bright); }
.hero-sub {
  max-width: 740px; margin: 0 auto 1.8rem; font-size: 1.08rem; color: var(--text-soft);
}
.hero-btns {
  display: flex; justify-content: center; gap: 0.9rem; flex-wrap: wrap;
}
.btn-royal {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #f7d774 0%, #d49b2a 100%);
  color: #080f21 !important; font-weight: 800; font-size: 1.02rem;
  padding: 0.92rem 1.65rem; border-radius: 14px; border: none; cursor: pointer;
  text-decoration: none !important; box-shadow: 0 8px 24px rgba(229,184,75,0.35);
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-royal:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(229,184,75,0.5); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: rgba(255,255,255,0.08); border: 1.5px solid var(--gold);
  color: var(--gold-bright) !important; font-weight: 700; font-size: 1rem;
  padding: 0.88rem 1.5rem; border-radius: 14px; cursor: pointer; text-decoration: none !important;
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(229,184,75,0.18); }

.section-block { margin-top: 3.4rem; }
.section-header { text-align: center; margin-bottom: 1.8rem; }
.section-header h2 { font-size: clamp(1.55rem, 3.5vw, 2.2rem); color: var(--gold-bright); margin-bottom: 0.5rem; }
.section-header p { color: var(--text-soft); max-width: 720px; margin: 0 auto; font-size: 1.02rem; }

.card-royal {
  background: linear-gradient(180deg, var(--bg-panel-light) 0%, var(--bg-panel) 100%);
  border: 1.5px solid var(--border-gold); border-radius: 22px;
  padding: 1.8rem; box-shadow: 0 14px 36px rgba(0,0,0,0.45);
}

/* FORM INPUTS - EXTRA CLEAR FOR 35-65+ USERS */
.form-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; margin-bottom: 1.3rem;
}
.field-group { display: flex; flex-direction: column; gap: 0.4rem; text-align: left; }
.field-group label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700; font-size: 0.95rem; color: var(--gold-bright);
}
.field-group input, .field-group select {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
  border: 1.5px solid rgba(229,184,75,0.45); background: #070d1f;
  color: #ffffff; font-size: 1.02rem; font-family: inherit;
}
.field-group input:focus, .field-group select:focus {
  outline: none; border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(229,184,75,0.22);
}

/* RESULT & PAYWALL BLUR */
.result-box {
  margin-top: 1.8rem; border-top: 1px solid var(--border-gold); padding-top: 1.8rem; display: none;
}
.result-box.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.sign-showcase {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  background: rgba(0,0,0,0.28); border: 1px solid var(--border-gold);
  border-radius: 18px; padding: 1.35rem; margin-bottom: 1.4rem;
}
.sign-showcase img {
  width: 135px; height: 135px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid var(--gold); box-shadow: 0 0 25px rgba(229,184,75,0.35);
}
.gem-highlight {
  background: linear-gradient(135deg, rgba(229,184,75,0.14), rgba(185,28,70,0.14));
  border: 1px solid var(--gold); border-radius: 16px; padding: 1.25rem; margin: 1.3rem 0;
}
.locked-wrapper {
  position: relative; margin-top: 1.5rem; border-radius: 18px; overflow: hidden;
  border: 1.5px solid var(--gold); background: #081024;
}
.blurred-preview {
  padding: 1.6rem; filter: blur(6px); user-select: none; pointer-events: none; opacity: 0.55;
}
.unlock-overlay {
  position: absolute; inset: 0; z-index: 5;
  background: linear-gradient(180deg, rgba(6,11,25,0.35) 0%, rgba(6,11,25,0.94) 48%, rgba(6,11,25,0.98) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.6rem;
}
.price-badge {
  background: var(--ruby); color: #fff; font-family: sans-serif; font-weight: 800;
  padding: 0.28rem 0.9rem; border-radius: 999px; font-size: 0.86rem; margin-bottom: 0.65rem;
}
.trust-badges {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.84rem; color: var(--text-muted); margin-top: 0.75rem;
}

/* UNLOCKED FULL REPORT */
.unlocked-report {
  display: none; margin-top: 1.5rem; background: #09132b;
  border: 2px solid var(--gold); border-radius: 20px; padding: 1.8rem;
}
.unlocked-report.active { display: block; animation: fadeIn 0.6s ease; }
.report-toolbar {
  display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: space-between; align-items: center;
  background: rgba(229,184,75,0.12); border: 1px solid var(--border-gold);
  padding: 1rem 1.2rem; border-radius: 14px; margin-bottom: 1.5rem;
}
.report-chapter {
  background: rgba(255,255,255,0.03); border-left: 4px solid var(--gold);
  padding: 1.1rem 1.25rem; border-radius: 0 12px 12px 0; margin-bottom: 1.15rem;
}
.report-chapter h4 { color: var(--gold-bright); font-size: 1.15rem; margin-bottom: 0.4rem; }

/* LOVE CALCULATOR */
.love-art-banner {
  width: 100%; max-height: 320px; object-fit: cover; border-radius: 16px;
  border: 1.5px solid var(--border-gold); margin-bottom: 1.4rem;
}
.couple-avatars {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin: 1.2rem 0; flex-wrap: wrap;
}
.couple-avatars img {
  width: 112px; height: 112px; border-radius: 50%; border: 2.5px solid var(--gold); object-fit: cover;
}
.heart-connector {
  font-size: 2.1rem; color: #f43f5e; text-shadow: 0 0 18px rgba(244,63,94,0.7);
}
.meter-bar {
  width: 100%; height: 16px; background: rgba(255,255,255,0.1);
  border-radius: 999px; overflow: hidden; margin: 0.45rem 0 1rem; border: 1px solid var(--border-gold);
}
.meter-fill {
  height: 100%; background: linear-gradient(90deg, #f43f5e, #f7d774); border-radius: 999px; transition: width 0.7s ease;
}

/* DAILY TAROT */
.tarot-grid {
  display: grid; grid-template-columns: repeat(3, minmax(110px, 195px));
  justify-content: center; gap: 1.2rem; margin-top: 1.2rem;
}
.tarot-card-btn {
  background: none; border: none; cursor: pointer; transition: transform 0.25s;
}
.tarot-card-btn:hover { transform: translateY(-6px) scale(1.03); }
.tarot-card-btn img {
  width: 100%; border-radius: 14px; border: 2px solid var(--gold);
  box-shadow: 0 10px 26px rgba(0,0,0,0.6);
}

/* 12 ZODIAC GALLERY */
.zodiac-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 1.25rem;
}
.zodiac-card {
  background: var(--bg-panel); border: 1px solid var(--border-gold);
  border-radius: 18px; padding: 1.15rem; text-align: center; cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.zodiac-card:hover { transform: translateY(-4px); border-color: var(--gold-bright); }
.zodiac-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px;
  margin-bottom: 0.8rem; border: 1px solid rgba(229,184,75,0.3);
}
.zodiac-card h3 { color: var(--gold-bright); font-size: 1.22rem; margin-bottom: 0.15rem; }
.zodiac-card span { font-family: sans-serif; font-size: 0.83rem; color: var(--text-muted); display: block; margin-bottom: 0.6rem; }

/* MODAL CHECKOUT SIMULATION / INSTRUCTIONS */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(3, 6, 15, 0.86);
  backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-backdrop.active { display: flex; }
.modal-card {
  background: var(--bg-panel-light); border: 2px solid var(--gold); border-radius: 22px;
  max-width: 520px; width: 100%; padding: 1.8rem; text-align: center; position: relative;
}

/* COOKIE BANNER (GDPR ITALY) */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(8, 14, 31, 0.97); border-top: 1.5px solid var(--gold);
  padding: 1rem 1.25rem; display: none;
}
.cookie-inner {
  max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 0.88rem;
}

footer {
  border-top: 1px solid var(--border-gold); background: #040813;
  padding: 2.5rem 1.2rem; text-align: center; color: var(--text-muted); font-size: 0.9rem; position: relative; z-index: 2;
}
.footer-links { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a { color: var(--gold-bright); text-decoration: none; font-family: sans-serif; font-weight: 600; }

/* PRINT PDF CLEAN STYLING */
@media print {
  header, .hero-banner, #tarocchi, #galleria, #affinita-form-wrap, #oroscopo-form-wrap, footer, .no-print, .cookie-bar {
    display: none !important;
  }
  body { background: #fff !important; color: #111 !important; font-size: 13pt; }
  .card-royal, .unlocked-report, .report-chapter, .sign-showcase {
    background: #fff !important; color: #111 !important; border: 1px solid #ccc !important; box-shadow: none !important;
  }
  .report-chapter h4, h2, h3 { color: #000 !important; }
}

@media (max-width: 640px) {
  html { font-size: 17px; }
  .hero-overlay { padding: 2.2rem 1.1rem; }
  .card-royal { padding: 1.25rem; }
  .tarot-grid { gap: 0.65rem; }
}