:root {
    --ui-primary: white;
    --ui-accent: white;
    --ui-background: rgba(0, 0, 0, 0.95);
    --base-background: black;
}

#game-rules-rtp::after {
    content: '%';
}

@font-face {
    font-family: 'Gilroy';
    font-weight: normal;
    src: url('../assets/fonts/Gilroy-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Formula Condensed Bold';
    font-weight: bold;
    src: url('../assets/fonts/FormulaCondensed-Bold.otf') format('opentype');
}

* {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

html {
    -ms-touch-action: none;
}

body,
canvas,
div {
    display: block;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    margin: 0;

    cursor: default;
    color: #000000;

    text-align: center;
    font-family: 'Gilroy', Helvetica, Verdana, Arial, sans-serif;

    display: flex;
    flex-direction: column;

    min-width: 300px;

    overflow: hidden;
}

.payline {
    display: flex;
    flex-direction: column;
    height: 60px;
    flex-wrap: wrap;
    width: 100px;
    margin: 5px;
}

.payline-spot {
    width: 13px;
    height: 13px;
    border-radius: 1px;
    opacity: 0.3;
    background-color: var(--ui-accent);
    margin: 2px;
}

.payline-spot.lit {
    opacity: 1;
}

#game-div {
    background-size: cover;
    background-position: center;
}

.ui {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#magic-ui-div {
    position: absolute;
    bottom: 0;
    width: 100%;
}

#cheats-container {
    width: 50%;
    margin-top: 30px;
}

#session-timer {
    margin-right: 10px;
}

#top-bar {
    z-index: 150;
    opacity: 0.9;
    width: 100%;
    box-sizing: border-box;
    padding-top: 3px;
    background: var(--ui-background);
    color: var(--ui-primary);
    font-family: 'Gilroy', Helvetica, Verdana, Arial, sans-serif;
    transition: 250ms ease-in-out;
    position: fixed;
    top: 0;
    padding: 5px;
    font-size: 13px;
}

#timers-container {
    width: fit-content;
    display: flex;
    justify-content: space-around;
}

.button.disabled {
    pointer-events: none;
    opacity: 0.5;
}

#top-bar.deactive {
    top: -30px !important;
}

#pay-table {
    width: 100%;
    height: 100%;
    color: var(--ui-accent);
    position: fixed;
    transform-origin: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 110;
    border-radius: 16px 16px 16px 16px;
    overflow-y: auto;
}

#pay-table-content {
    margin: 30px;
    overflow-y: scroll;
}

.icon {
    width: 16px;
    height: 16px;
    float: left;
    opacity: 0.6;
    margin-right: 3px;
}

.icon.stopwatch {
    background: url('../assets/icons/stopwatch.svg') no-repeat center;
    background-size: cover;
}

.icon.clock {
    background: url('../assets/icons/clock.svg') no-repeat center;
    background-size: cover;
}

#session-data-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

#free-spin-bar.deactive {
    display: none;
}

#pay-table .payout li {
}

#free-spin-data {
    float: left;
    width: 50%;
}

#free-spin-winnings {
    float: right;
    width: 50%;
}

#free-spins-data-label {
    color: rgba(255, 255, 255, 0.6);
    padding-right: 5px;
}

#free-spins-winnings-label {
    color: rgba(255, 255, 255, 0.6);
    padding-right: 5px;
}

.ui-bar {
    width: 100%;
    flex-direction: column;
    height: 110px;
    background: var(--ui-background);
    display: flex;
    color: var(--ui-primary);
    font-family: 'Gilroy', Helvetica, Verdana, Arial, sans-serif;
    justify-content: space-around;
    transition: 250ms ease-in-out;
    border-radius: 16px 16px 0 0;
    z-index: 1;
}

.top-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.wide-screen {
    width: 100%;
    display: none !important;
}

.data-block {
    width: 33%;
    padding: 4px;
    border-radius: 4px;

    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.data-block .center {
    text-align: center;
}

.data-block .right {
    text-align: right;
}

.button {
    cursor: pointer;
}

.button:active {
    /* transform: scale(0.95, 0.95); */
}

.rectangle-button {
    max-width: 100px;
    background: rgba(255, 255, 255, 0.1);
}

.block-controls {
    display: flex;
    margin: 16px;
    gap: 16px;
}

.balance-block {
    display: flex;
    justify-content: space-between;
    margin: 8px;
    padding: 5px 0 5px;
}

.data-block .label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

#bet-button-desktop {
    position: relative;
}

#bet-button-mobile {
    position: relative;
}

#bet-button-desktop.bonus {
    outline: 2px solid goldenrod;
}

#bet-button-mobile.bonus {
    outline: 2px solid goldenrod;
}

.data-block .data {
    font-size: 14px;
}

.active {
    background: var(--ui-accent) !important;
    color: var(--ui-background) !important;
}

.active .label {
    color: var(--ui-background) !important;
}

.deactive {
    /**/
}

.action-deactive {
    background: var(--ui-accent) !important;
    pointer-events: none;
    filter: saturate(0.3);
}

#mini-social-button.inactive {
    pointer-events: none;
    filter: saturate(0.3);
}

.round-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.round-button .active {
    cursor: default;
}

.close-button {
    width: 25px;
    height: 25px;
    position: absolute;
    right: 15px;
    top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.action-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--ui-accent);
    position: fixed;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 70px;
    z-index: 100;
    transition: 250ms ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px var(--ui-background);
}

.action-button:active {
    transform: translate(0, 3px) scale(0.97, 0.97);
    box-shadow: 0 0;
}

.glow {
    background: url('../assets/icons/glow.png');
    background-size: cover;
    width: 90%;
    height: 90%;
    position: absolute;
    animation-name: spinner-glow;
    animation-iteration-count: infinite;
    animation-duration: 3s;
    animation-timing-function: linear;
}

@keyframes spinner-glow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.overlay {
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.overlay.hidden {
    display: none;
}

.action-button.hidden {
    display: none;
}

.dialog {
    border: 1px solid rgb(78, 78, 78);
    color: var(--ui-primary);
    z-index: 110;
    background-color: var(--ui-background);
    max-width: 300px;
    max-height: 255px;
    position: fixed;
    padding: 15px;
    top: 50%;
    left: 50%;
    border-radius: 16px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#general-error-code {
    margin-bottom: 30px;
    color: lightgray;
}

.dialog.hidden {
    display: none;
}

.dialog-icon {
    width: 100%;
    height: 55px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#bet-lock-icon.hidden {
    visibility: hidden;
}

#bet-lock-icon-mobile.hidden {
    visibility: hidden;
}

.dialog-icon.gift {
    background-image: url('../assets/icons/Type=Gift, Size=Md.svg');
}

.dialog-icon.out-of-funds {
    background-image: url('../assets/icons/Out of funds.svg');
}

.lock-icon-bfr {
    background-image: url('../assets/icons/Type=Lock, Size=Sm.svg');
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    filter: brightness(0.2);
    transform: scale(0.75);
}

.dialog-icon.general-error {
    background-image: url('../assets/icons/Info.svg');
}

.dialog h1 {
    font-size: 1.5em;
    margin-bottom: 2px;
}

.dialog p {
    font-size: 13px;
    margin-bottom: 18px;
}

.dialog button {
    cursor: pointer;
    width: 100%;
    padding: 10px;
    background: var(--ui-accent);
    border-radius: 8px;
    margin-bottom: 5px;
    font-weight: bold;
    font-family: 'Gilroy', Helvetica, Verdana, Arial, sans-serif;
    border: none;
}

.action-button:active .glow {
    transform: rotate(50deg);
}

/** ICON IMAGES **/
.button-picture {
    width: 80%;
    height: 80%;
    box-sizing: border-box;
}

.action-img {
    background: var(--ui-background);
    width: 50%;
    height: 50%;
    mask-image: url('../assets/icons/action.svg');
    mask-size: cover;
    -webkit-mask-image: url('../assets/icons/action.svg');
    -webkit-mask-size: cover;
}

.active .sound-img {
    background: var(--ui-background);
    mask-image: url('../assets/icons/sound-on.svg');
    mask-size: cover;
    -webkit-mask-image: url('../assets/icons/sound-on.svg');
    -webkit-mask-size: cover;
}

.active .quick-action-img {
    background: var(--ui-background);
    mask-image: url('../assets/icons/quick-action.svg');
    mask-size: cover;
    -webkit-mask-image: url('../assets/icons/quick-action.svg');
    -webkit-mask-size: cover;
}

.active .menu-img {
    background: var(--ui-background);
    mask-image: url('../assets/icons/menu.svg');
    mask-size: cover;
    -webkit-mask-image: url('../assets/icons/menu.svg');
    -webkit-mask-size: cover;
}

.auto-action-img {
    background: url('../assets/icons/auto-action.svg') no-repeat center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.menu-img {
    background: url('../assets/icons/menu.svg') no-repeat center;
    background-size: cover;
}

.close-img {
    background: url('../assets/icons/menu/close.svg') no-repeat center;
    background-size: cover;
}

.chev-img {
    background: url('../assets/icons/menu/chev.svg') no-repeat center;
    background-size: cover;
    opacity: 1;
}

.back {
    background: url('../assets/icons/menu/chev.svg') no-repeat center;
    background-size: cover;
    transform: rotate(180deg);
    opacity: 1;
}

.gamerules-img {
    background: url('../assets/icons/menu/gamerules.svg') no-repeat center;
    background-size: cover;
}

.rewards-img {
    background: url('../assets/icons/menu/rewards.svg') no-repeat center;
    background-size: cover;
}

.exitgame-img {
    background: url('../assets/icons/menu/exitgame.svg') no-repeat center;
    background-size: cover;
}

.gamehistory-img {
    background: url('../assets/icons/menu/gamehistory.svg') no-repeat center;
    background-size: cover;
}

.paytable-img {
    background: url('../assets/icons/menu/paytable.svg') no-repeat center;
    background-size: cover;
}

.deactive .sound-img {
    background: url('../assets/icons/sound-off.svg') no-repeat center;
    background-size: cover;
}

.deactive .quick-action-img {
    background: url('../assets/icons/quick-action.svg') no-repeat center;
    background-size: cover;
}

/*
   BET SELECTOR
 */
#bet-selector {
    margin: 0 auto;
}

.window {
    position: relative;
    max-width: 420px;
    width: 100%;
    background-color: var(--ui-background);
    opacity: 0.95;
    border-radius: 16px;
}

.window-title {
    font-family: 'Gilroy', Helvetica, Verdana, Arial, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: -0.3px;
    color: var(--ui-primary);
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bet-elements {
    display: grid;
    padding: 24px;
    grid-template-columns: auto auto auto;
    grid-gap: 10px;
    justify-items: center;
}

.menu-elements {
    display: flex;
    color: var(--ui-primary);
    flex-direction: column;
    padding: 8px;
}

.menu-item {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 64px;
    justify-content: space-between;
    align-items: center;
    margin: 4px;
    cursor: pointer;
}

.menu-item-label {
    width: 80%;
    margin-left: 10px;
    text-align: left;
}

.menu-icon {
    width: 30px;
    height: 30px;
    margin-left: 25px;
    margin-right: 10px;
}

.bet-value-button.bonus {
    outline: 2px solid goldenrod;
}

.bet-value-button {
    font-family: 'Gilroy', Helvetica, Verdana, Arial, sans-serif;
    color: var(--ui-primary);
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    line-height: 170%;
    background: rgba(255, 255, 255, 0.1);
    max-width: 120px;
    width: 100%;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.backlay {
    width: 100%;
    position: absolute;
    height: 100%;
    z-index: 0;
}

.windows-section {
    width: 100%;
    max-width: 800px;
    margin-bottom: 2px;
    display: flex;
    justify-content: center;
    z-index: 100;
}

/* LOADING SCREEN */
.loading-screen {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--base-background);
    flex-direction: column;
    width: 100%;
    height: 100%;
    z-index: 300;
    top: 0;
}

.loading-bar {
    width: 400px;
    height: 30px;
    border: solid 2px #7ef7b1;
    background: rgba(15, 6, 69, 0.95);
    padding: 5px;
    border-radius: 10px;
}

#main-ui {
    z-index: 95;
}

.loading-bar-inside {
    width: 65%;
    height: 100%;
    background-color: #7ef7b1;
    border-radius: 5px;
}

#main-ui.hidden {
    visibility: hidden;
}

#intro.hidden {
    display: none;
}

#intro {
    position: fixed;
    z-index: 130;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    background-color: var(--ui-background);
    color: white;
    padding: 15px;
    overflow: hidden;
}

#intro-controls {
    width: 100%;
}

#intro-start-button {
    background-color: var(--ui-accent);
    color: var(--ui-background);
    font-family: 'Gilroy', Helvetica, Verdana, Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    border-width: 0px;
    cursor: pointer;
    margin-top: 15px;
}

.not-used {
    display: none !important;
}

#intro-skip-switch {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Gilroy', Helvetica, Verdana, Arial, sans-serif;
    font-size: 11px;
    width: 100%;
    border-radius: 8px;
    border-width: 0px;
    cursor: pointer;
    margin-top: 5px;
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
}

#intro-skip-switch span {
    padding: 10px;
}

#intro-skip-toggle {
    background-color: rgba(100, 100, 100, 0.5);
    height: 22px;
    width: 37px;
    margin-right: 15px;
    border-radius: 11px;
    margin-top: 1px;
    transition: background-color 0.3s;
}

#intro-skip-toggle.enabled {
    background-color: rgba(255, 255, 255, 0.5);
}

#intro-skip-toggle-stem {
    height: 18px;
    width: 18px;
    border-radius: 11px;
    background-color: white;
    margin: 2px;
    transform: translateX(0);
    transition: transform 0.3s;
}

#intro-skip-toggle-stem.enabled {
    transform: translateX(15px);
}

#skip-next-time-button {
    position: absolute;
    bottom: 50px;
    background-color: var(--ui-background);
    color: white;
    font-family: 'Gilroy', Helvetica, Verdana, Arial, sans-serif;
    font-size: 12px;
    padding: 10px;
    border-radius: 12px;
    border-width: 0px;
    cursor: pointer;
}

.intro-page {
    position: absolute;
    height: 57%;
}

.intro-page.from-left {
    animation-fill-mode: forwards;
    animation-name: anim-from-left;
    animation-duration: 300ms;
    animation-timing-function: ease-in-out;
}

.intro-page.from-right {
    animation-fill-mode: forwards;
    animation-name: anim-from-right;
    animation-duration: 300ms;
    animation-timing-function: ease-in-out;
}

.intro-page.to-left {
    animation-fill-mode: forwards;
    animation-name: anim-to-left;
    animation-duration: 300ms;
    animation-timing-function: ease-in-out;
}

.intro-page.to-right {
    animation-fill-mode: forwards;
    animation-name: anim-to-right;
    animation-duration: 300ms;
    animation-timing-function: ease-in-out;
}

@keyframes anim-from-left {
    from {
        transform: translateX(-150%);
    }

    to {
        transform: translateX(0%);
    }
}

@keyframes anim-from-right {
    from {
        transform: translateX(150%);
    }

    to {
        transform: translateX(0%);
    }
}

@keyframes anim-to-left {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-150%);
    }
}

@keyframes anim-to-right {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(150%);
    }
}

.intro-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 16px;
    background-size: contain;
    background-repeat: no-repeat;
}

#intro-content {
    font-size: 14px;
    width: 100%;
    pointer-events: none;
    padding-left: 10px;
    padding-right: 10px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#pay-table {
    position: fixed;
    width: 100%;
    z-index: 120;
    color: white;
    bottom: 112px;
    max-height: calc(100% - 110px);
    overflow: hidden;
    height: 100%;
    visibility: hidden;
    max-width: 800px;
}

#pay-table-container {
    border-radius: 16px;
    background-color: var(--ui-background);
    position: absolute;
    bottom: 0px;
    width: 100%;
    margin-right: 0px;
    height: 85%;
    left: 0px;
}

#pay-table-container ::-webkit-scrollbar {
    display: block !important;
}

#pay-table-container ::-webkit-scrollbar {
    width: 4px;
    display: none;
}

#pay-table-container ::-webkit-scrollbar-track {
    background: none;
}

#pay-table-container ::-webkit-scrollbar-thumb {
    background-color: white;
    border-radius: 10px;
    border: none;
}

#pay-table .page-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    background-image: url('../assets/icons/menu/chev.svg');
    background-repeat: no-repeat;
    background-position: center;
}

#intro .page-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    background-image: url('../assets/icons/menu/chev.svg');
    background-repeat: no-repeat;
    background-position: center;
}

#pay-table-arrows,
#intro-arrows {
    display: flex;
    justify-content: space-between;
    margin-left: 32%;
    margin-right: 32%;
}

#pay-table-pagination,
#intro-pagination {
    width: 100%;
    bottom: 0;
    left: 0;
}

#pay-table-pagination {
    position: absolute;
}

#pay-table-page-indicators,
#intro-page-indicators {
    display: flex;
    justify-content: center;
    margin: 20px;
    margin-left: 26%;
    margin-right: 26%;
}

#pay-table-content {
    margin: 30px;
}

.pay-table-page-indicator,
.intro-page-indicator {
    height: 3px;
    width: 10px;
    margin: 2px;
    background-color: grey;
    border-radius: 1px;
}

.payout .left {
    color: var(--ui-accent);
}

.pay-table-page-indicator.highlit {
    background-color: var(--ui-accent);
}

.intro-page-indicator.highlit {
    background-color: var(--ui-accent);
}

#pay-table h1 {
    padding-left: 40px;
    margin-bottom: 50px;
}

#pay-table .payout {
    margin: 0 auto;
    display: inline-flex;
}

#net-position-container {
    width: fit-content;
}

#pay-table-content {
    margin: 30px;
    height: 100%;
}

#pay-table .payout ul {
    list-style: none;
    font-size: 24px;
    padding: 10px;
    text-align: left;
    margin-left: 10px;
}

#pay-table .symbol-table {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    align-content: flex-end;
    align-items: flex-end;
}

#autoPlayButton {
    visibility: hidden;
}

#quickActionButton {
    visibility: hidden;
}

#game-rules {
    position: fixed;
}

#game-history-round-details {
    padding: 10px;
}

#game-history-round-details table {
    width: 100%;
    text-align: left;
}

#game-history-round-details th {
    width: 25%;
    text-align: left;
    vertical-align: top;
}

#game-history-round-details td,
#game-history-round-details th {
    padding: 10px;
}

#game-history-round-details tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.08);
}

#game-history-round-details th:first-child,
#game-history-round-details td:first-child {
    border-top-left-radius: 10px;
}

#game-history-round-details th:last-child,
#game-history-round-details td:last-child {
    border-top-right-radius: 10px;
}

#game-history-round-details th:first-child,
#game-history-round-details td:first-child {
    border-bottom-left-radius: 10px;
}

#game-history-round-details th:last-child,
#game-history-round-details td:last-child {
    border-bottom-right-radius: 10px;
}

#game-history {
    position: fixed;
    width: 100%;
    z-index: 120;
    color: white;
    bottom: 112px;
    max-height: calc(100% - 143px);
    overflow: hidden;
    height: 100%;
    visibility: hidden;
    top: 34px;
}

#intro .header {
    width: 100%;
}

#game-history-container {
    border-radius: 16px;
    background-color: var(--ui-background);
    position: absolute;
    /* bottom: 0px; */
    height: 100%;
    width: 100%;
}

#game-history-container .header {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background-color: var(--ui-background);
    padding: 10px;
}

#game-history-table-container::-webkit-scrollbar {
    display: none;
    width: 0px;
}

#game-history-table-container {
    max-height: calc(100% - 53px);
    overflow: auto;
    font-size: 11px;
    margin-bottom: 0px;
}

#game-history-result-table {
    text-align: left;
    position: relative;
    border-collapse: collapse;
    width: 100%;
}

#game-history-result-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.08);
}

#game-history-result-table th:first-child {
    padding-left: 10px;
}

#game-history-result-table td:first-child {
    padding-left: 10px;
}

#game-history-result-table th:last-child {
    padding-right: 10px;
}

#game-history-result-table td:last-child {
    padding-right: 10px;
}

#game-history-result-table td,
#game-history-result-table th {
    padding-top: 10px;
    padding-bottom: 10px;
}

#game-history-result-table thead tr {
    background-color: rgba(255, 255, 255, 0.25);
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#game-history-result-table td {
}

.pay-table-page {
    height: 100%;
}

#play-icon {
    cursor: pointer;
}

.action-deactive,
.inactive {
    cursor: default;
}

@media only screen and (max-width: 600px) and (orientation: portrait) {
    #intro {
        margin-top: 16px;
        height: calc(100% - 16px);
    }

    #play-icon {
        padding-top: 8px !important;
    }

    #pay-table .symbol {
        width: 24%;
        height: 14vw;
        max-width: 80px;
        max-height: 80px;
    }

    .dialog {
        width: 87%;
        max-width: 320px;
    }

    .intro-page {
        padding-left: 20px;
        padding-right: 20px;
    }

    .intro-image {
        max-height: 140px;
    }

    #skip-next-time-button {
        bottom: 9px;
        font-size: 11px;
        right: 5px;
    }

    #intro-container {
        width: 100%;
        height: 100%;
        border-radius: 0px;
    }

    .intro-image-container {
        width: 76%;
        margin-left: 12%;
    }

    .intro-text-container {
        font-size: 15px;
    }

    #intro-page-indicators {
        margin: 0px;
    }

    #game-history,
    #pay-table {
        transform: unset;
        top: unset;
        left: unset;
    }

    #pay-table-pagination {
        position: absolute;
    }

    #pay-table-container {
        padding-bottom: 90px;
        height: 490px;
        max-height: calc(100% - 125px);
    }

    #pay-table .payout {
        margin: 0;
    }

    #pay-table .payout ul {
        font-size: 12px;
    }

    #pay-table-content {
        display: flex;
        align-items: center;
        height: 100%;
        padding-bottom: 70px;
        box-sizing: border-box;
        justify-content: center;
    }

    .payline {
        width: 118px;
        height: 48px;
    }
}

@media screen and (orientation: portrait) and (max-width: 605px) {
    #pay-table-arrows {
        display: flex;
        justify-content: space-between;
        margin-left: 5% !important;
        margin-right: 5% !important;
    }
}

/* MOBILE LANDSCAPE */
@media (min-width: 480px) and (max-width: 800px) and (orientation: landscape) {
    #intro {
        width: 100% !important;
        height: 100% !important;
    }

    #play-icon {
        padding-top: 8px !important;
    }

    #game-history,
    #pay-table {
        bottom: 54px;
        max-height: calc(100% - 54px);
        transform: unset;
        top: unset;
        left: unset;
    }

    #game-history-table-container {
        max-height: 225px;
    }

    #pay-table-container {
        height: 95%;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0;
    }

    #intro-container {
        width: 90%;
        height: 90%;
        max-width: 90%;
    }

    #intro-content {
        height: 57%;
        padding-left: 60px;
        padding-right: 60px;
        font-size: 16px;
        box-sizing: border-box;
    }

    .intro-page {
        height: 45%;
        margin-right: 80px;
        margin-left: 80px;
    }

    .intro-text-container {
        width: 70%;
        text-align: left;
        margin-right: 15px;
    }

    .intro-image-container {
        width: 36%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #intro-pagination {
        position: fixed;
        width: 100%;
        bottom: 57px;
        left: 0;
        display: flex;
        justify-content: center;
    }

    .intro-image {
        max-width: 140px;
        max-height: 140px;
    }

    #intro .header h3 {
        text-align: left;
        margin-left: 60px;
    }

    .intro-page-content {
        display: flex;
        align-items: flex-start;
        flex-direction: row-reverse;
        justify-content: flex-end;
        height: 100%;
    }

    #net-position-container {
        width: auto;
    }

    #intro-buttons {
        display: flex;
        margin-left: 60px;
        margin-right: 60px;
    }

    #intro-skip-switch {
        margin-right: 15px;
        width: 200%;
        font-size: 13px;
    }

    #intro-start-button {
        font-size: 17px;
    }

    .action-button {
        position: fixed;
        top: auto;
        left: auto;
        bottom: 72px;
        right: 16px;
    }

    #pay-table-content {
        margin: 0px;
        height: calc(100% - 100px);
        margin-left: 100px;
        margin-right: 100px;
    }

    #pay-table-page-indicators {
        margin-left: 43%;
        margin-right: 43%;
    }

    #intro-arrows {
        width: 100%;
        align-items: center;
        top: 0px;
        position: fixed;
        height: calc(100% - 110px);
        margin-left: 0px;
        margin-right: 0px;
        padding: 15px;
        box-sizing: border-box;
        top: 55px;
        bottom: 55px;
    }

    #pay-table-arrows {
        width: 96%;
        align-items: center;
        top: 0px;
        position: fixed;
        height: 100%;
        margin-left: 2%;
        margin-right: 2%;
    }

    #pay-table-content h2 {
        margin: 0px;
        font-size: 16px;
    }

    #timers-container {
        width: auto;
        display: flex;
        justify-content: space-around;
        padding-left: 10px;
        padding-right: 10px;
    }

    #session-timer {
        padding-right: 10px;
    }

    #net-position-container {
        padding-right: 10px;
    }

    .ui-bar {
        height: 62px;
    }

    .round-button {
        width: 32px;
        height: 32px;
    }

    .balance-block {
        max-width: 300px;
    }

    .wide-screen {
        display: flex !important;
    }

    .menu-elements {
        display: grid;
        grid-template-columns: 50% 50%;
    }

    .bet-elements {
        grid-template-columns: auto auto auto auto auto;
    }

    .bet-value-button {
        max-width: 100%;
    }

    .mobile {
        display: none !important;
    }

    .windows-section {
        width: 100%;
        max-width: 100%;
    }

    .window {
        width: 100%;
        max-width: 100%;
    }

    #pay-table .symbol-table {
        display: flex;
        flex-wrap: wrap;
        padding: 40px;
    }

    #pay-table .symbol-entry {
        width: 50%;
    }
}

/* DESKTOP PORTRAIT */
@media (max-width: 770px) and (orientation: portrait) {
    .balance-block {
        margin: -8px 0 0 0;
        text-align: left;
        padding: 0 0 5px;
    }

    .data-block {
        margin: 0 10px;
    }
}

/* DESKTOP */
@media (min-width: 770px) {
    #magic-ui-div {
        display: flex;
        justify-content: center;
    }

    #intro {
        width: 380px;
        height: 540px;
        border-radius: 14px;
        box-sizing: initial;
        top: 50%;
        margin-top: -280px;
    }

    .intro-text-container {
        margin: 20px;
    }

    #cheats-container {
        margin-top: 0px;
    }

    #top-bar {
        max-width: 400px;
        border-radius: 0 0 0px 16px;
        right: 0;
    }

    #game-history {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #pay-table {
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    #game-history-container {
        max-width: 800px;
        bottom: unset;
    }

    #pay-table-container {
        max-width: 500px;
        bottom: 65px;
        margin-right: 300px;
        padding: 20px;
        max-height: 70%;
    }

    #pay-table-content {
        margin: 5px;
    }

    #game-history-result-table th:first-child,
    #game-history-result-table td:first-child {
        border-top-left-radius: 10px;
    }

    #game-history-result-table th:last-child,
    #game-history-result-table td:last-child {
        border-top-right-radius: 10px;
    }

    #game-history-result-table th:first-child,
    #game-history-result-table td:first-child {
        border-bottom-left-radius: 10px;
    }

    #game-history-result-table th:last-child,
    #game-history-result-table td:last-child {
        border-bottom-right-radius: 10px;
    }

    #game-history-table-container {
        margin-left: 110px;
        margin-right: 110px;
        margin-bottom: 30px;
    }

    .ui-bar {
        max-width: 800px;
        margin: 16px;
        border-radius: 16px;
        height: 88px;
    }

    .pay-table-container {
        max-width: 800px;
    }

    .windows-section {
        margin-bottom: 0;
        justify-content: left;
    }

    .action-button {
        position: fixed;

        top: auto;
        left: auto;
        bottom: 132px;
        right: 48px;

        width: 120px;
        height: 120px;

        box-shadow: 0 5px var(--ui-background);
    }

    .action-button:active {
        transform: translate(0, 5px) scale(0.95, 0.95);
    }

    .action-button.active {
        cursor: pointer;
    }

    .round-button {
        width: 48px;
        height: 48px;
    }

    .balance-block {
        max-width: 300px;
    }

    .wide-screen {
        display: flex !important;
    }

    .mobile {
        display: none !important;
    }
}

/* DESKTOP PAY TABLE */
@media (min-height: 600px) and (max-width: 1000px) {
    #pay-table .symbol-entry {
        display: flex;
        flex-wrap: wrap;
    }

    #pay-table .payout ul {
        list-style: none;
        font-size: 15px;
        padding: 0px;
        text-align: left;
        margin-left: 10px;
    }

    #pay-table::-webkit-scrollbar {
        display: none;
    }

    #pay-table .symbol {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        flex-grow: 1;
        width: 100%;
        max-width: 130px;
        margin: 0 auto;
    }

    #pay-table .symbol-table {
        display: flex;
        flex-wrap: wrap;
        padding: 40px;
    }

    #pay-table .symbol-entry {
        width: 50%;
    }

    #pay-table .payout {
    }

    #pay-table .symbol-entry {
        width: 50%;
    }
}

#rotate-phone {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000000;
    background-image: url('../assets/icons/rotate-phone.svg');
    background-size: 20%;
    z-index: 1000000;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.1s linear;
}

@media (orientation: portrait) {
    #rotate-phone {
        display: none;
    }
}

/*MINI SOCIAL*/

#social-iframe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#social-iframe-underlay {
    position: relative;
    width: 100%;
    height: 94%;
    overflow: hidden;
}

#social-iframe {
    max-width: 820px;
    border: none;
    border-radius: 8px;
}

.no-scroll {
    overflow: hidden;
}

#mini-social-button {
    background: none;
    border: none;
    cursor: pointer;
}

.social-mini-egg {
    width: 28px;
    height: 30px;
    background: center no-repeat;
    background-size: cover;
    z-index: 1;
    margin-top: 10px;
    position: absolute;
}

.blue-egg {
    background-image: url('../assets/icons/minisocial/egg_blue.svg');
}

.red-egg {
    background-image: url('../assets/icons/minisocial/egg_red.svg');
}

.yellow-egg {
    background-image: url('../assets/icons/minisocial/egg_yellow.svg');
}

#mini-social-progression {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    position: relative;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.mini-social-updating {
    animation: blink 1s linear infinite;
}

@keyframes tilt-n-move-shaking {
    0% {
        transform: rotate(0deg);
    }
    3% {
        transform: rotate(20deg);
    }
    6% {
        transform: rotate(0deg);
    }
    9% {
        transform: rotate(-10deg);
    }
    12% {
        transform: rotate(0deg);
    }
    15% {
        transform: rotate(20deg);
    }
    18% {
        transform: rotate(0deg);
    }
    21% {
        transform: rotate(-10deg);
    }
    24% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.mini-social-redeem {
    animation: tilt-n-move-shaking 3s linear infinite;
}

.mini-social-grow {
    transition: stroke-dashoffset 0.5s;
}

#versionInfo {
    display: none;
    color: gray;
    font-size: 10px;
    padding-bottom: 15px;
}
