.jot-page-ari_oyunu {
    overflow-x: hidden;
}

.jot-page-ari_oyunu .jot-site-main {
    min-height: 100dvh;
    background:
        radial-gradient(circle at 18% 12%, rgba(62, 130, 70, .17), transparent 35rem),
        linear-gradient(160deg, #08120d 0%, #050806 100%);
}

.jot-bee-page {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 18px clamp(12px, 2.3vw, 30px) 28px;
}

.jot-bee-page__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.jot-bee-page__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #d8a73c;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.jot-bee-page__header h1 {
    margin: 0;
    color: #fff1ba;
    font-size: clamp(1.35rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.1;
}

.jot-bee-page__header p {
    max-width: 680px;
    margin: 5px 0 0;
    color: #aebeb2;
    font-size: .88rem;
}

.jot-bee-page__status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(224, 177, 67, .35);
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(216, 159, 38, .09);
    color: #e8c166;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.jot-bee-stage {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    max-height: calc(100dvh - 126px);
    border: 1px solid rgba(255, 214, 120, .22);
    border-radius: 20px;
    background: #07140d;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.jot-bee-canvas,
.jot-bee-canvas canvas {
    width: 100% !important;
    height: 100% !important;
}

.jot-bee-preloader {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 38%, rgba(233, 178, 54, .16), transparent 14rem),
        linear-gradient(160deg, #10291a, #06100b 72%);
    color: #fff0b7;
    transition: opacity .32s ease, visibility .32s ease;
}

.jot-bee-preloader.is-ready {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.jot-bee-preloader__mark {
    font-size: clamp(2.8rem, 8vw, 4.4rem);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35));
    animation: jotBeeLoaderFloat 1.2s ease-in-out infinite alternate;
}

.jot-bee-preloader strong {
    font-size: clamp(1.25rem, 4vw, 2rem);
    letter-spacing: .03em;
}

.jot-bee-preloader__track {
    overflow: hidden;
    width: min(380px, 78%);
    height: 10px;
    border: 1px solid rgba(255, 227, 159, .35);
    border-radius: 999px;
    background: rgba(0, 0, 0, .42);
}

.jot-bee-preloader__track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #c88217, #ffd866);
    box-shadow: 0 0 18px rgba(255, 204, 79, .42);
    transition: width .18s ease;
}

.jot-bee-preloader__meta {
    display: flex;
    justify-content: space-between;
    width: min(380px, 78%);
    color: #b9cabb;
    font-size: .76rem;
}

@keyframes jotBeeLoaderFloat {
    from { transform: translateY(3px) rotate(-2deg); }
    to { transform: translateY(-7px) rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
    .jot-bee-preloader__mark { animation: none; }
}

.jot-bee-canvas canvas {
    display: block;
    touch-action: none;
}

.jot-bee-error {
    margin: 0;
    padding: 20px;
    color: #fecaca;
}

@media (max-width: 767px) {
    .jot-page-ari_oyunu .jot-site-main {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .jot-bee-page {
        padding: 9px 7px calc(76px + env(safe-area-inset-bottom));
    }

    .jot-bee-page__header {
        margin-bottom: 8px;
        padding-inline: 4px;
    }

    .jot-bee-page__header p {
        display: none;
    }

    .jot-bee-page__status {
        padding: 5px 8px;
        font-size: .62rem;
    }

    .jot-bee-stage {
        min-height: 0;
        height: min(66dvh, 640px);
        aspect-ratio: auto;
        border-radius: 14px;
    }
}

@media (orientation: landscape) and (max-height: 620px) {
    .jot-bee-page {
        padding-top: 5px;
    }

    .jot-bee-page__header {
        display: none;
    }

    .jot-bee-stage {
        height: calc(100dvh - 16px);
        max-height: none;
        border-radius: 10px;
    }
}

body.jot-bee-game-active {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

body.jot-bee-game-active .jot-bee-stage {
    position: fixed;
    inset: 0;
    z-index: 5000;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.jot-bee-canvas:fullscreen {
    width: 100vw !important;
    height: 100dvh !important;
    background: #07140d;
}
