@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --background: #0b1220;
  --foreground: #e8edf7;
  --card: #111a2e;
  --primary: #22d3ee;
  --accent: #f43f5e;
  --warm: #fbbf24;
  --muted: rgba(232, 237, 247, 0.6);
  --border: rgba(255, 255, 255, 0.1);
  --surface: rgba(255, 255, 255, 0.05);
  --radius: 0.75rem;
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}
h1, h2, h3, .display { font-family: "Space Grotesk", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Ambient glow */
.glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.glow span { position: absolute; border-radius: 9999px; filter: blur(80px); display: block; }
.glow .g1 { top: -130px; left: -100px; width: 520px; height: 520px; background: rgba(34, 211, 238, 0.25); animation: drift 14s ease-in-out infinite alternate; }
.glow .g2 { top: 25%; right: -120px; width: 480px; height: 480px; background: rgba(244, 63, 94, 0.2); }
.glow .g3 { bottom: -160px; left: 33%; width: 560px; height: 560px; background: rgba(251, 191, 36, 0.1); }

.wrap { position: relative; z-index: 1; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .wrap { padding: 0 2rem; } }

/* Header */
header.site { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { width: 48px; height: 48px; border-radius: 0.75rem; object-fit: cover; box-shadow: 0 10px 25px rgba(34, 211, 238, 0.2); }
.brand p { margin: 0; }
.brand .name { font-family: "Space Grotesk", sans-serif; font-size: 1.125rem; font-weight: 600; letter-spacing: 0.2em; }
.brand .tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted); }
nav.main { display: flex; align-items: center; gap: 2rem; font-size: 0.875rem; color: var(--muted); }
nav.main a:hover, nav.main a.active { color: var(--foreground); }
@media (max-width: 860px) { nav.main { gap: 1rem; order: 3; width: 100%; } }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; border: 0; cursor: pointer;
  border-radius: 9999px; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 600;
  font-family: inherit; transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn-primary { background: var(--primary); color: #0b1220; box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.4); }
.btn-primary:hover { background: #38dff5; }
.btn-ghost { background: var(--surface); color: var(--foreground); box-shadow: inset 0 0 0 1px var(--border); backdrop-filter: blur(8px); }
.btn-live { background: var(--accent); color: #fff; padding: 0.5rem 1rem; box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.4); }

.dot { width: 8px; height: 8px; border-radius: 9999px; display: inline-block; }
.live-dot { animation: pulse-dot 1.4s ease-in-out infinite; }

/* Banner */
.banner { position: relative; width: 100%; height: 200px; overflow: hidden; z-index: 1; }
@media (min-width: 640px) { .banner { height: 260px; } }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner .fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 18, 32, 0.8), transparent, var(--background)); }
.banner .tint { position: absolute; inset: 0; background: rgba(34, 211, 238, 0.1); mix-blend-mode: overlay; }

/* Hero */
.hero { display: grid; gap: 2.5rem; padding: 2rem 0; align-items: center; }
@media (min-width: 1024px) { .hero { grid-template-columns: 5fr 7fr; } }
.hero-card { position: relative; overflow: hidden; border-radius: 1rem; box-shadow: inset 0 0 0 1px var(--border); }
.hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card .shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--background), rgba(11, 18, 32, 0.9), rgba(11, 18, 32, 0.3)); }
.hero-inner { position: relative; padding: 1.5rem; }
@media (min-width: 640px) { .hero-inner { padding: 2rem; } }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; background: rgba(255, 255, 255, 0.08); padding: 0.25rem 0.75rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--primary); box-shadow: inset 0 0 0 1px var(--border); backdrop-filter: blur(8px); }
.hero h1 { margin: 1.25rem 0 0; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; font-weight: 600; max-width: 20ch; }
.hero .lead { margin-top: 1.25rem; max-width: 46ch; color: var(--muted); font-size: 1.05rem; }
.hero .actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.stats { margin-top: 2rem; display: flex; gap: 2rem; color: var(--muted); font-size: 0.875rem; }
.stats .big { font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 600; color: var(--foreground); margin: 0; }
.stats .lbl { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0; }

/* Player */
.player-shell { border-radius: 1rem; background: var(--surface); padding: 0.75rem; box-shadow: inset 0 0 0 1px var(--border); backdrop-filter: blur(20px); }
.player { border-radius: 0.75rem; background: linear-gradient(135deg, var(--card), var(--background)); padding: 1.5rem; }
.player .top { display: flex; align-items: center; justify-content: space-between; }
.player .live { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.eq span { width: 4px; border-radius: 9999px; background: var(--primary); transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.now { margin-top: 1.25rem; display: flex; align-items: center; gap: 1rem; }
.now img { width: 80px; height: 80px; border-radius: 0.75rem; object-fit: cover; flex: none; }
.now .kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary); margin: 0; }
.now .title { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; font-weight: 600; margin: 0.25rem 0 0; }
.now .sub { font-size: 0.875rem; color: var(--muted); margin: 0; }
.bar { margin-top: 1.5rem; height: 6px; width: 100%; border-radius: 9999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; width: 66%; border-radius: 9999px; background: linear-gradient(to right, var(--primary), var(--accent)); }
.times { margin-top: 0.5rem; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.controls { margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.controls .side { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9999px; background: var(--surface); color: var(--muted); box-shadow: inset 0 0 0 1px var(--border); }
.controls .play { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 9999px; background: var(--primary); color: #0b1220; border: 0; cursor: pointer; font-size: 1.5rem; transition: transform 0.15s ease; }
.controls .play:hover { transform: scale(1.05); }

/* Sections + cards */
section.page { padding: 3.5rem 0; }
.kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--primary); margin: 0; }
section.page h1 { margin: 0.5rem 0 0; font-size: clamp(1.9rem, 4vw, 2.4rem); font-weight: 600; }
.grid4 { margin-top: 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { display: flex; flex-direction: column; border-radius: 1rem; background: var(--surface); padding: 1.25rem; box-shadow: inset 0 0 0 1px var(--border); backdrop-filter: blur(20px); }
.card .row { display: flex; align-items: center; justify-content: space-between; }
.chip { border-radius: 9999px; padding: 0.25rem 0.625rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.chip-primary { color: var(--primary); background: rgba(34, 211, 238, 0.15); }
.chip-accent { color: var(--accent); background: rgba(244, 63, 94, 0.15); }
.chip-warm { color: var(--warm); background: rgba(251, 191, 36, 0.15); }
.card .when { font-size: 0.75rem; color: var(--muted); }
.card .ttl { margin: 1rem 0 0; font-family: "Space Grotesk", sans-serif; font-size: 1.125rem; font-weight: 600; }
.card .txt { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--muted); }
.card .host { margin: 1rem 0 0; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); }
.card .photo { border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; aspect-ratio: 16/10; background: rgba(255,255,255,0.04); }
.card .photo img { width: 100%; height: 100%; object-fit: cover; }

/* Contatti */
.panel { display: grid; gap: 2rem; border-radius: 1.5rem; background: var(--surface); padding: 2rem; box-shadow: inset 0 0 0 1px var(--border); backdrop-filter: blur(20px); }
@media (min-width: 1024px) { .panel { grid-template-columns: 1fr 1fr; gap: 3rem; padding: 3rem; } }
.panel h1 { margin: 0.75rem 0 0; }
.info { margin-top: 1.5rem; display: grid; gap: 0.75rem; font-size: 0.875rem; color: rgba(232, 237, 247, 0.7); }
.info p { display: flex; align-items: center; gap: 0.75rem; margin: 0; }
.socials { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.socials a { border-radius: 9999px; background: var(--surface); padding: 0.5rem 1rem; font-size: 0.875rem; box-shadow: inset 0 0 0 1px var(--border); }
.socials a:hover { background: rgba(255, 255, 255, 0.1); }
.newsletter { border-radius: 0.75rem; background: rgba(17, 26, 46, 0.7); padding: 1.25rem; box-shadow: inset 0 0 0 1px var(--border); }
.newsletter form { margin-top: 1rem; display: flex; gap: 0.5rem; }
.newsletter input { width: 100%; border: 0; border-radius: 9999px; background: var(--surface); padding: 0.625rem 1rem; font-size: 0.875rem; color: var(--foreground); font-family: inherit; box-shadow: inset 0 0 0 1px var(--border); outline: none; }
.newsletter input:focus { box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.5); }

/* Footer */
footer.site { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); padding: 2rem 0; font-size: 0.875rem; color: var(--muted); }
@media (min-width: 640px) { footer.site { flex-direction: row; } }
footer.site .links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
footer.site a:hover { color: var(--foreground); }

@keyframes eq { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }
@keyframes drift { 0% { transform: translate(0, 0); } 100% { transform: translate(-40px, 20px); } }
