/* ==========================================================================
   Maurizio Bucalo Official Portfolio Website - Core Stylesheet
   Theme: Italian Folk meets Cyber Tech House (Dark, High-Contrast Neon gradients)
   ========================================================================== */

/* --- Custom Variables & Reset --- */
:root {
    --bg-dark: #07070c;
    --bg-card: rgba(13, 13, 23, 0.5);
    --bg-card-hover: rgba(20, 20, 35, 0.65);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(0, 240, 255, 0.3);
    
    /* Neon Gradients */
    --primary-neon: #ff4e00;     /* Calabrian Flame Orange-Red */
    --secondary-neon: #00f0ff;   /* Electro Tech-House Cyan */
    --accent-neon: #ec008c;      /* Pizzica Pink */
    --purple-deep: #7000ff;
    
    /* Text colors */
    --text-main: #f0f0f5;
    --text-muted: #8e8e9f;
    --text-glow-shadow: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.2);
    --text-glow-orange: 0 0 10px rgba(255, 78, 0, 0.5), 0 0 20px rgba(255, 78, 0, 0.2);
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Scroll logic is handled via JS for discrete page morphs */
    background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Headings typography */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
}

/* --- WebGL Canvas (Background) --- */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* --- Cyber Aesthetic Overlays --- */
.cyber-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 10%, rgba(7, 7, 12, 0.85) 90%);
    z-index: 1;
    pointer-events: none;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.12) 50%
    );
    background-size: 100% 4px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.4;
}

/* --- Main Header / Navigation --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(7, 7, 12, 0.8), transparent);
    backdrop-filter: blur(5px);
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.logo-m {
    color: var(--primary-neon);
    text-shadow: var(--text-glow-orange);
    font-size: 1.8rem;
    font-weight: 900;
}

.logo-b {
    color: var(--secondary-neon);
    text-shadow: var(--text-glow-shadow);
    font-size: 1.8rem;
    font-weight: 900;
    margin-right: 12px;
}

.logo-text {
    font-size: 0.85rem;
    color: var(--text-main);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 12px;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-link.active::after {
    width: 100%;
}

.audio-pulse-indicator {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    width: 25px;
    cursor: pointer;
}

.pulse-bar {
    width: 4px;
    height: 100%;
    background-color: var(--secondary-neon);
    border-radius: 2px;
    transform-origin: bottom;
    animation: bounce-bar 1.2s ease infinite alternate;
    animation-play-state: paused;
}

.audio-playing .pulse-bar {
    animation-play-state: running;
}

.bar-1 { animation-delay: 0.1s; background-color: var(--primary-neon); }
.bar-2 { animation-delay: 0.4s; background-color: var(--secondary-neon); }
.bar-3 { animation-delay: 0.2s; background-color: var(--accent-neon); }

@keyframes bounce-bar {
    0% { transform: scaleY(0.2); }
    100% { transform: scaleY(1); }
}

/* --- viewport Sections Wrapper --- */
#viewport-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    overflow: hidden;
}

/* Section Slide defaults */
.section-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 10%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(60px) scale(0.96) rotateX(4deg);
    transform-style: preserve-3d;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    overflow: hidden;
}

.section-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1) rotateX(0deg);
    z-index: 10;
}

.slide-content {
    width: 100%;
    max-width: 1200px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Generic typographic classes */
.kicker-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--secondary-neon);
    margin-bottom: 15px;
    display: inline-block;
}

.font-glow {
    text-shadow: var(--text-glow-shadow);
}

.font-glow-orange {
    text-shadow: var(--text-glow-orange);
}

h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 50%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 30px;
}

/* --- Section 1: Hero specific --- */
#hero {
    position: relative;
    overflow: hidden;
    justify-content: flex-start;
    align-items: center;
}

.hero-portrait {
    position: absolute;
    left: 4%;
    right: auto;
    bottom: 0;
    width: 28%;
    max-width: 420px;
    height: 90%;
    pointer-events: none;
    z-index: 0;
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom left;
    opacity: 0.85;
    filter: grayscale(10%) contrast(1.15) brightness(0.95);
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 85%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 85%,
        rgba(0, 0, 0, 0) 100%
    );
}

#hero .slide-content {
    position: relative;
    z-index: 1;
    margin-left: 35%;
    max-width: 55%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#hero h1.main-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, var(--primary-neon) 70%, var(--secondary-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 10px 40px rgba(255, 78, 0, 0.15));
}

#hero .subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    font-weight: 300;
    color: var(--text-main);
    opacity: 0.95;
}

/* Glass Panels & Cards */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.05);
    background: var(--bg-card-hover);
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 15px 35px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-neon), var(--accent-neon));
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 78, 0, 0.4);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(255, 78, 0, 0.25);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
    border-radius: 30px;
    background: transparent;
    border: 1px solid var(--secondary-neon);
    color: var(--secondary-neon);
    text-decoration: none;
}

.btn-sm:hover {
    background: var(--secondary-neon);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.btn-disabled {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.15);
    cursor: not-allowed;
}

/* --- Section 2: Biography grid --- */
.two-column {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.spec-item {
    border-left: 2px solid var(--secondary-neon);
    padding-left: 15px;
}

.spec-val {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Glass Info Card right side */
.visual-card {
    position: relative;
    overflow: visible;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 1px solid var(--primary-neon);
    z-index: 1;
    opacity: 0.15;
    animation: ring-pulse 4s infinite linear;
    pointer-events: none;
}

@keyframes ring-pulse {
    0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

.card-inner {
    position: relative;
    z-index: 2;
}

.card-inner h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #fff;
}

.card-quote {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.5;
    position: relative;
    margin-bottom: 30px;
}

.genre-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-radius: 20px;
    text-transform: uppercase;
}

.pill:hover {
    border-color: var(--secondary-neon);
    background: rgba(0, 240, 255, 0.05);
    color: var(--secondary-neon);
}

/* --- Section 3: Music Station & Deck --- */
.music-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.track-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Custom Scrollbar for track list */
.track-list::-webkit-scrollbar {
    width: 6px;
}

.track-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.track-list::-webkit-scrollbar-thumb {
    background: rgba(255, 78, 0, 0.3);
    border-radius: 10px;
}

.track-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 78, 0, 0.65);
}

.track-item {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.track-number {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-right: 20px;
    transition: var(--transition-fast);
}

.track-details {
    flex-grow: 1;
}

.track-title {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.track-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.track-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.track-actions-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.track-spotify-link {
    color: #1db954;
    font-size: 1.3rem;
    opacity: 0.7;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.track-spotify-link:hover {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(29, 185, 84, 0.6));
}

.track-youtube-link {
    color: #ff0000;
    font-size: 1.3rem;
    opacity: 0.7;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.track-youtube-link:hover {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6));
}

.track-apple-link {
    color: #fa243c;
    font-size: 1.3rem;
    opacity: 0.7;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.track-apple-link:hover {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(250, 36, 60, 0.6));
}

.spotify-badge-container {
    margin-top: 25px;
    display: flex;
    justify-content: flex-start;
}

.btn-spotify-global {
    border-color: #1db954;
    color: #1db954;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-spotify-global:hover {
    background-color: #1db954;
    color: #fff;
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.4);
    border-color: #1db954;
}

.btn-apple-global:hover {
    background-color: #fa243c;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(250, 36, 60, 0.4);
    border-color: #fa243c;
}

.play-icon {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-left: 2px;
}

/* Track item hover and active states */
.track-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.track-item.active {
    background: rgba(255, 78, 0, 0.08);
    border-color: var(--primary-neon);
    box-shadow: 0 0 20px rgba(255, 78, 0, 0.1);
}

.track-item.active .track-number {
    color: var(--primary-neon);
    text-shadow: var(--text-glow-orange);
}

.track-item.active .track-action {
    background: var(--primary-neon);
    box-shadow: var(--text-glow-orange);
}

.track-item.active.playing .track-action {
    background: var(--secondary-neon);
    box-shadow: var(--text-glow-shadow);
}

.track-item.active.playing .play-icon::before {
    content: "\f04c"; /* FontAwesome pause icon code */
}

/* 3D Turntable / Vinyl Player styling */
.player-deck {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border-radius: 24px;
    max-width: 440px;
    margin: 0 auto;
}

.deck-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.deck-badge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.deck-leds {
    display: flex;
    gap: 6px;
}

.led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #222;
    transition: var(--transition-fast);
}

.led.lit {
    box-shadow: 0 0 8px currentColor;
}

.led.red.lit { background-color: var(--primary-neon); color: var(--primary-neon); }
.led.yellow.lit { background-color: #ffd200; color: #ffd200; }
.led.green.lit { background-color: #00ff66; color: #00ff66; }

.vinyl-container {
    position: relative;
    width: 260px;
    height: 260px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#youtube-player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 20;
}

#youtube-player-container.show {
    opacity: 1;
    pointer-events: auto;
}

#youtube-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#youtube-fallback-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(7, 7, 12, 0.9);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.5);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    z-index: 25;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

#youtube-fallback-btn:hover {
    transform: translateX(-50%) scale(1.05);
    background-color: #ff0000;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    border-color: #ff0000;
}

.vinyl-record {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, #333 4%, #111 6%, #181818 10%, #050505 12%, #111 30%, #070707 50%, #000 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease-out;
}

/* Vinyl grooves look */
.vinyl-record::after {
    content: '';
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 
        inset 0 0 0 10px rgba(0, 0, 0, 0.5),
        inset 0 0 0 20px rgba(255, 255, 255, 0.01),
        inset 0 0 0 40px rgba(0, 0, 0, 0.5),
        inset 0 0 0 60px rgba(255, 255, 255, 0.01),
        inset 0 0 0 80px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.vinyl-label {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-neon), var(--purple-deep));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.vinyl-label::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bg-dark);
}

.label-artist {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 2px;
}

.label-track {
    font-size: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
    max-width: 60px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vinyl-arm {
    position: absolute;
    top: -10px;
    right: 20px;
    width: 70px;
    height: 160px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 160'%3E%3Cpath d='M60 10 L60 80 L35 120 L25 140' stroke='%23888' stroke-width='4' fill='none'/%3E%3Ccircle cx='60' cy='10' r='10' fill='%23555'/%3E%3Crect x='15' y='135' width='20' height='15' fill='%23ff4e00' rx='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transform-origin: 60px 10px;
    transform: rotate(0deg);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    pointer-events: none;
}

.audio-playing .vinyl-record {
    animation: rotate-vinyl 5s linear infinite;
}

.audio-playing .vinyl-arm {
    transform: rotate(26deg);
}

@keyframes rotate-vinyl {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.player-controls {
    width: 100%;
}

.visualizer-bar-container {
    height: 40px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    margin-bottom: 15px;
    padding: 0 10px;
}

.visualizer-bar {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.05);
    height: 4px;
    border-radius: 2px;
    transform-origin: bottom;
    transition: transform 0.1s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.control-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.btn-control {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.btn-control:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--secondary-neon);
    transform: scale(1.08);
}

.btn-play-main {
    width: 56px;
    height: 56px;
    background: var(--primary-neon);
    border: none;
    box-shadow: var(--text-glow-orange);
    font-size: 1.25rem;
}

.btn-play-main:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--primary-neon);
    background: #ff6a00;
}

.audio-playing .btn-play-main {
    background: var(--secondary-neon);
    box-shadow: var(--text-glow-shadow);
}

.synth-indicator {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.synth-indicator i {
    color: var(--secondary-neon);
    animation: pulse-icon 1.5s infinite ease;
}

@keyframes pulse-icon {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* --- Section 4: Tour dates --- */
.tour-intro {
    max-width: 700px;
    margin-bottom: 40px;
}

.tour-table-container {
    width: 100%;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
}

.tour-table {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.tour-row {
    display: grid;
    grid-template-columns: 0.6fr 2fr 0.8fr 0.8fr;
    padding: 25px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    transition: var(--transition-smooth);
}

.tour-row:last-child {
    border-bottom: none;
}

.tour-row.header-row {
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 15px 40px;
}

.tour-row:not(.header-row):hover {
    background: rgba(255, 255, 255, 0.02);
}

.tour-date {
    display: flex;
    flex-direction: column;
    font-family: 'Space Grotesk', sans-serif;
}

.tour-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-neon);
}

.tour-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tour-venue {
    display: flex;
    flex-direction: column;
}

.tour-venue strong {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 3px;
}

.venue-city {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    text-transform: uppercase;
}

.badge-soon {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.2);
    color: var(--secondary-neon);
}

.badge-soldout {
    background: rgba(236, 0, 140, 0.1);
    border-color: rgba(236, 0, 140, 0.2);
    color: var(--accent-neon);
}

/* --- Section 4: Ultime Uscite (Latest Releases) --- */
.releases-header {
    text-align: center;
    margin-bottom: 40px;
}

.releases-header h2 {
    margin-bottom: 10px;
}

.releases-header p {
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.release-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.release-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 78, 0, 0.3);
    box-shadow: 0 12px 40px rgba(255, 78, 0, 0.1);
}

.release-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.release-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.release-card:hover .release-cover img {
    transform: scale(1.08);
}

.release-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.release-card:hover .release-play-overlay {
    opacity: 1;
}

.release-play-overlay i {
    font-size: 2.2rem;
    color: #fff;
    filter: drop-shadow(0 0 12px rgba(255, 78, 0, 0.7));
}

.release-info {
    padding: 16px 18px;
}

.release-title {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.release-date {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.release-links {
    display: flex;
    gap: 14px;
}

.release-links a {
    font-size: 1.2rem;
    opacity: 0.6;
    transition: var(--transition-fast);
    text-decoration: none;
}

.release-links a:hover {
    opacity: 1;
    transform: scale(1.2);
}

.release-links a[title="Spotify"] {
    color: #1db954;
}

.release-links a[title="Apple Music"] {
    color: #fa243c;
}

.release-links a[title="YouTube"] {
    color: #ff0000;
}

/* --- Section 5: Contacts & Socials --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.contact-info {
    text-align: left;
}

.contact-description {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: center;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 25px;
    border-radius: 14px;
    width: 100%;
    max-width: 440px;
    transition: var(--transition-smooth);
}

.contact-detail-item:hover {
    border-color: rgba(0, 240, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.3rem;
    color: var(--secondary-neon);
    background: rgba(0, 240, 255, 0.05);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    flex-shrink: 0;
}

.contact-detail-item h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
    color: var(--text-muted);
}

.contact-detail-item p {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: var(--secondary-neon);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    color: #fff;
    background: var(--primary-neon);
    border-color: var(--primary-neon);
    box-shadow: var(--text-glow-orange);
    transform: translateY(-4px);
}

/* Contact/Booking Form Elements */
.contact-form-container {
    padding: 30px;
    width: 100%;
}

.contact-form-container h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #fff;
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--secondary-neon);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* --- Slide Dot Navigation --- */
.slide-navigation {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 100;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-muted);
    opacity: 0.4;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 20px;
    height: 20px;
    border: 1px solid var(--secondary-neon);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.dot:hover {
    opacity: 0.8;
    background-color: #fff;
}

.dot.active {
    opacity: 1;
    background-color: var(--secondary-neon);
    box-shadow: var(--text-glow-shadow);
}

.dot.active::after {
    transform: translate(-50%, -50%) scale(1);
}

/* --- Scroll Prompt (Bottom) --- */
.scroll-prompt {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 100;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.scroll-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 1px solid var(--text-muted);
    border-radius: 10px;
    position: relative;
    opacity: 0.6;
}

.scroll-wheel {
    width: 4px;
    height: 6px;
    background-color: var(--secondary-neon);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 1.5s infinite ease-in-out;
}

@keyframes scroll-anim {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 6px); opacity: 0.3; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
    #main-header {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 15px 20px;
    }
    
    .logo-text {
        font-size: 0.95rem;
    }
    
    .desktop-nav {
        display: flex !important;
        gap: 10px;
        overflow-x: auto;
        white-space: nowrap;
        max-width: 100%;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        justify-content: flex-start;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .desktop-nav::-webkit-scrollbar {
        display: none;
    }
    
    .desktop-nav .nav-link {
        font-size: 0.8rem;
        padding: 6px 14px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        transition: var(--transition-fast);
    }
    
    .desktop-nav .nav-link.active {
        background: var(--primary-neon);
        border-color: var(--primary-neon);
        color: #fff;
        box-shadow: 0 0 10px rgba(255, 78, 0, 0.4);
    }
    
    .section-slide {
        padding: 130px 24px 60px 24px; /* Increased top padding to clear mobile header */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        align-items: flex-start; /* Align content to start for natural scrolling */
    }
    
    .slide-content {
        justify-content: flex-start;
        padding-bottom: 40px;
    }
    
    .two-column, .music-layout, .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-portrait {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        opacity: 0.5;
    }
    
    .hero-portrait img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        opacity: 0.15;
        -webkit-mask-image: none;
        mask-image: none;
    }
    
    #hero .slide-content {
        margin-left: 0;
        max-width: 100%;
        align-items: center;
        text-align: center;
        padding-top: 40px;
    }
    
    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    h2 {
        font-size: 2.3rem;
    }
    
    #hero h1.main-title {
        font-size: 3.2rem;
    }
    
    .visual-card, .player-deck {
        display: block;
        margin: 20px auto 0 auto;
        width: 100%;
        max-width: 440px;
    }
    
    .slide-navigation {
        display: none; /* Hide side dots navigation on mobile/tablet */
    }
}

@media (max-width: 768px) {
    .section-slide {
        padding: 130px 16px 60px 16px;
    }
    
    .hero-portrait img {
        opacity: 0.12;
    }
    
    .releases-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    #hero h1.main-title {
        font-size: 2.4rem;
    }
    
    #hero .subtitle {
        font-size: 1.1rem;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tour-row {
        grid-template-columns: 1.2fr 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    .tour-row.header-row {
        display: none;
    }
    
    .tour-venue {
        grid-column: span 2;
    }
    
    .tour-status {
        justify-self: start;
    }
}

/* Welcome Overlay Splash styling */
#welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 8, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#welcome-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.welcome-box {
    text-align: center;
    padding: 50px 40px;
    max-width: 480px;
    width: 90%;
    border: 1px solid rgba(255, 78, 0, 0.25);
    box-shadow: 0 0 50px rgba(255, 78, 0, 0.12), inset 0 0 20px rgba(255, 78, 0, 0.05);
    border-radius: 16px;
}

.welcome-box h2 {
    font-size: 2.2rem;
    margin: 15px 0 8px 0;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ff4e00, #ec008c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 78, 0, 0.3);
}

.welcome-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

#btn-enter-site {
    font-size: 1.1rem;
    padding: 14px 35px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 30px rgba(255, 78, 0, 0.4);
    border-radius: 50px;
    letter-spacing: 1px;
}

