/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
    --color-italy-green: #009246;
    --color-italy-white: #ffffff;
    --color-italy-red: #CE2B37;
    --color-dance-neon: #00ffff;
    --color-dance-purple: #b300ff;
    --color-dance-pink: #ff006e;
    --color-dark-bg: #0a0a0f;
    --color-dark-surface: #1a1a2e;
    --color-gradient-1: linear-gradient(135deg, var(--color-italy-green) 0%, var(--color-dance-neon) 100%);
    --color-gradient-2: linear-gradient(135deg, var(--color-italy-red) 0%, var(--color-dance-pink) 100%);
    --color-gradient-3: linear-gradient(135deg, var(--color-dance-purple) 0%, var(--color-dance-pink) 100%);
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Orbitron', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-dark-bg);
    color: var(--color-italy-white);
    overflow-x: hidden;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 2px 30px rgba(0, 255, 255, 0.2);
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    background: var(--color-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--color-italy-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--color-dance-neon) !important;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, #1a1a2e 0%, #0a0a0f 100%);
}

.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: var(--color-italy-green);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: var(--color-italy-red);
    top: 50%;
    right: 10%;
    animation-delay: 5s;
}

.circle-3 {
    width: 600px;
    height: 600px;
    background: var(--color-dance-purple);
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(50px, 50px);
    }
    66% {
        transform: translate(-30px, 30px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    position: relative;
}

.glitch {
    background: linear-gradient(90deg,
        var(--color-italy-green) 0%,
        var(--color-italy-green) 20%,
        var(--color-italy-white) 30%,
        var(--color-italy-white) 50%,
        var(--color-italy-white) 70%,
        var(--color-italy-red) 80%,
        var(--color-italy-red) 100%
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: italianFlag 12s ease-in-out infinite;
}

@keyframes italianFlag {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content .lead {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.pulse-btn {
    background: var(--color-gradient-2);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(206, 43, 55, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(206, 43, 55, 0.4);
    }
    50% {
        box-shadow: 0 10px 60px rgba(206, 43, 55, 0.6);
    }
}

.pulse-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(206, 43, 55, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--color-dance-neon);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* =============================================
   PLAYER SECTION
   ============================================= */
.player-section {
    background: linear-gradient(180deg, var(--color-dark-bg) 0%, var(--color-dark-surface) 100%);
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line {
    display: inline-block;
    width: 50px;
    height: 3px;
    background: var(--color-gradient-1);
}

.player-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 255, 255, 0.2);
}

.now-playing-card {
    position: relative;
}

.equalizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    margin-bottom: 2rem;
}

.bar {
    width: 8px;
    background: var(--color-gradient-1);
    border-radius: 10px;
    animation: equalize 1s ease-in-out infinite;
}

.bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.bar:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.bar:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.bar:nth-child(4) { height: 50%; animation-delay: 0.3s; }
.bar:nth-child(5) { height: 40%; animation-delay: 0.4s; }

@keyframes equalize {
    0%, 100% { height: 30%; }
    50% { height: 90%; }
}

.track-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-italy-white);
}

.track-artist {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(206, 43, 55, 0.2);
    border: 2px solid var(--color-italy-red);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 2px;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--color-italy-red);
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(206, 43, 55, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(206, 43, 55, 0);
    }
}

.btn-play {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: none;
    background: var(--color-gradient-2);
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(206, 43, 55, 0.5);
    transition: all 0.3s ease;
    position: relative;
}

.btn-play::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid var(--color-italy-red);
    opacity: 0;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 60px rgba(206, 43, 55, 0.7);
}

.btn-play.playing i::before {
    content: '\f04c';
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
}

.volume-control i {
    color: var(--color-dance-neon);
    font-size: 1.2rem;
}

.volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--color-gradient-1);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.volume-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--color-gradient-1);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

/* =============================================
   SCHEDULE SECTION
   ============================================= */
.schedule-section {
    padding: 5rem 0;
    background: var(--color-dark-bg);
}

.schedule-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.schedule-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-dance-neon);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.schedule-time {
    background: var(--color-gradient-2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.schedule-icon {
    font-size: 3rem;
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

.schedule-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-italy-white);
}

.schedule-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--color-dark-bg) 0%, var(--color-dark-surface) 100%);
}

.about-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.about-image i {
    font-size: 15rem;
    background: var(--color-gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.image-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--color-gradient-1);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: 1;
}

.about-section .lead {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: var(--color-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--color-dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--color-italy-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--color-gradient-1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .player-card {
        padding: 2rem;
    }

    .about-image {
        height: 300px;
        margin-bottom: 2rem;
    }

    .about-image i {
        font-size: 10rem;
    }

    .stats-row {
        gap: 2rem;
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .title-line {
        width: 30px;
    }

    .player-card {
        padding: 1.5rem;
    }

    .btn-play {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .equalizer {
        height: 60px;
    }

    .track-title {
        font-size: 1.5rem;
    }

    .volume-control {
        padding: 0 1rem;
    }

    .schedule-card {
        margin-bottom: 1rem;
    }

    .stats-row {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer {
        text-align: center;
    }

    .footer .row > div {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .pulse-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .title-line {
        display: none;
    }

    .circle-1,
    .circle-2,
    .circle-3 {
        width: 300px;
        height: 300px;
    }
}

/* =============================================
   ANIMATIONS & UTILITIES
   ============================================= */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling offset for fixed navbar */
section {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gradient-2);
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    z-index: 9999;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-text i {
    font-size: 2rem;
    color: var(--color-dance-neon);
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-cookie-accept {
    background: var(--color-gradient-1);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.5);
}

.btn-cookie-info {
    color: var(--color-dance-neon);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-cookie-info:hover {
    color: var(--color-italy-white);
}

/* =============================================
   PRIVACY MODAL
   ============================================= */
.modal-content {
    background: var(--color-dark-surface);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.modal-title {
    font-family: var(--font-display);
    color: var(--color-italy-white);
    font-weight: 700;
}

.modal-body {
    padding: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.modal-body h6 {
    color: var(--color-dance-neon);
    font-weight: 700;
    font-size: 1.1rem;
}

.modal-body ul {
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.modal-footer .btn-primary {
    background: var(--color-gradient-1);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
}

.modal-footer .btn-primary:hover {
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
}

/* Privacy link in footer */
.privacy-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    color: var(--color-dance-neon);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        flex-direction: column;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }

    .btn-cookie-accept {
        width: 100%;
    }
}
