* {
    margin: 0;
    padding: 0;

    scrollbar-width: none;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'vazirmatn'; 
    src:  url('/files/fonts/Vazir-Bold.ttf') format('truetype'); 
    font-weight: bold;
}

@font-face{
    font-family: 'squada'; 
    src:  url('/files/fonts/squad.ttf') format('truetype'); 
    font-weight: bold;
}

body {
    background-color:#17181c;
    transition-duration: 0.5s;
    animation: backgroundB 15s ease infinite;
    height: 10000px;
    color: #ffffff;
}

[hidden]{
    display: none !important;
}

/* @keyframes backgroundB {
    0% { background-position: 50% 0%; }
    50% { background-position: 0% 100%; }
    100% { background-position: 50% 0%; }
}  */

/* start header */
.header{
    padding: 20px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    direction: rtl;
}

.nav{
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    /* margin: 20px; */
    align-items: center;
    gap: 10px;
    background-color: #ffffff20;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0px 0px 10px 5px #d3d3d373;
    border-radius: 20px;
    border: 2px solid #ffffff80;
    height: 80px;
    width: 100%;
}

.players-online {
    display: flex;
    align-items: center;
    padding: 10px;
    text-align: center;
    font-family: "vazirmatn";
    /* background-color: red; */
    border-radius: 25px;
    gap: .5rem;
    color: #ffffff;
}

.player-count-badge {
    position: relative;
    display: flex;
    align-items: center;
    padding: .5rem;
    border-radius: 50px;
    background: #00b400;
    transition: all .3s ease;
    z-index: 2;
}

.player-count-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background-color: #00b400;
    animation: badgePulse 2s ease-in infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
        opacity: 1
    }

    to {
        transform: scale(1.5);
        opacity: 0.5
    }
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    /* background-color: #0b0b0e10; */
    /* backdrop-filter: blur(5px);  */
    /* -webkit-backdrop-filter: blur(10px); */
    /* box-shadow: 0px 5px 10px #ffffff38; */
    border-radius: 25px;
    border: 1px solid #ffffff80;
    width: 50%;
    height: 50px;
}

.texts{
    display: flex;
    font-family: "vazirmatn","squada";
    padding: 5px 10px 5px;
    gap: 10px;
    border-radius: 15px;
    color: white;
    transition-duration: 0.5s;
    font-size: .9rem;
}

.texts i{
    font-size: 1.2rem;
}

.texts:hover{
    /* background-color: #1b1b1b85; */
    border-radius: 15px;
    /* border: 1px solid rgba(255, 255, 255, 0.5); */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(-2px);
}

.logo{
    display: flex;
    width: auto;
    height: 35px;
}

.logo-mobile{
    display: none;
    width: auto;
    height: 30px;
}

.btns {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
}

.login-btn {
    display: flex;
    font-family: "vazirmatn","squada";
    text-transform: uppercase;
    font-size: .9rem;
    padding:10px;
    border-radius: 10px;
    /* width: auto;
    height: 40px; */
    gap: 5px;
    transition-duration: 0.5s;
    border: none;
    justify-content: center;
    align-items: center;
    border: 2.5px solid #FF9F1C;
    background-color: #FF9F1C50;
    color: #ffffff;
}

.login-btn i {
    font-size: 1.2rem;
}

.login-btn span {
    padding: 0 5px;
}

.login-btn:hover{
    background-color: #ffa01c80;
    transform: scale(1.1);
}


.logedin-btn {
    display: flex;
    font-family: "vazirmatn","squada";
    text-transform: uppercase;
    font-size: .9rem;
    padding: 10px;
    border-radius: 10px;
    /* width: auto;
    height: 40px; */
    gap: 10px;
    transition-duration: 0.5s;
    border: none;
    border: 2.5px solid #FF9F1C;
    background-color: #FF9F1C50;
    color: #ffffff;
    /* direction: ltr; */
    align-items: center;
    justify-content: center;
    /* justify-content: space-evenly; */
}

.logedin-btn span {
    padding: 0 5px;
}

.logedin-btn:hover{
    background-color: #ffa01c80;
    transform: scale(1.1);
}

.glow-btn {
    display: flex;
    font-family: "vazirmatn","squada";
    text-transform: uppercase;
    font-size: .9rem;
    padding:0 5px;
    border-radius: 10px;
    width: auto;
    height: 40px;
    gap: 5px;
    transition-duration: 0.5s;
    border: none;
    justify-content: center;
    align-items: center;
    border: 2.5px solid #FF9F1C;
    background-color: #FF9F1C50;
    color: #ffffff;
}

.glow-btn i {
    font-size: 1.2rem;
}

.glow-btn:hover{
    background-color: #ffa01c80;
    transform: scale(1.1);
}

.prof-img{
    align-items: center;
    text-align: center;
    margin-left: 10px;
    border-radius: 40%;
    height: 60px;
    box-shadow: 2px 3px #d1c0c0;
    transition-duration: 0.5s;
    border: none;
}

.prof-img:hover{
    background-color: #dddddd;
    /* padding-top: 5px; */
    box-shadow: none;
}

a{
    color: inherit;
    text-decoration: inherit;
}

.header-container {
    width: 95%;
    margin: 0 auto;
    margin-top: 80px;
    direction: rtl;
}

.header-container-content {
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
}

.header-container-img {
    width: auto;
    height: 70vh;
}

.header-container-text {
    margin-right: 35px;
    margin-top: 50px;
    color: #ffffff;
}

.header-container-text h1 {
    font-family: "squada";
    text-transform: uppercase;
    background: linear-gradient(to right bottom,#800000, #810000) ;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* color: #8B0000; */
    width: fit-content;
    font-size: 4rem;
}

.header-container-text p {
    margin-top: 20px;
    font-family: "Vazirmatn","sans-serif";
    color: #909090;
    font-size: 1.5rem;
    width: 38%;
}
/* end header */

/* start about us */
.about-us-container {
    color: white;
    display: flex;
    padding: 10% 0;
    /* border-top: 1px solid #444444; */
}

.about-us-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100vw;
    direction: rtl;
    /* margin: 0 20px; */
    gap: 3rem;
}

.about-us-box {
    background-color: #18181F;
    border-radius: 15px;
    padding: 20px;
    width: 27%;
    /* height: fit-content; */
    transition-duration: 0.5s;
    box-shadow: 0px 0px 20px 2px #30303e;
}

.about-us-box h1 {
    width: fit-content;
    /* padding-bottom: 20px; */
    font-size: 1rem;
    font-family: "Vazirmatn";
    color: #EDEDED;
}

.about-us-box .about-line {
    display: block;
    /* width: fit-content; */
    background-color: #8f0000;
    margin: 20px 0;
    border-radius: 25px;
    height: 5px;
}

.about-us-box p {
    width: fit-content;
    padding-bottom: 20px;
    font-size: 0.8rem;
    font-family: "Vazirmatn";
    color: #B5B5B5;
}

.about-us-box:hover {
    transform: scale(1.02) /*translate(-10px, -10px)*/;
    box-shadow: 0px 0px 20px 4px #30303e;
}
/* end about us */

.faq {
    clip-path: polygon(100% 20%, 100% 100%, 0% 100%, 0% 0%);
    -webkit-clip-path: polygon(100% 20%, 100% 100%, 0% 100%, 0% 0%);
    background-color: rgb(29, 29, 46);
    
}