/*
 * rules.css — porte da tela de regras do original.
 *
 *   1. CSS do core 36.1.3 (bloco de regras embutido no bundle)
 *   2. rules.css do jogo (cdn.akamaipics.net/prod/webx.slots.mm59n/6.8.0/rules.css)
 *   3. o <style> que o BaseRules.setColor() injeta em runtime (cor #ff8904)
 */

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/31012f9b3e3da44f87e8.woff") format("woff");
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/b14ca2d2b289afceb0b0.woff") format("woff");
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("/fonts/88d7f1b3ca9a9494d8e3.woff") format("woff");
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    padding: 0;
}

h2 {
    overflow-wrap: break-word;
}

section {
    margin-bottom: 70px;
}

.section--clear {
    margin-bottom: 0;
}

body {
    font-family: var(--custom-font-family-rules);
    font-size: 22px;
    min-width: 320px;
    position: relative;
    line-height: normal;
    overflow-x: hidden;
    color: #fefefe;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.content-wrapper {
    color: #fefefe;
    position: relative;
    height: 100%;
    display: block;
    -webkit-transition: visibility 0.2s, opacity 0.2s linear;
    -o-transition: visibility 0.2s, opacity 0.2s linear;
    transition: visibility 0.2s, opacity 0.2s linear;
    opacity: 0;
    visibility: hidden;
}

.content-wrapper .simplebar-track {
    background: #6f6f7d;
}

.content-wrapper .simplebar-scrollbar:before {
    background: #dedede;
    border-radius: 7px;
}

.content-wrapper .simplebar-scrollbar.simplebar-visible:before {
    opacity: 1;
}

.content-wrapper .simplebar-track.simplebar-vertical {
    width: 12px;
}

.content-wrapper .simplebar-track.simplebar-horizontal {
    height: 12px;
}

.rules-main {
    max-width: 1100px;
    margin: 0 auto 100px;
    position: relative;
    padding: 0 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    touch-action: pan-y;
}

.rules-main::before {
    content: "";
    display: block;
    width: 100%;
    height: 75px;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 3;
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(black),
        color-stop(50%, rgba(0, 0, 0, 0.75)),
        to(transparent)
    );
    background-image: -o-linear-gradient(black, rgba(0, 0, 0, 0.75) 50%, transparent);
    background-image: linear-gradient(black, rgba(0, 0, 0, 0.75) 50%, transparent);

    pointer-events: none;
    transition: 0.6s;
}

.rules-main.hidden-before::before {
    opacity: 0;
}

#rules {
    margin-top: 20px;
}

.wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.wrapper--center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.wrapper--between {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.wrapper--around {
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.wrapper--align-center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.wrapper--no-wrap {
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.img-responsive {
    max-width: 80%;
    height: auto;
    min-width: 1px;
    min-height: 1px;
}

.wild-image-big,
.wild-image-small {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
}

.wild-image-big {
    max-width: 70%;
}

.wild-image-small {
    max-width: 30%;
}

.wild-small-text {
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    max-width: 30%;
    text-align: center;
    padding: 0 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-right: auto;
}

.wild-big-text {
    -webkit-box-ordinal-group: 1;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
}

.back-arrow {
    position: fixed;
    top: 10px;
    cursor: pointer;
    z-index: 10;
}

@media (max-width: 1220px) {
    .back-arrow {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

.back-arrow img {
    height: auto;
    max-width: 35px;
}

@media (max-width: 768px) {
    .back-arrow img {
        max-width: 28px;
    }
}

.more-icon {
    display: inline-block;
    cursor: pointer;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 0 11px 15px;
    border-color: transparent transparent transparent var(--active-color);
    position: relative;
    top: 2px;
}

.more-icon img {
    display: none;
}

.logoContainer {
    text-align: center;
    margin-top: 10px;
}

.heading {
    font-size: 40px;
    margin-bottom: 54px;
    font-weight: 500;
    line-height: normal;
}

.heading--center {
    text-align: center;
}

.heading--h3 {
    font-size: 34px;
}

.tournamentsImgContainer {
    text-align: center;
}

.tournamentsPadding {
    padding-left: 10%;
}

.text {
    font-size: 22px;
    color: #fefefe;
    margin-bottom: 54px;
    width: 100%;
}

.text--center {
    text-align: center !important;
}

.text--noMargin {
    margin-bottom: 0;
}

.text ol {
    margin-bottom: 0;
    margin-top: 25px;
}

.text ol li:not(:last-child) {
    margin-bottom: 30px;
}

.text p:not(:last-of-type) {
    margin-bottom: 25px;
}

.text p:not(:last-child) {
    margin-bottom: 25px;
}

.tournamentsSubHeader {
    font-size: 30px;
}

.containerMargin {
    margin-bottom: 54px;
}

.paytableItem {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 22px;
    color: #fefefe;
    padding: 0 20px;
    width: -webkit-calc(100% / 4 - 40px);
    width: calc(100% / 4 - 40px);
    margin-bottom: 35px;
}

.paytableItem__icon {
    max-width: 100%;
    margin-bottom: 20px;
}

.paytableItem .textAccent {
    margin-left: 10px;
}

.paytableItem.wide {
    width: -webkit-calc(100% / 3 - 50px);
    width: calc(100% / 3 - 50px);
}

.paytableItem--row {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.paytableItem--wrapper {
    margin-bottom: 35px;
}

.textAccent {
    font-weight: 900;
}

.wildItem {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 1px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 15px;
    width: 100%;
    text-align: center;
}

.wildItem--one {
    max-width: 600px;
}

.wildItem--two {
    max-width: 320px;
}

.wildItem--three {
    max-width: -webkit-calc(100% / 3 - 100px);
    max-width: calc(100% / 3 - 100px);
}

.featureItemSmall {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: -webkit-calc(30% - 50px);
    max-width: calc(30% - 50px);
    margin-bottom: 60px;
    min-width: 1px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
}

.featureItemBig {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: -webkit-calc(70% - 50px);
    max-width: calc(70% - 50px);
    margin-bottom: 60px;
    min-width: 1px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
}

.ways-wrapper {
    margin-bottom: 20px;
}

.ways {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 20%;
    padding: 0 5px 50px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.ways--small {
    min-width: auto;
    padding: 10px 10px;
}

.waysIcon {
    margin-bottom: 20px;
}

.controlsIcon {
    margin-right: 40px;
    -webkit-align-self: flex-start;
    -ms-flex-item-align: start;
    align-self: flex-start;
}

.controlsItem {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.controlsItem:not(:last-of-type) {
    margin-bottom: 30px;
}

.controlsItem .text {
    margin: 0;
}

.spoiler .more-icon {
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.spoiler.active .more-icon {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.spoiler:not(:last-of-type) {
    margin-bottom: 20px;
}

.spoilerHeader {
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 33px;
    font-weight: 500;
}

.spoilerHeader .more-icon {
    margin-right: 20px;
}

.spoilerHeader--small {
    font-size: 27px;
}

.spoilerContent {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.4s;
    -o-transition: max-height 0.4s;
    transition: max-height 0.4s;
    margin-left: 70px;
}

.spoilerContent.active {
    -webkit-transition: max-height 0.4s;
    -o-transition: max-height 0.4s;
    transition: max-height 0.4s;
}

.spoilerContent.active .more-icon {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.jackpotsDrawRow {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: 8px;
    scrollbar-color: #dedede #6f6f7d;
    scrollbar-face-color: #dedede;
    scrollbar-track-color: #6f6f7d;
    scrollbar-shadow-color: #6f6f7d;
}

.jackpotsDrawRow::-webkit-scrollbar {
    -webkit-appearance: none;
}

.jackpotsDrawRow::-webkit-scrollbar:horizontal {
    height: 8px;
}

.jackpotsDrawRow::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 2px solid #fff;
}

.jackpotsDrawRow::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #fff;
}

.jackpotsDrawRow div {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-right: 15px;
}

.jackpotsDrawRow div > span {
    margin-bottom: 5px;
    width: 100%;
}

.mobile .heading {
    font-size: 34px;
    margin-bottom: 20px;
}

.mobile .heading--h3 {
    font-size: 30px;
}

@media (min-width: 768px) {
    .mobile .heading {
        font-size: 40px;
    }

    .mobile .heading--h3 {
        font-size: 34px;
    }
}

.mobile .containerMargin {
    margin-bottom: 20px;
}

.mobile .rules-main {
    padding: 0 25px;
}

.mobile .wrapper--between-mobile {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.mobile .text {
    font-size: 15px;
    text-align: left;
}

.mobile .text ol {
    margin: 0;
    margin-top: 25px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .mobile .text {
        font-size: 22px;
    }
}

.mobile .tournamentsSubHeader {
    font-size: 24px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .mobile .tournamentsSubHeader {
        font-size: 30px;
    }
}

.mobile .tournamentsPadding {
    padding-left: 0;
}

.mobile .paytableItem {
    min-width: 170px;
    width: auto;
}

@media (max-width: 767px) {
    .mobile .paytableItem {
        font-size: 17px;
        -webkit-box-flex: 1;
        -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        min-width: 130px;
    }

    .mobile .paytableItem__icon {
        max-height: 100px;
        margin-bottom: 15px;
    }
}

.mobile .wildItem {
    text-align: left;
    margin-bottom: 0;
}

.mobile .wildItem img {
    max-width: 200px;
}

.mobile .wildItem p {
    width: 100%;
}

.mobile .wildItem .text {
    margin-bottom: 30px;
}

.mobile .wildItem--three {
    margin-bottom: 40px;
}

.mobile .wildMobileRow {
    max-width: -webkit-calc(50% - 30px);
    max-width: calc(50% - 30px);
}

@media (max-width: 767px) {
    .mobile .wildMobileRow img {
        max-width: 120px;
    }
}

.mobile .wildMobileColumn {
    max-width: 100%;
    margin-bottom: 40px;
}

.mobile .wildMobileColumn:last-of-type {
    margin-bottom: 0;
}

.mobile .featureItemSmall {
    max-width: 100%;
    text-align: center;
}

.mobile .featureItemBig {
    max-width: 100%;
    text-align: center;
}

.mobile .ways-wrapper {
    margin-bottom: 30px;
}

.mobile .ways {
    max-width: -webkit-calc(100% / 2);
    max-width: calc(100% / 2);
    padding: 0 20px 40px;
}

.mobile .ways--small {
    width: 100%;
    max-width: -webkit-calc(100% / 3);
    max-width: calc(100% / 3);
}

.mobile .controlsIcon {
    margin-right: 15px;
    width: 34px;
}

.mobile .spoilerContent {
    margin-left: 40px;
}

.mobile .spoilerHeader {
    font-size: 22px;
}

.mobile .spoilerHeader .more-icon {
    margin-right: 15px;
}

.mobile .spoilerHeader--small {
    font-size: 18px;
}

.mobile .wild-image-big {
    -webkit-box-ordinal-group: 4;
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
    max-width: 70%;
}

.mobile .wild-image-small {
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    max-width: 100%;
    margin-bottom: 20px;
}

.mobile .wild-small-text {
    -webkit-box-ordinal-group: 1;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    max-width: 100%;
    margin-left: auto;
    font-size: 22px;
    margin-bottom: 20px;
}

.mobile .wild-big-text {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    font-size: 22px;
}

@media (max-width: 767px) {
    .mobile .wild-small-text {
        font-size: 15px;
    }

    .mobile .wild-big-text {
        font-size: 15px;
    }
}

.paytableItem--cherry {
    width: auto !important;
}

#bonuses ol {
    list-style-type: none;
}

#bonuses .subHeader {
    font-size: 28px;
    margin-bottom: 30px;
}

.mobile .wideControlsIcon {
    min-width: 50px !important;
    max-width: 50px !important;
}

.wideControlsIcon {
    min-width: unset !important;
    max-width: 380px !important;
}

.tournamentsImgContainer > img {
    max-height: 100px;
    height: 100%;
}


/* -------------------------------- overrides do módulo MM59 (bundle) ------
 * Bloco do jogo que ajusta a paytable para 3 por linha e centraliza os
 * textos das seções de scatter/wild/respins/freeSpins/buy-bonus.
 */

.paytableItem {
    width: calc(100% / 3 - 60px) !important;
}

#wild-symbol img,
#scatter-symbol img {
    margin-top: -50px;
}

#wild-symbol p,
#scatter-symbol p,
#respins p,
#freeSpins p,
#buy-bonus-section p {
    text-align: center;
}

/* ------------------------------------------- rules.css do jogo (6.8.0) */

section {
    margin-bottom: 40px;
}
.heading {
    margin-bottom: 30px;
}
.logoContainer {
    margin-bottom: 40px;
}
.controlsIcon {
    min-width: 50px;
    max-width: 50px;
}
.back-arrow img {
    height: auto;
    max-width: none;
}
.content-wrapper::-webkit-scrollbar {
    width: 10px;
}
.wildItem {
    display: initial;
}
.mobile .wildItem {
    text-align: center;
    margin-bottom: 0;
}
ol {
    list-style-type: circle;
}
.text ol li:not(:last-child) {
    margin-bottom: 10px !important;
}

.content-wrapper {
    background-color: #000000ad;
}

/* --------------------------------------------------- BaseRules.setColor()
 * O original injeta este bloco em runtime a partir de `color: 0xff8904`.
 */

.content-wrapper .simplebar-track {
    background: #6f6f7d;
}

.content-wrapper .simplebar-scrollbar:before {
    background: #ff8904;
}

.textAccent {
    color: #ff8904;
}

.heading {
    color: #ff8904;
}

/* --------------------------------------------------------------- winlines
 * Substituto do game1/rules/WINLINES.png (ausente nos arquivos originais):
 * mesma leitura visual — número à esquerda de uma grade 3x3.
 */

.winlines {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}

.winline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    color: #fefefe;
}

.winline svg {
    display: block;
}

/* ------------------------------------------------- adaptação ao porte
 * No original o `.content-wrapper` é filho de `#game` e rola via simplebar.
 * Aqui ele é filho do <body>, então precisa se posicionar e rolar sozinho.
 */

.content-wrapper {
    position: fixed;
    inset: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 50;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ff8904 #6f6f7d;
}

.content-wrapper::-webkit-scrollbar-track {
    background: #6f6f7d;
}

.content-wrapper::-webkit-scrollbar-thumb {
    background: #ff8904;
    border-radius: 7px;
}

.rules-main {
    padding-top: 20px;
}
