* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
}
:root{
    --modelcolor:#010d28;
}
a{
    text-decoration: none;
}
ul,ol{
    list-style-type: none;
}
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    background-image: url("../images/fon-top-bg.jpg");
    background-repeat: no-repeat;
    background-position-x: center;
    background-color: #090816;
}
.general{
    max-width: 1200px;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    /* background-color: #222; */
    color: white;
}

.nav-links {
    display: flex;
    gap: 15px;
}
.nav-links a:hover{
    border-bottom: 2px solid #92cfe2;
    color: #92cfe2;
}
.nav-links a {
    font-family: 'Friz Quadrata Regular OS' , sans-serif;
    text-decoration: none;
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    text-shadow: 0px 0px 5px black;
    padding: 30px;
    transition: 0.2s all ease;
}
.language-select {
    background-color: #333;
    color: white;
    padding: 5px;
    border: none;
    cursor: pointer;
}
.language-dropdown {
    position: relative;
    cursor: pointer;
}
.language-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    /* background-color: #333; */
    padding: 5px 10px;
    border-radius: 4px;
}
.language-options {
    position: absolute;
    top: 121%;
    right: -8px;
    /* background-color: #333; */
    border-radius: 4px;
    display: none;
    flex-direction: column;
    width: 100px;
    z-index: 1000;
}
.language-option {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    padding: 10px;
    width: 100px;
    height: 50px;
}
.language-option:hover {
    background-color: #19b0f678;
}
.language-option img {
    width: 20px;
    height: 14px;
}
.language-dropdown.open .language-options {
    display: flex;
}
.menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    /* display: block; */
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
    color: rgba(0,0,0,.5);
    border-color: rgba(0,0,0,.1);
    visibility: hidden;
}
.centerEle{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.centerEle-ver-x{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.logocontainer{
    justify-content: space-between;
    position: relative;
}
.logo{
    margin-left: 50%;
    width: fit-content;
    display: flex;
    justify-content: center;
}
.logo .logoimg{
    max-width: 400px;
    width: 80%;
}
.logo .logoimg:hover{
    filter: brightness(1.5);
}
.light-animation{
    position: absolute;
    top: 17.5%;
    left: 1rem;
    filter: hue-rotate(180deg);
}
.blue-light{
    background: url(../images/blue-light.png);
    width: 300px;
    height: 300px;
    top: 5px;
    left: 0px;
    position: absolute;
    animation: 12s p-next linear infinite;
    opacity: 0.7;
}
.yellow-light{
    background: url(../images/yellow-light.png);
    width: 300px;
    height: 300px;
    top: 5px;
    left: 0px;
    position: absolute;
    animation: 12s p-prev linear infinite;
    opacity: 0.7;
}
/*main*/
main{
    font-family: 'Friz Quadrata Regular OS' , sans-serif;
    
}
main .row{
    display: grid;
    gap: 10px;
    grid-template-columns: 77% 23%;
}
main .row .aside{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #010d28;
}
/*fast button*/
.fast-button{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 100px;
    justify-content: space-between;
    background-color: #0a024d;
   
}
.fast-button .fast-block{
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 214px; */
    
}
.fast-button .fast-block a{
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    margin-left: 80px;
    z-index: 200;
    
}
.fast-button .fast-block a span{
    font-size: 11px;
    width: 75px;
}
.fast-button .fast-block:nth-child(1){
    background: url(../images/fast-button-1.jpg) no-repeat;
    /* background-position-x:left ; */
}
.fast-button .fast-block:nth-child(2){
    background: url(../images/fast-button-2.jpg) no-repeat;
    /* background-position-x:center ; */
}
.fast-button .fast-block:nth-child(3){
    background: url(../images/fast-button-3.jpg) no-repeat;
    /* background-position-x:right ; */
}
/* page-output */
.page-output article{
    background-color: var(--modelcolor) ;
    padding: 10px;
}
/*aside section*/

.log .logform .info{
    display: inline-block;
    font-size: 12px;
    padding: 10px;
    text-align: center;
    background-color: #101a24;
    font-family: "Open Sans", sans-serif;
}
.serverbox{
    background-image: url(../images/stats-bg.jpg);
    height: 281px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    box-shadow: -1px -5px 10px #661e1e, 2px 2px 11px #004aff;
    margin: 27px 0;
}
#serverData{
    font-size: 12px;
    width: 80%;
    height: 80%;
}
#serverData tr{
    height: 45px;
}

#serverData tr:nth-child(odd){
    background-color: #00dbff6b;
}
#serverData tr:nth-child(even){
    background-color: #28263d66;
}
#serverData tr th{
    background-color: transparent;
}
footer{
    padding: 20px;
    margin: 90px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer .right,footer .left{
    display: flex;
    flex-direction: column;
}
footer .left a{
color: #1f76b2;
}
footer .left a:hover{
    color: #3baefd;
}
footer .right img{
    margin-left: 130px;
}

.model{
    z-index: 100000;
    width: 100vw;
    height: 100vh;
    background-color: #00000038;
}
.signin,.signup,.changepass{
display: none;
}
.mdelon{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.floating {  
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin-top: 5px;
}

@keyframes floating {
    from { transform: translate(0,  0px); }
    65%  { transform: translate(0, 15px); }
    to   { transform: translate(0, -0px); }    
}

@keyframes p-next {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes p-prev {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-180deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}
.sparks {
    width: 60%;
    margin: 0 auto;
    display: block;
    text-align: center;
    position: relative;
    top: 50px;
    z-index: -1;
}

.sparks > div {
    position: absolute;
    z-index: 5;
    filter: hue-rotate(180deg);
}

.sparks .spark_1 {
    background: url(../images/spark_1.png) no-repeat;
    width: 764px;
    height: 313px;
    right: 0;
    bottom: -120px;
    transform: scale(0.6);
    animation: spark-1 4s linear infinite;
    animation-delay: 1s;
}

@keyframes spark-1 {
    0% {
        bottom: -320px;
        transform: scale(0.6);
        opacity: 1;
    }
    25% {
        bottom: -240px;
        transform: scale(0.7);
        opacity: 1;
    }
    50% {
        bottom: -160px;
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        bottom: -80px;
        transform: scale(0.9);
        opacity: 0.5;
    }
    to {
        bottom: 0;
        transform: scale(1);
        opacity: 0;
    }
}

.sparks .spark_2 {
    background: url(../images/spark_2.png) no-repeat;
    width: 149px;
    height: 335px;
    right: 230px;
    bottom: -320px;
    transform: scale(0.6);
    animation: spark-1 4s linear infinite;
    animation-delay: 2s;
}

.sparks .spark_3 {
    background: url(../images/spark_3.png) no-repeat;
    width: 128px;
    height: 165px;
    right: 280px;
    bottom: -140px;
    transform: scale(0.6);
    animation: spark-3 4s linear infinite;
    animation-delay: 2s;
}

@keyframes spark-3 {
    0% {
        bottom: -140px;
        -webkit-transform: scale(0.6);
        transform: scale(0.6);
        opacity: 1;
    }
    25% {
        bottom: -80px;
        -webkit-transform: scale(0.7);
        transform: scale(0.7);
        opacity: 1;
    }
    50% {
        bottom: -20px;
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        bottom: 40px;
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.5;
    }
    to {
        bottom: 100px;
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

.sparks .spark-big {
    background: url(../images/spark_4.png) no-repeat;
    width: 794px;
    height: 176px;
    right: 0;
    bottom: -180px;
    transform: scale(0.6);
    animation: spark-5 4s linear infinite;
}

@keyframes spark-5 {
    0% {
        bottom: -180px;
        transform: scale(0.6);
        opacity: 1;
    }
    25% {
        bottom: -120px;
        transform: scale(0.7);
        opacity: 1;
    }
    50% {
        bottom: -60px;
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        bottom: 0;
        transform: scale(0.9);
        opacity: 0.5;
    }
    to {
        bottom: 60px;
        transform: scale(1);
        opacity: 0;
    }
}
/*Responsive*/
@media screen and (max-width: 1131px) {
    .light-animation{
        top: 17.5%;
        left: -4rem;
    }
}
@media screen and (max-width: 768px) {
    body{

        background-size: 150%;
    }
    .light-animation{
        display: none;
    }
    .logo{
        margin-left: 0%;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        /* position: absolute;
        top: 60px;
        left: 0; */
        /* background-color: #222; */
        width: 100%;
        /* text-align: center; */
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .opend{
        flex-direction: column;
        align-items: start;
    }
    .menu-btn {
        display: block;
        visibility: visible;
    }
    main .row{
        display: flex;
        flex-direction: column;
    }
    .fast-button{
        height: 318px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: transparent;
    }
    .fast-button .fast-block{
        width: 287px;
        height: 100px;
        margin-bottom: 10px;
    }
    footer .right img{
        margin-left: 0;
    }
}
/* =========================
   GLOBAL TRANSPARENT PANELS
========================= */

:root{
    --panel-bg: rgba(8, 12, 25, 0.88);
    --panel-bg-dark: rgba(6, 10, 22, 0.95);
    --panel-border: rgba(212,175,55,0.25);
}

/* Main transparent containers */
.navbar,
main,
main article,
.page-output article,
main .row .aside,
.fast-button,
.serverbox,
.log .logform .info,
footer{
    background: var(--panel-bg) !important;
    border-radius: 14px;
    box-shadow: 0 0 30px rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
}

/* Slightly darker sections */
.topicHeader,
.language-options{
    background: var(--panel-bg-dark) !important;
}

/* Tables transparency */
#serverData tr:nth-child(odd){
    background-color: rgba(30,40,80,0.45);
}
#serverData tr:nth-child(even){
    background-color: rgba(15,20,45,0.45);
}

/* Optional elegant border */
.navbar,
main article,
aside,
footer{
    border: 1px solid var(--panel-border);
}
/* =========================
   FORCE ALL BLUE TO BLACK TRANSPARENT
========================= */

/* Remove any blue backgrounds */
[class*="blue"],
nav,
.navbar,
aside,
main,
article,
.fast-button,
.page-output article,
main .row .aside,
.serverbox,
.log .logform .info,
.rankTabs,
.tab,
.data,
.top-data,
.bottom-data{
    background-color: transparent !important;
    background-image: none !important;
}

/* Unified black glass effect */
.navbar,
aside,
main,
article,
.fast-button,
.page-output article,
.serverbox,
.rankTabs,
.tab,
.data,
.top-data,
.bottom-data,
footer{
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    box-shadow: 0 0 35px rgba(0,0,0,0.85);
}

/* Table headers */
table tr th{
    background: rgba(0, 0, 0, 0.85) !important;
    color: #FFD27D;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Hover effects */
.ranktab.checked,
.data .info:hover,
.language-option:hover{
    background: rgba(20, 20, 20, 0.85) !important;
    box-shadow: 0 0 15px rgba(255, 215, 120, 0.35);
}

/* Server data rows */
#serverData tr:nth-child(odd),
#serverData tr:nth-child(even){
    background-color: rgba(10, 10, 10, 0.55) !important;
}
