:root {
    /* Telegram Dark Theme Colors */
    --tg-bg: #0e1621;
    --tg-card-bg: #17212b;
    --tg-card-hover: #202b36;
    --tg-primary: #5288c1;
    --tg-primary-btn: #2b5278;
    --tg-primary-btn-hover: #325f8a;
    --tg-text: #ffffff;
    --tg-text-muted: #7f91a4;
    --tg-border: #222e3a;
    --tg-verified: #33a5e5;
    
    /* Pride Gradients */
    --pride-gradient-traditional: linear-gradient(135deg, #FF0018 0%, #FFA52C 20%, #FFFF41 40%, #008018 60%, #0000F9 80%, #86007D 100%);
    --pride-gradient-pastel: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
    --pride-gradient-trans: linear-gradient(135deg, #5bcefa, #f5a9b8, #ffffff, #f5a9b8, #5bcefa);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--tg-bg);
    color: var(--tg-text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Background animated blur effect */
.background-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 0%, rgba(43, 82, 120, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(134, 0, 125, 0.08) 0%, transparent 50%);
    filter: blur(40px);
}

.telegram-card {
    background-color: var(--tg-card-bg);
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--tg-border);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* Cover Image */
.card-cover {
    height: 120px;
    background: var(--tg-primary-btn);
    position: relative;
    overflow: hidden;
}

.cover-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,0,24,0.1), rgba(255,165,44,0.1), rgba(255,255,65,0.1), rgba(0,128,24,0.1), rgba(0,0,249,0.1), rgba(134,0,125,0.1));
    background-size: 200% 200%;
    animation: gradientMove 10s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Profile Section */
.profile-section {
    padding: 0 24px 24px;
    text-align: center;
    position: relative;
    margin-top: -60px;
}

.avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    border-radius: 50%;
}

.pride-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--pride-gradient-traditional);
    border-radius: 50%;
    z-index: 1;
    animation: rotate 4s linear infinite;
    opacity: 0.9;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.avatar-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    border: 4px solid var(--tg-card-bg);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.avatar-img:hover {
    transform: scale(1.05);
}

.profile-name {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    color: var(--tg-text);
}

.verified-badge {
    color: var(--tg-verified);
    font-size: 16px;
}

.profile-status {
    color: var(--tg-primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #00c853;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 200, 83, 0.5);
}

.bio-box {
    background-color: var(--tg-bg);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--tg-border);
}

.bio-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--tg-text);
    margin-bottom: 4px;
}

.bio-subtext {
    font-size: 14px;
    color: var(--tg-text-muted);
}

/* Actions Section */
.actions-section {
    padding: 0 24px 24px;
}

.section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tg-text-muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.tg-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.tg-btn:last-child {
    margin-bottom: 0;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-icon {
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
}

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

.btn-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-text);
}

.btn-subtitle {
    font-size: 13px;
    color: var(--tg-text-muted);
    margin-top: 2px;
}

.btn-arrow {
    color: var(--tg-text-muted);
    font-size: 14px;
    transition: transform 0.2s ease;
}

/* Button Variants */
.primary-btn {
    background-color: var(--tg-primary-btn);
}

.primary-btn:hover {
    background-color: var(--tg-primary-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 82, 120, 0.4);
}

.primary-btn .btn-icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.secondary-btn {
    background-color: var(--tg-bg);
    border-color: var(--tg-border);
}

.secondary-btn:hover {
    background-color: var(--tg-card-hover);
    border-color: var(--tg-primary-btn);
    transform: translateY(-2px);
}

.secondary-btn .btn-icon {
    color: var(--tg-primary);
    background-color: rgba(82, 136, 193, 0.1);
}

.tg-btn:hover .btn-arrow {
    transform: translateX(4px);
    color: var(--tg-text);
}

/* Footer Accent */
.pride-footer {
    height: 4px;
    width: 100%;
    background: var(--pride-gradient-traditional);
}
