:root {
    --bg-color: #f0b490;
    --button-bg: #fdf0e0;
    --button-text: #523e31;
    --username-text: #ffffff;
    --subtitle-color: #e63946; /* Red for scarcity/urgency, or a darker brown */
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--button-text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
    position: relative; /* Para posicionar o botão de compartilhar */
}

/* Share Button Inline Style */
.share-button-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; /* Fundo branco como pedido anteriormente */
    color: #616161; /* Cor do texto/ícone */
    border: none; /* Sem borda padrão */
    padding: 8px 20px; /* Padding reduzido e ajustado */
    border-radius: 50px; /* Pílula igual aos outros */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: auto; /* Largura automática para ser menor */
    max-width: 80%; /* Limite de largura */
    margin: 0 auto 15px auto; /* Centralizado e com espaço em baixo */
    position: relative;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    min-height: 44px; /* Altura reduzida */
}

.share-button-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.share-button-inline:active {
    transform: translateY(1px);
}

.share-button-inline .button-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.icon-wrapper-share {
    width: 28px; /* Ícone bem menor */
    height: 28px;
    background-color: #f0f0f0; /* Um cinza bem claro para destacar no branco */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 10px;
    margin-left: 0;
}

.icon-wrapper-share i {
    font-size: 0.9rem;
    color: #616161;
}

/* Remover estilo antigo do botão flutuante se não for mais usado */
.share-button {
    display: none;
}

.share-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.share-button:active {
    transform: translateY(0);
}

.share-button i {
    font-size: 0.9rem;
}

.container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px; /* Reduzi um pouco já que não tem mais botão flutuante */
    padding-bottom: 20px;
    min-height: calc(100vh - 40px);
}

/* Header Section */
.profile-header {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

.logo-container {
    margin-bottom: 15px;
}

.profile-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.5);
    background-color: var(--button-bg);
}

.username-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px; /* Mais espaço para evitar cortes */
    overflow: visible; /* Garante que nada seja ocultado */
}

.username {
    color: var(--username-text);
    font-size: 1.3rem; /* Um pouco maior */
    font-weight: 600;
    margin: 0;
    line-height: normal; /* Deixa o navegador calcular a altura ideal */
    padding-bottom: 2px; /* Espaço extra para descendentes */
}

.verified-badge {
    /* SVG handles its own size and color mostly, but we can align it */
    display: block;
}

.welcome-message {
    color: var(--button-text);
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Buttons Section */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-button {
    display: flex;
    align-items: center;
    background-color: var(--button-bg);
    color: var(--button-text);
    text-decoration: none;
    padding: 10px; /* Increased padding slightly for multiline */
    border-radius: 50px; /* Fully rounded pill shape */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: 100%;
    position: relative;
    min-height: 64px; /* Ensure consistency */
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.link-button:active {
    transform: translateY(1px);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: rgba(82, 62, 49, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 15px;
}

.icon-wrapper i {
    font-size: 1.4rem;
    color: var(--button-text);
}

/* Text Content for Buttons */
.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    text-align: left;
}

.button-text {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
}

.subtitle-text {
    font-size: 0.75rem;
    color: #cc4444; /* Slightly reddish for scarcity, or use --button-text with opacity */
    font-weight: 500;
    margin-top: 2px;
}

/* Footer */
.footer {
    margin-top: auto; /* Empurra para o final */
    padding-top: 40px; /* Espaço mínimo do conteúdo acima */
    font-size: 0.8rem;
    color: var(--button-text);
    opacity: 0.7;
    text-align: center;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .username {
        font-size: 1.1rem;
    }
    
    .button-text {
        font-size: 0.9rem;
    }

    .subtitle-text {
        font-size: 0.7rem;
    }
    
    .share-button {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}
