body {
    background-color: rgb(20, 20, 20);
    color: white;
    margin: 0;
    font-family: "Vazirmatn", sans-serif;
    font-weight: bold;
    user-select: none;
}

.site-header {
    width: 100%;
    height: 120vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.site-header__background {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Image/BG.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
}

.site-header__backgroundShadow {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(0deg, rgb(20, 20, 20) 5%, rgba(0, 0, 0, 0.756) 25%, rgba(0, 0, 0, 0.476) 50%, rgba(0, 0, 0, 0) 60%);
}

.site-header__title {
    font-size: 38px;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.705);
    margin-bottom: 0;
}

.site-header__tagline {
    font-size: 14px;
    color: gold;
    text-shadow: 0 0 8px rgba(255, 217, 0, 0.786);
    animation: blink 3s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

.site-header__description {
    font-size: 16px;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.793);
}

/* From Uiverse.io by vinodjangid07 */
.Download-button {
    display: flex;
    align-items: center;
    font-family: inherit;
    font-weight: bold;
    font-size: 14px;
    padding: 12px 20px;
    color: white;
    background: rgb(201, 177, 35);
    border: none;
    box-shadow: 0 0.7em 1.5em -0.5em rgba(254, 241, 1, 0.527);
    letter-spacing: 0.05em;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all .2s ease;
}

.Download-button svg {
    margin-right: 8px;
    width: 25px;
}

.Download-button:hover {
    box-shadow: 0 0.5em 1.5em -0.5em rgba(245, 213, 1, 0.627);
    transform: scale(1.05);
}

.Download-button:active {
    background: rgb(169, 149, 32);
    box-shadow: 0 0.3em 1em -0.5em rgba(255, 217, 0, 0.627);
}

.Download-button::before {
    content: "";
    width: 4px;
    height: 40%;
    background-color: white;
    position: absolute;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    left: 0;
    transition: all 0.2s;
}

.Download-button::after {
    content: "";
    width: 4px;
    height: 40%;
    background-color: white;
    position: absolute;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    right: 0;
    transition: all 0.2s;
}

.Download-button:hover::before,
.Download-button:hover::after {
    height: 60%;
}


.site-header__buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 10px;
}

.site-header__content {
    animation: ShowHeaderContent 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

@keyframes ShowHeaderContent {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.352);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 217, 0, 0.356);
    box-shadow: 0 4px 10px rgba(239, 175, 0, 0.331);
}

nav ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

nav ul a.active {
    color: gold;
    text-shadow: 0 0 12px rgba(255, 217, 0, 0.579);
}

nav ul a:hover:not(.active) {
    color: rgb(123, 123, 123);
}

.SectionInfoMain {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 100px;
}

.SectionInfoMain h2 {
    margin-bottom: 0;
}

.SectionInfoMain p {
    color: rgba(218, 218, 218, 0.787);
    margin-bottom: 40px;
}

/* اوورلی مدال (پوشش تار زمینه) */
.modals {
    width: 100vw;
    height: 100vh;
    display: none;
    /* ابتدا مخفی */
    justify-content: center;
    align-items: center;
    position: fixed;
    /* برای پوشش کل صفحه */
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* بک‌گراند نیمه‌تار */
    z-index: 1001;
}

/* خود مدال */
.SoonModal {
    z-index: 1002;
    width: 35vw;
    height: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background-color: rgb(59, 59, 59);
    border-radius: 14px;
    color: white;
    padding-top: 50px;
    box-shadow: 0 0 8px 1px rgba(255, 217, 0, 0.357);
    position: relative;
}

/* محتوای داخل مدال */
.SoonModal p {
    z-index: 1002;
}

.SoonModal img {
    z-index: 1003;
    position: absolute;
    width: 50%;
    top: 0;
    transform: translateY(-55%);
}

.BlackAndBlur {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    background-color: rgba(0, 0, 0, 0.178);
    backdrop-filter: blur(8px);
}

.feature-list {
    width: 55%;
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.feature-list>div {
    position: relative;
    width: 45%;
    height: 200px;
    padding: 10px;
    border-radius: 14px;
    box-shadow: inset 0 0 4px 1px rgba(239, 199, 0, 0.679);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all .2s ease;
}

.Circle {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    bottom: 0;
    right: 0;
    transform: translate(20%, 20%);
    filter: blur(15px);
    z-index: -1;
    background-color: rgba(255, 217, 0, 0.678);
}

.feature-list>div>h4 {
    margin-bottom: 0;
}

.feature-list>div>p {
    font-size: 14px;
}

.feature-list>div>svg {
    width: 18%;
    animation: uptodown 5s infinite;
}

@keyframes uptodown {
    0% {
        transform: translateY(10px);
    }


    50% {
        transform: translateY(-10px);
    }


    100% {
        transform: translateY(10px);
    }
}

.feature-list>div:hover {
    transform: scale(1.02);
}


.SectionLeaderBoard {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    margin: 70px auto;
}

.SectionLeaderBoard>div {
    width: 45%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.SectionLeaderBoard_Content_Right {
    justify-content: center;
    align-items: flex-start;
}

.SectionLeaderBoard_Content_Right>span {
    font-size: 14px;
    color: rgba(183, 172, 172, 0.685);
}

.SectionLeaderBoard_Content_Right>h3 {
    font-size: 24px;
    margin: 0;
    margin-bottom: 20px;
}

.SectionLeaderBoard_Content_Right>p {
    font-size: 16px;
    color: rgba(206, 202, 202, 0.867);
}

.SectionLeaderBoard_Content_Left {
    justify-content: center;
    align-items: center;
}

.SectionLeaderBoard_Content_Left>div {
    width: 80%;
    font-size: 14px;
    padding: 15px;
    border-radius: 8px;
    background-color: rgb(40, 40, 40);
    box-shadow: inset 0 0 6px 0 rgba(255, 217, 0, 0.611);
}

.LeaderBoard ul {
    margin: 0;
    padding: 0;
}

.LeaderBoard ul li {
    display: flex;
    justify-content: right;
    gap: 15px;
    align-items: center;
    flex-direction: row;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 0 4px 1px rgba(128, 128, 128, 0.778);
    margin-bottom: 10px;
}

.LeaderBoard ul li:last-child {
    margin-bottom: 0;
}

.LeaderBoard ul li img {
    width: 50px;
    border-radius: 100%;
    box-shadow: 0 0 6px 1px rgba(255, 217, 0, 0.745);
}

.rules-section {
    width: 70%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 100px;
    color: white;
}

.accordion {
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.accordion-title {
    background-color: #f8f8f800;
    color: white;
    font-family: "Vazirmatn", sans-serif;
    width: 100%;
    padding: 1rem;
    text-align: right;
    border: none;
    outline: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.accordion-title:hover {
    background-color: #eeeeee13;
}

.accordion-content {
    max-height: 0;
    text-align: right;
    color: white;
    overflow: hidden;
    direction: rtl;
    padding: 0 1rem;
    transition: max-height 0.3s ease;
    font-family: "Vazirmatn", sans-serif;
    background-color: rgba(255, 255, 255, 0.042);
    white-space: normal;
}

.accordion-item.active .accordion-content {
    max-height: 100%;
}

.accordion-content p {
    margin: 1rem 0;
}

.TextForAbout {
    color: gold;
    text-shadow: 0 0 8px rgba(255, 217, 0, 0.596);
}

.footer-signature {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    background: linear-gradient(to right, #111, #1a1a1a);
    color: #ccc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-signature a {
    background: linear-gradient(90deg, rgb(255, 0, 0), rgb(255, 255, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-signature a:hover {
    opacity: 0.8;
}

@media screen and (max-width: 480px) {
    .SoonModal {
        width: 90%;
    }

    .site-header__background {
        background-image: url('../Image/BGMobile.jpg');
    }

    .feature-list {
        width: 90%;
    }

    .feature-list>div {
        width: 90%;
    }
}