.container {
    min-width: 320px;
    max-width: 425px;

    width: 100%;

    margin: 0 auto;
    padding: 0 16px;
}

/* header */
.header {
    background-image: url("../images/header-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    padding: 12px 0;
}

.header-logo {
    display: flex;
    align-items: center;

    gap: 4px;

    width: fit-content;

    margin-bottom: 12px;
}

.header-logo-img {
    display: block;

    width: 150px;
    height: auto;
}

.header-logo-text {
    color: var(--secondary-color);
    font-family: "Montserrat";
    font-size: 16px;
    font-weight: 800;
    line-height: 0.55em;

    display: flex;
    flex-direction: column;
}

.header-logo-text-span {
    color: var(--main-color);
}

.header-logo-text span:nth-child(2) {
    margin-left: 20px;

    z-index: 2;
}

.header-logo-text span:nth-child(3) {
    margin-left: 36px;
}

.header-time-container {
    display: flex;
    align-items: center;

    gap: 4px;

    margin-bottom: 12px;
}

.header-time-icon {
    width: 18px;
    height: 18px;
}

.header-time-text {
    color: var(--main-color);
    font-size: 11px;
    font-weight: 500;
    line-height: 1em;
    text-transform: uppercase;
}

.header-title {
    color: var(--main-color);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.15em;
}

/* hero */
.hero {
    padding: 0 0 12px;
}

/* casino */
.casino {
    padding: 12px 0;
}

.casino-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;

    gap: 12px;
}

.casino-item {
    position: relative;
}

.casino-item-container {
    border-radius: 4px;

    background: var(--secondary-bg);
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2);

    margin-bottom: 4px;
    padding: 32px 12px 0 12px;
}

.casino-item-info {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    /* margin-bottom: 24px; */
}

.casino-item-info-left {
    width: calc((100% - 6px) * 0.66);
}

.casino-item-info-img {
    margin: 0 auto 12px;
}

.casino-item-info-bonus {
    color: #f7b13e;
    text-align: center;
    font-size: 12px;
    line-height: 1.17em;

    margin-bottom: 12px;
}

.casino-item-info-text {
    color: var(--main-color);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25em;
}

.casino-item-info-rating {
    width: calc((100% - 6px) * 0.33);

    border-left: 1px solid #4b3e61;

    padding: 16px 0 16px 24px;
}

.casino-item-info-rating-text {
    color: var(--main-color);
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.055em;

    margin-bottom: 8px;
}

.casino-item-info-rating-list {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 2px;

    margin-bottom: 6px;
}

.casino-item-info-rating-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-item-info-rating-votes {
    color: var(--main-color);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.17em;
}

.casino-item-info-rating-votes span {
    font-weight: 400;
}

.casino-item-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 8px 0;

    border: none;
    border-radius: 6px;
    background: #2d40ee;

    width: 100%;

    color: #fff;
    text-align: center;
    font-family: "Roboto";
    font-size: 14px;
    font-weight: 700;
    line-height: 1.14em;
}

.casino-item-btn-icon {
    width: 16px;
    height: 16px;
}

.casino-item-disclaimer {
    color: #9b9b9b;
    text-align: center;
    font-size: 8px;
    line-height: 1.38em;
}

.casino-item-promo {
    position: absolute;
    top: 0;
    left: 0;

    display: flex;
    align-items: stretch;
}

.casino-item-promo-text {
    padding: 5px 6px;

    border-radius: 4px 0px 0px 0px;
    background: #F7C84A;

    color: #000;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.17em;
}

.casino-item-promo::after {
    content: "";

    width: 18px;
    height: 24px;
    flex-shrink: 0;

    background-image: url("../images/provo-icon.png");

    margin-left: -1px;
}

/* quiz */
.quiz {
    padding: 40px 0;
}

.quiz-title {
    color: var(--main-color);
    text-align: center;
    font-family: "Montserrat";
    font-size: 24px;
    font-weight: 700;
    line-height: 1.13em;
    letter-spacing: -0.035em;
    text-transform: capitalize;

    margin: 0 auto 32px;
}

.quiz-title span {
    color: #ef0688;
}

.quiz-container {
    border-radius: 10px;
    border: 1px solid var(--main-accent);

    background: #120231;

    padding: 20px;
}

.quiz-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-bottom: 8px;
}

.quiz-header-text {
    color: var(--main-color);
    text-align: center;
    font-family: "Montserrat";
    font-size: 13px;
    font-weight: 700;
    line-height: 1.73em;
    letter-spacing: -0.064em;
}

.quiz-header-step-text {
    color: #b9168f;
    text-align: center;
    font-family: "Montserrat";
    font-size: 13px;
    font-weight: 600;
    line-height: 1.73em;
    letter-spacing: -0.064em;
}

.quiz-scale {
    border-radius: 8px;
    background: #0c1c52;

    width: 100%;
    height: 8px;

    margin-bottom: 12px;
}

.quiz-scale-inner {
    border-radius: 8px;
    background: linear-gradient(90deg, #fa00cb 50.96%, #1edefc 100%);

    width: auto;
    height: 8px;

    transition: width 0.5s ease-in-out;
}

.quiz-step {
    display: none;
}

.quiz-step-title {
    color: var(--main-color);
    text-align: center;
    font-family: "Montserrat";
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4em;
    letter-spacing: -0.052em;

    margin: 0 auto 12px;
}

.quiz-step-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 12px;
}

.quiz-step-item {
    border-radius: 10px;
    border: 1px solid var(--main-accent);

    background: #0a0621;

    padding: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.quiz-step-item-active {
    border: none;

    background-color: var(--main-accent);
}

.quiz-step-item-text {
    color: var(--main-color);
    text-align: center;
    font-family: "Montserrat";
    font-size: 14px;
    font-weight: 700;
    line-height: 1.61em;
    letter-spacing: -0.06em;
}

.quiz-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 10px;

    background: radial-gradient(50% 50% at 50% 50%, #ff0188 0%, #990152 100%);

    width: 100%;

    padding: 16px;
    margin-top: 16px;

    color: var(--main-color);
    text-align: center;
    font-family: "Montserrat";
    font-size: 24px;
    font-weight: 700;
    line-height: 0.94em;
    letter-spacing: -0.035em;

    transition: opacity 0.2s ease-in-out;
}

.quiz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* recommendation */
.recommendation {
    padding: 24px 0;
}

.recommendation-title {
    color: var(--main-color);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4em;
    text-transform: capitalize;

    margin-bottom: 24px;
}

.recommendation-subtitle {
    color: var(--main-color);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2em;

    margin: 44px 0 18px;
}

.recommendation-text {
    color: var(--main-color);
    font-size: 16px;
    line-height: 1.63em;

    margin-bottom: 24px;
}

.recommendation-text span {
    font-weight: 700;
}

/* faq */
.faq {
    padding: 24px 0;

    background-color: #17163c;
}

.faq-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25em;

    margin-bottom: 12px;
}

.faq-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.faq-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;

    padding: 24px;

    border-radius: 8px;
    background: var(--main-bg);
}

.faq-item-title {
    color: var(--main-color);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5em;
}

.faq-item-icon-container {
    display: block;
}

.faq-item-icon-container span {
    display: block;

    width: 21px;
    height: 3px;

    border-radius: 5px;
    background: var(--main-color);
}

.faq-item-icon-container span:nth-child(2) {
    transform: rotate(90deg);

    margin-top: -3px;

    transition: transform 0.3s ease-in-out;
}

.faq-item-icon-rotate span:nth-child(2) {
    transform: rotate(180deg);
}

.faq-item-text {
    display: none;

    color: var(--main-color);
    font-size: 16px;
    line-height: 1.6em;

    padding: 12px;
}

/* safety */
.safety {
    padding: 24px 0 40px;
}

.safety-title {
    color: var(--main-color);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5em;

    margin-bottom: 50px;
}

.safety-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 32px;
}

/* footer */
.footer {
    padding: 50px 0;

    background-color: var(--footer-bg);
}

.footer-logo {
    display: flex;
    align-items: center;

    gap: 4px;

    width: fit-content;

    margin: 0 auto 32px;
}

.footer-logo-img {
    display: block;

    width: 150px;
    height: auto;
}

.footer-logo-text {
    color: var(--secondary-color);
    font-family: "Montserrat";
    font-size: 16px;
    font-weight: 800;
    line-height: 0.55em;

    display: flex;
    flex-direction: column;
}

.footer-logo-text-span {
    color: var(--main-color);
}

.footer-logo-text span:nth-child(2) {
    margin-left: 20px;

    z-index: 2;
}

.footer-logo-text span:nth-child(3) {
    margin-left: 36px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.87);
    font-size: 12px;
    line-height: 1.67em;

    margin-bottom: 16px;
}

.footer-text span {
    font-weight: 800;
}

.footer-age {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;

    margin: 32px 0 16px;
}

.footer-age-text {
    color: var(--footer-color);
    text-align: center;
    font-family: "Montserrat";
    font-size: 12px;
    font-weight: 500;
    line-height: 1.75em;
}

.footer-age-icon {
    width: 32px;
    height: 32px;

    flex-shrink: 0;
}

.footer-cards-image {
    width: 120px;
    height: auto;

    margin: 0 auto 24px;
}

.footer-copyright {
    color: var(--footer-color);
    text-align: center;
    font-family: "Montserrat";
    font-size: 12px;
    font-weight: 500;
    line-height: 1.75em;
}

/* modal */
.modal {
    display: none;
    /* display: flex; */
    align-items: center;
    justify-content: center;

    position: fixed;
    inset: 0;

    margin: 0 auto;

    background-color: rgba(0, 0, 0, 0.5);

    width: 100%;
    max-width: 380px;
    height: 100%;

    padding: 24px;

    z-index: 10;
}

.modal-container {
    border-radius: 24px;
    background: #27144e;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);

    width: 100%;

    padding: 24px 12px;
}

.modal-title {
    color: var(--main-color);
    font-family: "Montserrat";
    font-size: 24px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: -0.035em;
    text-transform: capitalize;
    text-align: center;

    margin: 0 auto 40px;
}

.modal-title span {
    color: #ef0688;
}

.modal-img {
    width: 220px;

    margin: 0 auto 16px;
}

.modal-rating-text {
    color: var(--main-color);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.055em;
    text-align: center;

    margin: 0 auto 8px;
}

.modal-rating-list {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 2px;

    margin: 0 auto 6px;
}

.modal-rating-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-rating-votes {
    color: var(--main-color);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.17em;

    margin: 0 auto 24px;
}

.modal-rating-votes span {
    font-weight: 400;
}

.modal-bonus {
    color: #f7b13e;
    text-align: center;
    font-size: 12px;
    line-height: 1.17em;

    margin: 0 auto 16px;
}

.modal-info-text {
    color: var(--main-color);
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.17em;

    margin: 0 auto 28px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    padding: 14px;

    border: none;
    border-radius: 6px;
    background: #2d40ee;

    color: var(--main-color);
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 0.8em;
    text-transform: uppercase;
}

@media screen and (min-width: 768px) {
    .container {
        min-width: 768px;
        max-width: 1024px;

        margin: 0 auto;
        padding: 0 24px;
    }
}

/* special */
.is-none {
    display: none;
}

.is-block {
    display: block;
}

.casino-item-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
    border: none;
    border-radius: 6px;
    background: #2d40ee;
    width: 100%;
    color: #fff;
    text-align: center;
    font-family: "Roboto";
    font-size: 14px;
    font-weight: 700;
    line-height: 1.14em;
    position: relative;
    overflow: hidden;
}

.casino-item-btn-text,
.casino-item-btn-icon {
    z-index: 2;
}

.casino-item-btn-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2d40ee, #8692ff8e, #010522);
    background-size: 400% 400%;
    animation: goldShine 3s ease-in-out infinite;
    border-radius: 6px;
    z-index: 1;
}

@keyframes goldShine {

    0%,
    15% {
        left: -100%
    }

    45%,
    to {
        left: 150%
    }
}

.casino-item-btn:hover .casino-item-btn-color {
    animation: goldShineHover 3s ease-in-out infinite;
}

@keyframes goldShineHover {

    0%,
    15% {
        left: -100%
    }

    45%,
    to {
        left: 150%
    }

}

ul.modals {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

ul.modals li {
    font-size: 14px;
    text-decoration: underline;
    color: #FFD338;
    text-align: center;
    cursor: pointer;
}