:root {
  --accent: #A4BE2D;
  --text: #333333;
  --text-muted: #666666;
  --card-bg: #ffffff;
}

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

/* SFONDO BASE SCURO SENZA SPAZI BIANCHI IN ALTO O IN BASSO */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #050505;
  color: var(--text);
  line-height: 1.6;
  padding: 0;
  position: relative;
  min-height: 100vh;
}

/* LAYER DEDICATO ALLA SFUMATURA */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top center, #5e4618 0%, #251b0a 50%, #050505 85%);
  z-index: 0;
  pointer-events: none;
}

/* VASSOIO / SCHEDA CENTRALE BIANCA */
.container {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
  background-color: #ffffff !important;
  padding: 0 20px 25px 20px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

/* HEADER PERFETTAMENTE FLUSH CON IL BORDO SUPERIORE */
header {
  background-color: #000;
  text-align: center;
  padding: 0;
  margin: 0 -20px 25px -20px;
}
.header-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* IMMAGINI DEI CONTENUTI */
.content-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 20px 0 15px 0;
  display: block;
}

.content-img.spaced-top {
  margin-top: 30px;
}

.img-center {
  max-width: 280px;
  margin: 20px auto;
  display: block;
}

/* --- TIPOGRAFIA MOBILE (DEFAULT) --- */
h2.section-title {
  font-size: 0.9rem;
  color: #111111;
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

p {
  margin-bottom: 15px;
  font-size: 0.98rem;
}

/* CALLOUT BOX STANDARD */
.callout-box {
  background: #fff6ff;
  padding: 15px 18px;
  margin: 20px 0;
  border-radius: 5px;
  border: 1px solid #f5b8c2;
}
.callout-box h2 {
  color: #111;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* CALLOUT BOX RIDOTTO E PERFETTAMENTE SIMMETRICO */
.callout-box.compact {
  padding: 12px;
  margin: 15px 0;
}
.callout-box.compact h2 {
  font-size: 0.9rem;
  margin-top: 0;
  margin-bottom: 4px;
}
.callout-box.compact p {
  margin-bottom: 0;
}

/* --- MEDIA QUERY PER DESKTOP (Schermi da 768px in su) --- */
@media (min-width: 768px) {
  h2.section-title {
    font-size: 1.25rem;
    margin: 25px 0 12px;
  }
  
  .callout-box h2,
  .callout-box.compact h2 {
    font-size: 1.15rem;
  }

  .store-section h3 {
    font-size: 1.3rem;
  }
}

/* LISTE CON CHECK PROPORZIONATE E STESSO PESO DEL TESTO STANDARD */
ul.bullet-list {
  list-style: none;
  margin: 15px 0 25px 0;
}
ul.bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.98rem; /* Allineato perfettamente al corpo dei paragrafi p */
}
ul.bullet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-color: #ffe4e8;
  border: 1px solid #f5b8c2;
  border-radius: 3px;
  color: #000000;
  font-size: 0.7rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

hr {
  border: 0;
  height: 1px;
  background: #e0e0e0;
  margin: 30px 0;
}

.preview-link {
  display: block;
  text-align: center;
  color: #8a6d29;
  font-weight: bold;
  text-decoration: underline;
  margin: 25px 0;
  font-size: 1.05rem;
}
.preview-link:hover {
  color: #000;
}

/* SEZIONE STORE */
.store-section {
  background: #f4f4f4;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  margin-top: 30px;
}
.store-section h3 {
  font-size: 1rem;
  color: #111;
  margin-bottom: 8px;
}

/* PULSANTE APPLE STORE (PRIMO PIANO) */
.store-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  color: #222222;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid #cccccc;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  margin-bottom: 15px;
  text-align: left;
}
.store-main-btn:hover {
  background: #222222;
  color: #ffffff;
  border-color: #222222;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.store-main-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.store-main-btn .btn-text {
  font-size: 0.85rem;
  line-height: 1.2;
}

/* GRIGLIA PER ALTRI STORE */
.store-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #222222;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #cccccc;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.store-btn:hover {
  background: #222222;
  color: #ffffff;
  border-color: #222222;
}
.store-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* FOOTER LASCIATO INALTERATO */
footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 25px;
  margin-bottom: 0;
  line-height: 1.5;
}
footer .privacy-info {
  margin-bottom: 12px;
  text-align: justify;
  padding: 0 10px;
}

/* Impedisce la selezione di testi e immagini su tutta la pagina */
body {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Standard */
}

/* Protezione specifica per il contenitore delle immagini */
.card-img-container {
    pointer-events: none;
}

.card-share-container,
.share-dropdown,
.share-icon-btn {
    pointer-events: auto;
}