/* site palette */
html:root {
    --bg: #FDFDFC;
    --surface: #FDFDFC;
    --surface-alt: #E5E7F4;
    --text: #302419;
    --text-muted: #6D6055;
    --border: #E4DDD8;
    --primary: #16171E;
    --primary-hover: #070709;
    --on-primary: #FFFFFF;
    --primary-text: #16171E;
    --accent: #C7A8F6;
    --on-accent: #111111;
    --accent-text: #8C4CEC;
    --dark-band: #221910;
    --on-dark: #FFFFFF;
    --on-dark-muted: #C3BCB6;
    --brand-btn-bg: #FFFFFF;
    --brand-btn-text: #16171E;
    --section-alt-bg: #E5E7F4;
    --dark-band-bg: #221910;
    --brand-band-bg: #16171E;
    --hero-bg: #221910;
}

/* /site palette */

*,
::before,
::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'IBM Plex Sans Thai', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.text-muted {
    color: #6D6055 !important;
}

.xk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 12px 28px;
    font-weight: 600;
    font-family: 'IBM Plex Sans Thai', sans-serif;
    background-color: var(--primary);
    color: var(--on-primary);
    border: 2px solid var(--primary);
    box-shadow: 0px 4px 0px 0px var(--dark-band, #221910);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.xk-btn:hover {
    background-color: var(--primary-hover);
    color: var(--on-primary);
    box-shadow: 0px 2px 0px 0px var(--dark-band, #221910);
    transform: translateY(2px);
}

.xk-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 12px 28px;
    font-weight: 600;
    font-family: 'IBM Plex Sans Thai', sans-serif;
    background-color: transparent;
    color: var(--primary-text, var(--primary));
    border: 2px solid currentColor;
    box-shadow: 0px 4px 0px 0px var(--dark-band, #221910);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.xk-btn-alt:hover {
    background-color: var(--surface-alt);
    box-shadow: 0px 2px 0px 0px var(--dark-band, #221910);
    transform: translateY(2px);
}

.xk-card {
    position: relative;
    background-color: var(--surface);
    color: var(--text);
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: 0px 6px 0px 0px var(--dark-band, #221910);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.xk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 0px 0px var(--dark-band, #221910);
}

.xk-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    overflow: hidden;
    border-bottom: 2px solid var(--border);
}

.xk-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xk-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-text, var(--accent));
    margin-bottom: 0.5rem;
}

.xk-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

.xk-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent);
    color: var(--on-accent);
    border-radius: 9999px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.xk-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background-color: var(--surface-alt);
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.xk-section {
    padding-top: clamp(4rem, 8vw, 6.5rem);
    padding-bottom: clamp(4rem, 8vw, 6.5rem);
    background-color: var(--bg);
}

.xk-section-alt {
    padding-top: clamp(4rem, 8vw, 6.5rem);
    padding-bottom: clamp(4rem, 8vw, 6.5rem);
    background-color: var(--section-alt-bg, var(--surface-alt));
}

.xk-section-dark {
    padding-top: clamp(4rem, 8vw, 6.5rem);
    padding-bottom: clamp(4rem, 8vw, 6.5rem);
    background-color: var(--dark-band-bg, var(--dark-band));
    color: var(--on-dark);
}

.xk-section-brand {
    padding-top: clamp(4rem, 8vw, 6.5rem);
    padding-bottom: clamp(4rem, 8vw, 6.5rem);
    background-color: var(--brand-band-bg, var(--primary));
    color: var(--on-primary);
}

.xk-section-brand .xk-btn {
    background-color: var(--brand-btn-bg, #FFFFFF);
    color: var(--brand-btn-text, #16171E);
    border-color: var(--brand-btn-bg, #FFFFFF);
    box-shadow: 0px 4px 0px 0px #070709;
}

.xk-section-brand .xk-btn:hover {
    background-color: var(--surface-alt, #E5E7F4);
    box-shadow: 0px 2px 0px 0px #070709;
}

.xk-section-brand .xk-btn-alt {
    color: var(--on-primary);
    border-color: var(--on-primary);
    box-shadow: 0px 4px 0px 0px #070709;
}

.xk-section-dark,
.xk-on-dark {
    color: var(--on-dark);
}

.xk-section-dark h1,
.xk-section-dark h2,
.xk-section-dark h3,
.xk-section-dark h4,
.xk-on-dark h1,
.xk-on-dark h2,
.xk-on-dark h3,
.xk-on-dark h4,
.xk-section-dark .xk-title,
.xk-on-dark .xk-title {
    color: var(--on-dark);
}

.xk-section-dark p,
.xk-on-dark p {
    color: var(--on-dark-muted);
}

.xk-section-dark a,
.xk-on-dark a {
    color: var(--on-dark);
}

.xk-section-dark .xk-eyebrow,
.xk-on-dark .xk-eyebrow {
    color: var(--accent);
}

.xk-section-dark .xk-btn-alt,
.xk-on-dark .xk-btn-alt {
    color: #16171E;
    background-color: #C7A8F6;
    border-color: #16171E;
    box-shadow: 0px 4px 0px 0px #000000;
}

.xk-section-dark .xk-btn-alt:hover,
.xk-section-dark .xk-btn-alt:focus-visible,
.xk-on-dark .xk-btn-alt:hover,
.xk-on-dark .xk-btn-alt:focus-visible {
    color: #FFFFFF;
    background-color: #8C4CEC;
    border-color: #16171E;
}

.xk-section-dark .xk-btn-alt:active,
.xk-on-dark .xk-btn-alt:active {
    color: #FFFFFF;
    background-color: #723AC5;
    border-color: #16171E;
}

.xk-section-dark .text-muted,
.xk-on-dark .text-muted {
    color: var(--on-dark-muted) !important;
}

.xk-section-dark .xk-card,
.xk-on-dark .xk-card {
    background-color: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.xk-section-dark .xk-card h1,
.xk-section-dark .xk-card h2,
.xk-section-dark .xk-card h3,
.xk-section-dark .xk-card h4,
.xk-on-dark .xk-card h1,
.xk-on-dark .xk-card h2,
.xk-on-dark .xk-card h3,
.xk-on-dark .xk-card h4,
.xk-section-dark .xk-card p,
.xk-on-dark .xk-card p {
    color: var(--text);
}

.xk-section-dark .xk-card .text-muted,
.xk-on-dark .xk-card .text-muted {
    color: #6D6055 !important;
}

.xk-section-dark .xk-card h1 a,
.xk-section-dark .xk-card h2 a,
.xk-section-dark .xk-card h3 a,
.xk-section-dark .xk-card h4 a,
.xk-on-dark .xk-card h1 a,
.xk-on-dark .xk-card h2 a,
.xk-on-dark .xk-card h3 a,
.xk-on-dark .xk-card h4 a {
    color: var(--text);
}

.xk-section-dark .xk-card h1 a:hover,
.xk-section-dark .xk-card h2 a:hover,
.xk-section-dark .xk-card h3 a:hover,
.xk-section-dark .xk-card h4 a:hover,
.xk-on-dark .xk-card h1 a:hover,
.xk-on-dark .xk-card h2 a:hover,
.xk-on-dark .xk-card h3 a:hover,
.xk-on-dark .xk-card h4 a:hover {
    color: var(--accent-text);
}

/* ===== header ===== */
.copper-header {
    font-family: 'IBM Plex Sans Thai', sans-serif;
}

.copper-header .copper-logo-img {
    max-width: 44px;
    max-height: 44px;
}

.copper-header .copper-nav-link {
    position: relative;
}

.copper-header .js-dropdown-menu.is-open {
    display: block;
}

.copper-header .js-dropdown-icon.is-rotated {
    transform: rotate(180deg);
}

.copper-header .js-mobile-menu.is-active {
    display: block;
}

@media (max-width: 767px) {
    .copper-header .copper-nav-link {
        font-size: 0.8rem;
    }
}

/* ===== hero ===== */
.cf-hero {
    position: relative;
    min-height: 580px;
    background-color: var(--dark-band);
}

.cf-hero .cf-hero-bg-layer {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
    opacity: 0.38;
    z-index: 1;
}

.cf-hero .cf-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 23, 30, 0.85) 0%, rgba(34, 25, 16, 0.94) 75%, rgba(34, 25, 16, 0.99) 100%);
    z-index: 2;
}

.cf-hero .cf-hero-glow-left {
    position: absolute;
    top: 15%;
    left: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(140, 76, 236, 0.28) 0%, transparent 70%);
    border-radius: 9999px;
    z-index: 3;
    pointer-events: none;
}

.cf-hero .cf-hero-glow-right {
    position: absolute;
    bottom: 20%;
    right: -60px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(199, 168, 246, 0.22) 0%, transparent 70%);
    border-radius: 9999px;
    z-index: 3;
    pointer-events: none;
}

.cf-hero .cf-hero-token-1 {
    position: absolute;
    top: 18%;
    left: 4%;
    color: var(--accent);
    opacity: 0.45;
    z-index: 4;
    border: 2px dashed rgba(199, 168, 246, 0.4);
    border-radius: 9999px;
    padding: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-hero .cf-hero-token-2 {
    position: absolute;
    top: 22%;
    right: 4%;
    color: var(--accent);
    opacity: 0.45;
    z-index: 4;
    border: 2px dashed rgba(199, 168, 246, 0.4);
    border-radius: 9999px;
    padding: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-hero .cf-hero-side-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none;
}

.cf-hero .cf-hero-side-icon {
    background: transparent;
    border: 0;
}

.cf-hero .cf-hero-stat-bubble {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none;
}

.cf-hero .cf-hero-bottom-cut {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 12;
    line-height: 0;
}

@media (max-width: 767px) {

    .cf-hero .cf-hero-token-1,
    .cf-hero .cf-hero-token-2 {
        display: none;
    }
}

/* ===== categories ===== */
.categories-grid .category-card {
    border: 2px solid #E4DDD8;
    box-shadow: inset 0 0 0 2px #FFFFFF, 0 0 0 2px #C7A8F6, 0px 6px 0px 0px #221910;
    text-decoration: none;
}

.categories-grid .category-card:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 0 0 2px #FFFFFF, 0 0 0 2px #8C4CEC, 0px 9px 0px 0px #221910;
}

.categories-grid .category-card:active {
    transform: translateY(2px);
    box-shadow: inset 0 0 0 2px #FFFFFF, 0 0 0 2px #8C4CEC, 0px 4px 0px 0px #221910;
}

.categories-grid .category-card .category-icon-wrapper {
    border: 2px solid #16171E;
    box-shadow: 0px 3px 0px 0px #221910;
    transition: transform 0.2s ease;
}

.categories-grid .category-card:hover .category-icon-wrapper {
    transform: scale(1.06);
    background-color: #C7A8F6;
}

@media (max-width: 767px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== all_games ===== */
.xk-all-games .xk-game-tile {
    box-shadow: 0px 6px 0px 0px #221910;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.xk-all-games .xk-game-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0px 10px 0px 0px #221910;
}

.xk-all-games .xk-game-tile a {
    text-decoration: none;
}

@media (max-width: 767px) {
    .xk-all-games .grid {
        grid-template-columns: 1fr;
    }
}

/* ===== coming_soon ===== */
.coming-soon-block .coming-soon-card {
    box-shadow: 0 6px 0 0 #070709;
}

.coming-soon-block .coming-soon-card:hover {
    box-shadow: 0 8px 0 0 #8C4CEC;
}

@media (max-width: 767px) {
    .coming-soon-block .coming-soon-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== tournaments ===== */
.tournaments-block .tournament-item {
    box-shadow: 0 6px 0 0 var(--dark-band);
}

.tournaments-block .tournaments-summary-ledge {
    box-shadow: 0 6px 0 0 var(--dark-band);
}

.tournaments-block .tournaments-tab.active {
    box-shadow: 0 3px 0 0 var(--dark-band);
}

@media (max-width: 767px) {
    .tournaments-block .tournaments-tab {
        width: 100%;
        justify-content: center;
    }
}

/* ===== news_grid ===== */
.news-grid-section .news-title-decor {
    position: absolute;
    top: -8px;
    left: -12px;
    width: 44px;
    height: 44px;
    background-color: #E5E7F4;
    border-radius: 14px;
    z-index: -1;
}

.news-grid-section .news-wavy-line {
    width: 90px;
    height: 8px;
    background: radial-gradient(ellipse at center, #8C4CEC 50%, transparent 50%);
    background-size: 12px 8px;
    background-repeat: repeat-x;
}

.news-grid-section .news-card {
    box-shadow: 0px 6px 0px 0px #221910;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-grid-section .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 10px 0px 0px #221910;
}

.news-grid-section .news-media-link img {
    transition: transform 0.3s ease;
}

.news-grid-section .news-card:hover .news-media-link img {
    transform: scale(1.05);
}

.news-grid-section .news-title-link {
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.news-grid-section .news-action-btn {
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-grid-section .news-action-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .news-grid-section .news-card {
        margin-bottom: 0.5rem;
    }
}

/* ===== footer ===== */
.site-footer {
    overflow-wrap: anywhere;
}

.site-footer a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 767px) {
    .site-footer .footer-col {
        width: 100%;
    }
}

/* ===== PAGE: about ===== */
.about-block .about-art-frame {
  box-shadow: 0px 6px 0px 0px var(--dark-band, #221910);
}
.about-block .about-stat-item {
  box-shadow: 0px 4px 0px 0px var(--dark-band, #221910);
}
@media (max-width: 767px) {
  .about-block .about-split-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PAGE: games ===== */
.games-catalog-section .xk-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.games-catalog-section .xk-card:hover { transform: translateY(-4px); box-shadow: 0px 10px 0px 0px #221910; }
.games-catalog-section .js-page-btn:active { transform: translateY(2px); box-shadow: 0px 2px 0px 0px #221910; }
.games-catalog-section .js-page-btn.active { background-color: #16171E; color: #FFFFFF; }
@media (max-width: 639px) { .games-catalog-section .js-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== PAGE: news ===== */
.cf-news-block {
  overflow-x: hidden;
}
.cf-news-block .cf-news-card {
  box-shadow: 0 4px 0 0 var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cf-news-block .cf-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 0 var(--dark-band);
}
.cf-news-block .cf-news-card h3 a {
  overflow-wrap: anywhere;
  text-decoration: none;
}
@media (max-width: 767px) {
  .cf-news-block .cf-news-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== PAGE: rooms ===== */
.lobby-info-section .lobby-stat-bubble {
  box-shadow: 0 4px 0 0 var(--border);
  transition: transform 0.2s ease;
}
.lobby-info-section .lobby-stat-bubble:hover {
  transform: translateY(-2px);
}
.lobby-info-section .lobby-room-card {
  min-height: 100%;
}
@media (max-width: 767px) {
  .lobby-info-section .lobby-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .lobby-info-section .lobby-grid {
    grid-template-columns: 1fr;
  }
  .lobby-info-section .lobby-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== PAGE: quests ===== */
.quests-overview .quests-card {
  background: #FDFDFC;
  border: 2px solid #E4DDD8;
  border-radius: 16px;
  box-shadow: 0 6px 0 0 #221910;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quests-overview .quests-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 0 #221910;
}
.quests-overview .quests-progress-bar div {
  transition: width 0.3s ease;
}
@media (max-width: 767px) {
  .quests-overview .grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PAGE: chat ===== */
.chat-system-feed .chat-log-card{box-shadow:inset 0 0 0 2px #FFFFFF,0 0 0 2px #C7A8F6,0 6px 0 0 #221910;transition:transform 0.2s ease}.chat-system-feed .chat-log-card:hover{transform:translateY(-2px)}.chat-system-feed .chat-notice-box{box-shadow:0 4px 0 0 #221910}@media(max-width:767px){.chat-system-feed .grid{grid-template-columns:1fr}}

/* ===== PAGE: contact ===== */
.contact-page-section .contact-wavy-line {
  background-image: radial-gradient(ellipse at center, var(--accent-text) 50%, transparent 50%);
  background-size: 12px 6px;
  background-repeat: repeat-x;
}

.contact-page-section .contact-info-card {
  box-shadow: 0px 5px 0px 0px var(--dark-band);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-page-section .contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 7px 0px 0px var(--dark-band);
}

.contact-page-section .contact-map-wrapper iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}

.contact-page-section .contact-faq-item button:focus {
  outline: none;
}

.contact-page-section .contact-faq-item button.is-active i {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .contact-page-section .grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PAGE: privacy ===== */
.privacy-content-block { overflow-wrap: anywhere; word-break: break-word; } .privacy-content-block ul { padding-left: 0; } .privacy-content-block article { transition: transform 0.2s ease, box-shadow 0.2s ease; } .privacy-content-block article:hover { transform: translateY(-2px); } @media (max-width: 767px) { .privacy-content-block .grid { grid-template-columns: 1fr; } }

/* ===== PAGE: terms ===== */
.terms-page-block .terms-clause-card { box-shadow: 0px 6px 0px 0px #221910; } .terms-page-block .js-terms-tab-btn.active { background-color: var(--primary); color: var(--on-primary); border-color: var(--primary); box-shadow: 0px 4px 0px 0px #221910; } .terms-page-block .js-terms-tab-btn:hover:not(.active) { background-color: var(--surface-alt); } .terms-page-block .xk-btn { box-shadow: 0px 4px 0px 0px #221910; } .terms-page-block .xk-btn:hover { transform: translateY(2px); box-shadow: 0px 2px 0px 0px #221910; } .terms-page-block .xk-btn-alt { box-shadow: 0px 4px 0px 0px #221910; } .terms-page-block .xk-btn-alt:hover { transform: translateY(2px); box-shadow: 0px 2px 0px 0px #221910; }

/* ===== PAGE: disclaimer ===== */
.disclaimer-content {
  background-color: var(--bg, #FDFDFC);
  color: var(--text, #302419);
  font-family: 'IBM Plex Sans Thai', sans-serif;
  overflow-wrap: anywhere;
}

.disclaimer-content__wavy-line {
  background-image: radial-gradient(ellipse at center, #8C4CEC 50%, transparent 50%);
  background-size: 12px 8px;
  background-repeat: repeat-x;
}

.disclaimer-content__card {
  box-shadow: 0px 6px 0px 0px #221910;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.disclaimer-content__card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 0px 0px #221910;
}

.disclaimer-content__article {
  box-shadow: 0px 4px 0px 0px #221910;
  transition: border-color 0.2s ease;
}

.disclaimer-content__article:hover {
  border-color: #C7A8F6;
}

.disclaimer-content__banner {
  box-shadow: 0px 6px 0px 0px #221910;
}

@media (max-width: 767px) {
  .disclaimer-content .grid {
    grid-template-columns: 1fr;
  }
  .disclaimer-content__banner {
    flex-direction: column;
    text-align: center;
  }
}

.comment-card {
    font-family: 'IBM Plex Sans Thai', sans-serif;
}

.comment-avatar-box,
.comment-avatar-box img {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    object-fit: cover;
}

.action-btn {
    box-shadow: 0px 2px 0px 0px #221910;
}

.action-btn:active {
    transform: translateY(2px);
    box-shadow: 0px 0px 0px 0px #221910;
}

.reply-card {
    font-family: 'IBM Plex Sans Thai', sans-serif;
}

.comment-avatar-box,
.comment-avatar-box img {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    object-fit: cover;
}

.action-btn {
    box-shadow: 0px 2px 0px 0px #221910;
}

.action-btn:active {
    transform: translateY(2px);
    box-shadow: 0px 0px 0px 0px #221910;
}


/* ===== PAGE TEMPLATE: games-list ===== */
.copper-header {
    font-family: 'IBM Plex Sans Thai', sans-serif;
}

.copper-header .copper-logo-img {
    max-width: 44px;
    max-height: 44px;
}

.copper-header .copper-nav-link {
    position: relative;
}

.copper-header .js-dropdown-menu.is-open {
    display: block;
}

.copper-header .js-dropdown-icon.is-rotated {
    transform: rotate(180deg);
}

.copper-header .js-mobile-menu.is-active {
    display: block;
}

@media (max-width: 767px) {
    .copper-header .copper-nav-link {
        font-size: 0.8rem;
    }
}

.cf-hero {
    position: relative;
    min-height: 280px;
    background-color: var(--dark-band);
}

.cf-hero .cf-hero-bg-layer {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 1;
}

.cf-hero .cf-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 23, 30, 0.88) 0%, rgba(34, 25, 16, 0.96) 80%, rgba(34, 25, 16, 0.99) 100%);
    z-index: 2;
}

.cf-hero .cf-hero-glow-left {
    position: absolute;
    top: 15%;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(140, 76, 236, 0.25) 0%, transparent 70%);
    border-radius: 9999px;
    z-index: 3;
    pointer-events: none;
}

.cf-hero .cf-hero-glow-right {
    position: absolute;
    bottom: 20%;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(199, 168, 246, 0.2) 0%, transparent 70%);
    border-radius: 9999px;
    z-index: 3;
    pointer-events: none;
}

.cf-hero .cf-hero-token-1 {
    position: absolute;
    top: 25%;
    left: 4%;
    color: var(--accent);
    opacity: 0.45;
    z-index: 4;
    border: 2px dashed rgba(199, 168, 246, 0.4);
    border-radius: 9999px;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-hero .cf-hero-token-2 {
    position: absolute;
    top: 30%;
    right: 4%;
    color: var(--accent);
    opacity: 0.45;
    z-index: 4;
    border: 2px dashed rgba(199, 168, 246, 0.4);
    border-radius: 9999px;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {

    .cf-hero .cf-hero-token-1,
    .cf-hero .cf-hero-token-2 {
        display: none;
    }
}

.game-player-section .game-player-wrapper {
    border: 3px solid #16171E;
    box-shadow: 0 8px 0 0 #221910;
    background-color: #070709;
}

.game-player-wrapper:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.game-player-wrapper:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.game-player-wrapper:fullscreen .game-iframe-holder {
    flex: 1 1 100%;
    height: calc(100vh - 46px) !important;
}

.game-player-wrapper:-webkit-full-screen .game-iframe-holder {
    flex: 1 1 100%;
    height: calc(100vh - 46px) !important;
}

.game-player-wrapper:fullscreen .game-iframe {
    height: 100% !important;
    max-height: 100% !important;
}

.game-player-wrapper:-webkit-full-screen .game-iframe {
    height: 100% !important;
    max-height: 100% !important;
}

@media (max-width: 767px) {

    .key-facts-box .facts-table,
    .key-facts-box .facts-table tbody,
    .key-facts-box .facts-table tr,
    .key-facts-box .facts-table th,
    .key-facts-box .facts-table td {
        display: block;
        width: 100%;
    }

    .key-facts-box .fact-th {
        border-top: 1px solid #E4DDD8;
        background-color: #E5E7F4;
    }

    .key-facts-box .fact-td {
        padding-left: 1.25rem;
    }
}

.site-footer {
    overflow-wrap: anywhere;
}

.site-footer a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 767px) {
    .site-footer .footer-col {
        width: 100%;
    }
}

/* ===== PAGE TEMPLATE: news-list ===== */
.copper-header {
    font-family: 'IBM Plex Sans Thai', sans-serif;
}

.copper-header .copper-logo-img {
    max-width: 44px;
    max-height: 44px;
}

.copper-header .copper-nav-link {
    position: relative;
}

.copper-header .js-dropdown-menu.is-open {
    display: block;
}

.copper-header .js-dropdown-icon.is-rotated {
    transform: rotate(180deg);
}

.copper-header .js-mobile-menu.is-active {
    display: block;
}

@media (max-width: 767px) {
    .copper-header .copper-nav-link {
        font-size: 0.8rem;
    }
}

.cf-hero {
    position: relative;
    min-height: 480px;
    background-color: var(--dark-band);
}

.cf-hero .cf-hero-bg-layer {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
    opacity: 0.38;
    z-index: 1;
}

.cf-hero .cf-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 23, 30, 0.85) 0%, rgba(34, 25, 16, 0.94) 75%, rgba(34, 25, 16, 0.99) 100%);
    z-index: 2;
}

.cf-hero .cf-hero-glow-left {
    position: absolute;
    top: 15%;
    left: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(140, 76, 236, 0.28) 0%, transparent 70%);
    border-radius: 9999px;
    z-index: 3;
    pointer-events: none;
}

.cf-hero .cf-hero-glow-right {
    position: absolute;
    bottom: 20%;
    right: -60px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(199, 168, 246, 0.22) 0%, transparent 70%);
    border-radius: 9999px;
    z-index: 3;
    pointer-events: none;
}

.cf-hero .cf-hero-token-1,
.cf-hero .cf-hero-token-2 {
    position: absolute;
    color: var(--accent);
    opacity: 0.45;
    z-index: 4;
    border: 2px dashed rgba(199, 168, 246, 0.4);
    border-radius: 9999px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-hero .cf-hero-token-1 {
    top: 18%;
    left: 4%;
}

.cf-hero .cf-hero-token-2 {
    top: 22%;
    right: 4%;
}

.cf-hero .cf-hero-side-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none;
}

.cf-hero .cf-hero-side-icon {
    background: transparent;
    border: 0;
}

.cf-hero .cf-hero-bottom-cut {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 12;
    line-height: 0;
}

@media (max-width: 767px) {

    .cf-hero .cf-hero-token-1,
    .cf-hero .cf-hero-token-2 {
        display: none;
    }
}

.article-detail-flow {
    overflow-wrap: anywhere;
}

.article-detail-flow .article-num-badge {
    text-shadow: 2px 2px 0px #16171E;
}

.article-detail-flow .article-game-wrapper:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    border: none;
    border-radius: 0;
    z-index: 999999;
}

.article-detail-flow .article-game-wrapper:fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    border: none;
    border-radius: 0;
    z-index: 999999;
}

.article-detail-flow .article-game-wrapper:fullscreen .article-iframe-container {
    height: 100vh;
}

.article-detail-flow .article-game-wrapper:-webkit-full-screen .article-iframe-container {
    height: 100vh;
}

.site-footer {
    overflow-wrap: anywhere;
}

.site-footer a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 767px) {
    .site-footer .footer-col {
        width: 100%;
    }
}

/* mobile-text-guard */
@media (max-width: 767px) {
  h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figcaption, td, th, label {
    overflow-wrap: anywhere;
  }
  a, button, .btn {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  img, video, iframe {
    max-width: 100%;
  }
}
