@supports (height: 100svh) {
    html, body,
    #feature-preview-screen,
    #fps-wrapper {
        height: 100svh !important;
        max-height: 100svh !important;
    }
    .start-button{
        bottom: max(env(safe-area-inset-bottom, 0px), clamp(14px, 2.6svh, 36px));
    }
}

html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

#feature-preview-screen {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.background-layer {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

#background-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    animation: parallaxZoom 20s ease-in-out infinite;
}

.gems-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

@keyframes parallaxZoom {
    0%, 100% {
        transform: scale(1.05) translate(0, 0);
    }

    50% {
        transform: scale(1.12) translate(-1.5%, 1.5%);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

#fps-wrapper {
    display: grid;
    place-items: center;
    grid-template-areas:
            "logo logo logo"
            "feature-block1 feature-block2 feature-block3"
            "feature-desc1 feature-desc2 feature-desc3"
            "start-button start-button start-button";
    grid-template-rows: 23vh 1fr 10vh 20vh;
    grid-template-columns: 26vw 30vw 26vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0 6vw;
    column-gap: 2vw;
    width: 100%;
    max-width: 100vw;
}

#logo-placeholder {
    position: absolute;
    grid-area: logo;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    user-select: none;
}

.logo-image {
    height: clamp(12dvh, 15dvh, 20dvh);
    display: block;
    opacity: 0;
    animation: logoFadeIn 1s ease-out 0.5s forwards;
    margin-bottom: 4dvh;
    filter: drop-shadow(0 0 6px rgba(255, 110, 197, 0.9)) drop-shadow(0 0 18px rgba(189, 66, 152, 0.5)) drop-shadow(0 0 24px rgba(142, 46, 142, 0.1));
}

@media (orientation: landscape) {
    .logo-image {
        margin-top: 2dvh;
    }
}

#sound-toggle {
    position: absolute;
    right: clamp(2vw, 3vw, 4vw);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;

    width: clamp(40px, 2.5vw, 45px);
    height: clamp(40px, 2.5vw, 45px);
    bottom: max(env(safe-area-inset-bottom, 0px), clamp(12px, 2vh, 24px));
}

#sound-toggle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#feature-block1 {
    grid-area: feature-block1;
}

#feature-block2 {
    grid-area: feature-block2;
    padding: 0;
    height: 50vh;
    position: relative;
    width: clamp(42vw, 27vw, 34vw);
    aspect-ratio: 1 / 1;
}

#feature-block3 {
    grid-area: feature-block3;
}

#feature-desc1 {
    grid-area: feature-desc1;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#feature-desc2 {
    grid-area: feature-desc2;
    display: flex;
    height: 100%;
    justify-content: flex-start;
    align-items: center;

}

#feature-desc3 {
    grid-area: feature-desc3;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.feature-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: clamp(1vh, 2vh, 3vh);
    width: 100%;
    height: auto;
    max-width: 90%;
    min-width: 200px;
    padding: 0.2rem;
    justify-content: center;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: hidden;
    transform-origin: center;
}

.feature-block.large {
    width: 100%;
    margin-top: 2vh;
    overflow: visible;
}

.feature-image {
    display: block;
    object-fit: contain;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: auto;
}

@media (orientation: landscape) {
    .feature-image {
        filter: drop-shadow(0 0 6px rgba(58, 3, 66, 0.9)) drop-shadow(0 0 18px rgba(37, 1, 26, 0.5)) drop-shadow(0 0 24px rgba(48, 1, 48, 0.1));
    }
}
@media (orientation: portrait) {
    .feature-image.portrait {
        filter: drop-shadow(0 0 6px rgba(106, 9, 105, 0.9)) drop-shadow(0 0 18px rgba(145, 32, 110, 0.5)) drop-shadow(0 0 24px rgba(179, 84, 179, 0.1));
    }
    .feature-image {
        filter: drop-shadow(0 0 6px rgba(81, 4, 92, 0.9)) drop-shadow(0 0 18px rgba(62, 2, 44, 0.5)) drop-shadow(0 0 24px rgba(48, 1, 48, 0.1));
    }
}

.feature-image.landscape { display: none; }
.feature-image.portrait  { display: block; }

@media (orientation: landscape) {
    .feature-image.landscape { display: block; }
    .feature-image.portrait  { display: none; }
}

@media (orientation: portrait) {
    .feature-image.landscape { display: none; }
    .feature-image.portrait  {
        display: block;
        max-width: 100%;
        transform: scale(1.12);
    }
    #feature-block1 {
        width: clamp(40vw, 50vw, 60vw);
        height: clamp(12vh, 16vh, 18vh); /* було 16–22, робимо менше */
        margin: 0 auto;
    }
    #feature-block2 {
        width: clamp(50vw, 60vw, 80vw);
        height: clamp(18vh, 22vh, 24vh);
        margin: 0 auto;
    }
    #feature-block3 {
        width: clamp(40vw, 50vw, 60vw);
        height: clamp(16vh, 20vh, 22vh);
        margin: 0 auto;
    }
}

@media (orientation: portrait) and (min-height: 1000px) {
    .feature-image.portrait  {
        display: block;
        max-width: 100%;
        transform: scale(0.9);
    }
}
@media (orientation: portrait) and (min-width: 540px) {
    .feature-image.portrait  {
        display: block;
        max-width: 100%;
        transform: scale(0.9);
    }
}

.feature-description {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;

    font-size: clamp(1rem, 2.5vw, 1.7rem);
    line-height: 1.3;
    padding: clamp(0.5dvh, 1dvh, 1.5dvh) 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 900;
    color: white;
    letter-spacing: 0.5px;
    word-break: break-word;
    white-space: normal;
    flex-wrap: wrap;
}

#section-button {
    grid-area: start-button;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: clamp(1vh, 2vh, 3vh);
    text-align: center;
}

.start-button {
    position: relative;
    bottom: auto;
    transform: none;
    order: 1;
}

.loading-bar-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(20vw, 25vw, 35vw);
    height: clamp(2vh, calc(2vw + 1vh), 3vh);
    background: radial-gradient(circle at center,
    rgba(60, 90, 120, 0.4),
    rgba(10, 30, 60, 0.6));
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.6);
    border: 2px solid #f8f8f8;
    z-index: 999;
}

.loading-bar {
    position: relative;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #FF5EDB;
    transition: width .3s ease;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 94, 219, 0.8),
    0 0 40px rgba(255, 62, 190, 0.6),
    0 0 60px rgba(255, 80, 200, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.loading-bar::after{
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: repeating-linear-gradient(90deg,
    #FF5EDB 0%,
    #FF6EC7 25%,
    #FF3FA8 50%,
    #FF6EC7 75%,
    #FF5EDB 100%      /* той самий колір на 0% і 100% → немає шва */
    );
    background-size: 200% 100%;
    animation: shimmer 2.2s linear infinite; /* рух без «reverse» */
    will-change: background-position;
    transform: translateZ(0); /* менше артефактів у Safari */
}

@keyframes shimmer{
    to { background-position: -200% 0; }
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.loading-percent {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--main-font, sans-serif);
    font-size: clamp(0.5rem, calc(1vw + 1vh), 1.5rem);
    color: white;
    font-weight: bold;
    pointer-events: none;
}

/* START BUTTON */
.start-button {
    width: clamp(40vw, 50vw, 60vw);
    font-size: clamp(0.5rem, 1.5vw, 1.3rem);
    text-transform: uppercase;

    text-align: center;

    letter-spacing: 0.05em;
    font-weight: 900;
    background-size: 200% auto;
    background: linear-gradient(to right, #ff5edb, white, #ff5ea0);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: white;
    border: none;

    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;

    transition: opacity 0.6s ease, transform 0.4s ease;
    animation: gradientShift 5s linear infinite, pulseZoom 5s ease-in-out infinite;
}

.start-button.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* Анімація */
@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

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

@keyframes logoFadeIn {
    0% { opacity: 0; transform: translateY(-20px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.45)); }
    50% { filter: drop-shadow(0 2px 12px rgba(255, 255, 255, 0.5)); }
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

@media (orientation: landscape) {
    #fps-wrapper {
        display: grid;
        grid-template-areas:
            "logo logo logo"
            "feature-block1 feature-block2 feature-block3"
            "feature-desc1 feature-desc2 feature-desc3"
            "start-button start-button start-button";
        grid-template-columns: clamp(26vw, 28vw, 30vw) clamp(26vw, 28vw, 30vw) clamp(26vw, 28vw, 30vw);
        height: 100svh;
        justify-content: center;
        align-items: center;
        padding: 0 clamp(2vw, 3vw, 4vw);
        column-gap: clamp(1vw, 1.5vw, 2vw);
        row-gap: clamp(0.6vh, 0.8vh, 1vh);
        padding-bottom: max(env(safe-area-inset-bottom, 0px), 2vh);
    }
    #fps-wrapper {
        height: 100svh;
        max-height: 100svh;
        display: grid;
        grid-template-rows:
            minmax(12vh, auto)
            auto
            auto
            minmax(8vh, auto);
    }

    .feature-block,
    .feature-description,
    #section-button {
        min-height: 0;
    }

    #feature-block1,
    #feature-block2,
    #feature-block3 {
        align-self: center;
    }

    .feature-block.large {
        width: clamp(30vw, 32vw, 34vw);
        height: clamp(28vh, 45vh, 50vh);
        margin-top: 0;
    }

    .feature-description {
        font-size: clamp(0.8rem, calc(1dvw + 1dvh), 1.8rem);;
        line-height: 1.1;
        padding: 0.3vh 0;
        margin: 0;
        max-width: 100%;
        word-break: break-word;
        white-space: normal;
        text-align: center;
        transform: translateY(-4vh);
    }

    #feature-desc1, #feature-desc2, #feature-desc3 {
        justify-content: unset;
        align-items: center;
        white-space: pre-line;
    }

    #sound-toggle {
        bottom: max(env(safe-area-inset-bottom, 0px), clamp(12px, 2vh, 24px));
        right: clamp(1.5vw, 2vw, 3vw);
    }
    .start-button {
    font-size: clamp(0.5rem, calc(1vw + 1vh), 1.3rem);
    }
    /*.loading-bar-wrapper {*/
    /*    bottom: calc(*/
    /*            max(env(safe-area-inset-bottom, 0px), clamp(2svh, 2.6svh, 5svh))*/
    /*            + clamp(1svh, 1.2svh, 2svh)*/
    /*    );*/
    /*}*/
}

@media screen and (min-width: 1200px) and (orientation: landscape) {
    .feature-description {
        max-width: 80%;
        font-size: clamp(0.5rem, calc(1.2vw + 1.2vh), 1.7rem);
        line-height: 1.4;
    }
}

@media (orientation: portrait) {
    #feature-preview-screen {
        height: auto;
        min-height: 100svh;
        overflow-y: hidden;
    }

    #fps-wrapper {
        display: grid;
        grid-template-areas:
      "logo"
      "feature-block1"
      "feature-desc1"
      "feature-block2"
      "feature-desc2"
      "feature-block3"
      "feature-desc3"
      "start-button";
        grid-template-columns: 1fr;
        grid-template-rows:
            minmax(10vh, 14vh)
            minmax(4vh, 20vh)
            minmax(auto, 10vh)
            minmax(14vh, 20vh)
            minmax(auto, 10vh)
            minmax(14vh, 20vh)
            minmax(auto, 10vh)
            minmax(5vh, 10vh);
        margin-top: 2vh;
        row-gap: clamp(0.5vh, 1vh, 1.5vh);
        height: 100%;
        min-height: auto;
        overflow: hidden;
        box-sizing: border-box;
    }

    .feature-block {
        margin: 0 auto;
        padding: 0;
    }


    #feature-desc1, #feature-desc2, #feature-desc3 {
        justify-content: center;
        align-items: center;
        white-space: pre-line;
    }

    #feature-block1, #feature-block3 {
        width: clamp(40vw, 50vw, 60vw);
        height: clamp(16vh, 20vh, 22vh);
        margin: 0 auto;
    }

    #feature-block2 {
        width: clamp(50vw, 60vw, 80vw);
        height: clamp(18vh, 22vh, 24vh);
        margin: 0 auto;
    }

    #logo-placeholder {
        position: relative;
        display: flex;
        justify-content: center;
    }

    #logo-placeholder {
        position: absolute;
        grid-area: logo;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 1vh;
        z-index: 2;
    }

    .logo-image {
        height: clamp(4dvh, 13dvh, 12dvh);
        width: auto;
    }

    #feature-desc1 {
        grid-area: feature-desc1;
        margin-top: 0;
    }

    #feature-desc2 {
        grid-area: feature-desc2;
        margin-top: 0;
    }

    #feature-desc3 {
        grid-area: feature-desc3;
        margin-top: 0;
    }

    .feature-description {
        max-width: 90%;
        margin-top: 0;
        font-size: clamp(0.5rem, calc(1dvw + 1dvh), 2rem);
        line-height: 1.1;
        padding: 0.3dvh 0;
        text-align: center;
    }

    /*#section-button {*/
    /*    width: 100%;*/
    /*    position: relative;*/
    /*    z-index: 10;*/
    /*    margin-top: auto;*/
    /*    padding-top: 2vh;*/
    /*    margin-bottom: env(safe-area-inset-bottom, 2dvh);*/
    /*}*/

    /*.start-fixed-portrait {*/
    /*    display: flex;*/
    /*    flex-direction: column;*/
    /*    align-items: center;*/
    /*    justify-content: flex-end;*/
    /*    width: 100%;*/
    /*    box-sizing: border-box;*/
    /*    position: relative;*/
    /*}*/

    #section-button {
        grid-area: start-button;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: clamp(1vh, 2vh, 3vh);
        text-align: center;
    }
    .start-button {
        order: 1;
    }

    .start-button {
        /*position: absolute;*/
        bottom: max(env(safe-area-inset-bottom, 0px), clamp(14px, 2.6svh, 36px));
        font-size: clamp(0.5rem, calc(1vw + 1vh), 1.1rem);
        text-align: center;
        padding: 0;
        text-decoration: none;
        text-transform: uppercase;
        background: linear-gradient(to right, #ff5edb, white, #ff5ea0);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        border: none;
        opacity: 0;
        pointer-events: none;
        transform: scale(0.95) translateX(-50%);
        transition: opacity 0.6s ease, transform 0.4s ease;
        animation: gradientShift 5s linear infinite, pulseZoom 5s ease-in-out infinite;
    }

    .loading-bar-wrapper {
        bottom: clamp(2vh, 3vh, 4vh);
        left: 50%;
        transform: translateX(-50%);
        width: clamp(40dvw, 45dvw, 50dvw);
        height: clamp(1.6dvh, 2dvh, 2.5dvh);
        background: radial-gradient(circle at center, rgba(60, 90, 120, 0.4), rgba(10, 30, 60, 0.6));
        border-radius: 999px;
        overflow: hidden;
        box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.6);
        border: 2px solid #f8f8f8;
        position: absolute;
    }

    .loading-bar {
        width: 0%;
        height: 100%;
        background: linear-gradient(90deg, #FF5EDB, #FF6EC7, #FF3FA8, #FF80E0);
        background-size: 300% 100%;
        animation: shimmer 2s linear infinite;
        transition: width 0.3s ease;
        border-radius: 999px;
        box-shadow: 0 0 20px rgba(255, 94, 219, 0.8),
        0 0 40px rgba(255, 62, 190, 0.6),
        0 0 60px rgba(255, 80, 200, 0.5);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .start-button.visible {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1) translateX(-50%);
    }

    #sound-toggle {
        bottom: 1.5vh;
        right: clamp(3vw, 4vw, 5vw);
        z-index: 999;
    }
}

@media (orientation: portrait) and (min-height: 1000px) {
    .start-button {
        font-size: clamp(0.5rem, 1.5svh, 1.3rem);
    }
}

#background-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

#fps-image1\.png.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gems-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gem {
    position: absolute;
    top: 0;
    left: 0;

    width: var(--size, 40px);
    height: auto;
    transform-origin: center;
    opacity: var(--opacity, 0.9);

    animation: gem-fall var(--duration, 60s) linear infinite;
    animation-delay: var(--delay, 0s);
}

#fps-image8\.png.gem {
    mix-blend-mode: screen;
}

@keyframes gem-fall {
    0% {
        transform:
                translate3d(var(--x, 50vw), -20vh, 0)
                scale(var(--scale, 1))
                rotate(var(--rotStart, 0deg));
        opacity: 0;
    }

    10% {
        opacity: var(--opacity, 0.9);
    }

    50% {
        transform:
                translate3d(
                        calc(var(--x, 50vw) + var(--drift, 0vw)),
                        45vh,
                        0
                )
                scale(var(--scale, 1))
                rotate(var(--rotMid, 10deg));
    }

    100% {
        transform:
                translate3d(
                        calc(var(--x, 50vw) + var(--drift, 0vw)),
                        115vh,
                        0
                )
                scale(var(--scale, 1))
                rotate(var(--rotEnd, 20deg));
        opacity: 0;
    }
}

.gem-1 {
    --x: 8vw;
    --drift: -1vw;
    --size: 28px;
    --scale: 0.7;
    --opacity: 0.7;
    --brightness: 0.9;
    --rotStart: -12deg;
    --rotMid: -4deg;
    --rotEnd: 4deg;
    --duration: 70s;
    --delay: -5s;
}
.gem-2 {
    --x: 20vw;
    --drift: 1vw;
    --size: 36px;
    --scale: 0.9;
    --opacity: 0.85;
    --brightness: 1.1;
    --rotStart: 5deg;
    --rotMid: 10deg;
    --rotEnd: 18deg;
    --duration: 80s;
    --delay: -30s;
}
.gem-3 {
    --x: 32vw;
    --drift: -0.5vw;
    --size: 32px;
    --scale: 0.85;
    --opacity: 0.8;
    --brightness: 1.0;
    --rotStart: -8deg;
    --rotMid: -2deg;
    --rotEnd: 6deg;
    --duration: 65s;
    --delay: -15s;
}
.gem-4 {
    --x: 44vw;
    --drift: 1vw;
    --size: 20px;
    --scale: 1;
    --opacity: 0.95;
    --brightness: 1.2;
    --rotStart: 3deg;
    --rotMid: 8deg;
    --rotEnd: 14deg;
    --duration: 90s;
    --delay: -45s;
}
.gem-5 {
    --x: 56vw;
    --drift: 0vw;
    --size: 28px;
    --scale: 1.2;
    --opacity: 1;
    --brightness: 1.3;
    --rotStart: -4deg;
    --rotMid: 2deg;
    --rotEnd: 9deg;
    --duration: 100s;
    --delay: -60s;
}
.gem-6 {
    --x: 68vw;
    --drift: -1vw;
    --size: 34px;
    --scale: 0.9;
    --opacity: 0.9;
    --brightness: 1.05;
    --rotStart: 6deg;
    --rotMid: 11deg;
    --rotEnd: 18deg;
    --duration: 75s;
    --delay: -20s;
}
.gem-7 {
    --x: 80vw;
    --drift: 2vw;
    --size: 30px;
    --scale: 0.8;
    --opacity: 0.75;
    --brightness: 0.95;
    --rotStart: -10deg;
    --rotMid: -3deg;
    --rotEnd: 5deg;
    --duration: 85s;
    --delay: -35s;
}
.gem-8 {
    --x: 92vw;
    --drift: -1vw;
    --size: 26px;
    --scale: 0.7;
    --opacity: 0.65;
    --brightness: 0.85;
    --rotStart: 12deg;
    --rotMid: 4deg;
    --rotEnd: -2deg;
    --duration: 95s;
    --delay: -50s;
}

@media screen and (max-width: 375px) and (orientation: portrait) {
    .feature-block {
        transform: scale(0.9);
    }
}

@media screen and (max-height: 375px) and (orientation: landscape) {
    .feature-block {
        transform: scale(0.9);
    }
    .feature-description {
        font-size: 0.5rem;
    }
}
/* region Safari text stability */
@media (orientation: landscape) {
    @supports (font: -apple-system-body) {
        #fps-wrapper {
            display: grid;
            grid-template-areas:
                  "logo logo logo"
                  "feature-block1 feature-block2 feature-block3"
                  "feature-desc1 feature-desc2 feature-desc3"
                  "start-button start-button start-button";
            grid-template-columns: clamp(26vw, 28vw, 30vw) clamp(30vw, 32vw, 35vw) clamp(26vw, 28vw, 30vw);
            grid-template-rows:
                  minmax(12svh, 12svh)
                  minmax(0, 1fr)
                  minmax(10svh, 10svh)
                  minmax(8svh, 8svh);
            height: 100svh;
            max-height: 100svh;
            align-content: start;
            align-items: start;
            justify-content: center;
            padding: 0 clamp(2vw, 3vw, 4vw);
            column-gap: clamp(1vw, 1.5vw, 2vw);
            row-gap: clamp(1svh, 1.4svh, 2svh);
            padding-bottom: max(env(safe-area-inset-bottom, 0px), 2svh);
            contain: layout paint style;
        }
        .feature-description {
            font-size: clamp(0.5rem, calc(1.2vw + 1.2svh), 1.7rem);
            line-height: 1.2;
            padding: 0.3svh 0;
            max-width: 100%;
            word-break: break-word;
            white-space: normal;
            text-align: center;
            margin-top: 0;
        }
        #fps-button {
            animation: none !important;
            transform: none !important;
        }
        .start-button {
            animation: gradientShift 5s linear infinite !important;
            /*transform: none !important;*/
        }
        .logo-image {
            animation: logoFadeIn 1s ease-out 0.5s forwards;
        }
    }
}
/* endregion */