/* --- Variáveis de Tema --- */
:root {
    --background-color: #121212;
    --card-color: #1e1e1e;
    --primary-text: #ffffff;
    --secondary-text: #b3b3b3;
    --accent-color: #1DB954; /* Verde padrão */
    --hover-color: #282828;
    --border-color: #333333;
}

/* --- Reset Básico e Estilos Globais --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--primary-text);
    padding: 20px;
}

/* --- Container Principal --- */
.container {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

/* --- Header --- */
header {
    margin-bottom: 20px;
}

/* ATUALIZADO: Estilo para a logo quadrada, não mais redonda. */
.profile-logo {
    width: 120px;
    height: 120px;
    border-radius: 22px; 
    object-fit: cover;
    border: none;
    margin-bottom: 15px;
    background-color: transparent;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

header .subtitle {
    font-size: 1rem;
    color: var(--secondary-text);
}

/* --- Seletor de Idioma --- */
.language-switcher {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.lang-btn {
    background: var(--card-color);
    color: #e0e0e0;
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.lang-btn.active, .lang-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-text);
    border-color: var(--accent-color);
}

/* --- Títulos de Seção --- */
.section-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: left;
}

/* --- Lista de Links (Cards de App) --- */
.links-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link-card {
    background-color: var(--card-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.link-card.featured {
    border-color: var(--accent-color);
    animation: featured-pulse 2.5s infinite;
}

@keyframes featured-pulse {
    0% { box-shadow: 0 0 15px rgba(29, 185, 84, 0.2); }
    50% { box-shadow: 0 0 25px rgba(29, 185, 84, 0.4); }
    100% { box-shadow: 0 0 15px rgba(29, 185, 84, 0.2); }
}

.card-header {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.link-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
    flex-shrink: 0;
}

.link-text {
    text-align: left;
    flex-grow: 1;
}

.link-text strong {
    font-size: 1.1rem;
    font-weight: 500;
}

.link-text span {
    font-size: 0.9rem;
    color: var(--secondary-text);
    display: block;
}

.secret-info {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: all 0.4s ease-in-out;
    padding: 0 20px;
}

.link-card.unlocked .secret-info {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 20px;
}

.link-card-instruction {
    background-color: var(--background-color);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--secondary-text);
    text-align: left;
    margin-bottom: 20px;
}

.link-card-instruction code {
    background-color: #000;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--accent-color);
}

.card-footer-base {
    display: flex;
    border-top: 1px solid var(--border-color);
    transition: opacity 0.3s ease;
}

.link-card.unlocked .card-footer-base {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.info-cta {
    flex: 1;
    padding: 15px;
    text-align: center;
    background: none;
    border: none;
    color: var(--primary-text);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    animation: cta-pulse 2s infinite ease-in-out;
}

@keyframes cta-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.info-cta:hover {
    background-color: var(--hover-color);
}

.action-link {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-text) !important;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(10px);
}

.link-card.unlocked .action-link {
    opacity: 1;
    transform: translateY(0);
}

.action-link:hover {
    background-color: #25d366;
    transform: scale(1.05);
}

/* --- Rodapé --- */
footer {
    text-align: center;
    padding: 40px 20px 20px 20px;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--secondary-text);
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-text);
    text-decoration: underline;
}
