:root {
    --soju-night: #080b22;
    --soju-panel: #101632;
    --soju-panel-soft: #171d3b;
    --soju-ink: #f7f8ff;
    --soju-muted: #c5c9dc;
    --soju-accent: #47edaa;
    --soju-accent-strong: #1ccf8c;
    --soju-line: rgba(178, 193, 255, 0.2);
    --soju-radius: 16px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 1.5rem;
}

body {
    margin: 0;
    background: var(--soju-night);
    color: var(--soju-ink);
    font-family: "Kanit", "Thonburi", "Noto Sans Thai", sans-serif;
    line-height: 1.65;
}

#section-2-230 .ct-headline,
#section-2-230 .ct-text-block,
#section-2-230 .ct-link-text {
    font-family: inherit !important;
}

body.modal-open {
    overflow: hidden;
}

body,
button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-underline-offset: 0.22em;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--soju-accent);
    outline-offset: 4px;
}

img {
    max-width: 100%;
    height: auto;
}

[hidden] {
    display: none !important;
}

.screen-reader-text,
.skip-link {
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

.skip-link:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    left: 1rem;
    margin: 0;
    padding: 0.8rem 1rem;
    position: fixed;
    top: 1rem;
    width: auto;
    z-index: 10001;
    background: var(--soju-ink);
    color: var(--soju-night);
}

#section-2-230 {
    width: 100%;
    overflow: clip;
    background: var(--soju-night);
}

#section-2-230 > .ct-section-inner-wrap {
    width: 100%;
    max-width: 1920px;
    padding: 0;
    margin: 0 auto;
}

.site-header {
    width: 100%;
    background: #07091c;
}

#div_block-3-230,
#div_block-10-230,
#div_block-13-230 {
    width: 100%;
}

.site-hero-art,
.site-hero-art picture {
    display: block;
    width: 100%;
}

.site-hero-art img {
    display: block;
    width: 100%;
    aspect-ratio: 1920 / 866;
    object-fit: cover;
}

#image-25-230 {
    display: block !important;
    height: auto !important;
}

#div_block-32-230 {
    display: flex !important;
    width: auto !important;
    text-align: left;
}

.site-announcement {
    width: 100% !important;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    border-top: 1px solid rgba(111, 242, 196, 0.25);
    border-bottom: 1px solid rgba(111, 242, 196, 0.25);
    background: #0b102a;
    color: #d3ffe9;
    font-size: 0.9rem;
    text-align: center;
}

.site-announcement p {
    margin: 0;
}

.site-account-actions {
    min-height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.9rem clamp(1rem, 4vw, 4rem);
}

.site-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.site-brand img {
    display: block;
    width: clamp(110px, 14vw, 186px);
    height: auto;
}

.site-account-buttons {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.site-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.site-button:hover {
    transform: translateY(-2px);
}

.site-button:active {
    transform: translateY(1px);
}

.site-button--quiet {
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
    color: var(--soju-ink);
}

.site-button--quiet:hover {
    border-color: var(--soju-accent);
    color: var(--soju-accent);
}

.site-button--primary {
    background: var(--soju-accent);
    color: #06251a;
}

.site-button--primary:hover {
    background: #76f6c0;
}

.site-navigation {
    width: 100%;
    border-top: 1px solid var(--soju-line);
    border-bottom: 1px solid var(--soju-line);
    background: #0b1028;
}

.site-navigation-inner {
    width: 100%;
    padding: 0.5rem clamp(0.8rem, 4vw, 3.5rem);
}

.site-nav-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 2.6vw, 2.5rem);
    scrollbar-width: none;
}

.site-nav-items::-webkit-scrollbar {
    display: none;
}

.site-nav-link {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.35rem 0.2rem;
    color: var(--soju-ink);
    font-weight: 600;
    text-decoration: none;
    transition: color 150ms ease, transform 150ms ease;
}

.site-nav-link:hover,
.site-nav-link.is-current {
    color: var(--soju-accent);
}

.site-nav-link:hover {
    transform: translateY(-1px);
}

.site-nav-icon {
    width: 46px;
    max-height: 39px;
    object-fit: contain;
}

.site-nav-label {
    white-space: nowrap;
}

.site-content {
    width: 100%;
}

.site-content--standard {
    max-width: 1180px;
    min-height: 48vh;
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
    color: var(--soju-ink);
}

.entry-content,
.post-card,
.archive-description {
    color: var(--soju-muted);
}

.entry-title,
.site-content--standard h1,
.site-content--standard h2,
.site-content--standard h3 {
    color: var(--soju-ink);
    line-height: 1.25;
}

.site-content--standard h1 {
    margin: 0 0 1.4rem;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.site-content--standard h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.site-content--standard p,
.site-content--standard li {
    max-width: 72ch;
}

.site-content--standard a {
    color: var(--soju-accent);
}

.entry-meta {
    color: var(--soju-muted);
    font-size: 0.92rem;
}

.entry-featured-image img {
    border-radius: var(--soju-radius);
}

.post-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 1rem;
}

.post-card {
    padding: 1.3rem;
    border: 1px solid var(--soju-line);
    border-radius: var(--soju-radius);
    background: var(--soju-panel);
}

.post-card h2 {
    margin-top: 0;
}

.site-footer {
    width: 100%;
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 4vw, 4rem) 1.2rem;
    border-top: 1px solid var(--soju-line);
    background: #06091c;
}

.site-footer-inner {
    max-width: 1380px;
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(250px, 1fr);
    gap: clamp(2rem, 6vw, 6rem);
    margin: 0 auto;
}

.site-footer-brand > a {
    display: inline-flex;
}

.site-footer-brand > a img {
    width: 150px;
}

.site-footer-brand p {
    max-width: 46ch;
    color: var(--soju-muted);
}

.site-footer-seal {
    width: 112px;
}

.site-footer-details {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: clamp(1.5rem, 4vw, 3.5rem);
}

.site-footer-details h2 {
    margin: 0 0 0.8rem;
    color: var(--soju-ink);
    font-size: 1rem;
}

.site-footer-platforms img {
    width: 160px;
}

.site-footer-payments img {
    width: min(220px, 100%);
}

.site-footer-bottom {
    max-width: 1380px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid var(--soju-line);
    color: var(--soju-muted);
    font-size: 0.9rem;
}

.site-footer-bottom p {
    margin: 0;
}

.site-nav-items--footer {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem 1rem;
}

.site-nav-items--footer .site-nav-link {
    font-size: 0.9rem;
}

.affiliate-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2, 4, 17, 0.82);
}

.affiliate-modal__panel {
    position: relative;
    width: min(100%, 470px);
    padding: clamp(2rem, 6vw, 3.2rem);
    border: 1px solid rgba(71, 237, 170, 0.58);
    border-radius: 20px;
    background: radial-gradient(120% 100% at 100% 0%, #202b55 0%, #111832 50%, #0c1128 100%);
    box-shadow: 0 20px 65px rgba(0, 0, 0, 0.48);
    text-align: center;
}

.affiliate-modal__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--soju-line);
    border-radius: 999px;
    background: transparent;
    color: var(--soju-ink);
    cursor: pointer;
    font: inherit;
}

.affiliate-modal__close:hover {
    border-color: var(--soju-accent);
    color: var(--soju-accent);
}

.affiliate-modal__eyebrow {
    margin: 0 0 0.5rem;
    color: var(--soju-accent);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.affiliate-modal__panel h2 {
    margin: 0 0 0.6rem;
    color: var(--soju-ink);
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.35;
}

.affiliate-modal__panel > p:not(.affiliate-modal__eyebrow) {
    margin: 0 auto 1.4rem;
    color: var(--soju-muted);
}

.affiliate-modal__action {
    min-width: min(100%, 220px);
}

.game-card-trigger {
    cursor: pointer;
    text-decoration: none;
}

.game-card-trigger:focus-visible,
[data-aff-link]:focus-visible {
    outline: 3px solid var(--soju-accent);
    outline-offset: 4px;
    z-index: 2;
}

#_dynamic_list-174-237.swiper-wrapper {
    width: 100%;
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(0.8rem, 2vw, 1.5rem);
    transform: none !important;
}

#_dynamic_list-174-237 > .swiper-slide {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

.ou-content-slider-wrapper,
.oxy-ou-content-slider,
.swiper-container {
    height: auto !important;
}

.swiper-pagination,
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

@media (max-width: 900px) {
    .site-nav-items {
        justify-content: flex-start;
        gap: 1.1rem;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    .site-nav-link {
        flex: 0 0 auto;
    }

    .site-nav-icon {
        display: none;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav-items--footer {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .site-hero-art img {
        aspect-ratio: 1080 / 855;
        object-fit: cover;
    }

    #div_block-285-230,
    #div_block-290-230 {
        display: none !important;
    }

    .site-announcement {
        min-height: 35px;
        font-size: 0.78rem;
    }

    .site-account-actions {
        min-height: 76px;
        gap: 0.5rem;
        padding: 0.6rem 0.85rem;
    }

    .site-brand img {
        width: 100px;
    }

    .site-account-buttons {
        gap: 0.4rem;
    }

    .site-button {
        min-height: 42px;
        padding: 0.55rem 0.8rem;
        font-size: 0.87rem;
    }

    .site-navigation-inner {
        padding: 0.35rem 0.85rem;
    }

    .site-nav-items {
        gap: 1rem;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
    }

    .site-footer-details {
        gap: 1.5rem;
    }
}

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

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