*,
*::after,
*::before {
    box-sizing: border-box;
}


/*
Colors
#ecac50

 */
:root {
    font-size: 16px;
    --page-padding: 1.5rem;
    --color-text: #fff;
    --color-bg: #12100e;
    --color-link: rgba(255, 255, 255, 0.6);
    --color-link-hover: #fff;
    --color-bg-1: #2f251e;
    --color-bg-2: #43392f;
    --color-bg-3: var(--color-bg-1);
    --color-bg-4: var(--color-bg-2);
    --color-bg-5: var(--color-bg-1);
    --color-bg-6: var(--color-bg-2);
    --color-primary: #ecac50;
    --color-secondary: #001234;
    --color-tertiary: #00e592;
    --color-green: #008b00;
    --color-green-dark: #33772e;
    --color-card-1: #414e58;
    --color-card-2: #3d396a;
    --color-card-3: #2f227a;
    --color-card-4: #00008b;
    --color-card-5: #001234;
}

@font-face {
    font-family: "IranYekan";
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/eot/iranyekanwebbold.eot');
    src: url('../fonts/eot/iranyekanwebbold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff/iranyekanwebbold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanwebbold.ttf') format('truetype');
}

@font-face {
    font-family: "IranYekan";
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/eot/iranyekanwebthin.eot');
    src: url('../fonts/eot/iranyekanwebthin.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff/iranyekanwebthin.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanwebthin.ttf') format('truetype');
}

@font-face {
    font-family: "IranYekan";
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/eot/iranyekanweblight.eot');
    src: url('../fonts/eot/iranyekanweblight.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff/iranyekanweblight.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanweblight.ttf') format('truetype');
}

@font-face {
    font-family: "IranYekan";
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/eot/iranyekanwebregular.eot');
    src: url('../fonts/eot/iranyekanwebregular.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff/iranyekanwebregular.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanwebregular.ttf') format('truetype');
}

@font-face {
    font-family: "IranYekan";
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/eot/iranyekanwebmedium.eot');
    src: url('../fonts/eot/iranyekanwebmedium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff/iranyekanwebmedium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanwebmedium.ttf') format('truetype');
}

@font-face {
    font-family: "IranYekan";
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/eot/iranyekanwebextrabold.eot');
    src: url('../fonts/eot/iranyekanwebextrabold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff/iranyekanwebextrabold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanwebextrabold.ttf') format('truetype');
}

@font-face {
    font-family: "IranYekan";
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/eot/iranyekanwebblack.eot');
    src: url('../fonts/eot/iranyekanwebblack.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff/iranyekanwebblack.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanwebblack.ttf') format('truetype');
}

@font-face {
    font-family: "IranYekan";
    font-style: normal;
    font-weight: 950;
    src: url('../fonts/eot/iranyekanwebextrablack.eot');
    src: url('../fonts/eot/iranyekanwebextrablack.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/woff/iranyekanwebextrablack.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanwebextrablack.ttf') format('truetype');
}

html[lang="ar"] body,
html[lang="fa"] body {
    direction: rtl;
}

body {
    margin: 0;
    color: var(--color-text);
    background-color: var(--color-bg);
    font-family: "IranYekan", sans-serif;
    font-variation-settings: "slnt" 0, "wdth" 150, "wght" 500, "INKT" 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    overflow-x: hidden;
}

.demo-2,
.demo-4,
.demo-6,
.demo-8,
.demo-10,
.demo-12,
.demo-14 {
    --color-text: #000;
    --color-bg: #e1e1e1;
    --color-link: rgba(0, 0, 0, 0.6);
    --color-link-hover: #000;
    --color-bg-1: #9d9d9d;
    --color-bg-2: #c7c7c7;
    --color-bg-3: var(--color-bg-1);
    --color-bg-4: var(--color-bg-2);
    --color-bg-5: var(--color-bg-1);
    --color-bg-6: var(--color-bg-2);
}

.demo-9 {
    --color-bg-1: #2f251e;
    --color-bg-2: #43392f;
    --color-bg-3: #18130e;
    --color-bg-4: var(--color-bg-1);
    --color-bg-5: var(--color-bg-2);
    --color-bg-6: var(--color-bg-3);
}

.demo-10 {
    --color-bg-1: #9d9d9d;
    --color-bg-2: #c7c7c7;
    --color-bg-3: #7c7c7c;
    --color-bg-4: var(--color-bg-1);
    --color-bg-5: var(--color-bg-2);
    --color-bg-6: var(--color-bg-3);
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
    content: '';
    position: fixed;
    z-index: 5000;
}

.js .loading::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
}

.js .loading::after {
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border-radius: 50%;
    opacity: 0.4;
    background: var(--color-link);
    animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
    to {
        opacity: 1;
        transform: scale3d(0.5, 0.5, 1);
    }
}

a {
    text-decoration: none;
    color: var(--color-link);
    outline: none;
    cursor: pointer;
}

a:hover {
    color: var(--color-link-hover);
    outline: none;
}

/*a:focus {
    outline: none;
    background: lightgrey;
}*/

/*a:focus:not(:focus-visible) {*/
/*    background: transparent;*/
/*}*/

a:focus-visible {
    outline: 2px solid red;
    background: transparent;
}

.unbutton {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
}

.unbutton:focus {
    outline: none;
}

.frame {
    padding: var(--page-padding);
    position: relative;
    display: grid;
    z-index: 1000;
    width: 100%;
    grid-row-gap: 1rem;
    grid-column-gap: 2rem;
    justify-items: start;
    font-size: 12px;
}

.frame--header {
    height: 100%;
    z-index: 3000;
    background-size: auto 80%;
    background-position: 120% 50%;
    background-repeat: no-repeat;
    grid-template-areas: 'title' 'prev' 'back' 'sub' 'sponsor' 'demos' 'heading';
}

.frame--footer {
    grid-template-areas: 'credits' 'author';
    align-content: end;
}

.frame #cdawrap {
    justify-self: start;
}

.frame a {
    pointer-events: auto;
    font-size: 16px;
}

.frame__title {
    grid-area: title;
    font-size: inherit;
    margin: 0;
}

.frame__sub {
    grid-area: sub;
}

.frame__demos {
    grid-area: demos;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    align-self: start;
    flex-wrap: wrap;
    background: var(--color-bg);
    border: 1px solid;
    padding: 1rem;
    border-radius: 10px;
}

.frame__demos > * {
    width: 2rem;
    display: block;
    flex: none;
    text-decoration: none;
    border-radius: 50%;
    aspect-ratio: 1;
    border: 1px solid var(--color-link-hover);
    display: grid;
    place-items: center;
    padding-top: 0.2em;
    background: var(--color-bg);
}

.frame__demos > span {
    filter: invert(100%);
}

.frame__demos::before {
    content: "Variations:";
}

.frame__heading {
    grid-area: heading;
    align-self: center;
    justify-self: start;
    /*width: min-content;*/
    width: auto;
    display: flex;
    flex-direction: column;
    margin-top: 10vh;
    max-width: 750px;
}

.frame__heading h2 {
    margin: 0;
    line-height: 0.9;
    margin-bottom: 40px;
    font-size: clamp(2.5rem, 12vw, 6rem);
    font-weight: bold;
    letter-spacing: -0.03em;
    font-variation-settings: "slnt" 0, "wdth" 400, "wght" 900, "INKT" 400;
}

i {
    font-style: normal;
    font-variation-settings: "slnt" 0, "wdth" 100, "wght" 400, "INKT" 400;
}

.frame__heading p {
    margin: 0;
}

.frame__credits {
    grid-area: credits;
}

.frame__author {
    display: flex;
    gap: 1.5rem;
    grid-area: author;
}

.content {
    padding: var(--page-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content--perspective {
    perspective-origin: 50% 0%;
    perspective: 1000px;
}

.text-large {
    font-size: clamp(1.5rem, 5vw, 3rem);
    max-width: 900px;
    margin: 0 0 0.85em 0;
    line-height: 1.2;
    font-variation-settings: "slnt" 0, "wdth" 100, "wght" 500, "INKT" 100;
}

.link-text {
    color: #5462fe;
    text-decoration: underline;
}

.content--sticky {
    width: 100vw;
    position: sticky;
    top: 0;
    --offset: -100px;
    top: var(--offset);
    height: calc(100vh - var(--offset));
}

.content--grid,
.content--grid .content__inner {
    display: grid;
    overflow: hidden;
    grid-column-gap: 5vw;
    grid-row-gap: 2vh;
    align-content: center;
    grid-template-areas: 'content-img' 'content-title' 'content-text';
    justify-items: center;
}

.content--grid:has(.content__inner) {
    display: block;
    padding: 0;
}

.content__inner {
    width: 100%;
    height: 100%;
    border-radius: 0 0 2rem 2rem;
}

.content--card {
    display: flex;
    flex-direction: column;
    height: 80vh;
    width: 95vw;
    max-width: 500px;
    aspect-ratio: 0.8;
    top: 10vh;
    margin: auto;
    border-radius: 14px;
    gap: 3vh;
    text-align: center;
    margin-bottom: 5vh;
}

.content--card .content__title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: bold;
    letter-spacing: 0;
}

.custom-filter {
    filter: blur(10px) !important;
}

.custom-text {
    position: relative;
}

.custom-text:after {
    content: "به زودی ...";
    position: absolute;
    direction: rtl;
    font-size: 40px;
    font-weight: bold;
    z-index: 999;
}

.content--card .content__title i {
    display: block;
}

.content--half {
    display: flex;
    flex-direction: column;
    gap: 3vh;
    text-align: center;
}

.content--half:nth-child(odd) {
    margin-left: auto;
}

.content__img {
    grid-area: content-img;
    width: 50%;
    max-width: 450px;
    height: auto;
}

.content__img--large {
    width: 60%;
    height: auto;
}

.content__img--small {
    height: 35%;
    width: auto;
}

.spacer {
    margin-top: 20vh;
}

.content__title {
    grid-area: content-title;
    line-height: 1;
    font-weight: bold;
    font-size: clamp(2rem, 6vw, 5rem);
    margin: 0;
    font-variation-settings: "slnt" 0, "wdth" 400, "wght" 900, "INKT" 400;
}

.content__text {
    margin: 0;
    max-width: 500px;
    grid-area: content-text;
    text-align: center;
    line-height: 1.5;
    padding: 0 1rem;
    backface-visibility: hidden;
}

.content__text--narrow {
    max-width: 300px;
}

.content--intro {
    /*background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(40, 21, 0, 1) 100%);*/
    background: linear-gradient(0deg, #001234 0%, rgba(0, 0, 0, 1)  100%);
    padding-top: 10vh;
    padding-bottom: 10vh;
    z-index: 2;
}

.circle-parent {
    position: relative;
}

.circle-parent-2 {
    overflow: hidden;
}

.circle-bg-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at 50% 50%, rgba(98, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
    border-radius: 50%;
    filter: blur(70px);
    position: absolute;
    right: -380px;
    bottom: -350px;
    opacity: 0.8;
}

.circle-bg-2 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle at 50% 50%, rgba(98, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
    border-radius: 50%;
    filter: blur(70px);
    position: absolute;
    left: -400px;
    top: 300px;
    opacity: 0.8;
}

.circle-bg-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 50% 50%, rgba(98, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
    border-radius: 50%;
    filter: blur(70px);
    position: absolute;
    right: -250px;
    bottom: 300px;
    opacity: 0.7;
}

.circle-bg-4 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle at 50% 50%, rgba(98, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
    border-radius: 50%;
    filter: blur(70px);
    position: absolute;
    left: -400px;
    top: 150px;
    opacity: 0.8;
}

.circle-bg-5 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle at 50% 50%, rgba(98, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
    border-radius: 50%;
    filter: blur(70px);
    position: absolute;
    left: -500px;
    bottom: 0;
    opacity: 0.8;
}

.circle-bg-6 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 50% 50%, rgba(98, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
    border-radius: 50%;
    filter: blur(70px);
    position: absolute;
    right: -400px;
    bottom: -150px;
    opacity: 0.8;
}

.content--intro-winners {
    width: 100%;
    margin-bottom: 100px;
}


.content--intro-alt {
    /*background: var(--color-secondary);*/
    background: linear-gradient(180deg, var(--color-secondary) 0%, #000 100%);
    padding-top: 8vh;
    z-index: 2;
}

.content--outro {
    padding-top: 10vh;
}

.bg-2 {
    background: var(--color-bg-2);
}

.bg-3 {
    background: var(--color-bg-3);
}

.bg-4 {
    background: var(--color-bg-4);
}

.bg-5 {
    background: var(--color-bg-5);
}

.bg-6 {
    background: var(--color-bg-6);
}

.sticky-menu {
    position: fixed;
    top: 0;
    padding: 15px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9000;
    left: 0;
    right: 0;
    background-color: var(--color-secondary);
    direction: rtl !important;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.sticky-menu a {
    margin-left: 15px;
    color: var(--color-primary);
}

.logo {
    width: 120px;
}

/* Attention */
.attention {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid #aaa;
    margin-top: 20px;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

.attention-item {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.attention-item svg {
    width: 20px;
    height: 20px;
    fill: #dc3545;
    flex-shrink: 0;
}

.attention-item-text {
    text-align: justify;
    color: #e6e6e6;
}

@media screen and (min-width: 63em) {
    body {
        --page-padding: 2rem 3rem;
    }

    .frame--header {
        height: 100vh;
        grid-template-columns: auto auto auto 1fr 1fr;
        grid-template-rows: auto 1fr auto;
        align-content: space-between;
        grid-template-areas: 'title back prev sub sponsor' 'heading heading heading heading heading' 'demos demos demos demos demos';
    }

    .frame__heading {
        margin-top: 0;
    }

    .frame__heading h2 {
        white-space: nowrap;
    }

    .frame__heading p {
        margin: 0 0 0 auto;
    }

    .content--grid .content__title {
        align-self: end;
    }

    .frame__demos {
        position: fixed;
        bottom: 2rem;
    }

    .frame--footer {
        padding-bottom: 0;
        grid-template-areas: 'credits ...' '... author';
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 6rem;
    }

    .frame__author {
        align-self: center;
    }

    .frame #cdawrap {
        max-width: 300px;
        text-align: right;
    }

    .frame #cdawrap,
    .frame__author,
    .frame__sub {
        justify-self: end;
    }

    .content--grid,
    .content--grid .content__inner {
        grid-template-areas: 'content-img content-title' 'content-img content-text';
        grid-template-columns: 25% 1fr;
        justify-items: start;
    }

    .content__img--large {
        width: 160%;
    }

    .content__img--left {
        /*justify-self: end;*/
        justify-self: center;
        position: relative;
        left: -2rem;
    }

    .content__text--left {
        text-align: left;
        align-self: start;
    }

    .content--card {
        width: 50vw;
    }

    .content--half {
        width: 50%;
    }
}

@media screen and (max-width: 1440px) {
    .frame__heading {
        transform: scale(0.9);
        margin-top: -50px;
    }

/*    .hero-text {
        margin-top: -50px;
    }*/
}

/* Timer */

@keyframes flip-top {
    to {
        transform: rotateX(90deg);
    }
}

@keyframes flip-bottom {
    to {
        transform: rotateX(0deg);
    }
}

.countdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    transform: scale(0.65);
    max-width: 415px;
}

.countdown {
    direction: ltr !important;
}

.countdown .cards {
    display: flex;
    gap: 15px;
}

.countdown .cards .card {
    text-align: center;
    font-size: 25px;
}

.countdown .cards .card p {
    color: #f1f1f1;
    /*font-size: 11px;*/
    font-size: 18px;
    text-transform: uppercase;
}

.countdown .cards .card .flip-card {
    display: flex;
    flex-direction: column;
    box-shadow: 0 7px 3px 0 #12100e;
    position: relative;
    margin: 8px auto;
}

.countdown .cards .card .top-half,
.countdown .cards .card .bottom-half,
.countdown .cards .card .top-flip,
.countdown .cards .card .bottom-flip {
    color: #f1f1f1;
    font-size: 32px;
    height: 43px;
    width: 77px;
    padding: 23px 7px;
    overflow: hidden;
    text-align: center;
    will-change: transform !important;
    box-shadow: 0 3px rgba(71, 83, 115, 0.2) inset;
}

.countdown .cards .card .top-half,
.countdown .cards .card .top-flip {
    color: #202020;
    border-radius: 5px 5px 0 0;
    background-color: #cfc6a9;
}

.countdown .cards .card .top-half::before,
.countdown .cards .card .top-flip::before {
    content: "";
    background-color: #191a24;
    height: 10px;
    width: 10px;
    border-radius: 100%;
    position: absolute;
    bottom: -5px;
    left: -5px;
}

.countdown .cards .card .top-half::after,
.countdown .cards .card .top-flip::after {
    content: "";
    background-color: #191a24;
    height: 10px;
    width: 10px;
    border-radius: 100%;
    position: absolute;
    bottom: -5px;
    right: -5px;
}

.countdown .cards .card .bottom-half,
.countdown .cards .card .bottom-flip {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-radius: 0 0 5px 5px;
    background-color: #cfc6a9;
    box-shadow: 0 -2px 5px 0 rgba(71, 83, 115, 0.7) inset;
    color: #202020;
}

.countdown .cards .card .bottom-half::before,
.countdown .cards .card .bottom-flip::before {
    content: "";
    background-color: #191a24;
    height: 10px;
    width: 10px;
    border-radius: 100%;
    position: absolute;
    top: -5px;
    left: -5px;
}

.countdown .cards .card .bottom-half::after,
.countdown .cards .card .bottom-flip::after {
    content: "";
    background-color: #191a24;
    height: 10px;
    width: 10px;
    border-radius: 100%;
    position: absolute;
    top: -5px;
    right: -5px;
}

.countdown .cards .card .top-flip {
    position: absolute;
    transform-origin: bottom;
    transform: rotateX(0deg);
    animation: flip-top 0.5s ease-in forwards;
}

.countdown .cards .card .bottom-flip {
    position: absolute;
    bottom: 0;
    transform-origin: top;
    transform: rotateX(90deg);
    animation: flip-bottom 0.5s ease-out 0.5s;
}

@media screen and (min-width: 700px) {
    .countdown h1 {
        font-size: 31px;
    }

    .countdown .cards {
        gap: 25px;
    }

    .countdown .cards .top-half,
    .countdown .cards .bottom-half,
    .countdown .cards .top-flip,
    .countdown .cards .bottom-flip {
        font-size: 65px !important;
        height: 80px !important;
        width: 125px !important;
        padding: 34px 7px !important;
    }
}

.header-bg {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 80px;
    width: 100%;
    /*height: 100vh; !* Or any height you need *!*/
    /*overflow: hidden; !* Prevents the video from spilling out *!*/
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Pushes the video behind your content */
    opacity: 0.4; /* Same opacity as your GIF */
    user-select: none;
    pointer-events: none;
    /* This is the video equivalent of 'background-size' */
    /* Use 'contain' to match your original GIF setting */
    /*object-fit: contain;*/

    /* Or use 'cover' to make the video fill the entire container, potentially cropping it */
     object-fit: cover;
}

/*.header-bg:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background-image: url("../img/bggif.gif");
    background-size: contain;
    z-index: -1;
    background-repeat: no-repeat;
    background-position: top;
}*/

.header-bg::after {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 18, 53, 0.3) 10%, rgba(0, 0, 0, 1) 90%);
    /*background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, #001234 100%);*/
    pointer-events: none;
    z-index: -1;
}

.main-heading {
    text-align: center;
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 0;
    word-spacing: -3px;
    color: var(--color-primary);
}

.main-subheading {
    text-align: center;
    font-size: 42px;
    line-height: 32px;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 0;
}

.main-subheading-inner {
    font-size: 48px;
    color: #00e592;
}

.heading-3 {
    font-size: 1.25rem;
    text-align: center;
    font-weight: bold;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
}

.main-desc {
    margin-top: 0;
    margin-bottom: 0px;
    text-align: center;
    font-size: 15px;
    line-height: 32px;
    font-weight: 900;
    max-width: 900px;
}

.main-desc strong {
    font-weight: bold;
}

.hero-intro {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.hero-intro-title {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 900;
}

.hero-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    direction: ltr !important;
}

.hero-box-ticker {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.countdown-title {
    margin-bottom: 20px;
    color: #ff0000;
}

.bullet-img {
    width: 18px;
    margin-top: 6px;
    margin-left: 8px;
    /*filter: brightness(0) invert(1);*/
}

html[lang="en"] .bullet-img {
    margin-top: 2px;
}

.group-divider {
    display: flex;
    color: #ffffff;
}

.group-divider > * {
    flex: 1;
}

html[lang="en"] .bullet-img {
    margin-right: 10px;
    margin-left: 0;
}

.bullet-img-danger {
    width: 30px;
    margin-left: 10px;
    filter: brightness(0) saturate(100%) invert(17%) sepia(57%) saturate(7221%) hue-rotate(356deg) brightness(102%) contrast(119%);
}

html[lang="en"] .bullet-img-danger {
    margin-right: 10px;
    margin-left: 0;
}

.hero-box-ticker-image {
    display: block;
    height: auto;
    max-width: 100%;
}

.main-long-text {
    font-size: 18px;
    /*font-weight: 100;*/
    line-height: 34px;
    max-width: 900px;
    margin-top: 0;
    text-align: justify;
}

.main-short-text {
    font-size: 16px;
    /*font-weight: 100;*/
    line-height: 28px;
    max-width: 900px;
    margin-top: 0;
    margin-bottom: 0;
    text-align: justify;
    color: #ffffff;
}

.section-heading {
    font-size: 48px;
    font-weight: 900;
    word-spacing: -3px;
    color: var(--color-primary);
    line-height: 50px;
}

html[lang="en"] .section-heading {
    font-size: 36px;
}

html[lang="ar"] .section-heading {
    font-size: 30px;
}

.section-heading--alt {
    color: var(--color-primary);
    font-weight: 900;
}

.section-subtitle {
    font-size: 28px;
    word-spacing: -3px;
    line-height: 36px;
    margin-top: 0;
    font-weight: 700;
}

html[lang="en"] .section-subtitle {
    font-size: 24px;
}

.font-bold {
    font-weight: 900 !important;
}

.text-center {
    text-align: center !important;
}

.color-gold {
    color: var(--color-primary);
}

.color-tertiary {
    color: var(--color-tertiary);
}

.section-subheading {
    font-size: 18px;
    text-align: right;
}

.section-subheading-danger {
    display: flex;
    align-items: center;
}

.color-red {
    color: #ff0000;
}

.color-dark {
    color: #13100e;
}

.metallic-button {
    position: relative;
    font-family: "IranYekan", sans-serif;
    font-size: 18px;
    padding: 10px 35px;
    min-width: 250px;
    height: 50px;
    font-weight: bold;
    border: none;
    outline: none;
    color: #000;
    background: linear-gradient(45deg, #d4af37 5%, #debc5b 10%, #e7c97c 30%, #efd69d 50%, #e7c97c 70%, #debc5b 80%, #d4af37 95%);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    /*transition: all 0.2s ease-in-out;*/
    transition: all 0.3s;
    overflow: hidden;
}

.metallic-button:before {
    content: '';
    position: absolute;
    width: 200px;
    height: 120px;
    background-color: #d4af37;
    transform: translateX(-135%) rotate(45deg);
    transition: all 1.2s cubic-bezier(.15, 1, .19, 1);
}

.metallic-button:hover:before {
    background-color: #fff;
    transform: translate(135%, -50px) rotate(90deg);
}

.custom-button {
    font-family: "IranYekan", sans-serif;
    cursor: pointer;
    outline: none;
    position: relative;
    z-index: 3;
    background-color: var(--color-green);
    color: #fff;
    font-size: 18px;
    border-color: var(--color-green);
    border-style: solid;
    border-width: 2px;
    border-radius: 8px;
    padding: 10px 40px;
    transition: all 0.2s linear;
    text-decoration: none;
    text-align: center;
}

.custom-button:hover {
    color: white;
    background-color: var(--color-green-dark);
    border-color: white;
    transition: all 0.2s linear;
}

.custom-button--alt {
    background: transparent;
    border-color: var(--color-green-dark);
    color: var(--color-green-dark);
}

.custom-button--alt:hover {
    background: var(--color-green-dark);
    border-color: #ffffff;
    color: #ffffff;
}

.custom-button--success {
    border-color: #43A047;
    color: #43A047;
}

.custom-button--success:hover {
    background: #43A047;
}

.custom-button--primary {
    border-color: #5462fe;
    color: #5462fe;
}

.custom-button--primary:hover {
    background: #5462fe;
}

.back-to-top {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 75px;
    z-index: 2247483639; /* Fix Conflict due to Livechat */
    border: none;
    outline: none;
    background-color: #ffffff;
    cursor: pointer;
    border-radius: 30px;
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #e6e6e6;
}

.back-to-top svg {
    fill: #5462fe;
}

.not-ready {
    display: none !important;
}

.hero-box-cta {
    margin-top: 2.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-right: 20px;
    padding-left: 20px;
}

.hero-text {
    margin-top: -1rem;
}

.hero-text .main-desc {
    font-size: 22px;
    line-height: 36px;
    font-weight: normal;
}

.countdown-title {
    font-size: 15px;
}

.hero-box-cta .custom-button {
    width: 300px;
}

.gold-winners {
    display: flex;
    width: 100%;
    max-width: 990px;
    margin-top: 1.5rem;
    margin-bottom: 50px;
    justify-content: space-between;
}

.gold-winners-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gold-winners-media img {
    display: block;
    height: auto;
    max-width: 100%;
}

.gold-winners-prize {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    align-items: center;
    color: #e0cfa7;
}

.gold-winners-prize-place {
    margin-bottom: 10px;
    font-weight: 900;
}

.gold-winners-prize {
    margin-left: 30px;
    margin-right: 30px;
    padding-bottom: 10px;
}

.gold-winners-prize:not(:last-child) {
    margin-bottom: 10px;
    border-bottom: 1px solid #bb8a3a;
}

.bg-gradient-base {
    background: linear-gradient(44deg, rgba(247, 203, 107, 1) 0%, rgba(251, 169, 128, 1) 100%);
}

.content-card--1 {
    background-color: var(--color-card-1);
}

.content-card--2 {
    background-color: var(--color-card-2);
}

.content-card--3 {
    background-color: var(--color-card-3);
}

.content-card--4 {
    background-color: var(--color-card-5);
}

.main-content {
    font-size: 14px;
    color: #202020;
    max-width: 900px;
}

/* Custom Modal */
body.modal-active {
    overflow: hidden
}

[data-toggle=modal] {
    cursor: pointer
}

.modal, .modal * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    z-index: 9500;
    color: #202020;
    background-color: transparent;
    -webkit-transition: all .35s ease-in-out;
    -o-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out
}

.modal.active {
    display: block;
    background-color: rgba(0, 0, 0, 0.55)
}

.modal.active .modal-dialog {
    -webkit-transition-delay: 100ms;
    -o-transition-delay: 100ms;
    transition-delay: 100ms;
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0)
}

.modal.active .modal-content {
    -webkit-transition-delay: 100ms;
    -o-transition-delay: 100ms;
    transition-delay: 100ms;
    opacity: 1
}

.modal-close {
    display: block;
    text-align: right;
    cursor: pointer
}

.modal-content, .modal-dialog {
    position: relative;
    display: block;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

.modal-dialog {
    margin: 30px auto;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    width: 600px;
    max-width: 94%
}

.modal-content {
    opacity: 0;
    background-color: white;
    padding: 20px;
    border-radius: 3px
}

.modal-content:after {
    content: '';
    display: block;
    clear: both
}

.modal-lg .modal-dialog, .modal-md .modal-dialog, .modal-xl .modal-dialog {
    width: 94%
}

.modal-sm .modal-dialog {
    width: 450px
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 22px;
    margin: 0;
}

.modal-alert-success {
    display: none;
    padding: 12px;
    border-radius: 6px;
    background-color: #f0fdf4;
    margin-bottom: 20px;
}

.modal-alert-success-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.modal-alert-success-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    fill: #4ade80;
}

.modal-alert-success-title {
    font-weight: bold;
}

.modal-alert-error {
    display: none;
    padding: 12px;
    border-radius: 6px;
    background-color: #fef2f2;
    margin-bottom: 20px;
    color: #b91c1c;
}

.modal-alert-error-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.modal-alert-error-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    fill: #f87171;
}

.modal-alert-error-title {
    font-weight: bold;
}

.modal-alert-success-text,
.modal-alert-error-text {
    text-align: justify;
    font-size: 14px;
    line-height: 24px;
}

.modal-alert-error-text ul {
    padding-right: 24px;
    margin-top: 0;
    margin-bottom: 0;
}

html[lang="en"] .modal-alert-error-text ul {
    padding-left: 24px;
    padding-right: initial;
}

.modal-alert-success.active,
.modal-alert-error.active {
    display: block;
}

@media screen and (min-width: 576px) {
    .modal-xl .modal-dialog {
        width: 94%
    }

    .modal-md .modal-dialog {
        width: 600px
    }
}

@media screen and (min-width: 768px) {
    .modal-xl .modal-dialog {
        width: 90%
    }

    .modal-lg .modal-dialog {
        width: 750px
    }
}

@media screen and (min-width: 992px) {
    .modal-xl .modal-dialog {
        width: 900px
    }
}

/* Form */

.form-label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column-reverse;
}

.form-link {
    color: #43A047;
    transition: all 0.3s ease;
    text-decoration: underline;
}

.form-link:hover {
    color: #43A047;
    font-weight: bold !important;
}

.form-row > .form-group {
    width: 45%;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
}

.form-button {
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto
}

.form-captcha {
    transform: scale(0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Menu */
.link-level-2, .link-level-3, .link-level-1 {
    color: #4b545d;
    text-decoration: none;
    padding: 10px
}

.link-level-2:visited, .link-level-3:visited, .link-level-1:visited {
    color: #4b545d
}

.link-level-2:hover, .link-level-3:hover, .link-level-1:hover {
    color: #1570c6;
    cursor: pointer;
    text-decoration: none
}

.link-level-2:active, .link-level-3:active, .link-level-1:active, .link-level-2:focus, .link-level-3:focus, .link-level-1:focus {
    color: #1570c6;
    text-decoration: none
}

pre {
    background-color: #f2f2f2;
    border-radius: 4px;
    color: #4b545d;
    font-family: consolas, "courier new", monospace;
    font-weight: 500;
    padding: 2rem
}

.icon-open-container {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: nowrap
}

.icon-open-col-1 {
    align-items: center;
    display: flex;
    flex-grow: 0;
    font-size: 30px;
    line-height: 1
}

.icon-open-col-2 {
    font-weight: bold;
    padding-left: 10px
}

html[lang="en"] .icon-close {
    height: 32px;
    opacity: .7;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 32px
}

html[lang="ar"] .icon-close,
html[lang="fa"] .icon-close {
    height: 32px;
    opacity: .7;
    position: absolute;
    left: 12px;
    top: 14px;
    width: 32px
}

.icon-close::before, .icon-close::after {
    background-color: #fff;
    border-radius: 4px;
    content: " ";
    height: 20px;
    left: 15px;
    position: absolute;
    width: 3px
}

.icon-close::before {
    transform: rotate(45deg)
}

.icon-close::after {
    transform: rotate(-45deg)
}

.icon-close:hover {
    cursor: pointer;
    opacity: 1
}

.link-arrow {
    align-items: center;
    display: inline-flex;
    font-size: 24px;
    padding: 1px 4px 4px;
    line-height: 1;
    height: 20px
}

.link-arrow.rotate-90 {
    padding-bottom: 4px
}

.rotate-90 {
    transform: rotate(90deg)
}

.off-canvas-backdrop {
    background-color: #000;
    height: 100vh;
    left: 0;
    opacity: .8;
    position: fixed;
    top: 0;
    transition: opacity .15s linear;
    width: 100vw;
    z-index: 1040
}

.off-canvas-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px
}

.off-canvas {
    background-clip: padding-box;
    background-color: #fff;
    border-right: 1px solid rgba(0, 0, 0, .2);
    bottom: 0;
    box-shadow: rgba(0, 0, 0, .2) 0 8px 10px -5px, rgba(0, 0, 0, .14) 0 16px 24px 2px, rgba(0, 0, 0, .12) 0 6px 30px 5px;
    display: flex;
    flex-direction: column;
    left: 0;
    max-width: 100%;
    outline: 0;
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    transition: transform .3s ease-in-out;
    visibility: hidden;
    width: 280px;
    z-index: 9999;
}

.off-canvas.show {
    transform: none
}

.off-canvas-header {
    align-items: center;
    background-color: #202020;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px
}

.link-level-2, .link-level-3, .link-level-1 {
    color: #4b545d;
    text-decoration: none;
    padding: 10px
}

.link-level-2:visited, .link-level-3:visited, .link-level-1:visited {
    color: #4b545d
}

.link-level-2:hover, .link-level-3:hover, .link-level-1:hover {
    color: #1570c6;
    cursor: pointer;
    text-decoration: none
}

.link-level-2:active, .link-level-3:active, .link-level-1:active, .link-level-2:focus, .link-level-3:focus, .link-level-1:focus {
    color: #1570c6;
    text-decoration: none
}

.link-level-1 {
    align-items: center;
    display: flex;
    font-weight: 600
}

.link-level-2, .link-level-3 {
    align-items: center;
    display: flex;
    font-size: 14px
}

.content-link {
    color: #2f8fe9;
    text-decoration: none
}

.content-link:visited {
    color: #2f8fe9
}

.content-link:hover {
    color: #5da8ee;
    cursor: pointer;
    text-decoration: none
}

.content-link:active, .content-link:focus {
    color: #5da8ee;
    text-decoration: none
}

.list-item {
    letter-spacing: .03rem;
    list-style: none
}

.list-item > a {
    color: #202020;
    margin-bottom: 15px;
    display: inline-block;
}

.list-level-0 {
    padding: 0
}

.list-level-1 {
    display: none;
    padding-left: 10px
}

.list-level-2 {
    display: none;
    padding-left: 10px
}

.off-canvas-title {
    color: #fff;
    letter-spacing: .05rem;
    margin: 0
}

/* Winners Table */
.table-container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
    max-width: 900px;
}

.table-container table {
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 15px;
}

.table-container th,
.table-container td {
    padding: 8px;
    text-align: center;
    border-width: 0;
}

.table-container--home td {
    background-color: var(--color-card-5);
    color: #ffffff;
}

.table-container th {
    background-color: var(--color-card-4);
    color: var(--color-primary);
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

.icon-open-container {
    display: none;
}

/*.content__title.section-heading {*/
/*    margin-bottom: 50px;*/
/*}*/

.custom-list-item {
    list-style: none;
    padding: 0 !important;
    font-size: 16px;
    font-weight: 100;
    margin-bottom: 0px;
    line-height: 30px;
}

.custom-list-item .font-bold {
    color: var(--color-primary) !important;
}

.custom-list-item  span {
    font-weight: 400;
}

html[lang="en"] .custom-list-item {
    line-height: 26px;
}

.custom-list-item-image li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

html[lang="ar"] .custom-list-item,
html[lang="fa"] .custom-list-item {
    text-align: right;
}

.custom-button-download-last {
    margin-top: 20px;
}

.bullet-custom:before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: var(--color-tertiary);
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    right: -8px;
    top: -2px;
}

.coop-plan {
    text-align: center;
}

/*
==================================================
Referral
==================================================
*/

/*
--------------------------------------------------
General
--------------------------------------------------
*/

.referral {
    margin-bottom: 5rem;
    position: relative;
}

.referral__wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

.referral__media {
    height: 100%;
    flex-shrink: 0;
}

.referral__content {
    width: 100%;
    max-width: 727px;
    height: 100%;
}

.referral__title {
    color: white;
    font-size:24px;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.referral__subtitle {
    color: white;
    font-size:18px;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.referral__button {
    min-height: 56px;
    padding: 0.75rem 1.5rem;
    min-width: 293px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
}

/*
--------------------------------------------------
Responsive
--------------------------------------------------
*/

@media only screen and (max-width: 1199px) {
    .referral__wrapper {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }

    .referral__media > img {
        max-width: 200px;
        margin-bottom: 2rem;
    }

    .referral__content {
        max-width: 100%;
        text-align: center;
    }

    .referral__title {
        font-size: 1.5rem;
    }

    .referral__subtitle {
        font-size:16px;
        line-height: 1.8;
    }

    .referral__button {
        min-height: auto;
        min-width: auto;
        text-align: center;
        font-size:16px;
    }

    .content__img {
        max-width: 250px;
    }
}

/*
--------------------------------------------------
Custom Select
--------------------------------------------------
*/

.custom-select-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 900px;
}

.custom-select {
    position: relative;
    display: inline-block;
    width: 150px;
    margin-bottom: 1.5rem;
}

/* Style for the select element */
.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    color: #fff;
    padding: 10px 15px 10px 40px; /* Space for the arrow */
    font-size: 16px;
    width: 100%;
    direction: rtl;
    cursor: pointer;
    font-family: "IranYekan", sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.custom-select option {
    background-color: #002b28;
}

/* Custom down arrow */
.custom-select::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 26px;
    background: url('data:image/svg+xml;utf8,<svg width="25" height="26" viewBox="0 0 25 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.25 9.875L12.5 16.125L18.75 9.875" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center;
    background-size: 25px 26px;
    pointer-events: none; /* Disable interaction with the arrow */
}

.custom-select select:focus {
    border-color: var(--color-tertiary);
    outline: none;
}

/*
--------------------------------------------------
Arabic
--------------------------------------------------
*/

html[lang="ar"] .frame__heading {
    max-width: 960px;
}

/*@media screen and (min-width: 1024px) {
    html[lang="ar"] .hero-intro img {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
    }
}*/

html[lang="ar"] .hero-text,
html[lang="ar"] .hero-box-cta {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

html[lang="ar"] .hero-box-cta {
    gap: 1rem;
}

/*html[lang="ar"] .frame__heading {
    transform: scale(0.8);
}*/

/*html[lang="ar"] body {
    font-family: "Zain", sans-serif;
}*/

/* Responsive Styles */

@media screen and (min-width: 1008px) and (max-width: 1440px) {
    .hero-intro img {
        max-width: 600px;
        margin-right: auto;
        margin-left: auto;
    }

    .hero-box-cta {
        margin-top: 1.5rem;
    }

    .hero-box {
        height: 180px;
    }

    html[lang="ar"] .hero-intro-title {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-intro-title-afghan {
        position: relative; bottom: -1rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 1440px) {
    html[lang="ar"] .main-subheading {
        font-size: 38px;
        line-height: 48px;
    }
}

@media screen and (min-width: 1440px) {
    .content-card {
        grid-column-gap: 1.5rem;
    }

    .content__img--left {
        justify-self: flex-end;
    }

    html[lang="ar"] .content-card--2,
    html[lang="ar"] .content-card--3 {
        padding-right: 200px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .sticky-menu a {
        font-size: 13px;
        margin-left: 5px;
    }
}

@media screen and (max-width: 1200px) {
    .content--sticky {
        position: static !important;
        height: auto !important;
        filter: brightness(100%) !important;
    }

    .content__title.section-heading,
    .section-subtitle {
        text-align: center;
    }

    .content__title.section-heading {
        margin-bottom: 1rem;
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 767px) {
    .main-subheading {
        margin-bottom: 24px;
    }

    .hero-text .main-desc {
        font-size: 18px;
    }

    .group-divider {
        display: block;
    }

    .section-heading,
    .main-heading {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .main-subheading {
        font-size: 14px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .sticky-menu-item {
        display: none;
    }

    .sticky-menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px;
    }

    .icon-open-container {
        display: flex;
    }

    .hero-box {
        flex-direction: column;
    }

    .frame__heading {
        width: 100%;
    }

    html[lang="ar"] .hero-box-ticker,
    html[lang="fa"] .hero-box-ticker {
        margin-left: 0px;
    }

    .hero-box-ticker {
        margin-right: 0;
    }

    .content--intro {
        padding-top: 8vh;
        padding-bottom: 8vh;
    }

    .gold-winners {
        flex-direction: column-reverse;
        margin-top: 0;
        margin-bottom: 0;
    }

    .custom-button-download-last {
        margin-top: 0px;
    }

    .gold-winners-list {
        margin-top: 30px;
    }

    .content__title.section-heading {
        font-size: 26px;
        line-height: 36px;
        margin-bottom: 0px;
    }

    .custom-list-item,
    .main-long-text {
        font-size: 14px;
        line-height: 26px;
        text-align: justify;
    }

    .table-container {
        flex-direction: column;
    }

    .table-container table {
        width: 100%;
    }

    .hero-box-cta {
        flex-direction: column;
        padding: 0;
        gap: 1rem;
    }

    .custom-button {
        width: 250px;
        font-size: 14px !important;
    }

    .custom-button--success {
        margin-bottom: 20px;
    }

    .hero-text {
        margin-top: 0;
    }

    .hero-box-ticker {
        flex-direction: column-reverse;
    }

    .sticky-menu-holder {
        display: none;
    }

    .form-row {
        flex-direction: column-reverse;
    }

    .form-row a {
        display: block;
        margin-top: 10px;
        text-align: center;
    }

    .form-row > .form-group {
        width: 100%;
    }

    /* Winners Table */
    .table-container table,
    .table-container thead,
    .table-container tbody,
    .table-container th,
    .table-container td,
    .table-container tr {
        display: block;
    }

    .table-container thead tr {
        display: none;
    }

    .table-container tr {
        border: 1px solid #bb8a3a;
        margin-bottom: 10px;
        border-radius: 4px;
    }

    .table-container td {
        border: none;
        position: relative;
        padding-right: 50%;
        font-size: 14px;
        text-align: left;
        word-wrap: break-word;
    }

    html[lang="en"] .table-container td {
        padding-left: 50%;
        padding-right: 10px;
        text-align: right;
    }

    .table-container td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        right: 6px;
        width: 45%;
        padding-left: 10px;
        white-space: nowrap;
    }

    html[lang="en"] .table-container td:before {
        left: 6px;
        right: initial;
        padding-left: initial;
        padding-right: 10px;
    }

    .table-container td:nth-of-type(1):before {
        content: "#";
        color: #e0cfa7;
        text-align: right;
    }

    .table-container td:nth-of-type(2):before {
        content: "اکانت نامبر";
        color: #e0cfa7;
        text-align: right;
    }

    .table-container td:nth-of-type(3):before {
        content: "جایزه";
        color: #e0cfa7;
        text-align: right;
    }

    .table-container td:nth-of-type(4):before {
        content: "جوایز";
        color: #e0cfa7;
        text-align: right;
    }

    .table-container td:nth-of-type(5):before {
        content: "امتیاز خرید/فروش";
        color: #e0cfa7;
        text-align: right;
    }

    .table-container td:nth-of-type(6):before {
        content: "امتیاز حجم/لات";
        color: #e0cfa7;
        text-align: right;
    }

    .table-container td:nth-of-type(7):before {
        content: "جمع امتیاز";
        color: #e0cfa7;
        text-align: right;
    }

    .table-container td:nth-of-type(8):before {
        content: "جوایز";
        color: #e0cfa7;
        text-align: right;
    }

    html[lang="en"] .table-container td:nth-of-type(1):before {
        content: "Account Number";
        color: #e0cfa7;
        text-align: left;
    }

    html[lang="en"] .table-container td:nth-of-type(2):before {
        content: "Email";
        color: #e0cfa7;
        text-align: left;
    }

    html[lang="en"] .table-container td:nth-of-type(3):before {
        content: "Deposit Points";
        color: #e0cfa7;
        text-align: left;
    }

    html[lang="en"] .table-container td:nth-of-type(4):before {
        content: "Second Deposit Points";
        color: #e0cfa7;
        text-align: left;
    }

    html[lang="en"] .table-container td:nth-of-type(5):before {
        content: "Trades Points";
        color: #e0cfa7;
        text-align: left;
    }

    html[lang="en"] .table-container td:nth-of-type(6):before {
        content: "Volume (Lot) Points";
        color: #e0cfa7;
        text-align: left;
    }

    html[lang="en"] .table-container td:nth-of-type(7):before {
        content: "Total Points";
        color: #e0cfa7;
        text-align: left;
    }

    html[lang="en"] .table-container td:nth-of-type(8):before {
        content: "Rewards";
        color: #e0cfa7;
        text-align: left;
    }

    html[lang="ar"] .table-container td:nth-of-type(1):before {
        content: "#";
        color: #e0cfa7;
        text-align: right;
    }

    html[lang="ar"] .table-container td:nth-of-type(2):before {
        content: "رقم الحساب";
        color: #e0cfa7;
        text-align: right;
    }

    html[lang="ar"] .table-container td:nth-of-type(3):before {
        content: "المكافآت";
        color: #e0cfa7;
        text-align: right;
    }

    html[lang="ar"] .table-container td:nth-of-type(4):before {
        content: "نقطة الإيداع الثانية";
        color: #e0cfa7;
        text-align: right;
    }

    html[lang="ar"] .table-container td:nth-of-type(5):before {
        content: "نقاط التداول";
        color: #e0cfa7;
        text-align: right;
    }

    html[lang="ar"] .table-container td:nth-of-type(6):before {
        content: "نقاط الحجم/اللوت";
        color: #e0cfa7;
        text-align: right;
    }

    html[lang="ar"] .table-container td:nth-of-type(7):before {
        content: "إجمالي النقاط";
        color: #e0cfa7;
        text-align: right;
    }

    html[lang="ar"] .table-container td:nth-of-type(8):before {
        content: "المكافآت";
        color: #e0cfa7;
        text-align: right;
    }

    .table-container.table-container--home td:before {
        color: #ffffff;
    }

    .content__title.section-heading.winners-title {
        margin-bottom: 40px;
    }

    .circle-bg-1,
    .circle-bg-2 {
        opacity: 0.3;
    }

    .circle-bg-3,
    .circle-bg-4,
    .circle-bg-5,
    .circle-bg-6 {
        opacity: 0.15;
    }

    .custom-button-action {
        width: 100% !important;
    }

    .main-subheading-inner {
        font-size: 1.5rem;
    }

    .content--outro .section-heading {
        font-size: 1.8rem;
    }
}

@media screen and (min-width: 321px) and (max-width: 374px) {
    .countdown {
        transform: scale(0.88);
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 320px) {
    .countdown {
        transform: scale(0.75);
    }
}