:root {
  --text: #333333;
  --text-muted: #666666;
  --card-border-color: #ffb587;
  --card-red: #d93856;
}

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

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;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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;
}

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

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;
}

.intro-section {
  text-align: left;
  margin-bottom: 50px;
  padding: 0 10px;
}

.intro-section h1 {
  text-align: center;
  font-size: 1.3rem;
  color: #111111;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .intro-section h1 {
    font-size: 1.6rem;
  }
}

.intro-section p {
  font-size: 0.98rem;
  margin-bottom: 12px;
  color: #333333;
}

/* --- SCROLL REEL FULLSCREEN & SNAP --- */
.cards-feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 25px;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

.card-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #cccccc;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-shrink: 0;
}

.card-wrapper:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* --- STRUTTURA CARD 480x720px RIGIDI --- */
.card-poker {
  position: relative;
  width: 480px !important;
  height: 720px !important;
  background-color: #f9f9f9;
  border-radius: 20px;
  border: 1px solid #999999;
  box-shadow: 3px 3px 20px rgba(153, 153, 153, 0.10);
  overflow: hidden;
  flex-shrink: 0;
}

/* LAYER 1: Quadro 420x420px a 120px dall'alto */
.layer-quadro {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  border: 1px solid var(--card-border-color);
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

/* LAYER 2: Cerchio Ø 420px a 120px dall'alto */
.layer-cerchio {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  border: 1px solid var(--card-border-color);
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

/* LAYER 3: Rettangolo 350x550px a 55px dall'alto */
.layer-rettangolo-sup {
  position: absolute;
  top: 55px;
  left: 65px;
  width: 350px;
  height: 550px;
  border: 2px solid var(--card-border-color);
  background-color: #ffffff;
  z-index: 3;
  box-sizing: border-box;
}

/* BLOCCO NUMERALE A SINISTRA */
.card-num-container {
  position: absolute;
  top: 550px;
  left: 30px;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  color: var(--card-red);
  line-height: 1.1;
  z-index: 5;
}

.card-current-num {
  font-size: 1.15rem;
  font-weight: normal;
  display: block;
  border-bottom: 1px solid var(--card-red);
  padding-bottom: 1px;
}

.card-total-num {
  font-size: 0.95rem;
  font-weight: normal;
  display: block;
  padding-top: 1px;
}

/* TITOLO CENTRATO AL RIQUADRO BIANCO */
.card-top-title {
  position: absolute;
  top: 20px;
  left: 65px;
  width: 350px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.4rem;
  font-weight: normal;
  color: var(--card-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 4;
}

/* FOTO CENTRALE */
.card-img-container {
  position: absolute;
  top: 57px;
  left: 67px;
  width: 346px;
  height: 546px;
  overflow: hidden;
  z-index: 4;
  background-color: #ffffff;
  pointer-events: none;
}

.card-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* MARCHIETTO "I ♥ Squirt" IN BASSO A DESTRA DEL RIQUADRO BIANCO */
.card-badge {
  position: absolute;
  bottom: 125px;
  right: 20px;
  padding: 3px 6px;
  text-align: center;
  font-family: "Georgia", serif;
  line-height: 1;
  z-index: 10;
}

.card-badge .badge-text-inner {
  font-size: 0.65rem;
  font-weight: bold;
  color: #000000;
  display: block;
}

.card-badge .badge-heart {
  color: #ff2b6d;
  font-size: 0.8rem;
  display: block;
  margin: 1px 0;
}

/* TESTI MULTILINGUA DINAMICI (H2) */
.card-texts {
  position: absolute;
  top: 608px;
  left: 65px;
  width: 350px;
  text-align: center;
  font-family: "Garamond", "Times New Roman", serif;
  z-index: 5;
}

.card-texts h2 {
  font-size: 15px;
  line-height: 1.25;
  font-weight: normal;
  color: var(--text);
  text-transform: uppercase;
  margin: 0;
}

/* --- BARRA INFERIORE (Ancorata a esattamente 20px dal fondo) --- */
.card-footer-actions {
  position: absolute;
  bottom: 20px;
  left: 65px;
  right: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: auto;
}

/* ICONE DEGLI STORE (A sinistra) */
.store-icons-container {
  display: flex;
  gap: 6px;
  align-items: center;
}

.store-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* PULSANTE E MENU DI CONDIVISIONE (A destra sulla stessa riga) */
.card-share-container {
  position: relative;
}

.share-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
}

.share-icon-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.share-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: #555555;
}

.share-dropdown {
  display: none;
  position: absolute;
  right: 0;
  bottom: 30px;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 6px 0;
  width: 150px;
  z-index: 20;
  text-align: left;
}

.share-dropdown.active {
  display: block;
}

.share-dropdown a, 
.share-dropdown button {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: #333333;
  background: none;
  border: none;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.share-dropdown a:hover, 
.share-dropdown button:hover {
  background-color: #f0f0f0;
  color: var(--card-red);
}

/* RESPONSIVE SMARTPHONE */
@media (max-width: 520px) {
  .card-poker {
    transform: scale(0.82);
    transform-origin: top center;
    margin-bottom: -130px;
  }
}
@media (max-width: 400px) {
  .card-poker {
    transform: scale(0.68);
    transform-origin: top center;
    margin-bottom: -230px;
  }
}

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: left; /* Allineato a sinistra esattamente come nell'index */
  padding: 0 10px;
}