:root {
    --bg-dark: #000B29;
    --gold: #C5A467;
    --gold-hover: #EBD2A3;
    --white: #FFFFFF;
    --text-muted: #A0AEC0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-hover: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: var(--bg-dark);
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/fundo01.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 20px; /* Reduzido de 30px */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ticker Section */
.top-ticker {
    background: var(--gold);
    color: var(--bg-dark);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Logo Section */
.logo-section {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.main-logo {
    height: 80px;
    width: auto;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 20px; /* Reduzido de 30px */
    animation: fadeInDown 1s ease-out;
}

.profile-image-container {
    position: relative;
    width: 100%;
    max-width: 380px; /* Reduzido de 448px */
    height: auto;
    aspect-ratio: 1 / 1.25;
    margin: 0 auto 25px; /* Reduzido de 30px */
}

.arched-frame {
    width: 100%;
    height: 100%;
    border-radius: 190px 190px 25px 25px; /* Ajustado para 380px */
    overflow: hidden;
    border: 2.5px solid var(--gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-image-container:hover .profile-image {
    transform: scale(1.08);
}

.profile-image-container:hover .arched-frame {
    border-color: var(--white);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
}

/* Instagram Pill Badge */
.instagram-pill {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    border: 1px solid var(--gold);
    padding: 8px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 10;
    width: max-content;
}

.mini-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid var(--gold);
}

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

.pill-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.pill-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-icon {
    color: #4CB5F9;
    font-size: 0.8rem;
}

.pill-handle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.profile-bio {
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-top: 10px; /* Reduzido de 20px */
}

/* Links Grid */
.links-grid {
    width: 100%;
    display: grid;
    gap: 25px; /* Increased gap */
    margin-bottom: 50px;
}

.link-card {
    text-decoration: none;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 25px; /* Increased radius */
    padding: 25px; /* Increased padding */
    display: flex;
    align-items: center;
    gap: 25px; /* Increased gap */
    transition: var(--transition);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: fadeInUp 0.8s ease-out both;
}

.link-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--glass-hover);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.link-card:active {
    transform: translateY(-2px) scale(0.98);
}

.link-card:hover .card-image {
    transform: scale(1.1) rotate(2deg);
    background: rgba(197, 164, 103, 0.1);
}

.card-image {
    width: 100px; /* Increased */
    height: 100px; /* Increased */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    flex-shrink: 0;
}

.whatsapp-icon-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFD700, #C5A467);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 2.5rem;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--white);
}

.card-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.btn-action {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

/* Featured Card */
.link-card.featured {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(197, 164, 103, 0.1);
}

.link-card.featured:hover {
    box-shadow: 0 0 40px rgba(197, 164, 103, 0.3);
}

/* Social Footer */
.social-footer {
    width: 100%;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    text-decoration: none;
    color: var(--white);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
}

.social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
}

.social-btn.whatsapp:hover {
    background: #25D366;
    border-color: transparent;
    color: white;
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive */
@media (max-width: 480px) {
    .profile-name {
        font-size: 1.8rem;
    }
    
    .link-card {
        padding: 15px;
    }
    
    .card-image {
        width: 60px;
        height: 60px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}
