@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800;900&display=swap');
:root {
    --main-font: 'Noto Sans', sans-serif;
    --info-title-font: clamp(11px, calc(2vw + 2vh), 32px);
    --adaptive-font: clamp(16px, calc(1.5vw + 0.5vh), 26px);
    --info-h2-font: clamp(9px, calc(2vw + 2vh), 30px);
}

#info p {
    font-family: 'Noto Sans', sans-serif !important;
    font-weight: 400 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*@media (orientation: portrait) {*/
/*    #info > p:last-child {*/
/*        margin-bottom: 40%;*/
/*    }*/
/*}*/

@media (orientation: landscape) {
    #info > p:last-child {
        margin-bottom: 2%;
    }
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*#menu-overlay {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100vw;*/
/*    bottom: 0;*/
/*    !*height: 100vh;*!*/
/*    overflow-y: hidden;*/
/*    overflow-x: hidden;*/
/*    box-sizing: border-box;*/
/*    background: rgba(1, 2, 16, 0.50);*/
/*    backdrop-filter: blur(20px);*/
/*    padding: 3% 5%;*/
/*    color: white;*/
/*    display: none;*/
/*}*/

#info-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    box-sizing: border-box;
    /*background: rgba(1, 2, 16, 0.50);*/
    /*backdrop-filter: blur(20px);*/
    padding: 3% 5%;
    color: white;
    display: none;
}

body.no-scroll {
    overflow: hidden;
}

.title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.paytable-title {
    font-family: var(--main-font);
    font-size: var(--info-title-font);
    color: #FFF;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

.title-underline {
    width: clamp(300px, 50vw, 800px);
    height: clamp(2px, calc(0.5vw + 0.5vh), 3px);
    background: linear-gradient(90deg, rgba(147, 154, 187, 0.00) 0%, #E03B2A 47.5%, rgba(147, 154, 187, 0.00) 97.81%);
    margin-top: 1%;
}

@media (orientation: portrait) {
    .title-underline {
        height: 2px;
    }
}

.h2-container {
    display: flex;
    align-items: baseline;
    gap: clamp(0.5vw, 1vw, 1.5vw);
    /*padding-block: clamp(1vh, 2vh, 3vh);*/
}
.triangle {
    display: flex;
    align-items: flex-end;
    height: 1em; /* базується на висоті тексту */
}
.triangle svg {
    display: block;
    height: 100%;
    width: auto;
}

h2 {
    font-size: var(--info-h2-font);
    color: #c0ddff;
    font-family: var(--main-font);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-variant: all-small-caps;
}

.header {
    font-weight: 600;
    color: #ffc10d;
    text-transform: uppercase;
}

#info-page #paytable {
    /*display: grid;*/
    grid-template-columns: repeat(auto-fit, 340px);
    gap: 3%;
    padding: 10px;
    justify-content: center;
}

#info-page .symbol {
    width: clamp(120px, calc(10vw + 10vh), 380px);
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
}

#info-page .special-symbols img {
    height: clamp(66px, calc(10vw + 10vh), 200px);
    object-fit: contain;
    margin-bottom: 10px;
}

#info-page .high-symbols img {
    height: 160px;
    object-fit: contain;
    margin-bottom: 10px;
}

#auto-symbol-13 {
    height: 200px;
}

#info-page .symbol p {
    font-family: var(--main-font);
    margin: 4px 0;
    text-align: center;
}

p {
    font-weight: 400;
    font-family: var(--main-font);
    font-size: var(--adaptive-font);
    margin: 30px 0;
    text-align: justify;
}

.play-mode {
    display: block;
    text-align: center;
}

.special-symbols {
    display: flex;
    justify-content: center;
    gap: clamp(5%, 15%, 30%);
    flex-wrap: wrap;
    margin-bottom: 40px;
}

@media (orientation: portrait) {
    .high-symbols,
    .low-symbols {
        /*display: grid;*/
        /*grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));*/
        /*gap: 20px;*/
        /*justify-content: center;*/
        /*margin-bottom: 40px;*/
        display: flex;
        justify-content: center;
        column-gap: 20px;
        gap: clamp(5%, 15%, 30%);
        flex-wrap: wrap;
        padding-bottom: 10px;
    }
    #info-page .high-symbols img {
        margin-bottom: 0;
    }
}

@media (orientation: portrait) {
    #info-page .symbol {
        width: clamp(70vmin, 100vw, 90vmax);
        margin: 0 auto;
        text-align: center;
        align-items: center;
    }
    #info-image3 {
        margin-bottom: 20px;
    }

    #info-page .high-symbols img {
        width: clamp(80px, 40vw, 240px);
        height: clamp(10vmin, 14vh, 25vmin);
    }
}

@media (orientation: portrait) and (max-width: 500px) {
    #info-page .symbol {
        width: clamp(70vw, 90vw, 95vw);
    }
}

@media (orientation: landscape) {
    .high-symbols,
    .low-symbols {
        display: flex;
        flex-wrap: wrap;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 20px;
        justify-content: center;
        margin-bottom: 40px;
    }
}

.separator {
    display: flex;
    align-items: center;
    width: clamp(300px, 50vw, 800px);
    height: clamp(2px, calc(0.5vw + 0.5vh), 3px);
    margin: 0 auto 0 auto;
    margin-bottom: 1%;
    background: linear-gradient(90deg, rgba(147, 154, 187, 0.00) 0%, #939ABB 47.5%, rgba(147, 154, 187, 0.00) 97.81%);
}

@media (orientation: portrait) {
    .separator {
        height: 2px;
    }
}

.feature-container {
    display: flex;
    flex-direction: column;
    padding: 0;
    color: white;
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start; /* щоб текст не стрибав збоку */
}

.feature-preview {
    width: clamp(300px, 80vw, 550px);
    height: auto;
    object-fit: contain;
    margin-bottom: 3%;
    display: block;
    float: none;
}

.feature-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    line-height: 1.4;
    font-family: var(--main-font);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    text-align: center;
    hyphens: auto;
    word-break: break-word;
}

.feature-text p {
    /*margin: 0 0 2em 0;*/
    text-align: center;
}

@media (orientation: portrait) {
    .feature-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /*padding: 0 5vw;*/
    }

    .feature-text {
        font-size: clamp(1rem, 3.5vw, 1.5rem);
    }
}

.paylines-container {
    margin-bottom: 50px;
}

@media (orientation: landscape) {
    .paylines-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        justify-items: start;
    }
}

@media (orientation: portrait) {
    .paylines-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        justify-items: start;
    }
}

.payline {
    flex: 1;
    display: flex;
    align-items: center;
    font-family: var(--main-font);
    font-size: var(--adaptive-font);
}

.line-box {
    width: clamp(70px, 20vw, 200px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line-number {
    width: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: right;
}

.payline-info p {
    margin-top: 20px;
}

.rtp-info {
    text-align: center;
    margin: 30px 0;
}

.rtp-info p {
    margin: 0;
}

.highlight {
    color: #DB3928;
    display: block;
    text-align: center;
    margin: 0;
}

.red-bold {
    color: #DB3928;
    font-weight: bold;
}

.info-button-container .button-info {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
}

#info p {
    font-family: var(--main-font);
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 3% 0;
}

.feature-container.jackpot {
    margin-bottom: 10%;
}

#btn-info {
    /*width: 96px;*/
    /*min-width: 96px;*/
    /*height: auto;*/
    width: clamp(50px, 10vw, 96px);
    height: auto;
    margin-right: 20px;
    flex-shrink: 0;
}

.button-info p {
    flex: 1;
    line-height: 1.6;
    margin-top: 10px;
}

ul.menu-list-items {
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    list-style-type: disc;
    padding-left: 10%;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--main-font);
    font-size: var(--adaptive-font);
    padding-bottom: 10px;
    text-align: justify;
}

ul.menu-list-items2 {
    line-height: 1.8;
    flex-wrap: wrap;
    list-style-type: disc;
    padding-left: 2%;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--main-font);
    font-size: var(--adaptive-font);
    padding-bottom: 10px;
    text-align: justify;
}

ul.menu-list-items3 {
    line-height: 1.8;
    flex-wrap: wrap;
    list-style-type: circle;
    padding-left: 2%;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--main-font);
    font-size: var(--adaptive-font);
    padding-bottom: 10px;
}

li. list {
    display: flex;
    align-items: center;
}

ul.menu-list-items li {
    margin-bottom: 10px;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.inner-bullets {
    line-height: 1.8;
    flex-wrap: wrap;
    padding-left: 3%;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--main-font);
    font-size: var(--adaptive-font);
    list-style-type: none;
}

.inner-bullets li {
    position: relative;
    line-height: 1.8;
    flex-wrap: wrap;
    list-style-type: disc;
    padding-left: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--main-font);
    font-size: var(--adaptive-font);
    padding-bottom: 10px;
}

::marker {
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    text-transform: none;
    text-indent: 0px !important;
    text-align: start !important;
    text-align-last: auto !important;
}

#info-up img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (orientation: portrait) {
    #menu-ui {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 40px;
        display: flex;
        background: linear-gradient(to bottom, rgba(1, 2, 16, 0) 0%, #010210 100%);
        justify-content: center;
        gap: 5px;
        margin: 0 auto;
        z-index: 10000;
        /*padding-bottom: env(safe-area-inset-bottom);*/
        pointer-events: auto;
    }

    #menu-ui-container {
        position: relative;
        width: 100%;
        height: 40px;
        border-radius: 0 12px 0 0;
        background: rgba(29, 26, 52);
        box-shadow: 0 -1.5px 1.5px rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .menu-button {
        width: 100%;
        height: 100%;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        transition: background 0.3s ease;
        cursor: pointer;
    }

    .menu-button.active {
        background: linear-gradient(to right, rgba(239, 66, 48, 1), rgba(136, 20, 8, 1));
        border-top-right-radius: 12px;
        border-top-left-radius: 12px;
        filter: drop-shadow(1px 0 2px rgba(0, 0, 0, 0.80));
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #info-icon.menu-button.active {
        border-top-left-radius: 0;
        cursor: pointer;
    }

    #menu-close-button {
        pointer-events: all !important;
        height: 40px;
        width: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px 12px 0 0;
        background: rgba(57, 61, 86, 1);
        box-shadow: 0 -1.5px 1.5px rgba(0, 0, 0, 0.7);
        cursor: pointer;
        box-sizing: border-box;
    }

    .close-icon {
        height: 55%;
        width: auto;
        display: block;
        filter: drop-shadow(0px 1.59px 1.59px rgba(0, 0, 0, 0.50));
    }

    #info-up-empty-container {
        flex: 1;
        width: calc(100% - 90px); /* 100% мінус ширина кнопки закриття */
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    #info-up {
        pointer-events: all !important;
        height: 40px;
        width: clamp(60px, 18vw, 80px);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-sizing: border-box;

        transition: opacity 0.3s ease;
        opacity: 0;
        z-index: auto;
    }
}

@media (orientation: landscape) {
    #menu-ui {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: clamp(40px, 6vh, 80px);
        display: flex;
        background: linear-gradient(to bottom, rgba(1, 2, 16, 0) 0%, #010210 100%);
        justify-content: center;
        gap: 5px;
        margin: 0 auto;
        z-index: 10000;
        /*padding-bottom: env(safe-area-inset-bottom);*/
        pointer-events: auto;
    }

    #menu-ui-container {
        position: relative;
        width: 80%;
        height: clamp(40px, 6vh, 80px);
        border-radius: 16px 16px 0 0;
        background: rgba(29, 26, 52);
        box-shadow: 0px -2.918px 2.918px 0px rgba(0, 0, 0, 0.80);
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .menu-button {
        width: 100%;
        height: 100%;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        transition: background 0.3s ease;
        /*cursor: pointer;*/
    }

    .menu-button.active {
        background: linear-gradient(to right, rgba(239, 66, 48, 1), rgba(136, 20, 8, 1));
        border-radius: 16px 16px 0 0;
        filter: drop-shadow(1px 0 2px rgba(0, 0, 0, 0.80));
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    #info-icon.menu-button.active {
        border-radius: 16px 0 16px 0;
        cursor: pointer;
    }

    #history-icon.menu-button.active {
        border-radius: 0 16px 0 16px;
        cursor: pointer;
    }

    #menu-close-button {
        pointer-events: all !important;
        height: clamp(40px, 6vh, 80px);
        width: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(57,61,86,1);
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -2.918px 3px 0 rgba(0, 0, 0, 0.80);
        cursor: pointer;
        box-sizing: border-box;
    }

    .close-icon {
        height: 55%;
        width: auto;
        display: block;
        filter: drop-shadow(0px 1.59px 1.59px rgba(0, 0, 0, 0.50));
    }

    #info-up-empty-container {
        position: relative;
        width: 80%;
        height: clamp(40px, 6vh, 60px);
        border-radius: 16px 16px 0 0;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    #info-up {
        pointer-events: all !important;
        height: clamp(40px, 6vh, 60px);
        width: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-sizing: border-box;

        transition: opacity 0.3s ease;
        opacity: 0;
        z-index: 9999;
    }
}




/* доп вирівнювання для локалі */
#info {
    margin-bottom: 0 !important;
    padding-bottom: clamp(5vh, calc(3vw + 3vh), 10vh);
}

ul.menu-list-items li {
    font-family: "Noto Sans", sans-serif !important;
    color: #FFFFFF;
}

.inner-bullets {
    font-family: "Noto Sans", sans-serif;
}

ul.menu-list-items3, ul.menu-list-items2, ul.menu-list-items  {
    font-family: "Noto Sans", sans-serif !important;
}

.info-button-container, .additional-margin {
    margin-bottom: 20px;
}

@media (orientation: portrait) {
    #info {
        padding-bottom: calc(8rem + env(safe-area-inset-bottom)) !important;
    }
}

@media (orientation: portrait) and (max-width: 700px) {
    .info-button-container .button-info {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        box-sizing: border-box;
        align-items: flex-start;
    }
    .info-button-container .button-info p {
        margin-bottom: 3% !important;
    }
}

@media (orientation: landscape) {
    .info-button-container .button-info {
        align-items: center;
    }
    .info-button-container .button-info p {
        margin: 0 !important;
    }
    .button-info {
        margin-bottom: 1%;
    }
    #info {
        padding-bottom: calc(6rem + env(safe-area-inset-bottom)) !important;
    }
}






