@font-face{font-display:swap;
  font-family: Inter;
  font-style: oblique 0deg 10deg;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/UcCo3FwrK3iLTcvvYwYZ8UA3J58.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
    U+FE2E-FE2F;
}

@font-face{font-display:swap;
  font-family: Inter;
  font-style: oblique 0deg 10deg;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/UcCo3FwrK3iLTcvmYwYZ8UA3J58.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face{font-display:swap;
  font-family: Inter;
  font-style: oblique 0deg 10deg;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/UcCo3FwrK3iLTcvsYwYZ8UA3J58.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face{font-display:swap;
  font-family: Inter;
  font-style: oblique 0deg 10deg;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/UcCo3FwrK3iLTcviYwYZ8UA3.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


.order_block .main_form * {
  font-family: Inter, arial !important;
}

.order_block .main_form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: url(../images/form_bg.jpg) center top no-repeat;
  background-size: 100% 100%;
  padding: 60px 0;
  text-align: center;
  max-width: 590px;
  margin: 0 auto;
  font-size: 18px;
  margin-bottom: 30px;
}

.order_block .price_red {
  font-weight: 700;
  color: red;
}

.order_block img {
  vertical-align: middle;
  border-style: none;
}

.order_block .main_form h2 {
  font-size: 27px;
  line-height: 1.35;
  color: #000;
  font-weight: 900;
  margin: 10px 20px 0;
  text-align: center;
  font-style: normal;
  font-family: Inter !important;
}

.order_block .sertif {
  color: #3e4095 !important;
  font-size: 14px !important;
  font-weight: bold;
}

.order_block .main_form p {
  padding: 0 0 0px;
  text-align: left;
  margin-bottom: 10px;
}

.order_block .main_form .price {
  margin-top: 0;
  padding: 0 20px;
  margin-bottom: 10px;
  text-align: center;
}

.order_block .blue-border {
  margin: 0 !important;
  padding: 10px 20px !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.35;
}

@media (min-width: 480px) {
  .order_block .blue-border {
    padding: 10px 40px !important;
  }
}

.order_block .main_form label {
  margin-top: 10px;
  font-size: 14px !important;
  display: block;
  margin-bottom: 5px;
}

.order_block .main_form input {
  font-size: 16px !important;
  text-align: center;
  padding: 10px 15px;
  border-radius: 3px;
  border: 2px solid #ddc37c;
  width: 100%;
  max-width: calc(100% - 60px);
  font-weight: 700;
}
.order_block .main_form input:focus,
.order_block .main_form input:active {
  outline: 2px solid #c5a55c;
}
.order_block .main_form input[type="text"],
.order_block .main_form input[type="tel"] {
  background-color: #fff7dd;
}
.order_block .main_form input::placeholder {
  color: #664717;
  opacity: 1; /* Firefox */
}

.order_block .main_form input::-ms-input-placeholder {
  /* Edge 12 -18 */
  color: #664717;
}

.order_block .main_form button {
  padding: 10px 15px;
  color: #fff;
  width: 100%;
  max-width: calc(100% - 54px);
  font-weight: 900;
  text-decoration: none;
  border-radius: 5px;
  background-color: red;
  border: none;
  cursor: pointer;
  line-height: 1.4;
  margin-top: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 20px;
  text-align: center;
}

.order_block .additional,
.order_block .timelimit {
  font-size: 14px !important;
  text-align: center !important;
  padding: 0 40px !important;
  line-height: 1.4 !important;
}
.order_block .new-price {
  font-size: 22px;
  background: red;
  color: white;
  margin-left: 10px;
  padding: 0 5px;
  border-radius: 5px;
  font-weight: 900;
}
.order_block .timelimit b {
  display: inline-block;
  background: url(../images/timerIcon2.webp) no-repeat;
  margin-top: -2px;
  padding-left: 14px;
  color: red;
  vertical-align: middle;
  background-position: left center;
  font-size: 15px;
}

.order_block .delivery {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #3e4095 !important;
  /* padding-top: 25px !important; */
  font-size: 16px !important;
  font-weight: bold !important;
  margin: 20px 20px 0 !important;
}



.order_block .timer_wrap {
  display: inline-flex;
  background: url(../images/timerIcon2.png) no-repeat left 2px;
  padding-left: 14px;
  color: #eb0025;
  vertical-align: middle;
  font-size: 13px !important;
  line-height: 1.4;
  font-weight: bold;
  text-align: left;
  width: 59px;
  gap: 2px;
}

.delivery span {
  flex: 0 0 50px;
  margin-right: 0px;
}

@-webkit-keyframes scale {
  0% {
    -webkit-transform: scale(100%);
    transform: scale(100%);
  }

  100% {
    -webkit-transform: scale(110%);
    transform: scale(110%);
  }
}

@keyframes scale {
  0% {
    -webkit-transform: scale(100%);
    transform: scale(100%);
  }

  100% {
    -webkit-transform: scale(110%);
    transform: scale(110%);
  }
}

@-webkit-keyframes glowing {
  0% {
    -webkit-box-shadow: 0 0 4px red;
    box-shadow: 0 0 2px red;
  }

  50% {
    -webkit-box-shadow: 0 0 12px red;
    box-shadow: 0 0 12px red;
  }

  100% {
    -webkit-box-shadow: 0 0 4px red;
    box-shadow: 0 0 8px red;
  }
}

@keyframes glowing {
  0% {
    -webkit-box-shadow: 0 0 4px red;
    box-shadow: 0 0 2px red;
  }

  50% {
    -webkit-box-shadow: 0 0 12px red;
    box-shadow: 0 0 12px red;
  }

  100% {
    -webkit-box-shadow: 0 0 4px red;
    box-shadow: 0 0 8px red;
  }
}

@media (min-width: 480px) {
  .order_block .main_form input {
    max-width: 314px;
    font-size: 18px !important;
  }
}

@media (min-width: 480px) {
  .order_block .main_form button {
    max-width: 318px;
    font-size: 22px;
  }
}

#orderCounter {
  font-size: 14px !important;
}

.timelimit,
.timelimit span {
  font-size: 14px !important;
}

.order_block .main_form input {
  font-size: 16px !important;
  text-align: center;
  padding: 10px 15px;
  border-radius: 3px;
  border: 2px solid #ddc37c;
  width: 100%;
  max-width: calc(100% - 60px);
  font-weight: 700;
}

@media (min-width: 393px) {
  .order_block .main_form input, .order_block .main_form button {
    max-width: 314px;
    font-size: 18px !important;
    line-height: 1.35;
  }
}


    /* =========================
	SCRATCH CARD
========================= */

    .scratch-section {
        width: 100%;

        display: flex;
        justify-content: center;

        overflow: visible;

        opacity: 1;
        transform: translateY(0);

        transition:
            height .4s ease,
            opacity .3s ease,
            transform .4s cubic-bezier(.22, 1, .36, 1),
            margin .4s ease;
    }


    .scratch-card {
        width: 100%;
        box-sizing: border-box;

        text-align: center;

        position: relative;

        overflow: visible;

        padding: 5px 15px 0;
    }


    /* весь контент выше текстуры */

    .scratch-card>* {
        position: relative;
        z-index: 2;
    }


    /* =========================
	TEXT
========================= */

    .scratch-heading {
        text-align: center;
        margin-bottom: 20px;
    }


    /* =========================
	TITLE
========================= */

    .scratch-title-row {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 17px;
        gap: 18px;
    }


    .scratch-title {
        font-family: Poppins, sans-serif !important;

        font-size: 48px;
        font-weight: 700;

        letter-spacing: -1.5px;

        color: #102d55;

        margin: 0;
    }


    /* =========================
	SUBTITLE
========================= */

    .scratch-subtitle {
        font-family: Poppins, sans-serif !important;

        font-size: 25px;
        font-weight: 400;

        letter-spacing: -0.4px;

        color: #102d55;

        margin-top: 11px;
    }


    /* =========================
	GOLD RAYS
========================= */

    .luck-rays {
        position: relative;
        display: block;

        width: 42px;
        height: 48px;

        flex: 0 0 42px;
    }


    .luck-rays i {
        position: absolute;

        display: block;

        width: 31px;
        height: 7px;

        border-radius: 999px;

        background: #d8ab43;

        left: 4px;
        top: 20px;

        transform-origin: right center;
    }


    .luck-rays i:nth-child(1) {
        transform:
            translateY(-14px) rotate(27deg);
    }


    .luck-rays i:nth-child(2) {
        transform: rotate(0deg);
    }


    .luck-rays i:nth-child(3) {
        transform:
            translateY(14px) rotate(-27deg);
    }


    .luck-rays-right {
        transform: scaleX(-1);
    }


    /* =========================
	SCRATCH AREA ROW
========================= */

    .scratch-area-row {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 22px;

        width: 100%;

        padding:
            4px 0 15px;

        box-sizing: border-box;
    }


    /* =========================
	SWIPE HINT
========================= */

    .scratch-swipe-hint {
        width: 96px;
        flex: 0 0 96px;

        display: flex;
        align-items: center;
        justify-content: center;

        transform:
            translateY(4px) rotate(-3deg);
    }


    .scratch-swipe-hint img {
        display: block;

        width: 100%;
        height: auto;

        object-fit: contain;

        pointer-events: none;
        user-select: none;
    }


    /* =========================
	SCRATCH BOX WRAPPER
========================= */

    .scratch-box-wrap {
        position: relative;

        width: 205px;
        height: 129px;

        flex: 0 0 205px;

        overflow: visible;
    }


    /* убираем повернутую подложку */

    .scratch-box-wrap::before {
        display: none;
    }


    /* =========================
	SCRATCH BOX
========================= */

    .scratch-box {
        width: 205px;
        height: 129px;

        margin: 0;

        position: relative;
        z-index: 1;

        overflow: hidden;

        border-radius: 11px;

        box-shadow:
            0 14px 28px rgba(73, 51, 13, .18),
            0 5px 10px rgba(73, 51, 13, .12);

        user-select: none;
        -webkit-user-select: none;

        touch-action: none;
    }


    /* =========================
	PRIZE
========================= */

    .scratch-prize {
        position: absolute;
        inset: 0;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;

        z-index: 1;
        overflow: hidden;

        background:
            linear-gradient(135deg,
                #ddb95e 0%,
                #cfa347 24%,
                #bb8e35 50%,
                #d4ac52 74%,
                #bf933b 100%);
    }


    .scratch-prize::before {
        content: "";

        position: absolute;
        inset: 0;

        background:
            radial-gradient(ellipse at 34% 58%,
                rgba(104, 74, 22, 0.34) 0%,
                rgba(104, 74, 22, 0.22) 20%,
                rgba(104, 74, 22, 0.10) 36%,
                rgba(104, 74, 22, 0) 52%),
            radial-gradient(ellipse at 49% 49%,
                rgba(92, 64, 18, 0.30) 0%,
                rgba(92, 64, 18, 0.18) 20%,
                rgba(92, 64, 18, 0.08) 34%,
                rgba(92, 64, 18, 0) 50%),
            radial-gradient(ellipse at 66% 53%,
                rgba(108, 76, 24, 0.28) 0%,
                rgba(108, 76, 24, 0.16) 18%,
                rgba(108, 76, 24, 0.07) 32%,
                rgba(108, 76, 24, 0) 48%);

        filter: blur(4px);

        transform:
            rotate(-12deg) scale(1.08);

        pointer-events: none;
    }


    .scratch-prize::after {
        content: "";

        position: absolute;
        inset: 0;

        background-image:
            radial-gradient(rgba(255, 255, 235, .18) 0.6px,
                transparent 0.8px),
            radial-gradient(rgba(120, 90, 35, .10) 0.5px,
                transparent 0.7px);

        background-size:
            9px 9px,
            11px 11px;

        background-position:
            0 0,
            4px 5px;

        opacity: .35;

        pointer-events: none;
    }


    .scratch-prize span {
        font-family: Poppins, sans-serif !important;

        font-size: 52px !important;
        font-weight: 900 !important;

        line-height: 1 !important;

        margin: 10px 0 0 !important;

        color: #fff0cf !important;

        position: relative;
        z-index: 2;
    }


    .scratch-prize small {
        font-size: 19px !important;
        font-weight: 900 !important;

        line-height: 1 !important;

        margin: 0 !important;

        color: #fff0cf !important;

        position: relative;
        z-index: 2;

        transform: translateY(-12px);
    }


    .scratch-prize span,
    .scratch-prize small {
        position: relative;
        z-index: 2;
    }


    /* =========================
	CANVAS
========================= */

    #scratchCanvas {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;

        z-index: 2;

        display: block;

        cursor: grab;

        touch-action: none;

        transition:
            opacity .7s ease,
            transform .7s ease;
    }


    #scratchCanvas.scratched {
        opacity: 0;

        transform: scale(1.02);

        pointer-events: none;
    }


    /* =========================
	ORDER
========================= */

    #order {
        display: block;

        opacity: 1;

        transform: translateY(-30px);

        transition:
            opacity .55s ease,
            transform .55s cubic-bezier(.22, 1, .36, 1);

        scroll-margin-top: 100px;
    }


    #order.order-visible {
        opacity: 1;

        transform: translateY(0);
    }


    /* =========================
	SCRATCH HIDE
========================= */

    .scratch-section.scratch-hide {
        opacity: 0;

        transform: translateY(-25px);

        height: 0 !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;

        overflow: hidden;

        pointer-events: none;
    }


    /* =========================
	DISCOUNT
========================= */

    .scratch-discount span {
        font-family: Poppins, sans-serif !important;

        font-weight: 700;

        color: #d8ab43 !important;

        font-size: 48px !important;

        line-height: 1.15;

        box-sizing: border-box;
    }


    /* =========================
	IDLE POPUP
========================= */

    .scratch-idle-popup {
        position: fixed;
        inset: 0;

        z-index: 99999;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 16px;

        box-sizing: border-box;

        background: rgba(0, 0, 0, .65);

        opacity: 0;
        visibility: hidden;

        pointer-events: none;

        transition:
            opacity .3s ease,
            visibility .3s ease;
    }


    .scratch-idle-popup.active {
        opacity: 1;
        visibility: visible;

        pointer-events: auto;
    }


    /* =========================
	POPUP WINDOW
========================= */

    .scratch-idle-popup__dialog {
        position: relative;

        width: calc(100vw - 32px) !important;
        max-width: 520px;

        box-sizing: border-box;

        overflow: visible;

        background: #fff;

        border-radius: 14px;

        box-shadow:
            0 15px 60px rgba(0, 0, 0, .35);
    }


    /* =========================
	POPUP CONTENT
========================= */

    .scratch-idle-popup__content {
        width: 100%;

        max-height: calc(100vh - 32px);

        overflow-y: auto;
        overflow-x: hidden;

        padding:
            34px 24px 30px;

        box-sizing: border-box;

        border-radius: 14px;
    }


    .scratch-idle-popup .scratch-section {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        box-sizing: border-box;
    }


    /* =========================
	POPUP CLOSE
========================= */

    .scratch-idle-popup__close {
        position: absolute;

        top: -14px;
        right: -14px;

        z-index: 30;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 36px;
        height: 36px;

        padding: 0;

        border: 3px solid #fff;

        border-radius: 50%;

        background: rgba(0, 0, 0, .65);

        color: #fff;

        font-size: 23px;
        font-weight: 700;

        line-height: 1;

        cursor: pointer;

        box-shadow:
            0 3px 10px rgba(0, 0, 0, .25);
    }


    body.scratch-popup-open {
        overflow: hidden;
    }


    /* =========================
	MOBILE
========================= */

    @media (max-width: 600px) {

        .scratch-title-row {
            display: grid;

            grid-template-columns:
                28px auto 28px;

            align-items: center;
            justify-content: center;

            column-gap: 8px;
margin-bottom: 17px;
            width: 100%;
        }


        .scratch-title {
            font-size: 29px;
            line-height: 1.02;

            letter-spacing: -0.8px;

            text-align: center;

            white-space: nowrap;
        }


        .luck-rays {
            position: relative;

            width: 28px;
            height: 34px;

            display: block;
        }


        .luck-rays i {
            position: absolute;

            width: 20px;
            height: 5px;

            left: 4px;
            top: 11px;

            border-radius: 999px;

            background: #d8ab43;

            transform-origin: right center;
        }


        .luck-rays i:nth-child(1) {
            transform:
                translateY(-9px) rotate(27deg);
        }


        .luck-rays i:nth-child(2) {
            transform: rotate(0deg);
        }


        .luck-rays i:nth-child(3) {
            transform:
                translateY(9px) rotate(-27deg);
        }


        .luck-rays-right {
            transform: scaleX(-1);
        }


        .scratch-subtitle {
            font-size: 17px;
            line-height: 1.2;

            margin-top: 7px;

            text-align: center;

            padding: 0 10px;
        }


        .scratch-area-row {
            gap: 10px;

            padding:
                4px 0 14px;
        }


        .scratch-swipe-hint {
            width: 70px;
            flex: 0 0 70px;

            transform:
                translateY(2px) rotate(-3deg);
        }


        .scratch-box-wrap {
            width: 205px;
            height: 129px;

            flex: 0 0 205px;
        }


        .scratch-box {
            width: 205px;
            height: 129px;

            box-shadow:
                0 11px 22px rgba(73, 51, 13, .17),
                0 4px 8px rgba(73, 51, 13, .10);
        }


        .scratch-idle-popup {
            padding: 10px;
        }


        .scratch-idle-popup__dialog {
            width: calc(100vw - 20px) !important;

            max-width: 390px;

            border-radius: 12px;
        }


        .scratch-idle-popup__content {
            max-height: calc(100vh - 20px);

            padding:
                30px 14px 24px;

            border-radius: 12px;
        }


        .scratch-idle-popup__close {
            top: -11px;
            right: -8px;

            width: 34px;
            height: 34px;

            border-width: 3px;

            font-size: 21px;
        }

    }


    /* =========================
	SMALL MOBILE
========================= */

    @media (max-width: 390px) {

        .scratch-title {
            font-size: 27px;
        }


        .scratch-area-row {
            gap: 5px;
        }


        .scratch-swipe-hint {
            width: 58px;
            flex: 0 0 58px;
        }


        .scratch-box-wrap {
            width: 195px;
            height: 123px;

            flex: 0 0 195px;
        }


        .scratch-box {
            width: 195px;
            height: 123px;
        }

    }