:root {
  --page-bg: #f4f6fa;             
  --card-bg: #ffffff;             
  --card-hover: #fafbfc;
  
  --text-main: #141c2e;           
  --text-muted: #5e6b82;          
  
  --accent-color: #d18842;        
  --accent-bg: #fdf7f0;           

  --radius-card: 18px;
  --radius-pill: 999px;

  --shadow-logo: 0 20px 40px -6px rgba(20, 28, 46, 0.16), 0 6px 16px rgba(20, 28, 46, 0.08);
  --shadow-card: 0 12px 30px -6px rgba(20, 28, 46, 0.07), 0 4px 10px rgba(20, 28, 46, 0.03);
  --shadow-hover: 0 18px 36px -6px rgba(20, 28, 46, 0.12), 0 6px 14px rgba(20, 28, 46, 0.05);

  --font-heading: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-ui: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --c-spotify: #1DB954;
  --c-apple: #ff4e6b;
  --c-youtube: #FF0000;
  --c-bandcamp: #629aa9;
  --c-instagram: #E1306C;
  --c-tiktok: #111111;
  --c-facebook: #4267B2;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background-color: var(--page-bg);
  color: var(--text-main);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Banner superiore */
.sky-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  overflow: hidden;
  z-index: 0;
}

.sky-banner img.banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }

.page {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 580px);
  margin: 0 auto;
}

/* Intestazione del profilo */
.profile {
  text-align: center;
  padding: 8px 0 32px;
}

.avatar-wrapper {
  width: 142px;
  height: 142px;
  position: relative;
  top: 221px;
  margin: 0 auto 265px auto;
  z-index: 2;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: none;
  box-shadow: var(--shadow-logo);
  transition: transform 0.3s ease;
}

.avatar:hover {
  transform: scale(1.02);
}

.avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-logo);
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.9px;
  text-transform: none;
  margin-bottom: 4px;
  color: var(--text-main);
  text-shadow: none;
}

.tagline {
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.icon-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--text-muted);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease, box-shadow 0.2s ease;
}

.icon-link svg { width: 18px; height: 18px; fill: currentColor; }

.icon-link.spotify-color { color: var(--c-spotify); }
.icon-link.youtube-color { color: var(--c-youtube); }
.icon-link.instagram-color { color: var(--c-instagram); }
.icon-link.tiktok-color { color: #111111; }
.icon-link.facebook-color { color: var(--c-facebook); }

.icon-link.spotify-color:hover { background: #eaf8ef; }
.icon-link.youtube-color:hover { background: #fff0f0; }
.icon-link.instagram-color:hover { background: #fff0f5; }
.icon-link.tiktok-color:hover { background: #f0f0f0; }
.icon-link.facebook-color:hover { background: #edf4ff; }

.icon-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Contenitori e sezioni */
.section { margin-top: 32px; }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px 14px;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.eyebrow {
  color: var(--accent-color);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 16px;
  margin-left: 4px;
}

/* Scheda ultima uscita */
.featured {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.cover {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  object-fit: cover;
  border-radius: 12px;
  background: #e8ecf4;
  box-shadow: 0 4px 14px rgba(20, 28, 46, 0.08);
}

.featured-info { min-width: 0; flex: 1; }

.featured-info h2 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 2px;
  text-transform: none;
}

.subline {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 12.5px;
}

.player-wrapper {
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.player-wrapper audio {
  display: block;
  width: 100%;
  height: 34px;
  margin: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  opacity: 1;
  background: transparent;
  accent-color: var(--accent-color);
  transition: opacity 0.2s ease;
}

.player-wrapper audio:hover { opacity: 1; }

.platform-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.platform {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 12px;
  border: none;
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--text-main);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(20, 28, 46, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-logo {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.spotify-brand { color: var(--c-spotify); }
.apple-brand { color: var(--c-apple); }
.youtube-music-brand { color: var(--c-youtube); }
.youtube-brand { color: var(--c-youtube); }

.platform:hover {
  transform: translateY(-1px);
  background: var(--card-hover);
  box-shadow: 0 4px 12px rgba(20, 28, 46, 0.08);
}

/* Lista di brani e selezioni */
.release-list { display: grid; gap: 12px; }

.release {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--card-bg);
  border: none;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.release:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.release-cover {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  object-fit: cover;
  border-radius: 10px;
  background: #e8ecf4;
}

.release-main { flex: 1; min-width: 0; }

.release h3 {
  margin-bottom: 2px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 750;
  text-transform: none;
}

.release-subline {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 400;
}

.compact { gap: 6px; }
.compact .platform { min-height: 28px; padding: 4px 9px; font-size: 10.5px; border-radius: 6px; }
.compact .btn-logo { width: 13px; height: 13px; }

/* Video e barre di collegamento */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--card-bg);
  border: none;
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

.link-bar {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: var(--card-bg);
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.link-bar:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.bar-icon-svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.bandcamp-brand { color: var(--c-bandcamp); }

.bar-text-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.bar-title {
  color: var(--text-main);
  font-weight: 650;
  font-size: 14px;
}

.bar-sub {
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 400;
}

.action-pill {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-bg);
  color: var(--accent-color);
  margin-left: auto;
  transition: background 0.2s ease, color 0.2s ease;
}

.link-bar:hover .action-pill {
  background: var(--accent-color);
  color: #ffffff;
}

/* Sezione Manifesto */
.manifesto-section {
  border: none;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 32px 20px;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.manifesto-text {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
}

/* Piè di pagina */
.footer {
  background-color: #162235;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 32px 16px;
  margin-top: 40px;
  font-size: 12px;
}

.footer-content {
  width: min(100% - 32px, 580px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-label { font-size: 11.5px; opacity: 0.8; }

.footer-email {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-email:hover { color: var(--accent-color); }
.footer-copy { opacity: 0.5; font-size: 11px; }

/* Adattamento responsive per dispositivi mobili */
@media (max-width: 520px) {
  .sky-banner { height: 160px; }
  .avatar-wrapper { top: 110px; margin-bottom: 150px; }
  .page { padding-top: 20px; }
  .featured { flex-direction: column; }
  .cover { width: 100%; height: 180px; flex-basis: auto; }
  .platform-buttons { justify-content: flex-start; }
}