: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);
}

#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    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: 100dvw;
    height: 100dvh;
    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 {
    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;
}

.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;
}


#info-page #wwh-paytable {
    gap: 3%;
    padding: 10px;
    justify-content: center;
}
#info-page .symbols {
    /*width: clamp(60px, calc(10vw + 10vh), 400px);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

@media (orientation: portrait) {
    #info-page .special-symbols img {
        width: clamp(100px, calc(10dvw + 10dvh), 420px);
        height: clamp(100px, calc(10dvw + 10dvh), 330px);
        /*object-fit: cover;*/
        margin-bottom: 10px;
    }
    #info-page .wild,
    #info-page .scatter {
        width: clamp(100px, calc(32vw + 32vh), 400px);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 3%;
        box-sizing: border-box;
        overflow: hidden;
    }
    #info-page .wild p,
    #info-page .scatter p {
        font-family: var(--main-font);
        font-size: var(--adaptive-font);
        margin: 4px 0;
        text-align: center;
    }

    .payline-winlines {
        margin-top: -3%;
        text-align: center;
    }
    .payline-image {
        width: 100%;
    }
    .high {
        display: flex;
        justify-content: center;
        column-gap: 20px;
        gap: clamp(5%, 15%, 30%);
        flex-wrap: wrap;
        padding-bottom: 3%;
    }
    .low {
        display: flex;
        justify-content: center;
        column-gap: 20px;
        gap: clamp(5%, 15%, 30%);
        flex-wrap: wrap;
        padding-bottom: 10px;
        margin-top: -3%;
    }
}
@media (orientation: landscape) {
    #info-page .special-symbols img {
        width: clamp(66px, calc(9dvw + 9dvh), 420px);
        height: clamp(66px, calc(9dvw + 9dvh), 330px);
        margin-bottom: 10px;
    }
    #info-page .special-symbols {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        gap: 3%;
        justify-content: center;
        margin-top: -3%;
    }
    #info-page .wild,
    #info-page .scatter {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        box-sizing: border-box;
        overflow: hidden;
    }
    #info-page .wild p,
    #info-page .scatter p {
        font-family: var(--main-font);
        font-size: var(--adaptive-font);
        margin: 4px 0;
        text-align: center;
    }

    .payline-image {
        width: 100%;
    }
    .payline-winlines {
        margin-top: -3%;
        text-align: center;
    }
    .high,
    .low {
        display: flex;
        flex-wrap: wrap;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 3%;
        justify-content: center;
        margin-bottom: 40px;
    }
    .low {
        margin-top: 3%;
    }
}

#info-page .high img {
    /*border: 1px dashed #ef4230;*/
    width: clamp(50px, calc(7dvw + 7dvh), 240px);
    height: clamp(50px, calc(7dvw + 7dvh), 240px);
    /*object-fit: cover;*/
    object-fit: contain;
    margin-bottom: 10px;
}

#info-page .low img {
    /*border: 1px dashed #ef4230;*/
    width: clamp(45px, calc(5dvw + 5dvh), 240px);
    height: clamp(45px, calc(5dvw + 5dvh), 240px);
    /*object-fit: cover;*/
    object-fit: contain;
    margin-bottom: 10px;
}

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

.sym-txt {
    font-weight: bold;
    /*text-transform: uppercase;*/
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* для підтримки у Firefox */
    text-fill-color: transparent;
}

.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 {
        /*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;
    }
}

@media (orientation: landscape) {
    .high-symbols,
    .low {
        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: 100%;
    /*width: clamp(300px, 50vw, 800px);*/
    height: clamp(2px, calc(0.5vw + 0.5vh), 4px);
    margin: 0 auto 0 auto;
    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;
}

@media (orientation: portrait) {
    .feature-content {
        display: flex;
        flex-direction: row;
        text-align: left;
        padding: 0 5% 0 5%;
    }
}

.wwh-feature-content {
    /*display: flex;*/
    align-items: flex-start;
    gap: 5%;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.feature-scatters {
    margin: 0 auto;
    position: relative;
    width: 100%;
    height: clamp(120px, 36vw, 200px);
    /*margin-bottom: 5%;*/
    overflow: visible;
}

.three-scatters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}
@keyframes scatterPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.95;
    }
}

.layer-2 {
    animation: scatterPulse 2.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes goldenPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@keyframes goldenGlow {
    0%, 100% {
        filter: drop-shadow(0 0 1px #ffc107) drop-shadow(0 0 2px #ffb300);
    }
    50% {
        filter: drop-shadow(0 0 3px #ffd700) drop-shadow(0 0 5px #ffa000);
    }
}

.layer-1 {
    z-index: 1;
    animation: goldenGlow 2.5s ease-in-out infinite;
}

.scatters-label {
    font-size: clamp(16px, 2vw, 22px);
    color: white;
    font-weight: 500;
    margin: 8px 0;
    display: block;
    text-align: center;
}

.scatters-label.strong {
    margin-bottom: 5%;
    font-weight: 700;
    font-size: clamp(18px, 2.2vw, 26px);
}

.scatters-arrow {
    font-size: clamp(20px, 3vw, 30px);
    margin: 4px 0;
}


.feature-text {
    flex-direction: column;
    flex: 1;
    line-height: 1.6;
    display: flex;
    font-family: var(--main-font);
    font-size: var(--adaptive-font);
    padding: 0;
    margin: 0;
}

.feature-text p {
    margin: 0 0 1em 0; /* або взагалі margin: 0 */
}

/* Адаптив */
@media (max-width: 1000px) {
    .feature-content {
        flex-direction: column;
        align-items: center;
    }
}

.paylines-container {
    margin-bottom: 15%;
}

.paylines-content {
    margin-top: 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-items: center;
}

.payline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.label-win,
.label-no-win {
    margin-top: 8px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.label-win {
    color: #05CC1C;
}
.label-no-win {
    color: #FF1800;
}


.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;
}

.ways {
    display: block;
    text-align: center;
    margin: 0 auto;
    /*font-weight: bold;*/
}
.win-no-win {
    width: 70%;
}
.rtp-info {
    text-align: center;
}

.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 {
    line-height: 1.6;
    margin: 0 0 3% 0;
}

#info {
    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: 10px;*/
    margin-top: 10px;
}

ul.menu-list-scatters {
    line-height: 1.6;
    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: 8px;
    margin-bottom: 12px;
}

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;
}

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;
}


/* region GAME INFO */
.name {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/*#name {*/
/*    !*font-size: var(--info-h2-font);*!*/
/*    font-weight: bold;*/
/*    text-transform: uppercase;*/
/*    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);*/
/*    -webkit-background-clip: text;*/
/*    -webkit-text-fill-color: transparent;*/
/*    background-clip: text;*/
/*    text-fill-color: transparent;*/
/*}*/

.rtp-info {
    text-align: center;
}

.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 {
    line-height: 1.6;
    margin: 0 0 3% 0;
}

#info {
    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: 10px;*/
    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;
}

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;
}

.red {
    color: #d33636;
}

.note {
    font-style: italic;
    font-weight: normal;
    font-size: 13px;
}
/* endregion */