/* Configurações de Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Fundo Fixo Natuceny */
.main-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    z-index: -1;
}

/* Header */
.credits-header {
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 100;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #b8860b;
    font-weight: 700;
}

.btn-back-home {
    text-decoration: none;
    color: #b8860b;
    border: 1px solid #b8860b;
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-back-home:hover {
    background: #b8860b;
    color: #fff;
}

/* Área do Card */
.credits-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.animated-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    max-width: 550px;
    padding: 4px; /* Espaço para a borda dourada animada */
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    perspective: 1000px;
}

/* Efeito de Borda Dourada Animada */
.animated-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, #d4af37);
    animation: rotateGold 6s linear infinite;
    z-index: 0;
}

.card-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    text-align: center; /* Centraliza textos por padrão */
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #b8860b;
    margin-bottom: 5px;
}

h2 {
    font-size: 1rem;
    margin-bottom: 25px;
    font-weight: 400;
    color: #666;
}

.highlight-name {
    color: #b8860b;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

.bio-section {
    text-align: left; /* Lista alinhada à esquerda para leitura */
    display: inline-block;
    max-width: 100%;
    margin-bottom: 20px;
}

.bio-section h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #b8860b;
    text-align: center;
}

ul {
    list-style: none;
}

li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    padding-left: 25px;
    position: relative;
    line-height: 1.4;
}

li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #d4af37;
}

/* WhatsApp Centralizado */
.contact-dev {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 25px;
    display: flex;
    justify-content: center;
}

.whatsapp-link {
    text-decoration: none;
    color: #25d366;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s ease;
}

.whatsapp-link i {
    font-size: 1.5rem;
}

.whatsapp-link:hover {
    transform: translateY(-3px);
    text-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

/* Animações */
@keyframes rotateGold {
    100% { transform: rotate(360deg); }
}

/* --- RESPONSIVIDADE PARA CELULAR --- */
@media (max-width: 768px) {
    body {
        overflow-y: auto; /* Permite rolar se o card for maior que a tela */
    }

    .credits-header {
        flex-direction: column;
        gap: 20px;
        padding: 30px 5%;
    }

    .logo {
        font-size: 1.5rem;
    }

    .btn-back-home {
        width: 100%;
        text-align: center;
    }

    .credits-main {
        padding: 20px 15px;
        align-items: flex-start; /* Evita que o card saia do topo */
    }

    .animated-card {
        max-width: 100%;
    }

    .card-content {
        padding: 30px 20px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .whatsapp-link {
        font-size: 1.1rem;
    }
}