* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Background Video Container */
#video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.68) contrast(1.15);
}

/* Dark Vignette Overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.92) 100%);
    pointer-events: none;
}

/* Faint Diagonal Terminal Text Stream (Top Right) */
#terminal-stream {
    position: fixed;
    top: 15px;
    right: 70px;
    z-index: 5;
    font-family: 'Share Tech Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    color: rgba(160, 160, 160, 0.16);
    letter-spacing: 1px;
    line-height: 1.6;
    text-align: right;
    pointer-events: none;
    transform: rotate(-14deg);
    transform-origin: top right;
    width: 380px;
    max-height: 320px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
}

#terminal-stream div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Center Content Wrapper */
.center-wrapper {
    position: relative;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.main-card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    max-width: 460px;
}

#zukan-text {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: lowercase;
    font-weight: 700;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 45px rgba(255, 255, 255, 0.25);
    transition: none;
    opacity: 1;
}

/* HEAVY LIQUID GLASS CARD */
.liquid-glass-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(45px) saturate(220%) contrast(1.15);
    -webkit-backdrop-filter: blur(45px) saturate(220%) contrast(1.15);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 28px;
    padding: 2rem 1.6rem;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.65), 
        inset 0 0 0 1px rgba(255, 255, 255, 0.25), 
        inset 0 2px 0 0 rgba(255, 255, 255, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.liquid-glass-card:hover {
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.75), 
        inset 0 0 0 1px rgba(255, 255, 255, 0.35), 
        inset 0 2px 0 0 rgba(255, 255, 255, 0.6);
}

/* Centered Avatar & Air Discord Avatar Decoration Overlay */
.avatar-center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.avatar-ring-container {
    position: relative;
    width: 96px;
    height: 96px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.centered-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Air Avatar Decoration Image Perfectly Centered over Avatar */
.avatar-decoration-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    pointer-events: none;
    z-index: 10;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 200, 255, 0.5));
}

/* User Info Box */
.user-center-info {
    text-align: center;
}

.display-name-text {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.username-gray-text {
    font-size: 0.95rem;
    color: #a0a0ab;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Liquid Glass Spotify Section */
.liquid-spotify-section {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(30, 215, 96, 0.4);
    border-radius: 18px;
    padding: 1.1rem;
    position: relative;
    text-align: left;
    box-shadow: inset 0 0 15px rgba(30, 215, 96, 0.05);
}

.spotify-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    color: #1ed760;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.spotify-icon-green {
    font-size: 1rem;
}

.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 15px;
}

.equalizer-bar {
    width: 3px;
    background-color: #1ed760;
    border-radius: 2px;
    animation: bounce 1.2s ease-in-out infinite alternate;
}

.equalizer-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.equalizer-bar:nth-child(2) { height: 80%; animation-delay: 0.4s; }
.equalizer-bar:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.equalizer-bar:nth-child(4) { height: 100%; animation-delay: 0.5s; }

@keyframes bounce {
    0% { height: 20%; }
    100% { height: 100%; }
}

.spotify-main-content {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.album-art-box {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(30, 215, 96, 0.4);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

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

.track-info-box {
    flex-grow: 1;
    overflow: hidden;
}

.track-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.artist-name {
    font-size: 0.88rem;
    color: #a0a0ab;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}

/* Timeline & Progress Bar */
.timeline-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    color: #a0a0ab;
}

.timeline-bar-bg {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.timeline-bar-fill {
    height: 100%;
    width: 38%;
    background: #1ed760;
    border-radius: 10px;
    transition: width 0.5s linear;
}

/* Liquid Social Media Buttons Row */
.liquid-social-row {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    width: 100%;
}

.social-glass-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-glass-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.cani-icon-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.25s ease;
}

.social-glass-btn:hover .cani-icon-img {
    transform: scale(1.12);
}

/* Top Right Controls */
.top-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20;
}

.ctrl-btn {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    transform: scale(1.08);
}
