﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: -1;
}

.play-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s, visibility 0.5s;
}

.play-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.card {
    width: 550px;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile {
    text-align: center;
    padding: 0 2rem 1.5rem;
    position: relative;
    margin-top: -50px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid rgba(17, 17, 17, 0.95);
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.profile h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.discord-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #888;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.discord-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #aaa;
    transform: translateY(-2px);
}

.location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.location i {
    font-size: 0.8rem;
}

.time-location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #aaa;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    margin-top: 0.5rem;
}

.time-location i {
    font-size: 0.8rem;
}

.info-btn {
    position: absolute;
    top: 175px;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 10;
}

.info-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mute-btn {
    position: absolute;
    top: 175px;
    left: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 10;
}

.mute-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mute-btn.muted {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
}

.info-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    transition: opacity 0.3s, visibility 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.info-panel.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.info-banner-container {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.info-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close-btn {
    position: absolute;
    top: 175px;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 101;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.info-content {
    max-width: 600px;
    padding: 2rem;
    margin-top: 1rem;
}

.info-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-panel p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: center;
}

.info-panel p strong {
    color: #3b82f6;
    font-weight: 600;
}

.info-panel p a {
    color: #06b6d4;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

.info-panel p a:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.info-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    margin: 2rem auto;
}

.info-footer {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0;
}

.spotify-box,
.discord-box {
    margin: 0 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.box-header {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.box-header i {
    font-size: 1rem;
}

.spotify-box .box-header i {
    color: #1db954;
}

.discord-box .box-header i {
    color: #5865f2;
}

.box-content {
    padding: 1rem;
}

.loading-text {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

.spotify-track {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.album-art {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
}

.track-info {
    flex: 1;
}

.track-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    color: #fff;
}

.track-artist {
    font-size: 0.8rem;
    color: #888;
}

.server-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.server-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.server-details {
    flex: 1;
}

.server-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
}

.join-btn {
    background: #5865f2;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.join-btn:hover {
    background: #4752c4;
}

@media (max-width: 600px) {
    .card {
        width: 95%;
        max-width: 550px;
    }
}
