:root {
  --rosso-genoa: #b00024;
  --blu-genoa: #001b3f;
  --giallo: #f5c542;
  --bg: #f4f4f6;
  --text: #111;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  margin: 0;
  padding: 0;
  color: var(--text);
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

/* HERO */

.hero {
  background: radial-gradient(circle at top left, #ffcc66 0%, #b00024 40%, #001b3f 100%);
  color: #fff;
  padding: 2.5rem 1.5rem 2rem;
  border-bottom: 6px solid #ffcc66;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hero-text h1 {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.hero-subtitle {
  margin: 0.4rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-tagline {
  margin: 0.2rem 0 1rem;
  font-size: 0.95rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: #ffffff;
  color: #b00024;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.hero-cta:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Badge */

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
}

.badge-top {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.badge-mid {
  font-size: 1.4rem;
  font-weight: 900;
}

.badge-bottom {
  font-size: 0.8rem;
}

/* SEZIONI */

.section {
  margin-top: 2rem;
}

.section-header h2 {
  font-size: 1.5rem;
  margin: 0 0 0.3rem;
  color: var(--blu-genoa);
}

.section-header p {
  margin: 0 0 1rem;
  color: #444;
}

/* INFO GRID */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.info-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-left: 4px solid var(--rosso-genoa);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--blu-genoa);
}

/* TABELLONE */

.board-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.board {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.4rem;
}

.number {
  background: #fff;
  border: 2px solid var(--blu-genoa);
  padding: 0.7rem;
  text-align: center;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.25s ease;
  font-size: 1rem;
}

.number:hover {
  background: #ffdd88;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.number.sold {
  background: var(--rosso-genoa);
  color: #fff;
  border-color: var(--rosso-genoa);
  opacity: 0.9;
}

.board-note {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #555;
}

.pay-note {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #333;
}

/* PAYPAL BLOCK */

.paypal-block {
  margin-top: 1.2rem;
  text-align: center;
}

/* PREMI */

.premi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.premio-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-top: 4px solid var(--rosso-genoa);
}

.premio-rank {
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.premio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.premio-img {
  width: 100%;
  border-radius: 12px;
  padding: 4px;
  background: linear-gradient(135deg, var(--rosso-genoa), var(--blu-genoa));
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: 0.25s ease;
}

.premio-img:hover {
  transform: scale(1.05);
}

.premio-name {
  margin: 0.4rem 0;
  font-size: 1.1rem;
  color: var(--blu-genoa);
}

.premio-price {
  background: #ffdd88;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 0.2rem;
  font-weight: 700;
  color: #8a0000;
}

.premio-desc {
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

.premio-section-title {
  margin-top: 0.8rem;
  font-weight: 700;
}

.price-ticket {
  margin-top: 1rem;
  font-weight: 600;
}

/* FOOTER */

footer {
  margin-top: 2rem;
  background: linear-gradient(90deg, #001b3f, #b00024);
  color: #fff;
  text-align: center;
  padding: 1rem;
  border-top: 4px solid #ffcc66;
  font-size: 0.9rem;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-badge {
    align-self: center;
  }

  .board {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 480px) {
  .board {
    grid-template-columns: repeat(4, 1fr);
  }

  .number {
    font-size: 0.85rem;
    padding: 0.5rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }
}


