/* ==========================================================================
   RESET & VARIABILI
   ========================================================================== */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1f1f1f;
    --accent: #f7cddb;       /* Pantone 13-2801 TCX "Pink-a-boo" */
    --accent-dark: #e8a9c0;  /* Variante più scura per hover */
    --accent-glow: rgba(247, 205, 219, 0.35);
    --accent-2: #ffffff;     /* Nero/bianco per contrasto */
    --on-accent: #1a1015;    /* Testo scuro leggibile sopra il rosa chiaro */
    --text-main: #f5f5f5;
    --text-muted: #999999;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    color: var(--accent);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-logo span {
    color: var(--accent);
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.nav-menu a:hover {
    color: var(--text-main);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../assets/img/hero-bg.jpg') center 30% / cover no-repeat, linear-gradient(135deg, #111 0%, #050505 100%);
    overflow: hidden;
}

/* Overlay scuro per leggibilità del testo sopra la foto */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.85) 75%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.tagline-top {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}

.artist-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 24px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.artist-title span {
    color: var(--accent);
}

.quote {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 40px;
}

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

.btn {
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 25px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-game {
    background: #111;
    color: var(--text-main);
    border: 1px solid var(--accent);
    position: relative;
}

.btn-game::before {
    content: '🏴‍☠️';
    margin-right: 8px;
}

.btn-game:hover {
    background: var(--accent);
    color: var(--on-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 25px var(--accent-glow);
}

.nav-menu a.nav-game {
    color: var(--accent);
}

/* ==========================================================================
   SEZIONI & CARDS MUSICA
   ========================================================================== */
.section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 48px;
    font-size: 1rem;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.music-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.music-card:hover {
    transform: translateY(-6px);
    border-color: rgba(247, 205, 219, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.music-card.featured {
    border: 1px solid var(--accent);
    grid-column: span 2;
}

@media (max-width: 768px) {
    .music-card.featured {
        grid-column: span 1;
    }
}

.card-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Aspect Ratio */
    background: #1a1a1a;
    overflow: hidden;
}

.card-image img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.music-card:hover .card-image img {
    transform: scale(1.06);
}

/* Colori provvisori per le copertine (in attesa di assets/img/...) */
.placeholder-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.2);
    background-size: cover;
    background-position: center;
}

.codardo-bg { background: linear-gradient(45deg, #1f1c2c, #928dab); }
.ep-bg { background: linear-gradient(45deg, #3a1c71, #d76d77, #ffaf7b); }
.sole-bg { background: linear-gradient(45deg, #ff8008, #ffc837); color: rgba(0,0,0,0.4); }
.compa-bg { background: linear-gradient(45deg, #000428, #004e92); }
.sapone-bg { background: linear-gradient(45deg, #16222a, #3a6073); }
.pirata-bg { background: linear-gradient(135deg, #000000, #f7cddb); }

.badge.latest {
    background: #fff;
    color: #000;
}

/* ==========================================================================
   PRESAVE - IL PIRATA (in evidenza)
   ========================================================================== */
.presave-section {
    padding: 60px 0 40px 0;
}

.presave-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #141414, #000000);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 0 40px var(--accent-glow);
    position: relative;
    overflow: hidden;
}

.presave-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

.presave-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.presave-info .badge.latest {
    position: static;
    display: inline-block;
    margin-bottom: 16px;
    background: var(--accent);
    color: var(--on-accent);
}

.presave-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.presave-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 480px;
}

.presave-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    box-shadow: 0 0 20px var(--accent-glow);
    transition: var(--transition);
}

.presave-btn:hover {
    background: #fff;
    color: var(--on-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 25px var(--accent-glow);
}

@media (max-width: 768px) {
    .presave-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px;
    }
    .presave-cover {
        max-width: 260px;
        margin: 0 auto;
    }
    .presave-info p { margin-left: auto; margin-right: auto; }
}

.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.release-type {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.credits {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.tracklist {
    margin: 12px 0 24px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-left: 2px solid var(--accent);
    padding-left: 12px;
}

.tracklist li {
    margin-bottom: 4px;
}

.stream-links {
    margin-top: auto;
}

.stream-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.stream-btn:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

.stream-btn.primary {
    background: var(--accent);
    color: var(--on-accent);
}

.stream-btn.primary:hover {
    background: var(--accent-dark);
    color: var(--on-accent);
}

/* ==========================================================================
   BIOGRAFIA
   ========================================================================== */
.bio-section {
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.bio-img-box {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #1f1f1f, #0a0a0a);
    border-radius: 8px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    overflow: hidden;
}

.bio-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.bio-img-box::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
}

.bio-tag {
    position: relative;
    z-index: 2;
}

.bio-tag {
    background: var(--bg-dark);
    border: 1px solid var(--accent);
    padding: 6px 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.bio-text .lead {
    font-size: 1.2rem;
    color: var(--text-main);
    margin: 20px 0;
    font-weight: 400;
}

.bio-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ==========================================================================
   VISUALS & VIDEO
   ========================================================================== */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #141414;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

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

/* ==========================================================================
   GALLERY / VISUALS AGGIUNTIVA
   ========================================================================== */
.gallery-section {
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    filter: grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .gallery-item.wide { grid-column: span 2; }
    .gallery-item.tall { grid-row: span 1; }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item.wide { grid-column: span 1; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 80px 0 40px 0;
    background: #050505;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.footer-brand span { color: var(--accent); }

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.footer-col p, .mail-link {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.mail-link {
    display: inline-block;
    margin-top: 6px;
}

.mail-link:hover { color: var(--accent); }

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-icons a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    font-size: 0.85rem;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 24px 0;
        display: none;
    }

    .nav-menu.active { display: block; }
    .nav-menu ul { flex-direction: column; align-items: center; gap: 20px; }
    
    .bio-grid { grid-template-columns: 1fr; gap: 32px; }
    .bio-img-box { height: 300px; }
    .section { padding: 60px 0; }

    
}

/* ==========================================================================
   ANIMAZIONI DI COMPARSA ALLO SCORRIMENTO (SCROLL REVEAL)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}