﻿:root {
    --block-width: min(100%, 400px);
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 1.75rem;
    --radius-card: 20px;
    --radius-btn: 999px;
}

.mainbox {
    position: relative;
    width: 600px;
    height: 600px;
}

body {
    font-family: yekanbakh !important;
    direction: rtl;
    min-height: 100dvh;
    background: linear-gradient(165deg, #fffdf9 0%, #faf6ee 40%, #f3ece0 100%);
    color: #2c2416;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

.mainbox:after {
    /*position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: url(../img/landing/arrow.svg) no-repeat;
        background-size: 5%;
        left: 5%;
        top: 48%;
        transform: rotate(90deg);*/
    /*    z-index: 2;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: url(../img/landing/arrow.svg) no-repeat;
    background-size: 5%;
    left: 48%;
    top: -9%;*/

    position: absolute;
    content: "";
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 28px solid #c9a227;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
    z-index: 2;
}

.btn-purple {
    /*    background-color: #4361EE;
    text-decoration: none;
    color: #FFFF !important;
    outline: none;
    border-radius: 0.8rem;
    padding: 0.5rem 2rem;
    border: none;
    min-height: 61px;
    border-radius: 20px;
    width: 15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;*/
    width: 100%;
    padding: 1.05rem 2rem;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 45%, #a8860a 100%);
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(201, 162, 39, 0.4);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    position: relative;
    z-index: 2;
}

    .btn-purple:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 28px rgba(201, 162, 39, 0.45);
    }

.box {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    /*border: 10px solid #2A50BA;*/
    border: 10px solid white;
    overflow: hidden;
    /*transition: all ease-in-out 10s;*/
    transform: rotate(90deg);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 1px 1px 14px 0px #bcb5b5;
    /*animation-name: rotate;
    animation-iteration-count: infinite;
    animation-duration: 0.1s*/
}

#box span {
    width: 100%;
    height: 100%;
    display: inline-block;
    position: absolute;
}

/*.span1 {
    clip-path: polygon(0 0%, 0 27%, 50% 50%);
    background-color: #09C6DF;
}

.span2 {
    clip-path: polygon(0 0%, 30% 0, 50% 50%);
    background-color: #ff7675
}

.span3 {
    clip-path: polygon(30% 0, 71% 0, 50% 50%);
    background-color: #55efc4;
}

.span4 {
    clip-path: polygon(64% 0, 94% 4%, 50% 50%);
    background-color: #fdcb6e;
}

.span5 {
    clip-path: polygon(100% 29%, 100% 51%, 50% 50%);
    background: #ff8300;
}

.box2 .span5 {
    right: 7px
}

.span6 {
    clip-path: polygon(50% 0%, 71% 0%, 50% 50%);
    background: #60a3bc;
}

.span7 {
    clip-path: polygon(89% 8%, 100% 32%, 50% 50%);
    background: #78e08f;
}

.span8 {
    clip-path: polygon(143% 50%, 102% 75%, 50% 50%);
    background: #CAA327;
}*/

.span1 {
    clip-path: polygon(0 0%, 0 27%, 50% 50%);
    background: radial-gradient(circle at 30% 30%, #f8e7b0 0%, #e2c25b 45%, #CAA327 75%, #9b7710 100%);
}

.span2 {
    clip-path: polygon(0 0%, 30% 0, 50% 50%);
    background: radial-gradient(circle at 70% 25%, #f6e3a3 0%, #e0bf52 40%, #CAA327 75%, #a27d11 100%);
}

.span3 {
    clip-path: polygon(30% 0, 71% 0, 50% 50%);
    background: radial-gradient(circle at 50% 20%, #fff1c9 0%, #e8ca67 35%, #CAA327 70%, #9f7a10 100%);
}

.span4 {
    clip-path: polygon(64% 0, 94% 4%, 50% 50%);
    background: radial-gradient(circle at 30% 20%, #f7e5ac 0%, #dfbe51 40%, #CAA327 75%, #96730d 100%);
}

.span5 {
    clip-path: polygon(100% 29%, 100% 51%, 50% 50%);
    background: radial-gradient(circle at 20% 50%, #f5dfa0 0%, #ddb948 40%, #CAA327 70%, #9a7710 100%);
}

.span6 {
    clip-path: polygon(50% 0%, 71% 0%, 50% 50%);
    background: radial-gradient(circle at 70% 70%, #fff0c3 0%, #e6c762 35%, #CAA327 70%, #a27d11 100%);
}

.span7 {
    clip-path: polygon(89% 8%, 100% 32%, 50% 50%);
    background: radial-gradient(circle at 80% 40%, #f7e6ad 0%, #dfbe52 40%, #CAA327 75%, #9c7910 100%);
}

.span8 {
    clip-path: polygon(143% 50%, 102% 75%, 50% 50%);
    background: radial-gradient(circle at 60% 80%, #fff2cc 0%, #e8ca68 35%, #CAA327 70%, #8f6d0c 100%);
}

.box2 {
    width: 103%;
    height: 100%;
    transform: rotate(180deg);
}

.font {
    color: white;
    font-size: 15px;
}

.box1 .span1 b {
    position: absolute;
    top: 28%;
    right: 74%;
    transform: rotate(217deg);
    text-align: center;
}

.box1 .span2 b {
    position: absolute;
    top: 20%;
    right: 64%;
    transform: rotate(-124deg);
}

.box1 .span3 b {
    position: absolute;
    top: 14%;
    right: 53%;
    transform: rotate(-98deg);
}

.box1 .span4 b {
    position: absolute;
    top: 19%;
    right: 28%;
    transform: rotate(-57deg);
}

.box1 .span5 b {
    position: absolute;
    top: 42%;
    right: 13%;
    transform: rotate(-9deg);
    text-align: center;
}

.box1 .span6 b {
    position: absolute;
    top: 16%;
    right: 27%;
    transform: rotate(-80deg);
    text-align: center;
    width: 34%;
}

.box1 .span7 b {
    position: absolute;
    top: 28%;
    right: 15%;
    transform: rotate(-32deg);
    text-align: center;
}

.box1 .span8 b {
    position: absolute;
    top: 55%;
    right: 2%;
    transform: rotate(13deg);
    text-align: center;
    width: 32%;
}

.box2 .span1 b {
    position: absolute;
    top: 29%;
    right: 74%;
    transform: rotate(215deg);
}

.box2 .span2 b {
    position: absolute;
    top: 19%;
    right: 65%;
    transform: rotate(-123deg);
    text-align: center;
}

.box2 .span3 b {
    position: absolute;
    top: 12%;
    right: 54%;
    transform: rotate(260deg);
}

.box2 .span4 b {
    position: absolute;
    top: 18%;
    right: 27%;
    transform: rotate(305deg);
}

.box2 .span5 b {
    position: absolute;
    top: 42%;
    right: 11%;
    transform: rotate(-10deg);
    text-align: center;
}

.box2 .span6 b {
    position: absolute;
    top: 12%;
    right: 27%;
    transform: rotate(-79deg);
    text-align: center;
    word-break: break-word;
    width: 32%;
}

.box2 .span7 b {
    position: absolute;
    top: 27%;
    right: 16%;
    transform: rotate(-34deg);
    text-align: center;
}

.box2 .span8 b {
    position: absolute;
    top: 56%;
    right: 0%;
    transform: rotate(14deg);
    text-align: center;
    width: 32%;
}

.spin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: 15%;
    border-radius: 50%;
    /*border: 4px solid white;*/
    border: none;
    color: #fff;
    box-shadow: 0 5px 20px #000;
    font-weight: bold;
    font-size: 22px;
    cursor: pointer;
    z-index: 1000;
    /*background-image: url(../img/landing/favicon.svg);*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    /*background-color: #4361EE;*/
    backdrop-filter: grayscale(1);
    border: 3px solid #d4af37;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    background-image: url('../img/landing/mobin-logo.svg');
}

b {
    color: #3b3939;
}

.spin:active {
    width: 70px;
    height: 70px;
    font-size: 20px;
}

.mainbox.animate:after {
    animation: animateArrow 0.7s ease infinite;
}

audio {
    display: none;
}

.bounce-in-top {
    -webkit-animation: bounce-in-top 1.1s both;
    animation: bounce-in-top 1.1s both;
}

@-webkit-keyframes bounce-in-top {
    0% {
        -webkit-transform: translateY(-500px);
        transform: translateY(-500px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 0;
    }

    38% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }

    55% {
        -webkit-transform: translateY(-65px);
        transform: translateY(-65px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    72% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    81% {
        -webkit-transform: translateY(-28px);
        transform: translateY(-28px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    90% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    95% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}

@keyframes bounce-in-top {
    0% {
        -webkit-transform: translateY(-500px);
        transform: translateY(-500px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 0;
    }

    38% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }

    55% {
        -webkit-transform: translateY(-65px);
        transform: translateY(-65px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    72% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    81% {
        -webkit-transform: translateY(-28px);
        transform: translateY(-28px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    90% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    95% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}

@media only screen and (max-width: 576px) {
    .mainbox {
        width: 450px;
        height: 450px
    }

    .spin {
        width: 70px;
        height: 70px;
    }

    b {
        font-size: 0.7rem !important;
    }

    .box2 .span8 {
        right: 6px;
    }
}

@media only screen and (max-width: 480px) {
    .btn-purple, .wheel__form--main > div {
        width: 100% !important;
    }

    .mainbox {
        width: 400px;
        height: 400px
    }

    b, strong {
        font-size: 0.5rem !important;
    }

    .box2 .span4 b,
    .box1 .span4 b {
        top: 20%;
    }

    .box2 .span7 b, .box1 .span7 b {
        top: 28%;
    }

    .box1 .span3 b, .box2 .span3 b {
        right: 54%;
    }

    .box1 .span1 b,
    .box2 .span1 b {
        right: 62%;
    }

    .box1 .span1 b, .box2 .span1 b {
        right: 75%;
    }
}

@media only screen and (max-width: 350px) {
    .mainbox {
        width: 320px;
        height: 320px
    }

    b, strong {
        font-size: 0.4rem !important;
    }
}

.page__copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 460px;
    gap: var(--space-md);
    margin-top: 10%;
}

.hero {
    grid-area: hero;
    text-align: center;
    width: var(--block-width);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hero__top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    width: 100%;
}

.hero__line {
    flex: 1;
    max-width: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.45), transparent);
}

.hero__brand {
    font-size: 0.78rem;
    font-weight: 700;
    color: #9a8b72;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.hero__headline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero__title {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.45rem;
    line-height: 1.2;
}

.hero__title-line {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
    font-weight: 800;
    color: #2c2416;
    letter-spacing: -0.03em;
}

.hero__title-line {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
    font-weight: 800;
    color: #2c2416;
    letter-spacing: -0.03em;
}

.hero__title-line--gold {
    background: linear-gradient(160deg, #dbb842 0%, #c9a227 35%, #a8860a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(201, 162, 39, 0.25));
}

.hero__subtitle {
    font-size: 0.82rem;
    font-weight: 700;
    color: #b8860b;
    letter-spacing: 0.06em;
    text-transform: none;
}

.hero__card {
    position: relative;
    width: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #faf6ee 100%);
    border: 1px solid rgba(201, 162, 39, 0.22);
    box-shadow: 0 8px 32px rgba(201, 162, 39, 0.1), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.hero__card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, #f5e6a8, #d4af37, transparent);
}

.hero__card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    min-height: 96px;
    text-align: right;
}

.hero__card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #faf0d8, #f0dfa0);
    border-radius: 14px;
    color: #b8860b;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.15);
}

.hero__card-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    flex: 1;
}

.hero__card-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #a89878;
    letter-spacing: 0.04em;
}

.hero__card-amount {
    font-size: 1.55rem;
    font-weight: 800;
    color: #3d3219;
    line-height: 1.2;
}

.hero__card-fund {
    font-size: 0.82rem;
    font-weight: 400;
    color: #6b5f4a;
    line-height: 1.5;
}

.hero__tagline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    font-size: 0.84rem;
    font-weight: 400;
    color: #8a7d68;
    line-height: 1.65;
    width: 100%;
}

.hero__tagline-dot {
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #c9a227);
    opacity: 0.7;
}

.page-footer {
    grid-area: footer;
    text-align: center;
    width: var(--block-width);
    background: none !important;
}

.page-footer__note {
    font-size: 0.85rem;
    color: #6b5f4a;
    line-height: 1.7;
    padding: 1rem 1.25rem;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-card);
    border: 1px solid #ede6d8;
}

.hero__card-fund strong {
    font-weight: 800;
    color: #b8860b;
}

.hero__card-icon svg {
    width: 28px;
    height: 28px;
}

.hero > * {
    text-align: right;
}
