@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap' );

:root {
    --background-color: #E6E0F8;
    --card-background: rgba(255, 255, 255, 0.6);
    --text-color: #333;
    --profile-pic-border: #fff;
    --verified-badge-color: #8A2BE2;
    --icon-background: #000;
    --icon-color: #fff;
    --sparkle-color: #B666D2;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background: linear-gradient(180deg, #D0C2F3 0%, #E6E0F8 100%);
}

.container {
    max-width: 380px;
    width: 100%;
    text-align: center;
}

/* --- HEADER COM BANNER --- */
.profile-header {
    position: relative;
    margin-bottom: 70px; /* Espaço para a foto de perfil sobrepor */
}

.banner {
    width: 100%;
    height: 140px; /* Altura do banner */
    border-radius: 20px;
    overflow: hidden;
    background-color: #ccc;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture {
    position: absolute;
    left: 50%;
    bottom: -50px; /* Metade para fora do banner */
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid var(--profile-pic-border);
    background-color: var(--profile-pic-border);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- INFORMAÇÕES DO PERFIL --- */
.profile-info {
    margin-bottom: 30px;
}

.profile-info h1 {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 5px 0;
    display: inline-flex;
    align-items: center;
}

.verified-badge {
    color: var(--verified-badge-color);
    font-size: 0.8em;
    margin-left: 8px;
}

.profile-info p {
    font-size: 1em;
    margin: 0 0 20px 0;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--icon-background);
    color: var(--icon-color);
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* --- LINKS --- */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.link-card {
    background-color: var(--card-background);
    border-radius: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.link-card:hover {
    transform: translateY(-5px);
}

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

.link-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.link-text strong {
    font-weight: 600;
    display: block;
}

.link-text span {
    font-size: 0.85em;
    color: #555;
}

.link-action {
    font-size: 1.2em;
    color: #555;
}

/* --- SEÇÃO DESTAQUES --- */
.highlights-section {
    margin-top: 40px;
}

.highlights-section h2 {
    text-align: left;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.highlight-card {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: scale(1.03);
}

.highlight-image {
    width: 100%;
    height: 450px; /* Altura do card de destaque */
    background-color: #ddd;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    border-radius: 0 0 20px 20px;
}

.highlight-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.highlight-title {
    font-size: 1.1em;
    font-weight: 600;
}

.highlight-icons {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.highlight-icons span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.highlight-icons .icon-sparkle {
    background-color: var(--sparkle-color);
}

/* --- RODAPÉ --- */
footer {
    margin-top: 40px;
    padding-bottom: 20px;
    font-size: 0.9em;
    color: #888;
}
