html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    background: linear-gradient(280.03deg, #42275a , #734b6d);
    padding-bottom: 50px;
}
h1 {
    color: #fdfcff;
    text-align: center;
    margin-top: 30px;
}
#winWindow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
#winContent {
    background-color: rgba(30, 20, 40, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid #51ac14;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 0 50px rgba(81, 172, 20, 0.3);
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #dec6e7;

    animation: victoryAnim 2s ease-out;
}

.winButton {
    margin-top: 20px;
    background-color: rgba(66, 39, 90, 0.5);
    color: #dec6e7;
    border: 2px solid rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    width: 200px;
    max-width: 200px;
    min-width: 50px;
    max-height: 200px;
    min-height: 50px;
    cursor: auto;
    text-align: center;
    text-decoration: none;
    cursor:pointer;
    font-size: 20px;
    margin: 5px;
    animation: animHover 0.5s;
}

.boxmenu {
    position: relative;
    margin-top: 0;
    background-repeat: no-repeat;
    overflow-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    overflow: visible;
    padding: 60px 0;
}
#game-menu {
    position: relative;
    margin: 0;
    color: #dec6e7;
    background: rgba(30, 20, 40, 0.3);
        backdrop-filter: blur(20px);
        --webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(222, 198, 231, 0.2);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6), /* Main depth */
        0 0 20px rgba(186, 104, 200, 0.1); /* Subtle purple aura */

    min-height: 400px;
    width: 1000px;
    max-width:90%;
    border-radius: 15px;
    padding: 20px;
    z-index: 2;
}

#comments {
    position: absolute;
    left: calc(50% + 320px);
    transform: translateY(-50%);
    top: 100%;
    width: 200px;
    padding: 15px;

    color: red;
    visibility: hidden;
    transition: visibility 0.3s ease, opacity 0.3s ease;

}

#comments-text::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 20px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right:10px solid red;
}
#comments-name {
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    right:100%;
    margin-right:25px;
    top:15px;
    color: red;
    white-space: nowrap;
}



.info-containers {
    overflow-x: hidden;
    overflow-y: hidden;
}
#guess-headers {
    border-bottom: #3a2c3a solid 2px;
}

table {
    border-collapse: separate;
    border-spacing: 8px;
    margin: 0 auto;
}

.guess-head {
    font-size: 16px;
    color: #fdfcff;
    padding: 10px
}
.guess-info {
    box-sizing: border-box;
    height: 60px;
    width: 120px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-align: center;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.result-box {
    color : #fdfcff;
    border: 2px solid black;
}
.result-box.correct { 
    background-color: #048d1f;
    animation: animCorrect 1s ease-out;
}
.result-box.incorrect { 
    background-color: #aa0805; 
    animation: animIncorrect 1s ease-out;
}
.result-box.partial { 
    background-color: #b16706;
    animation: animPartial 1s ease-out;
}

#search {
    margin-top: 30px;
    width: 300px;
    height: 50px;
    font-size: 1.5rem;
    background-color: #857575;
    border-radius: 15px;
    border: none;
    
}
#vtuberInput{
        padding: 15px 25px;
        font-size: 1.1rem;
        background-color: #dec6e7;
        color : rgb(0, 0, 0);
        outline: none;
        border: 2px solid rgba(222, 198, 231, 0.3);
        border-radius: 10px;
        outline: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
#vtuberInput:focus {
    outline: #42275A solid 2px;
    
}

.submitter
{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#sub-button{
    margin-top: 30px;
    background-color: rgba(30, 20, 40, 0.3);
    color: #dec6e7;
    border: 2px solid #42275a00;
    border-radius: 10px;
    width: 200px;
    max-width: 200px;
    min-width: 50px;
    max-height: 200px;
    min-height: 50px;
    cursor: auto;
    text-align: center;
    text-decoration: none;
    cursor:pointer;
    font-size: 20px;
    font-weight: bold;
}

#sub-button:hover {
    color: #fff;
    border: 2px solid rgba(0, 0, 0, 0.534);
    border-radius: 10px;
    animation-name: animHover;
    animation-duration: 0.5s;
    background-color: #51ac14;
    
}



@keyframes animCorrect {
    0% {background-color: #42275A;}
    100% {background-color: #048d1f;}
}

@keyframes animPartial{
    0% {background-color: #42275A;}
    100% {background-color: #b16706;}
}

@keyframes animIncorrect{ 
    0% {background-color: #42275A;}
    100% {background-color: #aa0805;}
}
@keyframes animHover {
    0% {background-color: #42275A;
            border: 2px solid #42275a00;
        }
    100% {background-color: #51ac14;
            border: 2px solid rgba(0, 0, 0, 0.534);
        }
    
}
@keyframes victoryAnim {
    0% {background-color: #d400ff00;
        border: 2px solid #d400ff00;
    }
    100% {background-color: rgba(30, 20, 40, 0.5);
        border: 2px solid #51ac14;
    }
}