*{box-sizing:border-box;margin:0;padding:0}
html,body{background:#000;color:#0f0;font-family:'Perfect DOS VGA 437',monospace}
body{min-height:100vh;overflow-y:auto;text-align:center}

#title{font-size:48px;margin-top:20px;text-shadow:0 0 12px #0f0}

#popup{
    width:90%;
    max-width:500px;
    margin:40px auto 0;
    background:#111;
    border-radius:12px;
    padding:25px 20px;
    box-shadow:0 0 30px rgba(0,255,0,.5);
    transform:translateY(0);
    opacity:1;
    transition:transform .8s cubic-bezier(.25,1,.5,1),opacity .6s
}

.inputContainer{margin-bottom:12px;text-align:left}
label{display:block;margin-bottom:4px;font-size:14px;color:#0f0}

input,select{
    width:100%;
    padding:8px;
    background:#222;
    border:1px solid #0f0;
    border-radius:6px;
    color:#0f0;
    font-family:'Perfect DOS VGA 437',monospace
}
input::placeholder{color:rgba(0,255,0,.3)}
input:focus,select:focus{outline:none;box-shadow:0 0 6px #0f0}

button{
    width:100%;
    padding:10px;
    border:none;
    border-radius:6px;
    background:#0f0;
    color:#111;
    font-weight:bold;
    font-family:'Perfect DOS VGA 437',monospace;
    cursor:pointer
}
button:hover{background:#0cc000}

#seriesContainer{
    overflow:hidden;
    max-height:0;
    opacity:0;
    transition:max-height .5s ease,opacity .5s
}
#seriesContainer.show{max-height:260px;opacity:1}

#backgroundText{
    max-width:750px;
    margin:30px auto;
    font-size:20px;
    line-height:1.5;
    text-align:left;
    opacity:0;
    animation:fadein 1s ease forwards
}
@keyframes fadein{to{opacity:1}}

.faq-question{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:24px;
    font-weight:bold;
    cursor:pointer;
    border-bottom:1px solid #0f0;
    padding-bottom:6px;
    margin-bottom:8px
}
.faq-arrow{transition:transform .3s}
.faq-question.active .faq-arrow{transform:rotate(180deg)}

.faq-answer{
    max-height:0;
    overflow:hidden;
    font-size:20px;
    line-height:1.5;
    transition:max-height .4s ease;
    margin-bottom:20px
}

#playerContainer{
    display:none;
    position:relative;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    height:100vh;
    background:radial-gradient(circle,#111,#000)
}
#playerFrame{
    width:90%;
    height:90%;
    border:none;
    border-radius:12px;
    box-shadow:0 0 40px rgba(0,255,0,.4);
}
#backButton{
    top:20px;
    left:20px;
    font-size:24px;
    cursor:pointer;
    align-self:flex-start
}

#footer{
    position:fixed;
    bottom:10px;
    left:0;
    width:100%;
    text-align:center;
    font-size:14px;
    opacity:0.6;
    z-index:10
}
#footer a{
    color:#0f0;
    text-decoration:none;
    padding:6px 10px;
    border:1px solid rgba(0,255,0,.5);
    border-radius:6px;
    background:#000;
    font-family:'Perfect DOS VGA 437',monospace
}
#footer a:hover{opacity:1;box-shadow:0 0 8px #0f0}
body.player-active #footer{display:none}

@media(max-width:600px){
    #title{font-size:36px}
    #backgroundText{font-size:18px;max-width:90%}
    .faq-question{font-size:20px}
    .faq-answer{font-size:18px}
}
