/* ============================================
   GOT: DRAGONFIRE — Guida non ufficiale
   Sito informativo — 4 pagine
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;800&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #0d0806;
  --bg-secondary: #17100b;
  --bg-card: #1e150f;
  --bg-elevated: #271b13;
  --accent-gold: #d4a24c;
  --accent-gold-bright: #f0c674;
  --accent-fire: #c1462a;
  --accent-fire-bright: #e56b3e;
  --text-primary: #f4ebe0;
  --text-secondary: #b8a898;
  --text-muted: #7a6c5f;
  --border-subtle: rgba(212, 162, 76, 0.12);
  --border-strong: rgba(212, 162, 76, 0.28);
  --shadow-glow: 0 0 60px rgba(193, 70, 42, 0.18);
  --max-width: 1200px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at top, rgba(193, 70, 42, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(212, 162, 76, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  color: var(--accent-gold-bright);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover { color: var(--accent-fire-bright); }

/* ============ TOP BANNER ============ */
.top-banner {
  background: linear-gradient(90deg, var(--accent-fire), var(--accent-gold));
  color: var(--bg-primary);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.top-banner strong {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.15em;
  margin-right: 0.5rem;
}

/* ============ HEADER ============ */
.site-header {
  background: rgba(13, 8, 6, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.3rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-flame {
  display: inline-block;
  width: 16px;
  height: 20px;
  background: linear-gradient(180deg, var(--accent-fire-bright) 0%, var(--accent-gold-bright) 100%);
  clip-path: polygon(50% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation: flicker 1.6s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(0.92) rotate(-2deg); }
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text-secondary);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent-gold-bright); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-fire), var(--accent-gold));
}

/* ============ HERO ============ */
.hero {
  padding: 6rem 2rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--accent-fire-bright);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-fire-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.dracarys-mark {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent-fire-bright);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  margin: 1rem 0;
  background: rgba(193, 70, 42, 0.08);
}

/* ============ PAGE TITLE ============ */
.page-title-section {
  padding: 5rem 2rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}
.page-title-section .eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: var(--accent-fire-bright);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.2rem;
}
.page-title-section h1 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-fire-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-title-section p {
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============ MAIN ============ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 5rem;
}
section { margin-bottom: 4rem; }

h2 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--accent-gold-bright);
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-fire), transparent);
  margin: 1rem auto 0;
}
h3 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}
p { margin-bottom: 1.2rem; color: var(--text-secondary); }
ul, ol { margin: 0 0 1.5rem 1.5rem; color: var(--text-secondary); }
li { margin-bottom: 0.5rem; }
strong { color: var(--accent-gold-bright); font-weight: 600; }
em { color: var(--accent-fire-bright); font-style: italic; }

.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--accent-gold);
  text-align: center;
  padding: 2rem 1rem;
  margin: 2rem auto;
  max-width: 700px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.pull-quote::before { content: '« '; color: var(--accent-fire); }
.pull-quote::after { content: ' »'; color: var(--accent-fire); }

/* ============ DRAGON CARDS ============ */
.dragons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.dragon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.dragon-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-fire), var(--accent-gold), var(--accent-fire));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.dragon-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
  background: var(--bg-elevated);
}
.dragon-card:hover::before { transform: scaleX(1); }
.dragon-name {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--accent-gold-bright);
  margin-bottom: 0.4rem;
}
.dragon-rider {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent-fire-bright);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.dragon-card p {
  font-size: 0.93rem;
  margin-bottom: 0;
}

/* ============ FEATURE GRID ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
  margin: 2rem 0;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.6rem;
  transition: all 0.25s ease;
}
.feature-card:hover {
  border-color: var(--accent-gold);
  background: var(--bg-elevated);
}
.feature-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  color: var(--accent-fire-bright);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ============ INFO BOX ============ */
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-gold);
  border-radius: 8px;
  padding: 1.8rem 2rem;
  margin: 2rem 0;
}
.info-box h3 {
  color: var(--accent-gold-bright);
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}
.info-box p:last-child { margin-bottom: 0; }

.fire-box {
  background: rgba(193, 70, 42, 0.08);
  border: 1px solid rgba(193, 70, 42, 0.2);
  border-left: 4px solid var(--accent-fire);
  border-radius: 8px;
  padding: 1.8rem 2rem;
  margin: 2rem 0;
}
.fire-box h3 {
  color: var(--accent-fire-bright);
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

/* ============ TABLE OF CONTENTS ============ */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}
.toc h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.toc ol { margin: 0; padding-left: 1.5rem; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: var(--text-secondary); }
.toc a:hover { color: var(--accent-gold-bright); }

/* ============ LEGAL CONTENT ============ */
.legal-content h2 {
  text-align: left;
  font-size: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.legal-content h2::after {
  margin: 0.8rem 0 0;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  color: var(--accent-fire-bright);
}
.legal-content p, .legal-content li { font-size: 0.97rem; line-height: 1.8; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info dt {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
}
.contact-info dd {
  color: var(--text-primary);
  font-size: 1rem;
  margin-left: 0;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--accent-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-gold-bright); }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
}
.footer-disclaimer {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 1rem 1.2rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-bottom .valyrian {
  font-family: 'Cinzel', serif;
  color: var(--accent-fire-bright);
  letter-spacing: 0.3em;
  margin-bottom: 0.6rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 700px) {
  .header-inner { padding: 1rem 1.2rem; }
  .hero { padding: 3.5rem 1.2rem 2.5rem; }
  .container { padding: 0 1.2rem 3rem; }
  .page-title-section { padding: 3rem 1.2rem 2rem; }
  .main-nav ul { gap: 1rem; }
  .main-nav a { font-size: 0.75rem; letter-spacing: 0.08em; }
  h2 { font-size: 1.6rem; }
  .hero-tagline { font-size: 1.15rem; }
  .pull-quote { font-size: 1.25rem; padding: 1.5rem 0.5rem; }
}
