:root {
  --rosso: #d10000;
  --rosso-scuro: #9a0000;
  --nero: #000000;
  --bg-scuro: #0b0b0b;
  --testo: #f5f5f5;
  --grigio: #cccccc;
  --accent: #ff4b4b;
  --radius: 18px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.45);
  --shadow-card: 0 14px 30px rgba(0,0,0,0.35);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f0000 0%, #050505 45%, #000 100%);
  color: var(--testo);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ------------------ HERO ------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 20px 80px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background-image: repeating-linear-gradient(
    -30deg,
    var(--rosso),
    var(--rosso) 80px,
    #b00000 80px,
    #b00000 140px
  );
  opacity: 0.35;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.9));
  z-index: -1;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Logo pill */

.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffcccc 0, #d10000 40%, #470000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 0 2px #ffffff55, 0 0 16px rgba(0,0,0,0.6);
}

.logo-pill span {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f2f2f2;
}

.hero-title {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-shadow: 0 3px 18px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 26px;
  color: var(--grigio);
}

.hero-cta {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rosso), var(--rosso-scuro));
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(0,0,0,0.6);
  opacity: .96;
}

.btn-ghost {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.55);
  color: #f8f8f8;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.75);
  border-color: #fff;
  transform: translateY(-1px);
}

/* ------------------ CONTENT ------------------ */

.content {
  flex: 1;
  padding: 10px 20px 40px;
}

.content-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 26px;
}

@media (max-width: 900px) {
  .content-inner {
    grid-template-columns: 1fr;
  }
}

.card {
  background: linear-gradient(145deg, rgba(10,10,10,0.96), rgba(25,0,0,0.98));
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 55%);
  opacity: .8;
  mix-blend-mode: screen;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.card-sub {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--grigio);
}

/* ------------------ PLAYERS ------------------ */

.players-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .players-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .players-grid {
    grid-template-columns: 1fr;
  }
}

.player-card {
  background: radial-gradient(circle at top, #2b0000, #050505 65%);
  border-radius: 16px;
  padding: 14px 10px 12px;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.player-number {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 0.8rem;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #f2f2f2;
  border: 1px solid rgba(255,255,255,0.16);
}

.player-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--rosso), #ffb3b3, var(--rosso-scuro), var(--nero), var(--rosso));
  opacity: .87;
  filter: blur(0.4px);
}

.player-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 12px auto 10px;
  background: linear-gradient(145deg, #ffeded, #ff6666, #4a0000);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,0,0,0.65);
  position: relative;
  z-index: 1;
}

.player-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.player-role {
  font-size: 0.8rem;
  color: var(--grigio);
  margin-bottom: 6px;
}

.player-tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  display: inline-block;
  color: #ffe8e8;
}

/* ------------------ NEWS ------------------ */

.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.news-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(5,5,5,0.9);
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.news-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.16);
}

.news-thumb {
  width: 100%;
  height: 70px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.news-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: .75;
}

.news-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 1;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(0,0,0,0.7);
  color: #f5f5f5;
  border: 1px solid rgba(255,255,255,0.2);
}

.news-meta {
  font-size: 0.75rem;
  color: #aaaaaa;
  margin-bottom: 2px;
}

.news-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.news-title a { color: #ffffff; }

.news-text {
  font-size: 0.8rem;
  color: #cccccc;
}

/* ------------------ FOOTER ------------------ */

footer {
  padding: 20px 15px 26px;
  text-align: center;
  font-size: 0.8rem;
  color: #a0a0a0;
  background: #050505;
  border-top: 1px solid #181818;
  margin-top: 10px;
}

.powered-by-qeeme {
  margin-bottom: 8px;
}

.powered-by-qeeme a {
  color: var(--accent);
  font-weight: 600;
}

.powered-by-qeeme a:hover {
  text-decoration: underline;
}

.copy {
  font-size: 0.75rem;
  color: #666;
}
