* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000;
    color: #fff;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
    filter: brightness(0.55) blur(4px);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(139, 90, 43, 0.08) 0%, rgba(0, 0, 0, 0.4) 70%);
    z-index: -1;
    pointer-events: none;
}

#click-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#click-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.click-text {
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.click-text span {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.click-text i {
    font-size: 1.5rem;
    color: #d4a574;
    animation: bounce 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-15px); opacity: 1; }
}

.container {
    width: 100%;
    max-width: 520px;
    padding: 20px;
    opacity: 0;
    transform: scale(0.92) translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.container.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.profile-card {
    background: rgba(30, 25, 20, 0.2);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 50px 40px;
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 100px rgba(139, 90, 43, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 40px 80px -15px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 120px rgba(139, 90, 43, 0.12);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.profile-card:hover::before {
    opacity: 1;
}

.profile-card::after {
    content: '';
    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.8s ease;
    pointer-events: none;
}

.profile-card:hover::after {
    left: 100%;
}

.profile-header {
    text-align: center;
    margin-bottom: 35px;
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.5), rgba(139, 90, 43, 0.3));
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 165, 116, 0.2);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-image:hover {
    transform: scale(1.05) rotate(2deg);
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-name {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #d4a574 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(212, 165, 116, 0.2);
    transition: transform 0.3s ease;
}

.profile-name:hover {
    transform: scale(1.02);
}

.profile-bio {
    font-size: 1.05rem;
    color: #a09080;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 30px;
    min-height: 1.6em;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 35px;
}

.social-link {
    position: relative;
    width: 52px;
    height: 52px;
    background: rgba(212, 165, 116, 0.08);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #d4a574;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 165, 116, 0.5);
}

.social-link.discord:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    color: #5865F2;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

.social-link.spotify:hover {
    background: rgba(29, 185, 84, 0.2);
    border-color: rgba(29, 185, 84, 0.5);
    color: #1DB954;
    box-shadow: 0 10px 30px rgba(29, 185, 84, 0.3);
}

.social-link:active {
    transform: translateY(-2px) scale(0.98);
}

.tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 25, 20, 0.95);
    color: #d4a574;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.social-link:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -45px;
}

.music-player {
    background: rgba(20, 15, 10, 0.25);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.music-player:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.player-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #d4a574;
    font-weight: 600;
}

.now-playing i {
    color: #d4a574;
    font-size: 1rem;
    animation: spin 3s linear infinite;
    filter: drop-shadow(0 0 10px rgba(212, 165, 116, 0.5));
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.view-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #a09080;
    font-weight: 600;
    background: rgba(212, 165, 116, 0.08);
    padding: 6px 14px;
    border-radius: 24px;
    border: 1px solid rgba(212, 165, 116, 0.15);
    transition: all 0.3s ease;
}

.view-count:hover {
    background: rgba(212, 165, 116, 0.12);
    border-color: rgba(212, 165, 116, 0.25);
    transform: scale(1.05);
}

.view-count i {
    color: #d4a574;
    font-size: 0.85rem;
    animation: pulse-eye 2s infinite;
}

@keyframes pulse-eye {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.player-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.control-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5a2b 0%, #d4a574 100%);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 10px 30px rgba(139, 90, 43, 0.4),
        0 0 0 0 rgba(212, 165, 116, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.control-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.control-btn:hover::before {
    opacity: 1;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 
        0 15px 40px rgba(139, 90, 43, 0.6),
        0 0 0 10px rgba(212, 165, 116, 0);
}

.control-btn:active {
    transform: scale(0.95);
}

.control-btn.playing {
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0% { box-shadow: 0 10px 30px rgba(139, 90, 43, 0.4), 0 0 0 0 rgba(212, 165, 116, 0.5); }
    50% { box-shadow: 0 15px 40px rgba(139, 90, 43, 0.6), 0 0 0 15px rgba(212, 165, 116, 0); }
    100% { box-shadow: 0 10px 30px rgba(139, 90, 43, 0.4), 0 0 0 0 rgba(212, 165, 116, 0); }
}

.progress-container {
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(212, 165, 116, 0.15);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: height 0.3s ease;
}

.progress-bar:hover {
    height: 8px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #8b5a2b 0%, #d4a574 100%);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.5);
}

.progress::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #d4a574;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-bar:hover .progress::after {
    opacity: 1;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #a09080;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}

.time-display span {
    transition: color 0.3s ease;
}

.time-display span:hover {
    color: #d4a574;
}

.friends-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(212, 165, 116, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 12px;
    padding: 10px 18px;
    color: #d4a574;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.friends-btn:hover {
    background: rgba(212, 165, 116, 0.25);
    border-color: rgba(212, 165, 116, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 90, 43, 0.4);
}

.friends-btn:active {
    transform: translateY(0);
}

.friends-btn i {
    font-size: 1rem;
}

.friends-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 550px;
    background: rgba(20, 15, 10, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, width 0.5s cubic-bezier(0.16, 1, 0.3, 1), height 0.5s cubic-bezier(0.16, 1, 0.3, 1), top 0.5s cubic-bezier(0.16, 1, 0.3, 1), left 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.friends-window.active {
    opacity: 1;
    visibility: visible;
}

.friends-window.dragging {
    transition: none;
    cursor: grabbing;
}

.friends-window.fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    border-radius: 0;
}

.window-header {
    background: rgba(139, 90, 43, 0.2);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: grab;
    user-select: none;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.window-header:hover {
    background: rgba(139, 90, 43, 0.25);
}

.window-header:active {
    cursor: grabbing;
}

.window-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d4a574;
    font-weight: 600;
    font-size: 0.95rem;
}

.window-title i {
    font-size: 1rem;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(212, 165, 116, 0.2);
    background: rgba(212, 165, 116, 0.1);
    color: #d4a574;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.window-btn:hover {
    background: rgba(212, 165, 116, 0.25);
    border-color: rgba(212, 165, 116, 0.5);
    transform: scale(1.05);
}

.window-btn:active {
    transform: scale(0.95);
}

.window-btn.close-btn:hover {
    background: rgba(255, 71, 87, 0.3);
    border-color: rgba(255, 71, 87, 0.6);
    color: #ff4757;
}

.window-body {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
}

.window-body::-webkit-scrollbar {
    width: 6px;
}

.window-body::-webkit-scrollbar-track {
    background: rgba(212, 165, 116, 0.05);
}

.window-body::-webkit-scrollbar-thumb {
    background: rgba(212, 165, 116, 0.3);
    border-radius: 3px;
}

.window-body::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 165, 116, 0.5);
}

.add-friend-btn {
    width: 100%;
    background: linear-gradient(135deg, #8b5a2b 0%, #d4a574 100%);
    border: none;
    border-radius: 12px;
    padding: 14px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(139, 90, 43, 0.3);
    position: relative;
    overflow: hidden;
}

.add-friend-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.add-friend-btn:hover::before {
    width: 300px;
    height: 300px;
}

.add-friend-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 90, 43, 0.5);
}

.add-friend-btn:active {
    transform: translateY(0);
}

.friends-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.no-friends {
    text-align: center;
    color: #a09080;
    padding: 30px;
    font-size: 0.9rem;
}

.friend-card {
    background: rgba(212, 165, 116, 0.08);
    border: 1px solid rgba(212, 165, 116, 0.15);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.friend-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.1), transparent);
    transition: left 0.5s ease;
}

.friend-card:hover::before {
    left: 100%;
}

.friend-card:hover {
    background: rgba(212, 165, 116, 0.12);
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(139, 90, 43, 0.2);
}

.friend-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 165, 116, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.friend-card:hover .friend-avatar {
    transform: scale(1.05);
    border-color: rgba(212, 165, 116, 0.6);
}

.friend-info {
    flex: 1;
    min-width: 0;
}

.friend-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friend-info p {
    font-size: 0.8rem;
    color: #a09080;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.edit-friend-btn {
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 8px;
    width: 35px;
    height: 35px;
    color: #d4a574;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edit-friend-btn:hover {
    background: rgba(212, 165, 116, 0.2);
    border-color: rgba(212, 165, 116, 0.6);
    transform: rotate(15deg);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(30, 25, 20, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 20px;
    padding: 35px;
    max-width: 420px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #d4a574;
}

.close-btn {
    background: rgba(212, 165, 116, 0.15);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    color: #d4a574;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(212, 165, 116, 0.25);
    border-color: rgba(212, 165, 116, 0.6);
    transform: rotate(90deg);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a09080;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(212, 165, 116, 0.08);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 10px;
    padding: 12px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(212, 165, 116, 0.6);
    background: rgba(212, 165, 116, 0.12);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: #d4a574;
}

.form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.form-group input[type="file"] {
    padding: 10px;
    cursor: pointer;
    font-size: 0.85rem;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #8b5a2b 0%, #d4a574 100%);
    border: none;
    border-radius: 12px;
    padding: 14px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 90, 43, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

@keyframes megaParticleExplode {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0) rotate(var(--rot));
        opacity: 0;
    }
}

@keyframes buttonParticleExplode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

@keyframes ringExpand {
    0% {
        width: 100px;
        height: 100px;
        opacity: 1;
        border-width: 3px;
    }
    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
        border-width: 1px;
    }
}

@keyframes windowPopIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes windowPopOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes fullscreenIn {
    0% {
        border-radius: 20px;
    }
    100% {
        border-radius: 0;
    }
}

@keyframes fullscreenOut {
    0% {
        border-radius: 0;
    }
    100% {
        border-radius: 20px;
    }
}

@keyframes modalPopIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes modalPopOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

@keyframes friendCardSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes friendCardUpdate {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
        background: rgba(212, 165, 116, 0.15);
    }
}

@keyframes avatarRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(0.8);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes toastSlideUp {
    0% {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes toastSlideDown {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: #a09080;
    font-weight: 500;
    letter-spacing: 0.3px;
    pointer-events: auto;
}

.copyright {
    display: flex;
    align-items: center;
    gap: 4px;
}

.copyright i {
    font-size: 0.65rem;
    color: #8b7355;
}

.separator {
    color: #5a4a3a;
    font-size: 0.6rem;
}

.made-with {
    display: flex;
    align-items: center;
    gap: 4px;
}

.heart-icon {
    width: 10px;
    height: 10px;
    color: #d4a574;
    animation: heartBeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(212, 165, 116, 0.5));
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.25);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.25);
    }
    56% {
        transform: scale(1);
    }
}

.footer-link {
    color: #d4a574;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4a574;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-link:hover::after {
    width: 100%;
}

@media (max-width: 480px) {
    .footer-content {
        font-size: 0.6rem;
        gap: 6px;
    }
    
    .heart-icon {
        width: 8px;
        height: 8px;
    }
    
    .site-footer {
        padding: 10px 15px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 90%;
        padding: 15px;
    }
    
    .profile-card {
        padding: 40px 30px;
        border-radius: 28px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .friends-window {
        width: 95%;
        height: 70vh;
    }
    
    .friends-btn {
        top: 15px;
        left: 15px;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .modal-content {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 95%;
        padding: 10px;
    }
    
    .profile-card {
        padding: 35px 20px;
        border-radius: 24px;
    }
    
    .profile-name {
        font-size: 1.8rem;
    }
    
    .profile-bio {
        font-size: 0.95rem;
    }
    
    .music-player {
        padding: 20px;
    }
    
    .control-btn {
        width: 60px;
        height: 60px;
    }
    
    .social-link {
        width: 48px;
        height: 48px;
    }
    
    .friends-window {
        width: 100%;
        height: 80vh;
    }
}

@media (max-width: 360px) {
    .profile-card {
        padding: 30px 15px;
    }
    
    .profile-name {
        font-size: 1.6rem;
    }
    
    .profile-bio {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}