/*
 * U388 project skin -- per-project visual identity layer.
 *
 * Owner request 2026-09-25: every domain on the shared LuckyStar theme looked
 * the same (navy + violet). This file gives u-388.my its own look in U388's
 * brand palette (deep green + gold yellow, the colours of the official U388
 * logo and lobby) and the Poppins typeface the brand itself uses.
 *
 * Synced by publish.sh (step 3c) to wp-content/mu-plugins/cf-100cuci-assets/skin.css
 * and enqueued by the project's bridge mu-plugin AFTER project.css, so it wins
 * without editing the theme. Only this project has it; other projects are
 * untouched. Colour and type only -- no layout changes, so the factory's
 * responsive table / image rules in block-content.css keep working.
 */

:root {
  --u-bg: #07150f;
  --u-surface: #0f261c;
  --u-surface-2: #143326;
  --u-green: #1f4d3a;
  --u-green-bright: #2f7a58;
  --u-gold: #f5d63d;
  --u-gold-deep: #e0b719;
  --u-ink: #0b1a13;
  --u-text: #eef3ef;
  --u-muted: #c3d0c8;
  --u-line: rgba(245, 214, 61, 0.18);

  /* theme variables, re-pointed to the U388 palette */
  --color-backgroudn: var(--u-bg);
  --color-bg-header: linear-gradient(100deg, #173d2d 0%, #0f261c 55%, #0c2018 100%);
  --color-bg-text: linear-gradient(100deg, #12301f 0%, rgba(18, 48, 31, 0) 100%);
  /* flat, so house-style images (generated on this exact colour) sit seamlessly */
  --color-secondary-bg: #11261c;
  --color-text: var(--u-text);
  --color-text-muted: var(--u-muted);
  --color-primary: var(--u-gold);
  --green-gradient: linear-gradient(180deg, #ffe460 0%, #f5d63d 55%, #e0b719 100%);
  --button-bg-color: linear-gradient(180deg, #ffe460 0%, #f5d63d 55%, #e0b719 100%);
  --button-box-shadow: 0 6px 18px rgba(245, 214, 61, 0.28);
  --color-before: var(--u-gold);
  --background-before-line: linear-gradient(90deg, #f5d63d 0%, #2f7a58 100%);
  --border-text: 1px solid var(--u-line);
  --font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--u-bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(47, 122, 88, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(245, 214, 61, 0.06), transparent 60%);
  background-attachment: fixed;
  color: var(--u-muted);
  font-family: var(--font-family);
}

/* ---- header ----------------------------------------------------------- */
#header {
  /* the theme's sticky header sat below article content (text painted over
     it while scrolling); lift it above the page body */
  z-index: 100;
  background: var(--color-bg-header);
  border-bottom: 1px solid var(--u-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header__wrap ul li a {
  font-family: var(--font-family);
  letter-spacing: 0.01em;
}

.header__wrap ul li:hover a,
.header__wrap ul .current-menu-item a {
  color: var(--u-gold);
}

.btn_login {
  background-color: transparent;
  border: 1.5px solid var(--u-gold);
  color: var(--u-gold);
}

.btn_login:hover {
  background-color: rgba(245, 214, 61, 0.12);
  color: var(--u-gold);
}

.btn_registration {
  background-image: var(--green-gradient);
  color: var(--u-ink);
  box-shadow: var(--button-box-shadow);
}

.btn_registration:hover {
  opacity: 1;
  filter: brightness(1.06);
}

/* ---- article typography ---------------------------------------------- */
.games-info__cnt h1,
.games-info__cnt h2,
.games-info__cnt h3,
.games-info__cnt h4 {
  font-family: var(--font-family);
  color: var(--u-text);
  letter-spacing: -0.01em;
}

.games-info__cnt h2 {
  border-bottom-color: var(--u-gold);
}

.games-info__cnt h3 {
  color: var(--u-gold);
}

.games-info__cnt p,
.games-info__cnt li,
.games-info__cnt td,
.games-info__cnt th,
.games-info__cnt figcaption {
  font-family: var(--font-family);
  line-height: 1.7;
}

.games-info__cnt strong {
  color: var(--u-text);
}

.games-info__cnt a:not(.wp-block-button__link) {
  color: var(--u-gold);
  text-decoration-color: rgba(245, 214, 61, 0.45);
}

.games-info__cnt a:not(.wp-block-button__link):hover {
  text-decoration-color: var(--u-gold);
}

.games-info__cnt ul li::marker,
.games-info__cnt ol li::marker {
  color: var(--u-gold);
  font-weight: 700;
}

/* ---- tables ------------------------------------------------------------ */
.wp-block-table table thead tr th {
  background: var(--u-green);
  color: var(--u-gold);
  font-weight: 700;
  border-bottom: 2px solid var(--u-gold);
}

.wp-block-table table tbody tr td {
  background: var(--u-surface);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--u-text);
}

.wp-block-table table tbody tr:nth-child(even) td {
  background: var(--u-surface-2);
}

/* Desktop only: the theme gives tables min-width:max-content, so a column of
   long verdict text pushed the last column out of view. Above the factory's
   640px mobile breakpoint the table now fits its column and cells wrap;
   below it the factory's horizontal-scroll design is left untouched. */
@media (min-width: 641px) {
  .games-info__cnt figure.wp-block-table table {
    min-width: 0;
    width: 100%;
  }
  .games-info__cnt figure.wp-block-table table tr {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }
}

/* ---- table of contents ------------------------------------------------ */
#ez-toc-container.ez-toc-black {
  background: var(--u-surface);
  border: 1px solid var(--u-line);
  border-left: 4px solid var(--u-gold);
  border-radius: 10px;
}

#ez-toc-container .ez-toc-title {
  color: var(--u-gold);
  font-family: var(--font-family);
}

#ez-toc-container a {
  color: var(--u-muted) !important;
}

#ez-toc-container a:hover {
  color: var(--u-gold) !important;
}

/* ---- CTA (factory [cta] block renders as a core button) --------------- */
.games-info__cnt .wp-block-buttons {
  margin: 18px 0 28px;
}

.games-info__cnt .wp-block-button__link {
  background: var(--green-gradient);
  color: var(--u-ink);
  border-radius: 999px;
  padding: 14px 30px;
  font-family: var(--font-family);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: var(--button-box-shadow);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.games-info__cnt .wp-block-button__link:hover {
  color: var(--u-ink);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* ---- FAQ ---------------------------------------------------------------- */
.faq__box {
  background: var(--u-surface);
  box-shadow: none;
  border: 1px solid var(--u-line);
  border-left: 4px solid var(--u-green-bright);
}

.faq__box h4 {
  font-family: var(--font-family);
  color: var(--u-text);
}

.open .faq__box,
.faq__box:hover {
  border-left-color: var(--u-gold);
}

.faq__plus span {
  background-color: var(--u-gold);
}

.submenu p {
  font-family: var(--font-family);
}

/* ---- footer ------------------------------------------------------------ */
footer,
#footer {
  border-top: 1px solid var(--u-line);
}
