@font-face {
    font-family: 'NoScary';
    src: url('fonts/NoScaryregular.woff2') format('woff2'),
         url('fonts/NoScaryregular.woff') format('woff'),
         url('fonts/NoScaryregular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'NoScary', Arial, sans-serif;
    min-height: 100vh;
    color: white;
    position: relative;
    font-size: 1.2rem; /* 20% bigger than default 1rem */
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(45deg, #1a1a1a, #2C0051);
    overflow: hidden;
}

.background-container video,
.background-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-family: 'NoScary', sans-serif;
    text-align: center;
    font-size: 4.2rem; /* 20% bigger than 3.5rem */
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    letter-spacing: 2px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.main-content {
    width: 100%;
    margin-bottom: 2rem;
}

.music-player {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.song-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.song-info p {
    margin: 0.5rem 0;
    font-size: 1.32rem; /* 20% bigger than 1.1rem */
    letter-spacing: 1px;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.controls button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: #2C0051;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem; /* 20% bigger than 1rem */
    min-width: 120px; /* Increased to accommodate larger font */
}

.controls button:hover {
    background: #3c0066;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(44, 0, 81, 0.4);
}

.controls button:active {
    transform: translateY(0);
}

.progress-bar {
    cursor: pointer;
    position: relative;
    z-index: 10; /* Ensure it's above other elements */
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.progress {
    width: 0%;
    height: 100%;
    background: #2C0051;
    transition: width 0.1s linear;
}

.playlist {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.playlist h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2.16rem; /* 20% bigger than 1.8rem */
    color: #2C0051;
}

.song-list {
    max-height: 300px;
    overflow-y: auto;
}

.song-item {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.32rem; /* 20% bigger than 1.1rem */
}

.song-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.song-item.active {
    background: rgba(44, 0, 81, 0.3);
    border-left: 4px solid #2C0051;
}

.discord-widget {
    width: 350px;
    height: 330px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.discord-widget iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Scrollbar styling */
.song-list::-webkit-scrollbar {
    width: 8px;
}

.song-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.song-list::-webkit-scrollbar-thumb {
    background: #2C0051;
    border-radius: 4px;
}

.song-list::-webkit-scrollbar-thumb:hover {
    background: #3c0066;
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 3rem; /* 20% bigger than 2.5rem */
        margin-bottom: 2rem;
    }

    .controls {
        flex-direction: column;
        align-items: center;
    }

    .controls button {
        width: 100%;
        max-width: 240px; /* Increased to accommodate larger font */
    }

    .discord-widget {
        width: 100%;
        max-width: 350px;
    }
}
