:root {
    --bg-dark: #0f1115;
    --bg-card: #1a1d24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-orange: #FF6B35;
    /* Arancione vibrante */
    --accent-blue: #00C2FF;
    /* Azzurro elettrico */
    --gradient-primary: linear-gradient(135deg, var(--accent-orange), #FF4500);
    --gradient-secondary: linear-gradient(135deg, var(--accent-blue), #0056b3);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Glow Effect */
.background-glow {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.05), rgba(0, 194, 255, 0.05), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Header / Hero */
.hero {
    text-align: center;
    padding: 1rem 1rem;
    animation: fadeInDown 1s ease-out;
}

@media (min-width: 768px) {
    .hero {
        padding: 3rem 1rem 1rem;
    }
}

.logo-container {
    width: 250px;
    height: 250px;
    margin: 0 auto 1.5rem;
    position: relative;
    border-radius: 50%;
    /* Glow effect behind logo */
    box-shadow: 0 0 50px rgba(0, 194, 255, 0.15);
    background: var(--bg-card);
    padding: 10px;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05) rotate(2deg);
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--accent-orange), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
}

.tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1;
}

/* Main Content */
main {
    flex: 1;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 1200px;
}

.intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(1.1rem, 2.5vw, 2.2rem);
    color: #d0d0d0;
}

.intro p {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--accent-blue);
    font-weight: 600;
}

.wow {
    /* color: var(--accent-orange); */
    font-weight: 600;
    font-style: italic;
}

.asterisk-text {
    line-height: 1.1;
}

/* Social Links */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content */
    padding: 1.2rem 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.social-link i {
    font-size: 1.8rem;
    margin-right: 1rem;
    position: absolute;
    /* Keep icon positioned */
    left: 2rem;
}

.social-link span {
    z-index: 2;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
    z-index: 1;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-link:hover::before {
    transform: translateX(100%);
}

/* Specific Brand Colors on Hover */
.social-link.spotify:hover {
    background: #1DB954;
    color: white;
    border-color: #1DB954;
}

.social-link.youtube:hover {
    background: #FF0000;
    color: white;
    border-color: #FF0000;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.social-link.facebook:hover {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    margin-top: auto;
}

/* Klippy */
.klippy-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    cursor: pointer;
}

.klippy-character {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.klippy-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.klippy-character:hover {
    transform: scale(1.1) rotate(-10deg);
}

.klippy-character:active {
    transform: scale(0.95);
}

.speech-bubble {
    position: absolute;
    bottom: 120%;
    right: 50px;
    width: 220px;
    background: white;
    color: #333;
    padding: 15px;
    border-radius: 15px 15px 0 15px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
    rotate: 4deg;
}

.speech-bubble.hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {

    0%,
    96%,
    100% {
        height: 8px;
    }

    98% {
        height: 1px;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    .social-link {
        padding: 1rem;
    }

    .social-link i {
        left: 1.5rem;
    }
}