* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background-image: url('../assets/victorian.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Georgia, 'Times New Roman', serif;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    transition: opacity 0.5s ease;
    color: white;
    font-family: system-ui, sans-serif;
    font-size: 2rem;
    letter-spacing: 4px;
    opacity: 0.9;
    text-transform: lowercase;
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.volume-container {
    position: fixed;
    top: 20px;
    left: 20px;
    display: none;
    align-items: center;
    background: rgba(101, 67, 33, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 240, 0.3);
    border-radius: 40px;
    padding: 6px;
    z-index: 1002;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: background 0.2s ease;
}

.volume-container:hover {
    background: rgba(101, 67, 33, 0.9);
}

.volume-container svg {
    width: 22px;
    height: 22px;
    fill: rgba(255, 255, 240, 0.9);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.volume-container svg:hover {
    transform: scale(1.1);
}

.volume-slider {
    width: 0;
    opacity: 0;
    pointer-events: none;
    transition: width 0.2s ease, opacity 0.2s ease, margin-left 0.2s ease;
    -webkit-appearance: none;
    height: 6px;
    background: rgba(255, 255, 240, 0.3);
    border-radius: 10px;
    outline: none;
    margin-left: 0;
}

.volume-container:hover .volume-slider {
    width: 100px;
    opacity: 1;
    pointer-events: auto;
    margin-left: 6px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 240, 0.9);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    border: 2px solid rgba(101, 67, 33, 0.5);
}

.profile-box {
    width: 600px;               
    background-color: rgba(101, 67, 33, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 240, 0.3);
    border-radius: 70px;
    padding: 70px 100px 80px 100px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 240, 0.15), 0 0 60px rgba(255, 255, 240, 0.05);
    text-align: center;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    will-change: transform;
    max-width: 700px;           
    margin-bottom: 30px;
    z-index: 10;
    background-image: 
        repeating-linear-gradient(0deg, rgba(255, 255, 240, 0.15) 0px, rgba(255, 255, 240, 0.15) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(90deg, rgba(255, 255, 240, 0.15) 0px, rgba(255, 255, 240, 0.15) 1px, transparent 1px, transparent 20px);
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(240, 230, 210, 0.8);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin: 0 auto 20px auto;
}

.username {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #f5e6d3, #d4b48c, #b89a7a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about {
    color: rgba(255, 255, 240, 0.8);
    font-family: system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 0 10px;
    border-top: 1px solid rgba(255, 255, 240, 0.3);
    padding-top: 12px;
    margin-top: 10px;
}

.now-playing {
    margin: 20px auto 15px;
    background: rgba(101, 67, 33, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 240, 0.2);
    border-radius: 50px;
    padding: 15px 20px;
    width: 100%;
    max-width: 450px;
    color: rgba(255, 250, 240, 0.9);
    display: none;
}

.np-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 5px;
}

.np-name {
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 245, 230, 0.95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np-artist {
    font-size: 0.9rem;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np-link {
    color: rgba(200, 170, 130, 0.9);
    text-decoration: none;
    font-size: 0.8rem;
    border-bottom: 1px dotted;
    margin-top: 6px;
    display: inline-block;
    transition: color 0.2s ease;
}

.np-link:hover {
    color: rgba(230, 200, 160, 1);
}

.quote {
    color: rgba(255, 250, 240, 0.9);
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    max-width: 500px;
    margin: 20px auto 0;
    text-align: center;
}

.quote .attribution {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: normal;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 25px;
}

.social-icons svg {
    width: 26px;
    height: 26px;
    transition: all 0.2s ease;
    cursor: pointer;
    fill: rgba(255, 255, 240, 0.9);
}

.social-icons svg:hover {
    opacity: 0.8;
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(255, 255, 240, 0.4));
}