/* Dark cinematic personal profile page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    z-index: -1;
    pointer-events: none;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

.card {
    width: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transform-style: preserve-3d;
    overflow: hidden;
    /* Ensure the card takes up the full space of the hover-tilt component if needed */
    height: 100%; 
}

/* .shine removed as it is handled by hover-tilt */

.card-content {
    position: relative;
    z-index: 3;
}

.card-top {
    padding: 40px 30px 20px;
    text-align: center;
}

.username {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 0;
}

.card-bottom {
    padding: 25px 30px;
    background: transparent; 
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.social-icon:nth-child(1):hover { /* Discord */
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.6);
    border-color: #5865F2;
}

.social-icon:nth-child(2):hover { /* Xbox */
    box-shadow: 0 0 20px rgba(16, 124, 16, 0.6);
    border-color: #107C10;
}

.social-icon:nth-child(3):hover { /* GitHub */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    border-color: #ffffff;
}

.social-icon:nth-child(4):hover { /* Email */
    box-shadow: 0 0 20px rgba(234, 67, 53, 0.6);
    border-color: #EA4335;
}

/* Music Player */
.music-player {
    position: fixed;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease;
}

.play-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.track-info {
    display: flex;
    flex-direction: column;
}

.track-name {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.artist-name {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

/* Spectrogram */
.spectrogram {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    margin-left: 10px;
}

.bar {
    width: 3px;
    background-color: #fff;
    border-radius: 2px;
    animation: none;
    height: 3px;
}

.spectrogram.playing .bar {
    animation: wave 1s ease-in-out infinite;
}

.spectrogram.playing .bar:nth-child(1) { animation-duration: 1.0s; height: 10px; }
.spectrogram.playing .bar:nth-child(2) { animation-duration: 1.1s; height: 15px; }
.spectrogram.playing .bar:nth-child(3) { animation-duration: 0.9s; height: 18px; }
.spectrogram.playing .bar:nth-child(4) { animation-duration: 1.2s; height: 12px; }
.spectrogram.playing .bar:nth-child(5) { animation-duration: 0.8s; height: 14px; }

@keyframes wave {
    0%, 100% { height: 5px; opacity: 0.5; }
    50% { height: 100%; opacity: 1; }
}