* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /*cursor: url('/assets/images/cur.png'), auto; */
    color: #fff;
    overflow-x: hidden;
    background: #08080a;
}

::-webkit-scrollbar { width: 0;}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Частицы пыли */
.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent);
    filter: blur(1px);
    animation: float-particle linear infinite;
    opacity: 0;
}

@keyframes float-particle {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(1);
    }
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    30% { transform: translate(3%, -15%); }
    50% { transform: translate(12%, 9%); }
    70% { transform: translate(9%, 4%); }
    90% { transform: translate(-1%, 7%); }
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.left-column, .right-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card-wrapper {
    position: relative;
    width: 100%;
    padding-top: 10px;
    margin-bottom: -2px;
    animation: fadeInUp 0.8s ease-out backwards;
}

.card {
    pointer-events: auto;
}

.card-wrapper:nth-child(1) { animation-delay: 0.1s; }
.card-wrapper:nth-child(2) { animation-delay: 0.2s; }
.card-wrapper:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    pointer-events: auto;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s;
    z-index: 1;
}

@media (hover: hover) {
    .card::after {
        content: '';
        position: absolute;
        left: var(--spotlight-x, 50%);
        top: var(--spotlight-y, 50%);
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
        transform: translate(-50%, -50%);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    .card-wrapper:hover .card::after {
        opacity: 1;
    }

    .card-wrapper:hover .card::before {
        left: 100%;
    }

    .card-wrapper:hover .card {
        transform: translateY(-8px) scale(1.002);
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15),
                    0 0 80px rgba(255, 255, 255, 0.1),
                    inset 0 0 100px rgba(255, 255, 255, 0.05);
    }
}

@media (hover: none) {
    .card::before {
        display: none;
    }

    .card-wrapper:active .card {
        transform: scale(0.98);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

.card > * {
    position: relative;
    z-index: 2;
}

.profile-card {
    text-align: center;
}

.card-wrapper:first-child {
    animation-delay: 0s !important;
}

.visit-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 2px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    z-index: 10;
    transition: all 0.3s ease;
}

.visit-counter i {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
}

.avatar-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff, #999, #fff);
    opacity: 0.6;
    filter: blur(20px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.1);
    }
}

.avatar {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2),
                inset 0 0 40px rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

@media (hover: hover) {
    .avatar:hover {
        box-shadow: 0 0 60px rgba(255, 255, 255, 0.4);
    }
}

.avatar img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.username {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.bio {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 16px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link span.social-text {
    bottom: 1px;
}

@media (hover: hover) {
    .social-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .social-link:hover::before {
        left: 100%;
    }

    .social-link:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.4);
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    }
}

@media (hover: none) {
    .social-link:active {
        background: rgba(255, 255, 255, 0.15);
        transform: scale(0.95);
    }
}

.social-link .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    font-size: 20px;
    transition: transform 0.4s;
}

.social-link span:last-child {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    padding-left: 16px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #fff, transparent);
    border-radius: 2px;
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 5px rgba(255,255,255,0.3); }
    50% { opacity: 1; box-shadow: 0 0 15px rgba(255,255,255,0.6); }
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

@media (hover: hover) {
    .skill-tag::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .skill-tag:hover::before {
        left: 100%;
    }

    .skill-tag:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15),
                    0 0 30px rgba(255, 255, 255, 0.1);
    }
}

.сontact-link {
  text-decoration: none;
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.сontact-link:last-child {
  border-bottom: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: default;
}

.contact-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (hover: hover) {
    .contact-item:hover {
        color: #fff;
        padding-left: 8px;
    }

    .contact-item:hover .icon {
        transform: scale(1.3) rotate(10deg);
    }
}

.contact-item .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.3s;
}

.сontact-link .contact-item {
  cursor: pointer;
  width: 100%;
}

.floating-orb {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

@media (hover: none) {
    .floating-orb {
        display: none;
    }
}

.orb-1 {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
    top: -100px;
    left: -100px;
}

.orb-2 {
    background: radial-gradient(circle, rgba(200, 200, 200, 0.4), transparent);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
    }
    
    .card {
        padding: 24px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 30px;
    }
    
    .error-code {
        font-size: 50px;
        margin-top: 10px;
    }
}

.player {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.player-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.player-artwork {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Стили для GIF и статичных обложек — одинаковые */
.player-artwork.has-gif,
.player-artwork.has-cover {
    padding: 0;
}

.player-artwork.has-gif img,
.player-artwork.has-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
}

/* Hover эффекты для обложки */
@media (hover: hover) {
    .player-artwork:hover {
        transform: scale(1.05);
    }

    .player-artwork::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0);
        transition: background 0.3s ease;
        z-index: 1;
        border-radius: 12px;
    }

    .player-artwork:hover::before {
        background: rgba(0, 0, 0, 0.5);
    }

    .player-artwork::after {
        content: '\f04b';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        font-size: 28px;
        color: #fff;
        z-index: 2;
        opacity: 0;
        transform: scale(0.8);
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .player-artwork:hover::after {
        opacity: 1;
        transform: scale(1);
    }

    .player-artwork.playing:hover::after {
        content: '\f04c';
    }
}

/* Мобильная версия */
@media (hover: none) {
    .player-artwork {
        width: 100px;
        height: 100px;
    }

    .player-artwork::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
        border-radius: 12px;
    }

    .player-artwork::after {
        content: '\f04b';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        font-size: 28px;
        color: #fff;
        z-index: 2;
        opacity: 0.8;
        pointer-events: none;
    }

    .player-artwork.playing::after {
        content: '\f04c';
    }
}

/* Пульсация при воспроизведении */
.player-artwork.playing {
    animation: pulse-artwork 2s ease-in-out infinite;
}

.player-artwork.playing::before {
    background: rgba(0, 0, 0, 0.3);
}

@keyframes pulse-artwork {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    50% { 
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    }
}

.player-details {
    flex: 1;
    min-width: 0;
}

.player-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-artist {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

@media (hover: hover) {
    .player-btn:hover::before {
        opacity: 1;
    }

    .player-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    }
}

.player-btn:active {
    transform: scale(0.95);
}

.player-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.player-btn:disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.1);
}

.player-time-container {
    display: flex;
    align-items: center;
}

.player-time {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    min-width: 40px;
    text-align: center;
}

.player-progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.player-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.player-progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: opacity 0.3s;
}

@media (hover: hover) {
    .player-progress-container:hover .player-progress-bar::after {
        opacity: 1;
    }
}

@media (hover: none) {
    .player-progress-bar::after {
        opacity: 1;
    }
}

.player-volume-wrapper {
    position: relative;
    margin-left: 8px;
}

.player-volume-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

@media (hover: hover) {
    .player-volume-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        transform: scale(1.05);
    }
}

.player-volume-popup {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 100;
    width: 36px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.player-volume-popup::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(20, 20, 20, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (hover: hover) {
    .player-volume-wrapper:hover .player-volume-popup {
        opacity: 1;
        visibility: visible;
    }
}

@media (hover: none) {
    .player-volume-popup.active {
        opacity: 1;
        visibility: visible;
    }
}

.player-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    transform: rotate(-90deg);
    transform-origin: center;
    margin: 0;
}

.player-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

@media (hover: hover) {
    .player-volume-slider::-webkit-slider-thumb:hover {
        transform: scale(1.2);
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    }
}

.player-volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

@media (hover: hover) {
    .player-volume-slider::-moz-range-thumb:hover {
        transform: scale(1.2);
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    }
}

.player-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.player-loading.active {
    display: flex;
}

.player-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .player-artwork {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
    
    .player-artwork::after {
        font-size: 36px;
    }
    
    .player-title {
        font-size: 15px;
    }
    
    .player-artist {
        font-size: 13px;
    }
}