* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #050505;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    color: #e0e0e0;
}

/* Частицы (летящие вверх) */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: floatUp linear forwards;
}

@keyframes floatUp {
    0% {
        transform: translateY(110vh) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10vh) scale(1.2);
        opacity: 0;
    }
}

/* Контейнер карточки */
.container {
    z-index: 10;
    perspective: 1000px;
}

.card {
    width: 400px;
    padding: 35px 30px;
    background: rgba(20, 20, 20, 0.25);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.02);
    transform-style: preserve-3d;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-content {
    transform: translateZ(40px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Профиль */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.avatar-placeholder {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.online-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background: #e0e0e0;
    border-radius: 50%;
    border: 2px solid #111;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px rgba(255,255,255,0.8); }
    100% { transform: scale(0.9); opacity: 0.7; }
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

.profession {
    font-size: 0.9rem;
    color: #888;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Обо мне */
.about-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #b0b0b0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Навыки */
.skills-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.skill {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s;
}

.skill i {
    color: #aaa;
}

.skill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Ссылки */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.link-item i {
    font-size: 1.2rem;
    color: #aaa;
    width: 20px;
    text-align: center;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.link-item:hover i {
    color: #fff;
}

/* Кнопка музыки */
.music-toggle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #aaa;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s;
}

.music-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
