body {
    margin: 0;
    overflow: hidden;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100vh;
    width: 100vw;
    font-family: 'Roboto', sans-serif;
}

#background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(8px);
    z-index: -2;
}

#tint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

#screensaver {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dvd-logo {
    position: absolute;
    width: 8vw;
    height: auto;
    z-index: 2;
    clip-path: circle();
}

#center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
}

#center-content h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 100;
}

#link-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.text-button {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    text-decoration: none;
    font-weight: 100;
    transition: color 0.3s ease;
    padding: 0.6rem 1rem;
    position: relative;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
    display: none;
}

.text-button:focus,
.icon-button:focus {
    outline: none;
}

.dropdown-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown {
    list-style: none;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem 1.5rem;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 6px;
    display: none;
    flex-direction: column;
    gap: 1rem;
    z-index: 4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    width: 220px;
}

.dropdown.visible {
    display: flex;
}

.dropdown li {
    margin: 0;
}

.dropdown li a,
.dropdown li span {
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 100;
    white-space: nowrap;
}

.dropdown li a:hover {
    text-decoration: underline;
}

a {
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

a:hover {
    color: #ff79c6 !important; 
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12vw;
    height: 12vw;
    max-width: 60px;
    max-height: 60px;
    color: white;
    box-sizing: border-box;
    overflow: visible;
    transition: color 0.3s ease;
    margin: 0;
    padding: 0;
}

.icon-button svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.icon-button:hover svg {
    fill: #ff79c6;
}

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

.tint-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.logo-wrapper {
    padding: 20px;
    cursor: pointer;
}

.icon-container {
    text-align: center;
}

.icon {
    max-width: 24px;
    max-height: 24px;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    #center-content h1 {
        font-size: 3rem;
    }

    .dvd-logo {
        width: 18vw;
    }

    .text-button {
        font-size: 1.6rem;
        padding: 0.4rem 0.8rem;
    }

    .dropdown {
        width: 180px;
    }

    .icon-button {
        width: 20vw;
        height: 20vw;
    }

    .icon-button svg {
        width: 100%;
        height: 100%;
    }

    #link-bar {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    #center-content h1 {
        font-size: 2.5rem;
    }

    .dvd-logo {
        width: 25vw;
    }

    .text-button {
        font-size: 1.4rem;
        padding: 0.3rem 0.6rem;
    }

    .dropdown {
        width: 160px;
    }

    .icon-button {
        width: 25vw;
        height: 25vw;
    }

    .icon-button svg {
        width: 100%;
        height: 100%;
    }

    #link-bar {
        gap: 1rem;
    }
}
