


:root {
    --bg-dark: #0a0a1a;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-bg-hover: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-hover: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-blur: 20px;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent-1: #6c63ff;
    --accent-2: #e040fb;
    --accent-3: #00e5ff;
    --accent-4: #76ff03;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-primary: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}


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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

a {
    text-decoration: none;
    color: inherit;
}


.bg-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
    will-change: transform;
    transform: translateZ(0);
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6c63ff 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-duration: 18s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #e040fb 0%, transparent 70%);
    top: 50%;
    right: -15%;
    animation-duration: 22s;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #00e5ff 0%, transparent 70%);
    bottom: -10%;
    left: 20%;
    animation-duration: 25s;
    animation-delay: -10s;
}

.orb-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #ff6d00 0%, transparent 70%);
    top: 30%;
    left: 50%;
    animation-duration: 20s;
    animation-delay: -3s;
    opacity: 0.3;
}

.orb-5 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #76ff03 0%, transparent 70%);
    bottom: 30%;
    right: 30%;
    animation-duration: 28s;
    animation-delay: -8s;
    opacity: 0.25;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, -80px) scale(1.1); }
    50% { transform: translate(-40px, 50px) scale(0.95); }
    75% { transform: translate(80px, 30px) scale(1.05); }
}


#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}


.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-smooth);
}

.glass-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}


.container {
    position: relative;
    z-index: 10;
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    animation: fadeInUp 0.8s ease-out;
}

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


.profile-card {
    text-align: center;
    padding: 40px 30px 32px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}


.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
    clip-path: circle(50%);
}

.avatar-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    display: block;
}

@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--accent-1),
        var(--accent-2),
        var(--accent-3),
        var(--accent-1)
    );
    z-index: 1;
    animation: spin 6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.status-indicator {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4caf50;
    border: 3px solid var(--bg-dark);
    z-index: 3;
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
}


.profile-name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    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;
}

.profile-tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.profile-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.glass-badge i {
    font-size: 0.7rem;
    color: var(--accent-2);
}


.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    padding: 0 8px;
}

.title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(108, 99, 255, 0.15);
    color: var(--accent-1);
    font-size: 0.7rem;
}


.links-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    border-radius: inherit;
}

.link-card:hover {
    transform: translateY(-2px) scale(1.01);
}

.link-card:hover::before {
    opacity: 1;
}

.link-card:active {
    transform: translateY(0) scale(0.99);
}


.link-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-spring);
}

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

.instagram-gradient {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.facebook-gradient {
    background: linear-gradient(135deg, #0062e0, #19afff);
}

.telegram-gradient {
    background: linear-gradient(135deg, #2aabee, #229ed9);
}

.twitter-gradient {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255,255,255,0.1);
}

.briket-gradient {
    background: linear-gradient(135deg, #ff6d00, #ff9100, #ffab00);
}

.email-gradient {
    background: linear-gradient(135deg, #ea4335, #fbbc05);
}

.portfolio-gradient {
    background: linear-gradient(135deg, #6c63ff, #e040fb);
}

.canton-gradient {
    background: linear-gradient(135deg, #00e5ff, #651fff);
}

.github-gradient {
    background: linear-gradient(135deg, #333, #6e5494);
}


#link-instagram:hover { border-color: rgba(225, 48, 108, 0.4); }
#link-facebook:hover { border-color: rgba(0, 98, 224, 0.4); }
#link-telegram:hover { border-color: rgba(42, 171, 238, 0.4); }
#link-twitter:hover { border-color: rgba(255, 255, 255, 0.3); }
#link-email:hover { border-color: rgba(234, 67, 53, 0.4); }
#link-github:hover { border-color: rgba(110, 84, 148, 0.4); }
#link-portfolio:hover { border-color: rgba(108, 99, 255, 0.4); }
#link-briket:hover { border-color: rgba(255, 109, 0, 0.4); }
#link-botcanton:hover { border-color: rgba(0, 229, 255, 0.4); }

#link-instagram::before { background: linear-gradient(135deg, rgba(225, 48, 108, 0.08), transparent); }
#link-facebook::before { background: linear-gradient(135deg, rgba(0, 98, 224, 0.08), transparent); }
#link-telegram::before { background: linear-gradient(135deg, rgba(42, 171, 238, 0.08), transparent); }
#link-twitter::before { background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent); }
#link-github::before { background: linear-gradient(135deg, rgba(110, 84, 148, 0.08), transparent); }
#link-briket::before { background: linear-gradient(135deg, rgba(255, 109, 0, 0.08), transparent); }
#link-botcanton::before { background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), transparent); }
#link-portfolio::before { background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), transparent); }
#link-email::before { background: linear-gradient(135deg, rgba(234, 67, 53, 0.08), transparent); }




.link-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 1;
}

.link-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.link-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.link-arrow {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.link-card:hover .link-arrow {
    color: var(--text-primary);
    transform: translateX(4px);
}


.business-card {
    border: 1px solid rgba(255, 145, 0, 0.15);
    background: rgba(255, 109, 0, 0.05);
}

.business-card-canton {
    border: 1px solid rgba(0, 229, 255, 0.15);
    background: rgba(0, 229, 255, 0.05);
}


.toggle-business-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    z-index: 10;
}

.toggle-business-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.25);
    background: var(--glass-bg-hover);
}

.toggle-business-btn i:first-child {
    font-size: 0.9rem;
    color: var(--accent-1);
}

.toggle-arrow {
    transition: transform var(--transition-smooth);
    font-size: 0.75rem;
}

.toggle-arrow.rotated {
    transform: rotate(180deg);
}


.business-collapsible {
    overflow: hidden;
    transition: all 0.4s ease-out;
}


.glass-footer {
    text-align: center;
    padding: 20px;
    border-radius: var(--radius-md);
    border: none;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
}

.glass-footer:hover {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
}

.footer p {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
}

.footer-sub {
    margin-top: 4px;
}

.heart-pulse {
    color: #e040fb;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}


.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-xl);
    padding: 36px 28px 28px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform var(--transition-spring);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(255, 109, 0, 0.3);
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}


.briket-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.glass-feature {
    text-align: center;
    padding: 20px 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-smooth);
}

.glass-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 145, 0, 0.2);
    transform: translateY(-4px);
}

.glass-feature i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
    background: linear-gradient(135deg, #ff6d00, #ffab00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-feature h3 {
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.glass-feature p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.4;
}


.briket-cta {
    text-align: center;
}

.cta-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-primary);
    border: none;
    cursor: pointer;
    color: white;
    transition: all var(--transition-spring);
    text-decoration: none;
}

.cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
}

.cta-btn:active {
    transform: translateY(0) scale(0.98);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.telegram-btn {
    background: linear-gradient(135deg, #2aabee, #229ed9);
    box-shadow: 0 4px 16px rgba(42, 171, 238, 0.3);
}

.telegram-btn:hover {
    box-shadow: 0 8px 24px rgba(42, 171, 238, 0.4);
}


.link-card,
.section-title {
    opacity: 0;
    transform: translateY(20px);
    animation: staggerIn 0.6s ease-out forwards;
}

.links-section:nth-child(2) .section-title { animation-delay: 0.3s; }
.links-section:nth-child(2) .link-card:nth-child(2) { animation-delay: 0.4s; }
.links-section:nth-child(2) .link-card:nth-child(3) { animation-delay: 0.5s; }
.links-section:nth-child(2) .link-card:nth-child(4) { animation-delay: 0.6s; }
.links-section:nth-child(2) .link-card:nth-child(5) { animation-delay: 0.7s; }

.links-section:nth-child(3) .section-title { animation-delay: 0.8s; }
.links-section:nth-child(3) .link-card:nth-child(2) { animation-delay: 0.9s; }

.footer { animation-delay: 1s; }

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


@media (max-width: 520px) {
    .container {
        padding: 28px 16px 48px;
    }

    .profile-card {
        padding: 32px 20px 28px;
    }

    .avatar {
        width: 90px;
        height: 90px;
        font-size: 28px;
    }

    .profile-name {
        font-size: 1.6rem;
    }

    .briket-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .glass-feature {
        display: flex;
        align-items: center;
        gap: 14px;
        text-align: left;
        padding: 16px;
    }

    .glass-feature i {
        margin-bottom: 0;
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .glass-feature h3 {
        margin-bottom: 2px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        justify-content: center;
    }

    /* Fix mobile scroll flicker */
    .orb {
        filter: blur(60px);
        opacity: 0.3;
    }

    .glass-card {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}


::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}


::selection {
    background: rgba(108, 99, 255, 0.4);
    color: white;
}
