* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #dc2626;
    --primary-hover: #b91c1c;
    --telegram-color: #dc2626;
    --telegram-gradient: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #1a0000 100%);
    --card-background: rgba(255, 255, 255, 0.98);
    --card-hover-background: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --border-radius: 20px;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 50px rgba(220, 38, 38, 0.4);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.6s ease;
}

.profile-image-container {
    margin-bottom: 20px;
}

.profile-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(220, 38, 38, 0.5);
}

.profile-bio {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 400px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.link-item {
    background: rgba(220, 38, 38, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    padding: 22px;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(220, 38, 38, 0.3);
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
    border: 1px solid rgba(220, 38, 38, 0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(220, 38, 38, 0.3) 0%, 
        rgba(220, 38, 38, 0.1) 50%,
        rgba(220, 38, 38, 0.2) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 24px;
}

.link-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(220, 38, 38, 0.2) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.link-item:hover::before {
    opacity: 1;
}

.link-item:hover::after {
    opacity: 1;
}

.link-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 
        0 20px 60px rgba(220, 38, 38, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(220, 38, 38, 0.6),
        0 0 30px rgba(220, 38, 38, 0.3);
    background: rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-color: rgba(220, 38, 38, 0.6);
}

.link-item:nth-child(1) { animation-delay: 0.1s; }
.link-item:nth-child(2) { animation-delay: 0.2s; }
.link-item:nth-child(3) { animation-delay: 0.3s; }
.link-item:nth-child(4) { animation-delay: 0.4s; }
.link-item:nth-child(5) { animation-delay: 0.5s; }
.link-item:nth-child(6) { animation-delay: 0.6s; }

.link-content {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

.link-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: var(--telegram-gradient);
    color: white;
    flex-shrink: 0;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.link-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.link-item:hover .link-icon {
    transform: scale(1.08);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.95);
}

.link-item:hover .link-icon::before {
    opacity: 1;
}

.link-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 1;
}

.link-text {
    flex: 1;
}

.link-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.link-item:hover .link-title {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(220, 38, 38, 0.8), 0 0 10px rgba(220, 38, 38, 0.5);
}

.link-subtitle {
    font-size: 13px;
    color: #d1d5db;
    font-weight: 400;
    transition: color 0.3s ease;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.link-item:hover .link-subtitle {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.link-arrow {
    font-size: 20px;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.5);
    position: relative;
    z-index: 1;
}

.link-item:hover .link-arrow {
    transform: translateX(5px) scale(1.1);
    color: #ffffff;
    background: rgba(220, 38, 38, 0.5);
    border-color: rgba(220, 38, 38, 0.8);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.6), 0 0 15px rgba(220, 38, 38, 0.4);
}

.footer {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 480px) {
    .profile-name {
        font-size: 24px;
    }

    .profile-bio {
        font-size: 14px;
    }

    .link-item {
        padding: 16px;
    }

    .link-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .link-arrow {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .link-content {
        gap: 14px;
    }

    .link-title {
        font-size: 16px;
    }

    .link-subtitle {
        font-size: 13px;
    }
}

/* Efeito de loading */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

