:root {
    --bg-color: #2c5364;
    --bg-gradient: linear-gradient(135deg, #2c5364 0%, #193D4A 100%);
    --accent-color: #F6A220; /* Laranja da logo e apresentacao */
    --accent-hover: #F8B44A;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover-bg: rgba(246, 162, 32, 0.15); /* Hover com leve tom laranja */
    --card-hover-border: rgba(246, 162, 32, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: var(--bg-gradient);
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Background suave com glow */
.background-animation {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(246,162,32,0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 680px;
    padding: 3rem 1.5rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Cabeçalho do Perfil */
.profile {
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

.profile-img-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-color), rgba(255,255,255,0.2));
    animation: fadeInDown 0.8s ease-out;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #193D4A;
    border-radius: 50%;
    padding: 10px;
}

.profile-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.profile-description {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    animation: fadeIn 1s ease-out 0.5s both;
}

/* Container de Links */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Cards (Botões de Link) */
.link-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Estado inicial para animação JS */
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.6s ease-out forwards;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.link-card:hover {
    background: var(--card-hover-bg);
    border-color: var(--card-hover-border);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.link-card:hover::before {
    transform: scaleY(1);
}

.link-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 40px;
    display: flex;
    justify-content: flex-start;
}

.link-title {
    flex-grow: 1;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    margin-right: 20px; /* Compensa o espaço do ícone */
}

.link-chevron {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.link-card:hover .link-chevron {
    transform: translateX(3px);
    color: var(--accent-color);
}

/* Footer */
.footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: auto;
    animation: fadeIn 1s ease-out 1s both;
}

.loader, .error-msg {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 2rem;
}

/* Animações Keyframes */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsividade */
@media (max-width: 480px) {
    .container {
        padding: 2rem 1.2rem;
    }
    
    .link-title {
        font-size: 0.95rem;
    }
}
