/* ============================================================
   kikme.it — Main Stylesheet
   Dark theme · Warm accents · Premium adult feel
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-primary:    #0c0c0e;
  --bg-secondary:  #141416;
  --bg-card:       #1a1a1e;
  --bg-card-hover: #1f1f24;
  --bg-input:      #111113;

  --accent:        #d4721a;
  --accent-light:  #e8890c;
  --accent-dark:   #a85610;
  --accent-glow:   rgba(212, 114, 26, 0.18);

  --text-primary:  #f0e6d3;
  --text-secondary:#a89880;
  --text-muted:    #5a5248;
  --text-on-accent:#0c0c0e;

  --border:        rgba(212, 114, 26, 0.12);
  --border-hover:  rgba(212, 114, 26, 0.35);
  --divider:       rgba(255,255,255,0.05);

  --danger:        #c0392b;
  --success:       #27ae60;
  --warning:       #e67e22;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;

  --shadow-card:   0 4px 24px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.03);
  --shadow-accent: 0 0 24px rgba(212,114,26,0.25);

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;

  --transition:    0.2s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.4s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212,114,26,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(212,114,26,0.04) 0%, transparent 50%);
}

/* ── Typography ── */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }

p { color: var(--text-secondary); }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,14,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-svg { width: 36px; height: 36px; flex-shrink: 0; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-text span { color: var(--accent); }

/* ── Nav ── */
.site-nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--text-on-accent);
  box-shadow: 0 2px 12px rgba(212,114,26,0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 4px 20px rgba(212,114,26,0.45);
  transform: translateY(-1px);
  color: var(--text-on-accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent-light);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border: 1px solid var(--divider);
}

.btn-ghost:hover { background: rgba(255,255,255,0.09); color: var(--text-primary); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a93226; color: #fff; }

.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Hero ── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(212,114,26,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,114,26,0.1);
  border: 1px solid var(--border-hover);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Stats Bar ── */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ── Filters ── */
.filters-bar {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-group { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 140px; }

.filter-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.filter-select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a89880' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.filter-select:focus { outline: none; border-color: var(--accent); }

/* ── Cards Grid ── */
.annunci-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

/* ── Annuncio Card ── */
.annuncio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.annuncio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.annuncio-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), var(--shadow-accent);
}

.annuncio-card:hover::before { opacity: 1; }

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-input);
}

.card-avatar-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), #2a1a0e);
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
}

.card-meta { flex: 1; min-width: 0; }

.card-username {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kik-badge {
  font-size: 0.68rem;
  background: rgba(100,200,100,0.12);
  color: #64c864;
  border: 1px solid rgba(100,200,100,0.2);
  padding: 2px 7px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.card-info {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.card-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 2px 8px;
  border-radius: 100px;
  border: 1px solid var(--divider);
}

.card-tag--accent {
  color: var(--accent);
  background: var(--accent-glow);
  border-color: rgba(212,114,26,0.2);
}

.card-annuncio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--divider);
}

.card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.annuncio-card:hover .card-cta { gap: 8px; }

/* ── Forms ── */
.form-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 40px;
}

.form-section-title {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title svg { color: var(--accent); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid--3 { grid-template-columns: 1fr 1fr 1fr; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-label span { color: var(--danger); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,114,26,0.12);
  background: rgba(212,114,26,0.03);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a89880' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Upload foto */
.upload-area {
  border: 2px dashed var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-input);
  position: relative;
}

.upload-area:hover, .upload-area.dragover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.upload-text { color: var(--text-secondary); font-size: 0.9rem; }
.upload-text strong { color: var(--accent); }
.upload-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

.upload-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 3px solid var(--accent);
  display: none;
}

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-input);
  transition: border-color var(--transition);
}

.form-check:hover { border-color: var(--border-hover); }

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-check-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.5; }
.form-check-text a { color: var(--accent); }

/* Error / Success */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.alert-error {
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.25);
  color: #e74c3c;
}

.alert-success {
  background: rgba(39,174,96,0.1);
  border: 1px solid rgba(39,174,96,0.25);
  color: #2ecc71;
}

.alert-warning {
  background: rgba(230,126,34,0.1);
  border: 1px solid rgba(230,126,34,0.25);
  color: #e67e22;
}

/* ── Profilo pagina ── */
.profilo-hero {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 40px;
  padding: 36px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.profilo-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,114,26,0.08), transparent 70%);
  pointer-events: none;
}

.profilo-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  flex-shrink: 0;
}

.profilo-avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), #1a0e06);
  border: 3px solid var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
}

.profilo-info { flex: 1; }
.profilo-username { font-size: 1.8rem; color: var(--text-primary); margin-bottom: 8px; }

.profilo-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.profilo-annuncio {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-line;
}

.profilo-kik-box {
  margin-top: 28px;
  padding: 20px 24px;
  background: rgba(100,200,100,0.05);
  border: 1px solid rgba(100,200,100,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.kik-username-display {
  font-size: 1.1rem;
  font-weight: 600;
  color: #64c864;
  font-family: var(--font-display);
}

.kik-istruzioni {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Segnalazione ── */
.segnala-btn {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition);
}

.segnala-btn:hover { color: var(--danger); background: rgba(192,57,43,0.08); }

/* ── Footer ── */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-logo span { color: var(--accent); }

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212,114,26,0.1);
  border: 1px solid var(--border-hover);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.footer-col-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--accent); }

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.page-btn:hover, .page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-on-accent);
}

/* ── Modal (segnalazione) ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  transform: translateY(20px);
  transition: transform var(--transition);
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal-title {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  transition: color var(--transition);
}

.modal-close:hover { color: var(--text-primary); }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.empty-state-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.empty-state h3 { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { font-size: 0.9rem; }

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-hover);
  padding: 20px 24px;
  display: none;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}

#cookie-banner.show { display: block; }

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text { flex: 1; font-size: 0.86rem; color: var(--text-secondary); line-height: 1.5; }
.cookie-text a { color: var(--accent); }

.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Responsivo ── */
@media (max-width: 768px) {
  .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .profilo-hero { flex-direction: column; align-items: center; text-align: center; }
  .profilo-tags { justify-content: center; }
  .site-nav { display: none; }
  .header-inner { gap: 12px; }
  .annunci-grid { grid-template-columns: 1fr; }
  .stats-bar { gap: 24px; }
  .filters-bar { flex-direction: column; }
}

@media (max-width: 480px) {
  .form-section { padding: 24px 18px; }
  .hero { padding: 50px 0 40px; }
}

/* ── Animazioni ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,114,26,0); }
  50%       { box-shadow: 0 0 20px 4px rgba(212,114,26,0.2); }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.fade-in-up:nth-child(1) { animation-delay: 0.05s; }
.fade-in-up:nth-child(2) { animation-delay: 0.1s; }
.fade-in-up:nth-child(3) { animation-delay: 0.15s; }
.fade-in-up:nth-child(4) { animation-delay: 0.2s; }
.fade-in-up:nth-child(5) { animation-delay: 0.25s; }
.fade-in-up:nth-child(6) { animation-delay: 0.3s; }

/* ── Pagine legali ── */
.legal-page { padding: 60px 0; }

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.legal-page .last-update {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.2rem;
  color: var(--accent);
  margin: 36px 0 12px;
  font-family: var(--font-body);
  font-weight: 600;
}

.legal-page p, .legal-page li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 10px;
}

.legal-page ul, .legal-page ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-page a { color: var(--accent); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Fix colori select su tutti i browser/OS ── */
select,
select option,
.form-select,
.form-select option,
.filter-select,
.filter-select option {
  background-color: #111113 !important;
  color: #f0e6d3 !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Prima opzione (placeholder "Seleziona...") */
select option:first-child,
.form-select option:first-child,
.filter-select option:first-child {
  color: #5a5248 !important;
  background-color: #111113 !important;
}

/* Opzioni selezionate */
select option:checked,
.form-select option:checked,
.filter-select option:checked {
  background-color: #d4721a !important;
  color: #0c0c0e !important;
}

/* Fix specifico Firefox */
@-moz-document url-prefix() {
  select, .form-select, .filter-select {
    background-color: #111113 !important;
    color: #f0e6d3 !important;
  }
}

/* Fix specifico Chrome/Safari su mobile (WebKit) */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select, .form-select, .filter-select {
    background-color: #111113;
    color: #f0e6d3;
  }
}

/* ── Fix age gate mobile: evita taglio ── */
/* Questi stili sovrascrivono il body solo sulla pagina agegate */
body.agegate-body {
  overflow-y: auto !important;
  min-height: 100vh;
  height: auto;
  display: block !important;
  padding: 24px 16px 48px;
}

body.agegate-body .agegate-card {
  margin: 0 auto;
  max-width: 520px;
}

/* ── Nav link active state ── */
.nav-link.active {
  color: var(--accent);
  background: var(--accent-glow);
}