/* ===== RESET & VARIÁVEIS ===== */
:root {
    /* Paleta Principal */
    --base-1: #0E0E10;
    --base-2: #1C1C1F;
    --text-1: #F2F2F2;
    --text-2: #B5B5B5;
    --accent-1: #E07A2F;
    --accent-2: #6F8F8B;
    --premium: #C9A24D;

    /* Cores para efeitos */
    --accent-1-glow: rgba(224, 122, 47, 0.4);
    --premium-glow: rgba(201, 162, 77, 0.6);
    --accent-2-transparent: rgba(111, 143, 139, 0.2);

    /* Fontes */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Sombras */
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 20px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 15px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px var(--premium-glow);

    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-slow: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    color: var(--text-1);
    background: var(--base-1);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* ===== FUNDO COM IMAGEM E OVERLAY ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, rgba(14, 14, 16, 0.95) 0%, rgba(28, 28, 31, 0.9) 100%),
        url('../img/imagemfundo.webp') center/cover no-repeat fixed;
    z-index: -3;
}

/* ===== PARTÍCULAS DE FUNDO (ARREDONDADAS) ===== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: url('../img/logo.webp') center/contain no-repeat;
    opacity: 0.03;
    filter: sepia(0.5) brightness(0.8);
    animation: floatParticle 25s infinite linear;
    border-radius: 50%;
    overflow: hidden;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(-50px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.03;
    }
    90% {
        opacity: 0.03;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(180deg);
        opacity: 0;
    }
}

/* ===== BOTÃO COMPARTILHAR ===== */
.share-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--base-2);
    color: var(--premium);
    border: 2px solid var(--accent-2-transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--accent-1-glow), transparent);
    transform: translateX(-100%);
}

.share-btn:hover {
    transform: scale(1.1) rotate(15deg);
    color: var(--accent-1);
    border-color: var(--accent-1);
    box-shadow: var(--shadow-glow);
}

.share-btn:hover::before {
    animation: shine 0.8s;
}

.share-btn .share-tooltip {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--base-2);
    color: var(--text-1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-fast);
    border: 1px solid var(--accent-2);
    pointer-events: none;
}

.share-btn:hover .share-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CONTAINER PRINCIPAL ===== */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ===== HEADER ===== */
.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 1.5s ease-out;
}

/* Logo com efeito de vinil (SEM PONTO LARANJA) */
.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.vinyl {
    width: 180px;
    height: 180px;
    position: relative;
    margin: 0 auto;
    animation: vinylSpin 20s linear infinite paused;
}

.vinyl:hover {
    animation-play-state: running;
}

.vinyl-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow:
        0 0 0 8px var(--base-2),
        0 0 0 12px var(--accent-2),
        0 0 30px rgba(0, 0, 0, 0.8);
}

.vinyl-inner .logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vinyl-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px dashed var(--premium);
    opacity: 0.7;
    z-index: 1;
    animation: ringRotate 30s linear infinite reverse;
}

@keyframes vinylSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--premium-glow) 0%, transparent 70%);
    z-index: 0;
    opacity: 0.5;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.95); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.05); }
}

/* Título com efeito de digitação */
.title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--premium);
    margin-bottom: 20px;
    min-height: 3rem;
}

.title::after {
    content: '|';
    animation: blinkCursor 0.7s infinite;
    margin-left: 5px;
    color: var(--accent-1);
}

@keyframes blinkCursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Descrição */
.description {
    font-size: 1rem;
    color: var(--text-2);
    margin: 0 auto 30px;
    line-height: 1.7;
    position: relative;
    padding: 20px;
    border-radius: 10px;
    background: rgba(28, 28, 31, 0.5);
    border-left: 4px solid var(--accent-2);
}

/* ===== LINKS VERTICAIS (PADRÃO LINKTREE) ===== */
.links-vertical {
    width: 100%;
    margin-bottom: 40px;
}

.link-card {
    background: linear-gradient(145deg, var(--base-2), rgba(40, 40, 44, 0.9));
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--accent-2-transparent);
    margin-bottom: 18px;
    z-index: 1;
}

.link-card:last-child {
    margin-bottom: 0;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(224, 122, 47, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.link-card {
    background: linear-gradient(145deg, var(--base-2), rgba(40, 40, 44, 0.9));
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* AJUSTE AQUI A TRANSITION */
    transition: all var(--transition-normal) cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--accent-2-transparent);
    margin-bottom: 18px;
    z-index: 1;
    transform-origin: center; /* Mantém */
}

.link-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-1);
    /* REMOVA O !important se quiser */
}

.link-card:hover::before {
    opacity: 1;
}
.link-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--base-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--accent-2);
}

.link-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.link-content {
    flex-grow: 1;
    text-align: left;
}

.link-title {
    font-size: 1.1rem;
    color: var(--text-1);
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.3;
}

.link-subtitle {
    font-size: 0.9rem;
    color: var(--accent-1);
    font-weight: 500;
}

.link-arrow {
    color: var(--premium);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-normal);
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

.link-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-1), var(--premium));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.link-card:hover .link-hover-effect {
    transform: scaleX(1);
}

/* ===== PLAYER SPOTIFY REAL ===== */
.spotify-player {
    background: linear-gradient(135deg, rgba(28, 28, 31, 0.8), rgba(40, 40, 44, 0.9));
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--accent-2-transparent);
    position: relative;
    overflow: hidden;
}

.player-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--premium);
    font-weight: 600;
    font-size: 1.1rem;
}

.player-header i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.spotify-embed {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.spotify-embed iframe {
    border-radius: 12px;
    border: none;
}

/* ===== RODAPÉ COM REDES SOCIAIS ===== */
.footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--accent-2-transparent);
}

.footer-title {
    font-size: 1.3rem;
    color: var(--premium);
    margin-bottom: 25px;
    font-weight: 600;
}

.social-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--base-2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
}

/* ===== HIGHLIGHTS E MICROINTERAÇÕES SOCIAIS ===== */
.social-icon:hover,
.social-icon:active,
.social-icon.is-hovered {
    transform: translateY(-6px) scale(1.1);
    border-color: var(--social-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 15px var(--social-color);
}

.social-icon:hover::before,
.social-icon:active::before,
.social-icon.is-hovered::before {
    animation: shine 0.8s;
}

.social-icon .social-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--base-1);
    color: var(--text-1);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition-fast);
    border: 1px solid var(--accent-2);
    pointer-events: none;
    z-index: 10;
}

.social-icon:hover .social-tooltip,
.social-icon:active .social-tooltip,
.social-icon.is-hovered .social-tooltip {
    opacity: 1;
    bottom: -30px;
}

/* Ícones personalizados com imagens */
.social-custom-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: var(--transition-fast);
}

.social-icon:hover .social-custom-icon,
.social-icon:active .social-custom-icon,
.social-icon.is-hovered .social-custom-icon {
    transform: scale(1.1);
}

/* ===== RODAPÉ INFERIOR DISCRETO ===== */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--accent-2-transparent);
}

.copyright {
    color: var(--text-2);
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
}

.dev-credits {
    display: block;
    margin-top: 8px;
    color: var(--text-2);
    font-size: 0.8rem;
}

.dev-whatsapp {
    color: #25D366; /* VERDE WHATSAPP */
    text-decoration: none;
    margin-left: 5px;
    font-weight: 500;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dev-whatsapp:hover {
    color: var(--text-1);
    text-decoration: underline;
}

.dev-whatsapp i {
    font-size: 0.9rem;
}

/* ===== ANIMAÇÕES GLOBAIS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        max-width: 100%;
    }

    .title {
        font-size: 2rem;
    }

    .description {
        font-size: 0.95rem;
        padding: 15px;
    }

    .vinyl {
        width: 150px;
        height: 150px;
    }

    .link-card {
        padding: 18px;
        margin-bottom: 15px;
    }

    .link-icon {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }

    .link-icon img {
        width: 30px;
        height: 30px;
    }

    .link-title {
        font-size: 1rem;
    }

    .social-grid {
        gap: 10px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .social-custom-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.8rem;
    }

    .link-card {
        flex-direction: row;
        text-align: left;
        padding: 15px;
    }

    .link-icon {
        margin-right: 15px;
        margin-bottom: 0;
    }

    .link-content {
        text-align: left;
        margin-bottom: 0;
    }

    .social-grid {
        gap: 8px;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .social-custom-icon {
        width: 16px;
        height: 16px;
    }

    .dev-whatsapp {
        font-size: 0.9rem;
    }
}
/* SOBRESCREVE TUDO COM EFEITO SUAVE E ELEGANTE */
.links-vertical .link-card {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
                box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease !important;
    will-change: transform, box-shadow; /* Otimização de performance */
}

.links-vertical .link-card:hover {
    transform: translateY(-3px) scale(1.01) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3) !important; /* Sombra mais difusa */
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
                box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease !important;
}

/* ===== MELHORIAS MOBILE (TOUCH) ===== */
@media (max-width: 480px) {
    /* Remove hover persistente que causa confusão no touch */
    .links-vertical .link-card:hover {
        transform: none !important;
        box-shadow: var(--shadow-medium) !important;
    }

    /* Feedback tátil elegante (Microinteração) */
    .links-vertical .link-card:active {
        transform: scale(0.98) !important;
        background: linear-gradient(145deg, rgba(28, 28, 31, 1), rgba(40, 40, 44, 1));
        border-color: var(--accent-1);
        box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
        transition: transform 0.1s ease, border-color 0.1s ease;
    }

    /* Glow sutil ao tocar */
    .links-vertical .link-card:active::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        box-shadow: inset 0 0 15px rgba(224, 122, 47, 0.2);
        border-radius: 16px;
        pointer-events: none;
        animation: pulseTouch 0.3s ease-out;
    }
}

@keyframes pulseTouch {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* ===== PARTÍCULAS DO CURSOR (COMETA) ===== */
.cursor-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent-1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-1-glow);
    animation: fadeParticle 0.8s linear forwards;
}

@keyframes fadeParticle {
    0% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
}