/* ==========================================
   ASQAR ASHURMATOV — Mobile Landing Page
   Modern Marketing Design
   ========================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --accent: #FF6B6B;
    --gold: #FFD700;
    --dark: #0a0a1a;
    --dark-card: rgba(15, 15, 35, 0.7);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --instagram: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    --telegram: linear-gradient(135deg, #0088cc, #00b4d8);
    --tiktok: linear-gradient(135deg, #010101, #69C9D0);
    --youtube: linear-gradient(135deg, #FF0000, #cc0000);
    --whatsapp: linear-gradient(135deg, #25D366, #128C7E);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Particles Background --- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(108, 99, 255, 0.4);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* --- Container --- */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 50px 0 30px;
    position: relative;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* --- Avatar --- */
.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.avatar-ring {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--gold), var(--primary));
    background-size: 300% 300%;
    animation: ring-rotate 4s ease-in-out infinite;
}

@keyframes ring-rotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.avatar-ring-inner {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--dark);
    z-index: 1;
}

.avatar-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    z-index: 2;
    border: 3px solid var(--dark);
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #8B83FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--dark);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.verified-badge i {
    font-size: 14px;
    color: #fff;
}

/* --- Typography --- */
.name {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.title-icon {
    font-size: 14px;
}

.tagline {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 28px;
}

/* --- Stats --- */
.stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

.stat-plus {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* --- Section Title --- */
.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 35px 0 20px;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.section-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

/* --- Link Cards --- */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.link-card:hover, .link-card:active {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.link-card .link-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.6s ease;
}

.link-card:hover .link-shine {
    left: 100%;
}

/* Hover glow per card */
.link-card.instagram:hover { box-shadow: 0 8px 30px rgba(225, 48, 108, 0.2); }
.link-card.telegram:hover { box-shadow: 0 8px 30px rgba(0, 136, 204, 0.2); }
.link-card.tiktok:hover { box-shadow: 0 8px 30px rgba(105, 201, 208, 0.2); }
.link-card.youtube:hover { box-shadow: 0 8px 30px rgba(255, 0, 0, 0.2); }
.link-card.whatsapp:hover { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.2); }

.link-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    color: #fff;
    transition: transform 0.3s ease;
}

.link-card:hover .link-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.instagram-bg { background: var(--instagram); }
.telegram-bg { background: var(--telegram); }
.tiktok-bg { background: var(--tiktok); }
.youtube-bg { background: var(--youtube); }
.whatsapp-bg { background: var(--whatsapp); }

.link-content {
    flex: 1;
    margin-left: 15px;
}

.link-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.link-subtitle {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px;
}

.link-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.link-card:hover .link-arrow {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateX(3px);
}

/* --- CTA Section --- */
.cta-section {
    margin: 40px 0 30px;
    padding: 30px 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 107, 107, 0.05));
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 120%, rgba(108, 99, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}

.cta-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    position: relative;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: cta-shimmer 3s ease-in-out infinite;
}

@keyframes cta-shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(108, 99, 255, 0.4);
}

.cta-button i {
    font-size: 18px;
}

/* --- Music Wave --- */
.music-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 25px 0;
}

.wave-bar {
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 4px;
    animation: wave-anim 1.2s ease-in-out infinite;
    opacity: 0.6;
}

.wave-bar:nth-child(1) { animation-delay: 0s; height: 15px; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 25px; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 18px; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; height: 30px; }
.wave-bar:nth-child(5) { animation-delay: 0.15s; height: 22px; }
.wave-bar:nth-child(6) { animation-delay: 0.25s; height: 35px; }
.wave-bar:nth-child(7) { animation-delay: 0.05s; height: 28px; }
.wave-bar:nth-child(8) { animation-delay: 0.35s; height: 40px; }
.wave-bar:nth-child(9) { animation-delay: 0.2s; height: 28px; }
.wave-bar:nth-child(10) { animation-delay: 0.1s; height: 35px; }
.wave-bar:nth-child(11) { animation-delay: 0.3s; height: 22px; }
.wave-bar:nth-child(12) { animation-delay: 0.15s; height: 30px; }
.wave-bar:nth-child(13) { animation-delay: 0.25s; height: 18px; }
.wave-bar:nth-child(14) { animation-delay: 0.05s; height: 25px; }
.wave-bar:nth-child(15) { animation-delay: 0.2s; height: 15px; }

@keyframes wave-anim {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1.2); }
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 20px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-text {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-sub {
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.5;
    margin-top: 4px;
    margin-bottom: 15px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: var(--primary);
    border-color: rgba(108, 99, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

/* --- Scroll Animations (AOS-like) --- */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Responsive --- */
@media (max-width: 380px) {
    .name {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .stats {
        gap: 12px;
        padding: 16px;
    }

    .stat-number {
        font-size: 22px;
    }

    .link-card {
        padding: 14px 14px;
    }

    .link-icon-wrapper {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .container {
        padding: 0 16px;
    }
}

@media (min-width: 481px) {
    .container {
        padding: 0 30px;
    }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* --- Selection --- */
::selection {
    background: var(--primary);
    color: #fff;
}

/* --- Active states for mobile touch --- */
.link-card:active {
    transform: scale(0.98);
}

.cta-button:active {
    transform: scale(0.97);
}
