:root {
    color-scheme: dark;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

body.menu-open {
    overflow: hidden;
}

main {
    min-height: 40vh;
}

.home-banner {
    background-image: url("../assets/images/banner/bg.png");
    background-position: center;
    background-size: cover;
}

.home-how {
    background-image: url("../assets/images/how/bg2.jpg");
    background-position: center;
    background-size: cover;
}

.free-play-section {
    position: relative;
    padding: clamp(4rem, 7vw, 6.5rem) 0;
    color: rgba(255, 255, 255, 0.82);
    background:
        radial-gradient(circle at 50% 0, rgba(255, 200, 39, 0.14), transparent 42%),
        #350b2d;
}

.free-play-heading {
    max-width: 48rem;
    margin: 0 auto 2.5rem;
}

.free-play-heading p {
    margin-bottom: 0;
}

.free-play-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.4rem 0.8rem;
    color: #25132b;
    background: #ffc827;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.free-play-card {
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    background: rgba(30, 5, 26, 0.82);
    border: 1px solid rgba(255, 200, 39, 0.28);
    border-radius: 0.8rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
}

.free-play-card__icon {
    display: grid;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.2rem;
    place-items: center;
    color: #25132b;
    background: #ffc827;
    border-radius: 50%;
    font-size: 2rem;
}

.free-play-card h3 {
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: 1.3rem;
}

.free-play-card p {
    margin-bottom: 0;
}

.free-play-note {
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.free-play-note i {
    color: #ffc827;
}

.site-inner-banner {
    background-image: url("../assets/images/inner-banner/bg2.jpg");
    background-position: top center;
    background-size: cover;
}

.site-account-section {
    background-image: url("../assets/images/account/bg.jpg");
    background-position: center;
    background-size: cover;
}

.games-page {
    background: radial-gradient(circle at 50% 0, rgba(255, 200, 39, 0.08), transparent 42%), #350b2d;
}

.arawin-game-card {
    height: 100%;
}

.arawin-game-card .game-inner {
    display: flex;
    min-height: 100%;
    flex-direction: column;
}

.arawin-game-card .game-item__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.arawin-game-card .game-item__content p {
    flex: 1;
}

.arawin-game-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.poker-symbol span {
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.poker-symbol span:nth-child(2),
.poker-symbol span:nth-child(3) {
    color: #ff3653;
}

.okey-symbol span {
    display: grid;
    width: 3.6rem;
    height: 5rem;
    place-items: center;
    color: #350b2d;
    background: #fff8dc;
    border: 3px solid #ffc827;
    border-radius: 0.45rem;
    box-shadow: 0 5px 0 #d88c13, 0 10px 18px rgba(0, 0, 0, 0.3);
    font-size: 1.6rem;
    font-weight: 700;
}

.okey-symbol span:nth-child(2) {
    color: #d81b3a;
    transform: translateY(-0.35rem);
}

.okey-symbol span:nth-child(3) {
    color: #1677c8;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 10000;
    padding: 0.75rem 1rem;
    color: #25132b;
    background: #ffc827;
    border-radius: 0.35rem;
    transform: translateY(-200%);
    transition: transform 150ms ease;
}

.skip-link:focus {
    color: #25132b;
    transform: translateY(0);
}

.header-trigger {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
}

.header-trigger span {
    display: block;
}

.language-menu-item {
    display: flex;
    align-items: center;
}

.language-switcher {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.65);
}

.language-switcher button {
    padding: 0.2rem;
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.language-switcher button:hover,
.language-switcher button[aria-current="page"] {
    color: #ffc827;
}

.language-switcher button:focus-visible {
    outline: 3px solid #ffc827;
    outline-offset: 3px;
}

.header-trigger:focus-visible,
.btn-close:focus-visible,
a:focus-visible {
    outline: 3px solid #ffc827;
    outline-offset: 4px;
}

.menu-close-item {
    display: flex;
    justify-content: flex-end;
}

[data-menu-overlay].active {
    background: rgba(31, 31, 35, 0.55);
}

.preloader {
    opacity: 1;
    transition: opacity 200ms ease, visibility 200ms ease;
    animation: preloader-fallback 200ms ease 2s forwards;
}

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

.site-footer {
    background-image: url("../assets/images/footer/bg.jpg");
    background-position: center;
    background-size: cover;
}

.tournament-page {
    min-height: 55vh;
    color: rgba(255, 255, 255, 0.82);
    background:
        radial-gradient(circle at 50% 0, rgba(255, 200, 39, 0.09), transparent 38%),
        #350b2d;
}

.tournament-prize-page {
    padding-top: clamp(7rem, 10vw, 10rem);
}

.tournament-card {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: rgba(30, 5, 26, 0.88);
    border: 1px solid rgba(255, 200, 39, 0.24);
    border-radius: 0.75rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
}

.rule-block,
.prize-option {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.55rem;
}

.prize-option {
    display: block;
    height: 100%;
    cursor: pointer;
}

.prize-option:has(input:checked) {
    background: rgba(255, 200, 39, 0.12);
    border-color: #ffc827;
}

.prize-option input {
    margin-right: 0.5rem;
    accent-color: #ffc827;
}

.tournament-card .form-control {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}

.tournament-card .form-control:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffc827;
    box-shadow: 0 0 0 0.2rem rgba(255, 200, 39, 0.18);
}

.tournament-card .table {
    --bs-table-bg: transparent;
}

.copyright {
    margin-bottom: 0;
}

@keyframes preloader-fallback {
    to {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
