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

#info-page .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;
}

#info-page .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) {
    #info-page .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 {
    width: clamp(50px, calc(7dvw + 7dvh), 240px);
    height: clamp(50px, calc(7dvw + 7dvh), 240px);
    object-fit: contain;
    margin-bottom: 10px;
}

#info-page .low img {
    width: clamp(45px, calc(5dvw + 7dvh), 240px);
    height: clamp(45px, calc(5dvw + 7dvh), 240px);
    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;
    background: linear-gradient(90deg, #dea54a 0%, #c87130 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    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), 3px);
    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, 16vw, 300px);
    /*margin-bottom: 5%;*/
    overflow: visible;
}

.flex {
    margin: 0 auto;
    width: 50%;
    display: flex;
    flex-direction: row;
}

.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 blueGlow {
    0%, 100% {
        filter: drop-shadow(0 0 1px #80d8ff) drop-shadow(0 0 2px #40c4ff);
    }
    50% {
        filter: drop-shadow(0 0 3px #00b0ff) drop-shadow(0 0 5px #0091ea);
    }
}

.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);
    background: linear-gradient(90deg, #dea54a 0%, #c87130 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.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: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw; /* менший відступ між WIN і NO WIN */
    flex-wrap: wrap;
    padding: 2% 5%;
}

.paylines-content img {
    width: clamp(220px, 28vw, 400px); /* зробити більшими на великих екранах */
    max-width: 100%;
    height: auto;
    display: block;
}

.paylines-content .label {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
    text-transform: uppercase;
}


.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: 0;
    margin-bottom: 3%;
}

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

.three-scatters {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Перший шар з'являється першим */
.layer-1 {
    animation-name: scatterCycle1;
}

/* Другий після */
.layer-2 {
    animation-name: scatterCycle2;
}

/* Третій останнім */
.layer-3 {
    animation-name: scatterCycle3;
}

@keyframes scatterCycle1 {
    0%, 33.33% { opacity: 1; }
    33.34%, 100% { opacity: 0; }
}

@keyframes scatterCycle2 {
    0%, 33.33% { opacity: 0; }
    33.34%, 66.66% { opacity: 1; }
    66.67%, 100% { opacity: 0; }
}

@keyframes scatterCycle3 {
    0%, 66.66% { opacity: 0; }
    66.67%, 100% { opacity: 1; }
}

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

#name {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(90deg, #dea54a 0%, #c87130 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 */


:root{
    --tw1: 2.8s;
    --tw2: 3.6s;
    --tw3: 4.4s;
    --pulse: 2.2s;
    --scatter-scale: 0.86; /* базовий розмір скатерів (менше 1 = менші) */
}

.scatter-stack{
    margin-top: -5%;
    margin-bottom: -4%;
    position: relative;
    width: min(70dvw, 800px);
    aspect-ratio: 2.3 / 1;
    margin-inline: auto;
    isolation: isolate;

    -webkit-mask-image: radial-gradient(80% 75% at 50% 50%, #000 72%, transparent 100%);
    mask-image: radial-gradient(80% 75% at 50% 50%, #000 72%, transparent 100%);
}

.scatter-stack img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    user-select: none;
    image-rendering: auto;
}

.bg-p1, .bg-p2, .bg-p3{
    z-index: 0;
    opacity: 1;
    filter: brightness(1.15) saturate(1.05);
    transform-origin: 50% 60%;
}

.bg-p1{ animation: twinkle var(--tw1) ease-in-out infinite, panX 22s linear infinite; }
.bg-p2{ animation: twinkle var(--tw2) ease-in-out infinite .25s, panY 26s linear infinite; opacity:.7; }
.bg-p3{ animation: twinkle var(--tw3) ease-in-out infinite .55s, panXY 30s linear infinite; opacity:.65; }


.\33 -scatters{
    z-index: 2;
    transform-origin: 50% 0%;
    animation: info-scatter-pulse var(--pulse) ease-in-out infinite;
}

@keyframes twinkle{
    0%   { opacity:.5;  transform: scale(1); }
    15%  { opacity:.9; }
    40%  { opacity:.6;  transform: scale(1.01); }
    65%  { opacity:.95; transform: scale(1.02); }
    100% { opacity:.5;  transform: scale(1); }
}
@keyframes panX  { from{transform:translateX(0)} to{transform:translateX(-0.8%)} }
@keyframes panY  { from{transform:translateY(0)} to{transform:translateY(-0.7%)} }
@keyframes panXY { from{transform:translate(0)} to{transform:translate(0.6%,-0.6%)} }

@keyframes info-scatter-pulse{
    0%,100% { transform: scale(var(--scatter-scale)); }
    50%     { transform: scale(calc(var(--scatter-scale) * 1.02)); }
}

@media (prefers-reduced-motion: reduce){
    .bg-p1, .bg-p2, .bg-p3, .\33 -scatters{ animation: none; transform: scale(var(--scatter-scale)); }
}

@media (max-width: 480px){
    .scatter-stack{ width: 90dvw; aspect-ratio: 16/9; }
    :root{ --scatter-scale: 0.9; }
}
@media (max-height: 360px) and (orientation: landscape){
    .scatter-stack{ aspect-ratio: 16/6; }
    :root{ --scatter-scale: 0.82; }
}
