@charset "utf-8";

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Thin.otf");
    font-weight: 200;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.otf");
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-SemiBold.otf");
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Bold.otf");
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-ExtraBold.otf");
    font-weight: 900;
    font-style: normal;
    font-stretch: normal;
}

/* --- Variables --- */

:root {
    --text-color: #000000;
    --bg-color: #ffffff;
    --accent-color: #E30427;
    --border-color: #000000;

    --mobile-font: 4.5vw;
    --desktop-font: 1.3vw;
}

/* --- Base --- */

@media only screen and (min-width: 768px) {
    .only-m {
        display: none;
    }
}

.only-d,
.only-d-inline {
    display: none;
}

@media only screen and (min-width: 768px) {
    .only-d {
        display: block;
    }

    .only-d-inline {
        display: inline;
    }
}

html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-size: var(--mobile-font);
    line-height: 1.2rem;

    color: var(--text-color);
    background-color: var(--bg-color);

    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

@media only screen and (min-width: 768px) {
    html {
        font-size: var(--desktop-font);
    }
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html,
body {
    background-color: var(--bg-color);
}

body {
    box-sizing: border-box;
    position: relative;
    margin: 0;
    padding: 0;

    font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    font-weight: 400;
    font-optical-sizing: auto;
    font-style: normal;

    color: var(--text-color);

    zoom: 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#app {
    position: relative;
    padding: 0;
    margin: 0;
}

/* Scroll */
#action {
    scroll-margin-top: 5rem;
}

#menu {
    scroll-margin-top: 5rem;
}

#prizes {
    scroll-margin-top: 5rem;
}

#faq {
    scroll-margin-top: 5rem;
}

#how {
    scroll-margin-top: 5rem;
}

#code {
    scroll-margin-top: 5rem;
}

/* --- Elements normalization --- */

input,
textarea,
button,
select,
a {
    -webkit-tap-highlight-color: transparent;
}

a,
input.submit,
input.button,
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

img {
    display: inline-block;
    width: 100%;
    height: auto;
}

p {
    line-height: 1.3em;
}

/* Axiom */

.axiom,
.axiom-m {
    padding: 0 6vw;
}

#frame-text .axiom {
    padding: 0 4vw;
}

@media only screen and (min-width: 768px) {
    .axiom {
        padding: 0 6.4vw;
    }

    #frame-text .axiom {
        padding: 0 6.4vw;
    }

    .axiom-d {
        padding: 0 6.4vw;
    }

    .axiom-m {
        padding: 0;
    }
}

.rel {
    position: relative;
}

.ov {
    overflow: visible;
}

.m-24 {
    font-weight: 500;
    font-size: 1.4em;
    line-height: 1.2em;
}

@media only screen and (min-width: 768px) {
    .m-24 {
        font-weight: 500;
        font-size: 1.7em;
        line-height: 1.2em;
    }
}

.m-36 {
    font-weight: 500;
    font-size: 2em;
    line-height: 1.2em;
}

.main-heading {
    font-weight: 700;
    font-size: 1.3em;
    line-height: 1.2em;
    text-align: center;
}

.main-heading-2 {
    font-weight: 700;
    font-size: 1.1em;
    line-height: 1.2em;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .m-36 {
        font-weight: 700;
        font-size: 2.3em;
        line-height: 1.2em;
    }

    .main-heading {
        font-weight: 700;
        font-size: 2.5em;
        line-height: 1.2em;
        text-align: center;
    }

    .main-heading-2 {
        font-weight: 700;
        font-size: 1.7em;
        line-height: 1.2em;
        text-align: center;
    }
}

.m-48 {
    font-weight: 500;
    font-size: 1.7em;
    line-height: 1.2em;
}

@media only screen and (min-width: 768px) {
    .m-48 {
        font-weight: 500;
        font-size: 2.5em;
        line-height: 1.2em;
    }
}

.m-56 {
    font-weight: 500;
    font-size: 2em;
    line-height: 1.2em;
}

@media only screen and (min-width: 768px) {
    .m-56 {
        font-weight: 500;
        font-size: 2.8em;
        line-height: 1.2em;
    }
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25em;
}

.mb-2 {
    margin-bottom: 0.5em;
}

.mb-3 {
    margin-bottom: 0.75em;
}

.mb-4 {
    margin-bottom: 1em;
}

.mb-5 {
    margin-bottom: 1.25em;
}

.mb-6 {
    margin-bottom: 1.5em;
}

.mb-7 {
    margin-bottom: 1.75em;
}

.mb-8 {
    margin-bottom: 2em;
}

.mb-9 {
    margin-bottom: 2.25em;
}

.mb-10 {
    margin-bottom: 2.5em;
}

.ml-4 {
    margin-left: 1em;
}

.center {
    text-align: center;
}

.strong,
strong {
    font-weight: 600;
}

/* --- Text input --- */

.text {
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    width: 100%;
    padding: 1.1rem 1.2rem;
    font-size: 1.1em;
    margin: 0;
    background: transparent;
    outline: 0;
    vertical-align: top;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    background-color: #fff;
    font-weight: 400;
}

SELECT.text {
    cursor: pointer;
    background-image: url(../images/arrow-down-select.svg);
    background-size: 1.2em 1.2em;
    background-position: 94% 50%;
    background-repeat: no-repeat;
}

/* --- Buttons --- */

.button {
    font-weight: 400;
    color: #fff;
    background: #000;
    padding: 1.1rem 1.2rem;
    text-decoration: none;
    border-radius: 0.7rem;
    font-size: 1.1em;
    transition: background 300ms ease;
}

@media only screen and (min-width: 768px) {
    button:hover {
        opacity: 0.8 !important;
    }

    .text {
        font-size: 0.9em;
        padding: 0.8rem 1.5rem;
    }

    .text:hover {
        border: 1px solid #000;
    }

    .button {
        font-weight: 500;
        font-size: 1em;
        padding: 0.8rem 1.2rem;
    }
}

.button.red {
    background: #f1384e;
}

/* --- Cards --- */

#cards {
    position: absolute;
    top: 20vw;
    left: 0;
    width: 92%;
    left: 4%;
    justify-content: center;
    gap: 2vw;
    display: flex;
    flex-wrap: wrap;
}

#cards .card {
    flex: 0 0 23%;
    position: relative;
}

.card .card_front {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
}

.card.opened .card_front {
    opacity: 1;
}

.card span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    font-size: 4em;
    user-select: none;
    font-weight: 700;
    opacity: 0;
}

.card.opened span {
    opacity: 1;
}

@media only screen and (min-width: 768px) {
    .card.opened span {
        font-size: 6em;
    }
}

@media only screen and (min-width: 768px) {
    #cards {
        position: absolute;
        top: 15vw;
        left: 12vw;
        width: 76%;
        display: flex;
        flex-wrap: nowrap;
        gap: 1em;
    }

    #cards .card {
        flex: 0 0 13%;
    }
}

/* --- Hero --- */

#hero {
    height: 153vw;
    position: relative;
}

@media only screen and (min-width: 768px) {
    #hero {
        height: 61.3vw;
    }
}

#hero-title {
    position: absolute;
    width: 80%;
    top: 23vw;
    color: #fff;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 1.19em;
    right: 20vw;
    text-align: right;
    z-index: 1;
    text-transform: uppercase;
}

#hero-title span {
    font-weight: 700;
    font-size: 1.8em;
}

@media only screen and (min-width: 768px) {
    #hero-title {
        text-align: right;
        top: 12vw;
        left: 31vw;
        right: auto;
        font-size: 1.9em;
        line-height: 1.2em;
        width: 38vw;
    }

    #hero-title span {
        font-size: 1.5em;
    }
}

#hero-button {
    opacity: 1;
    position: absolute;
    width: 88%;
    top: 50vw;
    color: rgb(69, 69, 69);
    font-size: 1em;
    font-weight: 500;
    line-height: 1.27em;
    right: 20vw;
    z-index: 1;
    text-align: right;
}

#hero-button button {
    font-size: 0.9em;
    padding: 0.6em 1.1em;
    font-weight: 600;
    background-color: #000000;
    color: #fff;
    border-radius: 10rem;
    width: auto;
}

@media only screen and (min-width: 768px) {
    #hero-button {
        top: 27vw;
        left: 43.3vw;
        right: auto;
        width: 26vw;
        text-align: right;
    }

    #hero-button button {
        font-size: 1.2em;
        padding: 0.8em 1.5em;
        width: auto;
    }
}

/* FORM */

.form {
    padding: 3em 0 3em 0;
    border-radius: 2em;
    margin: 1em 2vw 5em;
    background-color: #fff;
}

@media only screen and (min-width: 768px) {
    .form {
        margin: 2.5em 13vw 5em;
        border-radius: 1.4em;
    }

    .form .accent-axiom {
        padding: 2vw 5vw 0;
    }

    .form .form-title {
        flex: 0 0 51%;
    }

    .form .form-title p.only-d {
        color: rgb(69, 69, 69);
        font-size: 0.95em;
    }

    .form .form-title p.m-56 {
        font-size: 2.25em;
        margin-bottom: 0.6em;
    }

    .form .cta {
        padding: 0.5em 0 0 0;
        flex: 0 0 37%;
    }
}

#form .form-item {
    margin-bottom: 1rem;
}

@media only screen and (min-width: 768px) {
    #form .form-item {
        margin-bottom: 0.7rem;
    }
}

.form-item-button p {
    font-size: 0.7em;
    line-height: 1.15em;
    font-style: italic;
    color: #000000;
    font-weight: 600;
    text-align: left;
    padding-top: 1.8rem;
}

.form-item-button p a {
    text-decoration: underline;
}

.form-item-button p a:hover {
    text-decoration: none;
}

#form>div:first-child {
    text-align: left;
}

#form>div:first-child h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.6em;
    color: #000000;
    line-height: 1.2em;
}

#form>div:first-child p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1em;
    color: #000000;
    line-height: 1.2em;
}

@media only screen and (min-width: 768px) {
    #form {
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-start;
        align-items: flex-start;
    }

    #form>div:first-child {
        flex: 0 0 55%;
        width: 55%;
        margin-right: 2.2vw;
        text-align: left;
    }

    #form>div:last-child {
        flex: 0 0 38%;
        width: 38%;
    }

    #form>div:first-child h1 {
        font-size: 2.2rem;
        font-weight: 600;
        margin-bottom: 0.6em;
        color: #000000;
        line-height: 1.2em;
    }

    #form>div:first-child p {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.6em;
        color: #000000;
        line-height: 1.2em;
    }

    .form-text p {
        font-size: 0.6em;
        line-height: 1.1em;
    }

    .form-item-button p {
        font-size: 0.65em;
        line-height: 1.15em;
        font-style: italic;
        padding-top: 0.4rem;
    }
}

.form-text p a {
    text-decoration: underline;
    border: 0;
}

.form-text p a:hover {
    text-decoration: none;
    border: 0;
}

.sending {
    opacity: 0.3;
    pointer-events: none;
}

/* --- Response --- */

#form.resp .form-item-button,
#form.resp .form-text {
    display: none;
}

#form .resp {
    display: none;
    padding: 1rem 1.2rem;
    font-size: 0.9em;
    border: 1px solid greenyellow;
    border-radius: 0.8rem;
    margin-top: 1.2em;
    line-height: 1.3em;
    color: #B1D1E8;
    font-weight: 600;
    background-color: #fff;
}

@media only screen and (min-width: 768px) {
    #form .resp {
        display: none;
        padding: 0.7rem 1rem;
        border-radius: 1rem;
        font-size: 0.7em;
    }
}

#form.resp_ok .resp_ok {
    display: block !important;
}

#form.resp_sub .resp_sub {
    display: block !important;
}

#form.resp_nf .resp_nf {
    display: block !important;
}

#form.resp_alr .resp_alr {
    display: block !important;
}

#form.resp_err .resp_err {
    display: block !important;
    border: 1px solid orangered;
}

/* --- Steps --- */

.steps {
    padding: 0 4vw;
    width: 96%;
    margin: 2rem auto 12vw;
}

.button_red {
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 4rem;
    padding: 0.7em 1.4em;
    font-size: 0.75em;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    white-space: nowrap;
    transition: background 300ms ease;
}

.button_red:hover {
    background-color: #000000;
}

.button_red img {
    width: 1.3em;
    height: auto;
    display: inline-block;
}

.button_large {
    font-size: 0.95em;
}

@media only screen and (min-width: 768px) {
    .button_red {
        background-color: var(--accent-color);
        color: #fff;
        border-radius: 4rem;
        padding: 0.5em 1.1em;
        font-size: 0.8em;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.4em;
        white-space: nowrap;
    }

    .button_large {
        font-size: 1em;
    }

    .button_red:hover {
        background-color: #000000;
    }

    .button_red img {
        width: 1.3em;
        height: auto;
        display: inline-block;
    }
}

.substeps {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 90%;
    font-size: 1.1em;
    margin: 3em auto 3.5em;
    background-color: #F2F2F2;
    border-radius: 1em;
    padding: 1em 1.3em;
    font-weight: 600;
    gap: 1em;
}

.substeps>div:nth-child(1) {
    order: 3;
}

.substeps>div:nth-child(2) {
    order: 4;
}

.substeps>div:nth-child(3) {
    order: 1;
}

.substeps>div:nth-child(4) {
    order: 2;
}

.substeps p {
    font-size: 0.8em;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

@media only screen and (min-width: 768px) {
    .steps {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: stretch;
        width: 75%;
        margin: 2rem auto 0;
    }

    .substeps {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;
        width: 70%;
        font-size: 1.1em;
        margin: 1em auto 3.5em;
        background-color: #F2F2F2;
        border-radius: 20em;
        padding: 1em 1.3em;
        font-weight: 600;
        gap: 1.5em;
    }

    .substeps>div:nth-child(1) {
        order: 1;
    }

    .substeps>div:nth-child(2) {
        order: 2;
    }

    .substeps>div:nth-child(3) {
        order: 3;
    }

    .substeps>div:nth-child(4) {
        order: 4;
    }

    .substeps p {
        font-size: 0.8em;
        margin: 0;
        text-align: left;
        width: auto;
    }

    .steps .step {
        flex: 0 0 30%;
    }
}

.steps .step {
    margin-bottom: 10vw;
    border-radius: 0.8em;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .steps .step {
        margin-bottom: 4.5vw;
    }
}

.steps .step strong {
    font-size: 1.3em;
    border-radius: 10em;
    width: 2.4em;
    height: 2.4em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin: 0 auto 0.5em;
    color: #fff;
    background-color: var(--accent-color);
}

.steps .step p {
    font-size: 0.8em;
    margin: 0;
    font-weight: 500;
}

.steps .step p a {
    color: var(--accent-color);
}

.steps .step p.heading {
    font-size: 0.9em;
    margin: 0 0 0.7em 0;
    font-weight: 600;
}

@media only screen and (min-width: 768px) {
    .steps .step p {
        font-size: 0.7em;
        line-height: 1.35em;
        margin: 0 1.5em;
    }

    .steps .step p.heading {
        font-size: 1.05em;
        margin: 0 0 0.4em 0;
        font-weight: 600;
    }
}

.steps a {
    text-decoration: underline;
}

.steps a:hover {
    text-decoration: none;
}

.winners-button {
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 3em;
}

.sub-prizes {
    text-align: center;
    max-width: 70vw;
    margin: 0 auto 2em;
    font-size: 0.8em;
}

@media only screen and (min-width: 768px) {
    .sub-prizes {
        text-align: center;
        max-width: 60vw;
        margin: 0 auto 2em;
        font-size: 1.2em;
    }
}

/* Sliders */

.s2-wrapper {
    padding-bottom: 2.5em;
    padding-top: 0;
}

.s2-wrapper .swiper-wrapper {
    position: relative;
    left: 0.55em;
}

@media only screen and (min-width: 768px) {

    .s2-wrapper .swiper-wrapper {
        position: relative;
        left: 0.62em;
    }

    .s2-wrapper {
        position: relative;
        padding-left: 3.4vw;
        padding-right: 3.4vw;
        margin-top: 2.5vw;
        padding-top: 1.2em;
        left: 0;
    }

    .s2-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .s2-wrapper {
        margin-top: 1vw;
        padding-bottom: 1em;
        margin-bottom: 4em;
    }

}

#s1 {
    padding-top: 2em;
    margin-bottom: 2em;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#s2 {
    padding-top: 1em;
    margin-bottom: 1.5em;
}

@media only screen and (min-width: 768px) {

    #s1,
    #s2 {
        padding-top: 0;
    }

    #s1 {
        width: 92vw;
        margin-top: 3em;
        display: flex;
        gap: 1.4em;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: stretch;
    }

    #s1 {
        margin-bottom: 5.5vw;
    }

    #s2 .swiper-wrapper {
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: stretch;
    }
}

.slider-buttons {
    z-index: 1;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    gap: 1em;
    align-items: center;
}

@media only screen and (min-width: 768px) {}

.swiper-slider-button-prev img,
.swiper-slider-button-next img {
    width: 14vw;
    margin: 1.5em 0.4em 0;
    height: auto;
}

@media only screen and (min-width: 768px) {

    .swiper-slider-button-prev img,
    .swiper-slider-button-next img {
        width: 4vw;
        margin: 2.5em 0.4em 0;
        height: auto;
    }
}

.swiper-wrapper>div {
    border-radius: 2em;
    background-color: #fff;
}

.s1-slide {
    position: relative;
    margin-bottom: 1em;
}

.s1-slide img {
    border-radius: 2em;
}

.s1-slide .slide-content {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0;
    left: 0;
    z-index: 1;
    color: #fff;
}

.s2-slide .slide-content {
    position: absolute;
    width: 90%;
    height: 38%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    bottom: 0.3em;
    left: 5%;
    z-index: 1;
    color: #fff;
}

.s1-slide .slide-content p {
    margin-bottom: 1em;
    font-weight: 400;
    font-size: 0.8em;
}

.s1-slide .slide-content p.s1-title {
    margin-bottom: 0em;
    font-weight: 600;
    font-size: 1em;
}

.s2-slide .slide-content p {
    font-size: 0.6em;
    font-weight: 400;
}

.s2-slide .slide-content p.s2-title {
    font-size: 0.75em;
    margin-bottom: 0.3em;
    font-weight: 600;
}

@media only screen and (min-width: 768px) {
    .s2-slide .slide-content {
        position: absolute;
        width: 80%;
        height: 35%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        bottom: 0;
        left: 10%;
        z-index: 1;
        color: #fff;
    }

    .s1-slide .slide-content p {
        margin-bottom: 0;
        font-weight: 400;
        font-size: 0.85em;
    }

    .s1-slide .slide-content p.s1-title {
        margin-bottom: 0.2em;
        font-weight: 600;
        font-size: 1.1em;
    }

    .s2-slide .slide-content p {
        font-size: 0.9em;
        font-weight: 400;
    }

    .s2-slide .slide-content p.s2-title {
        font-size: 1em;
        margin-bottom: 0.3em;
        font-weight: 600;
    }

    .swiper-wrapper>div {
        border-radius: 1.4em;
    }

    .s1-slide .slide-content {
        bottom: 1em;
        font-size: 0.9em;
    }

    .s2-slide .slide-content {
        bottom: 1em;
        font-size: 0.9em;
    }
}

@media only screen and (min-width: 768px) {
    .s1-slide .s1-title {
        font-size: 1.1em;
    }
}

#s2 .s1-title {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
    #s2 .s1-title {
        font-size: 1.1em;
    }
}

/* FAQ */

#faq-wrapper {
    position: relative;
}

.faq-container {
    width: 90%;
    margin: 0 auto;
}

@media only screen and (min-width: 768px) {
    .faq-container {
        width: 50%;
        margin: 0 auto;
    }

    #faq-wrapper .accent-axiom {
        display: block;
    }

    #faq-wrapper .accent-axiom .m-56 {
        font-size: 2.2em;
    }
}

.faq {
    position: relative;
    z-index: 2;
    padding: 0;
    border-radius: 2em;
    margin: 2rem 0 3em;
    color: #000000;
}

@media only screen and (min-width: 768px) {
    .faq {
        border-radius: 1.4em;
        margin: 1em 2.5vw 3em;
    }
}

.faq-item {
    position: relative;
    border-bottom: 1px solid #000000;
    padding: 2em 2.6em;
}

@media only screen and (min-width: 768px) {
    .faq-item {
        position: relative;
        border-bottom: 1px solid #000000;
        padding: 1.6em 1.6em;
    }
}

.faq-item-header {
    cursor: pointer;
    position: relative;
    font-weight: 400;
    font-size: 0.85em;
    line-height: 1.2em;
    margin-bottom: 0;
    color: #000000;
}

@media only screen and (min-width: 768px) {
    .faq-item-header {
        font-size: 0.8em;
        font-weight: 500;
    }
}

.faq-item.active .faq-item-header {
    margin-bottom: 0.8em;
}

.faq-item-header span {
    max-width: 85%;
    display: block;
    font-weight: 600;
}

.faq-item-header::after {
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    background: url(../images/faq-arrow.svg) no-repeat;
    background-size: 0.6em auto;
    top: 50%;
    transform: translateY(-50%);
    right: -0.5em;
}

@media only screen and (min-width: 768px) {
    .faq-item-header::after {
        top: 70%;
    }
}

.faq-item.active .faq-item-header::after {
    background: url(../images/icon-close.svg) no-repeat;
    background-size: 0.7em auto;
}

@media only screen and (min-width: 768px) {
    .faq-item-header::after {
        width: 0.6em;
        height: 0.6em;
        right: 0;
        background-size: 0.5em auto;
    }

    .faq-item.active .faq-item-header::after {
        background: url(../images/icon-close.svg) no-repeat;
        background-size: 0.6em auto;
    }
}

.faq-item:first-child {
    border-top: 1px solid #000000;
}

.faq-item .faq-item-body {
    display: none;
    font-size: 0.85em;
}

.faq-item.active .faq-item-body {
    display: block;
}

@media only screen and (min-width: 768px) {
    .faq-item-body {
        font-size: 0.6em;
        line-height: 1.3em;
    }
}

.faq-item-body a {
    text-decoration: underline;
}

.faq-item-body a:hover {
    text-decoration: none;
}

/* --- Bag --- */

.bag-wrapper {
    position: relative;
}

#bag {
    position: absolute;
    width: 96vw;
    height: auto;
    top: -8vw;
    left: 2vw;
    z-index: 1;
}

@media only screen and (min-width: 768px) {
    #bag {
        position: absolute;
        width: 32vw;
        height: auto;
        top: -4vw;
        left: 34vw;
        z-index: 1;
    }
}

/* --- Bloomi --- */

#bloomi,
#bag,
#ch1,
#ch2 {
    pointer-events: none;
}

#bloomi {
    position: absolute;
    width: 65vw;
    top: 80vw;
    left: 3vw;
    z-index: 1;
}

#bloomi img {
    width: 65vw;
    height: auto;
}

#ch1 {
    position: absolute;
    width: 12vw;
    top: 77vw;
    left: 28.8vw;
    z-index: 2;
}

#ch1 img {
    width: 12vw;
    height: auto;
}

#ch2 {
    position: absolute;
    width: 8vw;
    top: 84vw;
    left: 41vw;
    z-index: 3;
}

#ch2 img {
    width: 8vw;
    height: auto;
}

#ch3 {
    position: absolute;
    width: 6vw;
    top: 94vw;
    left: 44vw;
    z-index: 0;
    transform: rotate(90deg);
}

#ch3 img {
    width: 6vw;
    height: auto;
}

#ch4 {
    position: absolute;
    width: 5vw;
    top: 99vw;
    left: 40vw;
    z-index: 0;
    transform: rotate(90deg);
}

#ch4 img {
    width: 5vw;
    height: auto;
    transform: rotate(150deg);
}

@media only screen and (min-width: 768px) {
    #bloomi {
        width: 38vw;
        top: 1vw;
        left: 48vw;
        z-index: 1;
    }

    #bloomi img {
        width: 38vw;
        height: auto;
    }

    #ch1 {
        position: absolute;
        width: 6vw;
        top: 8vw;
        left: 62.8vw;
        z-index: 1;
    }

    #ch1 img {
        width: 6vw;
        height: auto;
    }

    #ch2 {
        position: absolute;
        width: 5vw;
        top: 8vw;
        left: 70vw;
        z-index: 1;
    }

    #ch2 img {
        width: 5vw;
        height: auto;
    }

    #ch3 {
        position: absolute;
        width: 4vw;
        transform: rotate(90deg);
        top: 13.6vw;
        left: 69.8vw;
        z-index: 0;
    }

    #ch3 img {
        width: 4vw;
        height: auto;
    }

    #ch4 {
        position: absolute;
        width: 3.7vw;
        top: 17vw;
        left: 69vw;
        z-index: 0;
    }

    #ch4 img {
        transform: rotate(150deg);
        width: 5vw;
        height: auto;
    }
}

/* --- Header --- */

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    padding: 0.6rem 0 0.6rem 0;
    background: #EA0000 linear-gradient(to bottom, #7D1B15CC, #D51313CC);
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

@media only screen and (min-width: 768px) {
    header {
        padding: 0.8vw 0;
        border-bottom-right-radius: 1.5rem;
        border-bottom-left-radius: 1.5rem;
    }
}

header nav {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 6vw;
}

header nav>div:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 1em;
}

header nav>div:nth-child(2) img {
    height: 1.2em;
    width: auto;
    display: inline-block;
}

@media only screen and (min-width: 768px) {
    header nav {
        padding: 0 4vw;
        display: block;
    }

    header nav>div:nth-child(2) {
        display: none;
    }

    header nav>div:nth-child(1) {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;
    }
}

header a.nav-link {
    font-weight: 600;
    margin-right: 2rem;
    display: none;
    color: #fff;
    transition: color 300ms ease;
}

#account #header_join {
    display: none;
}

.button_header {
    background-color: #000;
    color: #fff;
    border-radius: 4rem;
    padding: 0.5em 1.1em;
    font-size: 0.7em;
    margin-left: 1em;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}

.button_header:hover {
    background-color: #00000099;
}

.button_header img {
    width: 1.3em;
    height: auto;
    display: inline-block;
}

#mobile-menu {
    pointer-events: none;
    opacity: 0;
    position: absolute;

    width: 100%;
    padding: 4.4rem 0.2rem 0.6rem 0.2rem;
    background: #EA0000 linear-gradient(to bottom, #7D1B15CC, #D51313CC);
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    color: #fff;
    top: 0;
    left: 0;
    z-index: 10;
    transition: opacity 300ms ease;
}

body.menu-active #mobile-menu {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu a {
    display: block;
    padding: 0.8rem 5.5vw;
    font-size: 1.2rem;
    font-weight: 700;
}

@media only screen and (min-width: 768px) {
    #mobile-menu {
        position: relative;
        flex-grow: 1;
        opacity: 1;
        pointer-events: all;
        padding: 0;
        text-align: left;
        border: 0;
        width: auto;
        padding-left: 2vw;
        background-color: transparent;
        backdrop-filter: none;
        border-radius: 0;
        background: none;
    }

    #mobile-menu a {
        display: inline-block;
        font-size: 0.7em;
        margin-right: 0.3vw;
        margin-left: 0.5vw;
        padding: 0.2rem 0.85rem;
        font-weight: 600;
        color: #ffffff;
    }

    #mobile-menu a:hover {
        text-decoration: underline;
    }
}

header img#logo {
    position: relative;
    left: 1vw;
    width: 22vw;
    height: auto;
    z-index: 100;
    margin: 0;
}

@media only screen and (min-width: 768px) {
    header img#logo {
        width: 11.6vw;
        height: auto;
        margin: 0;
        left: 0;
    }
}

header img#alfa-logo {
    position: relative;
    left: 0;
    width: 20vw;
    height: auto;
    z-index: 100;
    margin: 0 0.8rem 0 0rem;
}

@media only screen and (min-width: 768px) {
    header img#alfa-logo {
        width: 9.3vw;
        height: auto;
        margin: 0;
        left: 0;
        margin-right: 2.5vw;
    }
}

/* --- Footer --- */

footer {
    color: #ffffff;
    padding: 3.5em 18vw;
    font-size: 0.8em;
    margin-top: 5rem;
    background-color: #000000;
    border-top-right-radius: 1.5rem;
    border-top-left-radius: 1.5rem;
}

@media only screen and (min-width: 768px) {
    footer {
        font-size: 0.9em;
        padding: 3em 4vw;
        margin-top: 4rem;
    }
}

#copy-get {
    order: 3;
}

@media only screen and (min-width: 768px) {
    #copy-get {
        order: 2;
        margin-bottom: 0;
        margin-right: 0;
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-start;
        align-items: stretch;
    }
}

#copy-social {
    order: 2;
    margin-bottom: 2em;
}

@media only screen and (min-width: 768px) {
    #copy-social {
        flex: 0 0 auto;
        order: 0;
        margin: 0;
    }
}

#copy-logo .footer-yakitoriya img {
    width: auto;
    margin-right: 1.6em;
    height: 6vw;
    margin-bottom: 0;
}

#copy-logo .footer-alfa img {
    width: auto;
    margin-right: 1em;
    height: 8vw;
    margin-bottom: 0;
}

#copy-links {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 2em;
}

#copy-links a {
    margin: 0 0 0.8em;
    font-size: 1.2em;
}

#copy-links a:hover {
    text-decoration: underline;
}

@media only screen and (min-width: 768px) {
    #copy-links {
        display: block;
        margin: 0;
    }

    #copy-links a {
        margin: 0 0 0 1.4em;
        font-size: 1em;
    }

    #copy-links a:hover {
        text-decoration: underline;
    }
}

#copy-logo {
    margin-bottom: 2.5em;
}

@media only screen and (min-width: 768px) {
    .footer-line {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5em;
    }

    #copy-logo {
        text-align: left;
        top: 0;
        left: 0;
        z-index: 1;
        margin: 0;
    }

    #copy-logo .footer-yakitoriya img {
        width: auto;
        margin-right: 1.6em;
        height: 2.2vw;
        margin-bottom: 0;
    }

    #copy-logo .footer-alfa img {
        width: auto;
        margin-right: 1em;
        height: 2.9vw;
        margin-bottom: 0;
    }
}

#copy-text {
    order: 1;
    font-size: 0.9em;
    line-height: 1.2em;
    padding: 0;
    text-align: left;
    margin-bottom: 3em;
}

@media only screen and (min-width: 768px) {
    #copy-text {
        font-size: 0.7em;
        flex: 1 0 auto;
        order: 1;
        margin: 0;
        padding: 0;
        text-align: left;
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        gap: 2em;
        align-items: center;
        width: 65vw;
    }
}

#copy-text>div {
    margin: 0 0 1em 0;
}

@media only screen and (min-width: 768px) {
    #copy-text>div {
        margin: 0;
    }
}

#copy-text a {
    text-decoration: underline;
}

#copy-text a:hover {
    text-decoration: none;
}

#copy-get div {
    margin: 0 0 1em;
}

#copy-get a img {
    width: 38vw;
    height: auto;
}

@media only screen and (min-width: 768px) {
    #copy-get div {
        margin: 0 0 0 1em;
    }

    #copy-get a img {
        height: 2.4vw;
        width: auto;
    }
}

#copy-social {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
}

#copy-social div {
    margin: 0 0.8em 0 0;
}

#copy-social a img {
    height: 11vw;
    width: auto;
}

@media only screen and (min-width: 768px) {
    #copy-social div {
        margin: 0 1em 0 0;
    }

    #copy-social a img {
        height: 2vw;
        width: auto;
    }
}

footer img {
    transition: opacity 0.2s ease-in-out;
    opacity: 1;
}

footer a:hover img {
    opacity: 0.7;
}

/* Text page */

#frame-text {
    padding: 0 0 4rem 0;
}

@media only screen and (min-width: 768px) {
    #frame-text {
        padding: 1rem 0;
    }
}

.long-text {
    position: relative;
    z-index: 2;
    padding: 1.3rem 0.8rem;
    background-color: #ffffffdd;
    backdrop-filter: blur(10px);
    border-radius: 2rem;
}

@media only screen and (min-width: 768px) {
    .long-text {
        padding: 4rem 2rem;
    }
}

/* --- Headings --- */

.long-text h1 {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    line-height: 1em;
    margin-bottom: 0.5em;
}

@media only screen and (min-width: 768px) {
    .long-text h1 {
        font-size: 2.7rem;
    }
}

/* --- Hero and Paragraphs --- */

.long-text .hero {
    font-size: 1.6rem;
    line-height: 1.25em;
    margin-bottom: 1em;
}

.long-text p {
    font-size: 0.65rem;
    line-height: 1.35em;
    margin-bottom: 1.5em;
}

@media only screen and (min-width: 768px) {
    .long-text p {
        font-size: 1rem;
        line-height: 1.4em;
        margin-bottom: 1.5em;
    }
}

.long-text a {
    text-decoration: underline;
}

.long-text a:hover {
    text-decoration: none;
}

/* --- Lists --- */

.long-text ul {
    padding: 0 0 0 2rem;
    margin: 0 0 1.4rem 0;
    list-style: disc;
}

.long-text ul li {
    margin-bottom: 0.3rem;
    font-size: 0.7em;
}

@media only screen and (min-width: 768px) {
    .long-text ul li {
        margin-bottom: 0.3rem;
        font-size: 1em;
    }
}

.long-text ul ul {
    margin: 0;
    list-style: circle;
}

.long-text ul ol {
    margin: 0;
}

.long-text ol h1 {
    font-size: 1.2em;
    margin-bottom: 0.3em;
    margin-top: 1em;
    display: inline;
}

.long-text ul,
.long-text ol,
.long-text li {
    margin: 0;
    padding: 0;
    font-size: 0.9em;
}

.long-text ol {
    list-style: none;
}

.long-text ul,
.long-text ol {
    margin: 0 0 1em 1rem;
}

.long-text ul li,
.long-text ol li {
    margin: 0 0 0.5em 0;
}

.long-text ol ul,
.long-text ol ol {
    margin-top: 0.5em;
}

.long-text ol ul li {
    margin-left: 1em;
}

.long-text ol {
    counter-reset: item;
}

.long-text ol ol {
    padding: 0 0 0 1.5em;
}

.long-text ol>li:before {
    content: counters(item, ".") ".";
    padding-right: 0.5em;
    counter-increment: item;
}

.table-wrapper {
    overflow: auto;
}

table {
    width: 100%;
}

table {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    padding: 0;
    width: 100%;
}

td {
    padding: 0.4em;
    border-collapse: collapse;
    border: 1px solid #00000033;
    font-size: 0.8em;
    vertical-align: top;
    line-height: 1.3em;
}


td.i {
    font-style: italic;
}

td.c {
    width: 2rem;
}

.long-text table td,
.long-text table th {
    margin: 0;
    padding: 1rem 0.5rem 0 0;
    font-size: 0.6rem;
    border: 1px solid #AAA;
}

@media only screen and (min-width: 768px) {

    .long-text table td,
    .long-text table th {
        font-size: 1em;
    }
}

/* Popup */

.popup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 200ms ease;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.popup_overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;

    pointer-events: none;
    opacity: 0;
    transition: opacity 200ms ease;
    background: red;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.popup_close_x {
    position: absolute;
    width: 1.6em;
    height: 1.6em;
    top: 0;
    right: -0.8em;
    z-index: 100;
    background-color: #252525;
    border-radius: 20em;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
    .popup_close_x {
        right: -2.4em;
    }
}

.popup_close_x img {
    width: 0.8em;
    height: auto;
    display: inline-block;
}

.popup.active,
.popup.active .popup_overlay {
    opacity: 1;
    pointer-events: all;
}

.popup.active .popup_overlay {
    background: #ffffff88;
    backdrop-filter: blur(10px);
}

.popup .close-popup {
    width: 2.5rem;
    height: 2.5rem;
    position: absolute;
    top: 4vw;
    right: 4vw;
    z-index: 1;
}

@media only screen and (min-width: 768px) {
    .popup .close-popup {
        top: 1vw;
        right: 1vw;
        width: 1.6rem;
        height: 1.6rem;
    }
}

.popup .popup_wrapper {
    background-color: #ffffffCC;
    padding: 2rem;
    width: 86vw;
    border-radius: 1rem;
    box-shadow: 0 1em 1em 0 #321a1a22;
    position: relative;
    z-index: 2;
}

.popup .popup_gift_wrapper {
    background-color: #ffffffCC;
    width: 86vw;
    border-radius: 1rem;
    box-shadow: 0 1em 1em 0 #321a1a22;
    position: relative;
    z-index: 2;
}

.popup .popup_wrapper h1,
.popup .popup_gift_wrapper h1 {
    font-size: 1.7rem;
    line-height: 1.1em;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media only screen and (min-width: 768px) {
    .popup .popup_wrapper {
        width: 500px;
    }

    .popup .popup_gift_wrapper {
        width: 700px;
    }
}

html.popup-active,
html.popup-active body {
    pointer-events: none;
}

.popup_gift_wrapper {
    position: relative;
}

.popup-gift-content {
    padding: 1.5em;
}

@media only screen and (min-width: 768px) {
    .popup_gift_wrapper {
        position: relative;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: stretch;
    }

    .popup_gift_wrapper .pg-c {
        flex: 0 0 75%;
    }

    .popup_gift_wrapper .pg-i {
        flex: 0 0 25%;
        position: relative;
    }

    .popup-gift-content {
        padding: 2em;
    }
}

.popup-gift-content p {
    font-size: 0.8em;
    line-height: 1.2em;
    margin-bottom: 1em;
}

.popup-gift-content .copy {
    border: 2px dashed var(--accent-color);
    gap: 1em;
    padding: 0.6em;
    border-radius: 1em;
    margin-bottom: 1em;
    position: relative;
    top: -0.1em;
}

@media only screen and (min-width: 768px) {
    .popup-gift-content .copy {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: flex-end;
        padding: 0.8em;
    }
}

.popup-gift-content h2 {
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 0.7em;
}

.popup-gift-content .gift-code-title {
    color: #999;
    font-size: 0.8em;
    text-transform: uppercase;
    margin-bottom: 0.4em;
}

.popup-gift-content .gift-code {
    color: #000;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.4em;
}

@media only screen and (min-width: 768px) {
    .popup-gift-content .gift-code {
        margin-bottom: 0;
    }
}

.popup-gift-content .gift-title {
    color: #000;
    font-size: 0.9em;
    font-weight: 700;
    margin-bottom: 0.3em;
}

.popup-gift-content .gift-type {
    background-color: #e6f7eb;
    color: #18b25b;
    font-weight: 500;
    padding: 0.5em 1em;
    margin-bottom: 0;
    margin-top: 0.5em;
    gap: 0.5em;
    border-radius: 10em;
    display: inline-flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.popup_gift_wrapper .only-d img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    object-fit: cover;
}

.popup-gift-content .copy-link {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    color: var(--accent-color);
    gap: 0.4em;
    font-size: 0.8em;
}

.popup-gift-content .copy-link img {
    width: 1em;
    heigh: auto;
}

.popup-gift-content>img {
    width: 100%;
    height: auto;
    margin-bottom: 0.7em;
    border-radius: 1.3em;
}

@media only screen and (min-width: 768px) {
    .popup-gift-content>img {
        width: 100%;
        height: auto;
        margin-bottom: 0.7em;
    }
}

/* Reveal */
.revealable {
    transition: all 0.6s;
    opacity: 0;
    filter: blur(3px);
    transform: translateY(50px);
}

.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Auth */

.auth-popup-inner {
    font-family: Arial, sans-serif;
    color: #333;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.auth-tabs {
    display: flex;
    background-color: #e6e6e6;
    border-radius: 30px;
    padding: 5px;
    margin-bottom: 25px;
}

.auth-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background-color: #ffffff;
    color: #E30427;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-description {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.4;
}

.auth-inputs-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
}

.auth-input-group {
    flex: 1;
    position: relative;
    text-align: center;
}

.auth-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    border-radius: 25px;
    padding: 12px 15px;
    text-align: center;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border 0.3s;
}

.auth-input:focus {
    border-color: #E30427;
    background-color: #fff;
}

.auth-label {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    color: #999;
    line-height: 1.3;
}

/* Tooltip styles */
.tooltip-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #999;
    border-radius: 50%;
    text-align: center;
    line-height: 14px;
    cursor: pointer;
    margin-left: 3px;
}

.auth-tooltip {
    position: absolute;
    bottom: 0%;
    left: 20px;
    width: 250px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    text-align: left;
    z-index: 10;
    display: none;
}

.tooltip-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
    color: #999;
}

.auth-tooltip h4 {
    margin: 0 0 10px 0;
    font-size: 0.7em;
    font-weight: 600;
    text-align: center;
}

.auth-tooltip p {
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.auth-tooltip a {
    color: #E30427;
    text-decoration: underline;
}

.auth-checkbox-text {
    line-height: 1.3em;
    display: block;
}

/* Scratch tooltip */

.scratch-tooltip {
    position: absolute;
    bottom: -8em;
    left: 9vw;
    width: 70vw;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    text-align: left;
    z-index: 10;
    display: none;
}

@media only screen and (min-width: 768px) {
    .scratch-tooltip {
        bottom: -9em;
        left: 10em;
        width: 250px;
    }
}

.scratch-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
    color: #999;
}

.scratch-tooltip h4 {
    margin: 0 0 10px 0;
    font-size: 0.7em;
    font-weight: 600;
    text-align: center;
    color: #000;
}

.scratch-tooltip p {
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Checkboxes */
.auth-checkboxes {
    margin-bottom: 30px;
}

.auth-checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
    user-select: none;
}

.auth-checkbox-container a {
    color: #E30427;
    text-decoration: underline;
}

.auth-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.auth-checkmark {
    position: absolute;
    top: -1px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #ccc;
    border-radius: 50%;
}

.auth-checkbox-container input:checked~.auth-checkmark {
    background-color: #E30427;
}

.auth-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.auth-checkbox-container input:checked~.auth-checkmark:after {
    display: block;
}

.auth-checkbox-container .auth-checkmark:after {
    left: 7px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Buttons */
.auth-btn {
    width: 100%;
    background-color: #E30427;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-btn:hover {
    background-color: #E30427;
}

.auth-btn.auth-btn-disabled {
    background-color: #f29c9f;
    cursor: not-allowed;
}

.auth-timer-label {
    color: #999;
}

.auth-inputs-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.auth-input-group-vertical {
    width: 100%;
    max-width: 320px;
}

.resend-link {
    color: var(--accent-color);
    text-decoration: underline;
    cursor: pointer;
}

.resend-link:hover {
    text-decoration: none;
}

/* Account */

#account {
    height: 100vw;
    position: relative;
}

@media only screen and (min-width: 768px) {
    #account {
        height: 34vw;
    }
}

.profile-layout {
    max-width: 45em;
    margin: 0 auto;
    padding: 2em 0;
}

.scratch-banner {
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: center;
    background-color: #000;
    color: #fff;
    border-radius: 1em;
    gap: 0.5em;
    padding: 0.6em 0.6em 0.6em 0.7em;
    margin: 0 auto 5em;
    width: 100%;
}

@media only screen and (min-width: 768px) {
    .scratch-banner {
        border-radius: 10em;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        max-width: 35em;
    }
}

.scratch-banner-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7em;
    font-size: 1.1em;
}

@media only screen and (min-width: 768px) {
    .scratch-banner-left {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.7em;
        font-size: 1em;
    }
}

.scratch-icon-wrap {
    width: 1.8em;
    height: 1.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scratch-icon-wrap img {
    border-radius: 50%;
    width: 100%;
    height: auto;
}

.scratch-label {
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 0.7em;
    gap: 0.5em;
}

@media only screen and (min-width: 768px) {
    .scratch-label {
        font-size: 0.85em;
    }
}


.icon-info svg {
    width: 1.1em;
    height: 1.1em;
}

.icon-edit {
    width: 1em;
    height: 1em;
}

/* Input Area inside Banner */
.scratch-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.scratch-input {
    background-color: #4D4D4D;
    border: none;
    border-radius: 10em;
    padding: 1em 10em 1em 1.8em;
    color: #fff;
    font-size: 0.7em;
    outline: none;
    width: 100%;
}

@media only screen and (min-width: 768px) {
    .scratch-input {
        width: 22em;
    }
}

.scratch-input::placeholder {
    color: #888;
    letter-spacing: 2px;
}

.scratch-submit {
    position: absolute;
    right: 0.3em;
    background-color: #fff;
    border: none;
    border-radius: 3em;
    padding: 0.5em 0.5em 0.5em 1.5em;
    font-weight: bold;
    font-size: 0.75em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5em;
    transition: opacity 0.2s;
    color: #000;
}

@media only screen and (min-width: 768px) {
    .scratch-submit {
        padding: 0.3em 0.5em 0.3em 1.5em;
    }
}

.scratch-submit:hover {
    opacity: 0.9;
}

.icon-star {
    background-color: var(--accent-color);
    border-radius: 50%;
}

.icon-gift {
    background-color: var(--accent-color);
    border-radius: 50%;
}

.icon-plus {
    background-color: var(--accent-color);
    border-radius: 50%;
    width: 1.9em;
    height: auto;
}

.icon-plus-large {
    width: 1.9em;
    height: auto;
}

.icon-arrow {
    width: auto;
    height: 1.2em;
}

.icon-check {
    width: auto;
    height: 0.7em;
}

/* User Card */
.user-card {
    border: 1px solid #eaeaea;
    border-radius: 1.4em;
    padding: 2em;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    margin-bottom: 2em;
    box-shadow: 0 0.4em 1em rgba(0, 0, 0, 0.02);
}

@media only screen and (min-width: 768px) {
    .user-card {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
    }
}

.user-details {
    flex: 1;
}

.user-row {
    align-items: center;
    margin-bottom: 1.5em;
    font-size: 1em;
}

@media only screen and (min-width: 768px) {
    .user-row {
        display: grid;
        grid-template-columns: 120px 1fr;
        align-items: center;
        margin-bottom: 25px;
        font-size: 16px;
    }
}

.user-label {
    color: #888;
    display: flex;
    align-items: center;
    font-size: 0.8em;
    margin-bottom: 0.2em;
}

@media only screen and (min-width: 768px) {
    .user-label {
        gap: 0.3em;
        font-size: 1em;
    }
}

.user-value {
    font-weight: 500;
}

/* User Stats */
.user-stats {
    display: flex;
    gap: 2em;
    margin-bottom: 1.5em;
}

@media only screen and (min-width: 768px) {
    .user-stats {
        display: flex;
        gap: 2em;
        padding-top: 0.5em;
        margin-bottom: 0;
    }
}

.stat-block {
    display: flex;
    align-items: flex-start;
    gap: 0.9em;
}

@media only screen and (min-width: 768px) {
    .stat-block {
        gap: 0.8em;
    }
}

.bg-red {
    background-color: var(--accent-color);
    width: 1.8em;
    height: 1.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-count {
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1em;
    line-height: 1;
    display: inline-block;
    margin-bottom: 0.2em;
}

.stat-desc {
    font-size: 0.6em;
    line-height: 1em;
    display: inline-block;
    color: #888;
}

@media only screen and (min-width: 768px) {
    .stat-count {
        font-size: 1.5em;
        font-weight: bold;
        line-height: 1.2em;
        line-height: 1;
        margin-bottom: 0.25em;
    }

    .stat-desc {
        font-size: 0.7em;
        color: #888;
    }
}


/* Prizes List */
.prizes-list {
    display: flex;
    flex-flow: row wrap;
    flex-direction: column;
    gap: 0.7em;
}


.prize-title {
    flex: 0 0 100%;
    margin: 0.8em 0;
}

.prize-button {
    flex: 0 0 100%;
    display: flex;
    justify-content: space-between;
    gap: 0.8em;
    align-items: center;
}

@media only screen and (min-width: 768px) {
    .prize-title {
        flex: 0 0 auto;
        margin: 0;
    }

    .prize-button {
        flex: 0 0 auto;
        display: block;
    }
}

.prize-item {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1em 0;
    border-bottom: 1px solid #eaeaea;
}

@media only screen and (min-width: 768px) {
    .prize-item {
        flex-flow: row nowrap;
        gap: 1em;
    }
}

.prize-item:last-child {
    border-bottom: none;
}

.prize-badges {
    display: flex;
    justify-content: space-between;
    gap: 0.6em;
    font-size: 0.9em;
    width: 100%;
}

@media only screen and (min-width: 768px) {
    .prize-badges {
        flex: 0 1 auto;
    }
}

.badge {
    padding: 0.5em 1em;
    border-radius: 20px;
    font-size: 0.75em;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.badge-grey {
    background-color: #f2f2f2;
    color: #333;
}

.badge-green {
    background-color: #e6f7eb;
    color: #18b25b;
    font-weight: 500;
}

.prize-title {
    flex: 1;
    font-size: 0.85em;
    font-weight: 500;
}

@media only screen and (min-width: 768px) {
    .prize-title {
        flex: 1 1 100%;
    }
}

.button_red_outline {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 4rem;
    padding: 0.7em 1.4em;
    font-size: 0.75em;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    white-space: nowrap;
    transition: background 300ms ease;
}

.button_red_outline:hover {
    background-color: #fff0f1;
}

.button_red_outline img {
    width: 1.3em;
    height: auto;
    display: inline-block;
}

@media only screen and (min-width: 768px) {
    .button_red_outline {
        border-radius: 4rem;
        padding: 0.5em 1.1em;
        font-size: 0.8em;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.4em;
        white-space: nowrap;
    }
}

/* Bottom Action */
.bottom-action-container {
    text-align: center;
    margin-top: 50px;
}

/* Subscription modal */

.sub-title {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 1.3;
}

.sub-block {
    margin-bottom: 35px;
}

.sub-block:last-child {
    margin-bottom: 0;
}

.sub-label {
    display: block;
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
}

.sub-value {
    display: block;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

.sub-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-toggle-label {
    color: #999;
    font-size: 14px;
    line-height: 1.3;
}

/* Custom Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
    background-color: #e3001b;
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(22px);
}

/* Popup scratches */

.popup-scratch {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7em 0;
    border-bottom: 1px solid #d1d1d1;
}

.popup-scratch>div:first-child {
    background: #F2F2F2;
    font-size: 0.8em;
    padding: 0.3em 1em;
    border-radius: 10em;
}

.popup-scratch>div:last-child {
    font-weight: 600;
}

.popup-status {
    text-align: center;
}

.popup-status h2 {
    margin-bottom: 0.8em;
}

.popup-status>img {
    width: 3.7em;
    height: auto;
    display: inline-block;
    margin-bottom: 0.7em;
}

.popup-status h3 {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 0.3em;
}

.popup-status p {
    color: #737373;
    font-size: 0.8em;
    margin-bottom: 1.3em;
}