/*
Theme Name: W69VIP Thai
Theme URI: https://w69-vip.org/
Author: W69 VIP
Description: Thai SEO landing theme for W69 VIP casino and slot promotion content.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.3
Text Domain: w69vip-thai
*/

:root {
  --ink: #edf8ef;
  --heading: #fff1b8;
  --body: #d6e6db;
  --muted: #aebfb4;
  --soft: #8fa79a;
  --link: #4fe0b0;
  --link-2: #ffd76c;
  --bg: #06110f;
  --bg-2: #0e1d1b;
  --panel: #132520;
  --panel-2: #182b35;
  --line: rgba(248, 250, 247, 0.13);
  --gold: #f1bd4b;
  --red: #d94235;
  --teal: #20b69f;
  --blue: #5c9df0;
  --violet: #9b7cf0;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Tahoma, sans-serif;
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
mark.w69-highlight {
  display: inline;
  padding: 0 0.12em;
  border-radius: 4px;
  color: #06110f;
  background: linear-gradient(135deg, #ffe27a, #42e8b0);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.btn mark.w69-highlight {
  padding: 0;
  color: inherit;
  background: transparent;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, rgba(11, 126, 81, 0.94), rgba(12, 169, 119, 0.9));
  border-bottom: 1px solid rgba(189, 255, 223, 0.32);
  box-shadow: 0 14px 42px rgba(5, 116, 75, 0.24);
  backdrop-filter: blur(16px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 800;
  color: #fff3c5;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #07110f;
  background: linear-gradient(135deg, var(--gold), #fff0a6);
  box-shadow: 0 12px 28px rgba(241, 189, 75, 0.28);
}

.menu {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.menu a:hover { color: #fff3c5; }
.actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 800;
  white-space: nowrap;
}
.btn-primary {
  color: #06110f;
  border-color: transparent;
  background: linear-gradient(120deg, #ffec7a 0%, #ff8a3d 23%, #ff4d6d 45%, #34f0b2 70%, #31b8ff 100%);
  background-size: 220% 220%;
  box-shadow: 0 0 0 rgba(47, 240, 170, 0);
  animation: w69vipButtonGlow 2.6s ease-in-out infinite, w69vipGradientShift 5.8s ease-in-out infinite;
}
.btn-ghost {
  color: #f7fff9;
  border-color: rgba(214, 255, 234, 0.36);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 212, 99, 0.22), rgba(48, 230, 174, 0.26), rgba(79, 172, 254, 0.22));
  background-size: 220% 220%;
  box-shadow: 0 0 0 rgba(214, 255, 234, 0);
  animation: w69vipSoftGlow 3.2s ease-in-out infinite, w69vipGradientShift 7s ease-in-out infinite;
}

@keyframes w69vipButtonGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(47, 240, 170, 0), 0 10px 22px rgba(4, 93, 63, 0.18);
  }
  50% {
    box-shadow: 0 0 24px rgba(47, 240, 170, 0.62), 0 14px 34px rgba(255, 225, 106, 0.26);
  }
}

@keyframes w69vipGradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes w69vipSoftGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(214, 255, 234, 0), 0 8px 18px rgba(2, 64, 45, 0.12);
  }
  50% {
    box-shadow: 0 0 18px rgba(214, 255, 234, 0.42), 0 12px 28px rgba(25, 201, 135, 0.22);
  }
}

.home-hero,
.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 72px;
  background:
    radial-gradient(circle at 15% 18%, rgba(32, 182, 159, 0.24), transparent 28%),
    radial-gradient(circle at 84% 28%, rgba(217, 66, 53, 0.2), transparent 31%),
    linear-gradient(135deg, #07110f 0%, #0c211e 52%, #241617 100%);
}
.landing-hero.hero-login { background: linear-gradient(135deg, #07131e, #0f2526 48%, #241b10); }
.landing-hero.hero-promo { background: linear-gradient(135deg, #171006, #2a1713 56%, #10241f); }
.landing-hero.hero-casino { background: linear-gradient(135deg, #06110f, #112019 45%, #202412); }
.landing-hero.hero-app { background: linear-gradient(135deg, #07101a, #102629 55%, #171d2f); }
.landing-hero.hero-vip { background: linear-gradient(135deg, #120e1b, #1b2034 48%, #281a12); }

.home-hero-grid,
.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 44px;
  align-items: center;
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  color: #ffdf80;
  font-weight: 800;
}

h1, h2, h3 { margin: 0 0 16px; line-height: 1.22; }
h1, h2 { color: var(--heading); }
h1 { font-size: clamp(36px, 5vw, 66px); }
h2 { font-size: clamp(27px, 3.4vw, 42px); }
h3 { color: #f6d77c; font-size: 22px; }
p { margin: 0 0 16px; color: var(--body); }
.section-heading p,
.editorial-grid p,
.columns-3 article p,
.intent-card small,
.media-grid figcaption + p {
  color: var(--muted);
}
.front-page-content a:not(.btn),
.editable-content a:not(.btn) {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.front-page-content a:not(.btn):hover,
.editable-content a:not(.btn):hover {
  color: var(--link-2);
}
.lead { color: #e8efe9; font-size: 19px; max-width: 720px; }

.hero-copy {
  max-width: 690px;
}
.hero-copy h1 {
  margin-bottom: 18px;
}
.hero-intro {
  display: grid;
  gap: 12px;
  max-width: 650px;
}
.hero-intro p {
  margin: 0;
  color: #e2eee7;
  font-size: 18px;
}
.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-benefits span {
  padding: 9px 13px;
  border-radius: 8px;
  border: 1px solid rgba(241, 189, 75, 0.32);
  color: #fff3c5;
  background: rgba(241, 189, 75, 0.12);
  font-weight: 800;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row,
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: #cfdbd3;
  font-size: 14px;
}
.trust-row span,
.byline span {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.home-carousel {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}
.home-carousel-track,
.home-slide {
  position: absolute;
  inset: 0;
}
.home-slide {
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 520ms ease, transform 760ms ease;
  pointer-events: none;
}
.home-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.home-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 17, 15, 0.86) 100%);
}
.home-slide figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 17, 15, 0.72);
  backdrop-filter: blur(10px);
}
.home-slide figcaption span {
  display: block;
  margin-bottom: 3px;
  color: #ffdf80;
  font-size: 14px;
  font-weight: 800;
}
.home-slide figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}
.home-carousel-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(6, 17, 15, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.carousel-btn,
.carousel-dots button {
  border: 0;
  cursor: pointer;
}
.carousel-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
  font-size: 24px;
  line-height: 1;
}
.carousel-btn:hover {
  background: rgba(241, 189, 75, 0.24);
}
.carousel-dots {
  display: flex;
  gap: 7px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}
.carousel-dots button.is-active {
  width: 24px;
  background: var(--gold);
}

.hero-gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-gallery img:first-child {
  grid-column: 1 / -1;
  max-height: 360px;
}
.hero-gallery img { min-height: 185px; }

.hero-entrance-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: stretch;
}
.hero-image-wide img,
.hero-copy-panel,
.login-hero-card,
.promo-hero-ticket,
.vip-copy-hero {
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-image-wide img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}
.hero-copy-panel {
  padding: 34px;
  background: rgba(255, 255, 255, 0.06);
}
.quick-checks,
.login-meter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 4px;
}
.quick-checks span,
.login-meter span {
  padding: 9px 12px;
  border-radius: 8px;
  color: #e9f7f3;
  background: rgba(32, 182, 159, 0.17);
  border: 1px solid rgba(32, 182, 159, 0.34);
}
.entrance-thumb-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.entrance-thumb-row img {
  width: 100%;
  min-height: 150px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.hero-login-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  align-items: center;
}
.login-hero-card {
  padding: 34px;
  background: rgba(8, 28, 44, 0.72);
}
.login-hero-images {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}
.login-hero-images img {
  width: 100%;
  min-height: 215px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.login-hero-images img:first-child {
  grid-row: span 2;
  min-height: 450px;
}

.hero-promo-layout {
  display: grid;
  grid-template-columns: 1fr 0.78fr 0.52fr;
  gap: 18px;
  align-items: center;
}
.promo-hero-ticket {
  padding: 12px;
  background: rgba(241, 189, 75, 0.13);
}
.promo-hero-ticket img,
.promo-hero-small img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.promo-hero-ticket img { min-height: 420px; }
.promo-hero-small {
  display: grid;
  gap: 14px;
}
.promo-hero-small img { min-height: 200px; }

.hero-casino-layout {
  display: grid;
  gap: 26px;
}
.casino-title-strip {
  max-width: 980px;
}
.casino-hero-row {
  display: grid;
  grid-template-columns: 1fr repeat(3, 0.72fr);
  gap: 14px;
  align-items: stretch;
}
.casino-hero-row .lead {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}
.casino-hero-row img {
  width: 100%;
  min-height: 260px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.hero-app-layout {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 38px;
  align-items: center;
}
.app-phone-frame {
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(92, 157, 240, 0.24), rgba(32, 182, 159, 0.12));
  border: 1px solid var(--line);
}
.app-phone-frame img,
.app-thumb-row img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.app-phone-frame img { min-height: 500px; }
.app-thumb-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.app-thumb-row img { min-height: 190px; }

.hero-vip-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr 0.62fr;
  gap: 18px;
  align-items: center;
}
.vip-badge img,
.vip-side-images img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.vip-badge img { min-height: 430px; }
.vip-copy-hero {
  padding: 34px;
  background: rgba(255, 255, 255, 0.06);
}
.vip-side-images {
  display: grid;
  gap: 14px;
}
.vip-side-images img { min-height: 205px; }

.section { padding: 74px 0; }
.section.alt { background: #0a1715; }
.section-heading { max-width: 830px; margin-bottom: 34px; }
.section-heading.wide { max-width: 980px; }
.front-page-content .section {
  position: relative;
  overflow: hidden;
}
.front-page-content .home-overview {
  background:
    linear-gradient(90deg, rgba(255, 236, 122, 0.08), transparent 34%),
    linear-gradient(135deg, #071713 0%, #0f261e 58%, #1d1710 100%);
}
.front-page-content .home-editorial {
  background:
    linear-gradient(135deg, rgba(32, 182, 159, 0.14), transparent 38%),
    #091714;
}
.front-page-content .home-game-cards {
  background:
    linear-gradient(90deg, rgba(255, 138, 61, 0.14), transparent 40%),
    #10140f;
}
.front-page-content .home-promo {
  background:
    linear-gradient(135deg, rgba(92, 157, 240, 0.16), transparent 38%),
    #07131c;
}
.front-page-content .home-service {
  background:
    linear-gradient(90deg, rgba(241, 189, 75, 0.12), transparent 44%),
    #101714;
}
.front-page-content .home-features {
  background:
    linear-gradient(135deg, rgba(155, 124, 240, 0.14), transparent 36%),
    #0b101b;
}
.front-page-content .home-products {
  background:
    linear-gradient(90deg, rgba(217, 66, 53, 0.1), transparent 36%),
    #06110f;
}
.front-page-content .home-media {
  background:
    linear-gradient(135deg, rgba(32, 182, 159, 0.12), transparent 42%),
    #071713;
}
.front-page-content .home-faq {
  background: #0d1712;
}
.front-page-content .section-heading.wide {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 22px 34px;
  align-items: start;
  max-width: none;
}
.front-page-content .section-heading.wide .kicker {
  align-self: start;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 8px;
  color: #07110f;
  background: linear-gradient(135deg, #ffec7a, #33e6ab);
}
.front-page-content .section-heading.wide h2,
.front-page-content .section-heading.wide p:not(.kicker) {
  grid-column: 2;
}
.home-link-hub {
  margin-top: 34px;
  padding: 26px;
  border-radius: 8px;
  border: 1px solid rgba(79, 224, 176, 0.24);
  background:
    linear-gradient(135deg, rgba(79, 224, 176, 0.12), rgba(255, 215, 108, 0.07)),
    rgba(5, 30, 24, 0.68);
}
.home-link-hub h3 {
  margin-bottom: 18px;
}
.home-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.home-link-grid a {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(248, 250, 247, 0.12);
  background: rgba(255, 255, 255, 0.055);
}
.home-link-grid a:hover {
  border-color: rgba(255, 215, 108, 0.42);
  background: rgba(255, 255, 255, 0.08);
}
.home-link-grid strong {
  color: var(--link-2);
  font-size: 18px;
  line-height: 1.35;
}
.home-link-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.editable-content .home-link-hub {
  margin-top: 0;
  padding: 28px;
  border-color: rgba(79, 224, 176, 0.18);
  background:
    linear-gradient(135deg, rgba(79, 224, 176, 0.08), rgba(255, 215, 108, 0.04)),
    rgba(9, 26, 22, 0.9);
}
.editable-content .home-link-hub .kicker {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 8px;
  color: #07110f;
  background: linear-gradient(135deg, #ffdf80, #42e8b0);
}
.editable-content .home-link-hub h3 {
  margin-bottom: 18px;
  color: #f5d67a;
  font-size: clamp(22px, 2.4vw, 30px);
}
.editable-content .home-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.editable-content .home-link-grid a {
  position: relative;
  min-height: 0;
  padding: 18px 18px 18px 20px;
  overflow: hidden;
  border-color: rgba(248, 250, 247, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(12, 34, 28, 0.82);
}
.editable-content .home-link-grid a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #ffdf80, #42e8b0);
}
.editable-content .home-link-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 224, 176, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(12, 42, 33, 0.9);
}
.editable-content .home-link-grid strong {
  color: #ffe18a;
  font-size: 17px;
}
.editable-content .home-link-grid span {
  color: #aec6b7;
  font-size: 14px;
}
.editable-page {
  padding-top: 68px;
}
.editable-content > section {
  margin-bottom: 60px;
}
.editable-content > section:last-child {
  margin-bottom: 0;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.intent-card {
  min-height: 185px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.intent-card span { color: #ffdf80; font-weight: 800; }
.intent-card strong { display: block; margin: 12px 0 8px; color: #f5e3a1; font-size: 24px; }
.intent-card small { color: var(--soft); font-size: 15px; }
.intent-red { background: linear-gradient(145deg, rgba(217, 66, 53, 0.28), var(--panel)); }
.intent-teal { background: linear-gradient(145deg, rgba(32, 182, 159, 0.28), var(--panel)); }
.intent-gold { background: linear-gradient(145deg, rgba(241, 189, 75, 0.3), var(--panel)); }
.intent-blue { background: linear-gradient(145deg, rgba(92, 157, 240, 0.26), var(--panel)); }
.intent-purple { background: linear-gradient(145deg, rgba(155, 124, 240, 0.25), var(--panel)); }
.intent-dark { background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), var(--panel)); }
.front-page-content .intent-grid {
  gap: 12px;
}
.front-page-content .home-overview .intent-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  align-items: stretch;
}
.front-page-content .home-overview .intent-card:first-child {
  grid-row: span 2;
  min-height: 440px;
  padding: 34px;
}
.front-page-content .home-overview .intent-card:first-child strong {
  font-size: 32px;
}
.front-page-content .intent-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(12, 32, 26, 0.88));
}
.front-page-content .intent-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 5px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.82;
}
.front-page-content .intent-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 236, 122, 0.44);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
}

.editorial-grid,
.split-grid,
.login-grid,
.promo-grid,
.app-grid,
.vip-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}
.front-page-content .editorial-grid {
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
}
.front-page-content .home-promo .editorial-grid {
  grid-template-columns: 1.18fr 0.82fr;
}
.front-page-content .home-promo .editorial-grid > div:first-child {
  order: 2;
}
.front-page-content .home-promo .editorial-grid > div:last-child {
  order: 1;
}
.front-page-content .editorial-grid > div:first-child {
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 236, 122, 0.22);
  background: linear-gradient(145deg, rgba(241, 189, 75, 0.14), rgba(255, 255, 255, 0.05));
}
.front-page-content .editorial-grid > div:last-child {
  padding-left: 8px;
  border-left: 4px solid rgba(32, 182, 159, 0.72);
}

.sticky-panel {
  position: sticky;
  top: 104px;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.step-list {
  display: grid;
  gap: 16px;
}
.step-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.step-list span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  color: #06110f;
  font-weight: 900;
  background: var(--teal);
}

.note-box,
.login-card,
.security-board,
.promo-ticket,
.tier-board {
  padding: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  box-shadow: var(--shadow);
}
.note-box { margin-top: 22px; }
.note-box strong { color: #ffdf80; }

.mini-grid,
.columns-3,
.comparison-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mini-grid a,
.columns-3 article,
.comparison-grid div,
.game-grid article,
.media-grid figure {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.media-showcase {
  padding-top: 18px;
}
.front-page-content .home-media .section-heading {
  max-width: 720px;
}
.front-page-content .home-media .media-grid {
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
}
.front-page-content .home-media .media-grid figure:first-child {
  grid-row: span 2;
}
.front-page-content .home-media .media-grid figure:first-child img {
  aspect-ratio: 1 / 1.08;
}
.media-grid figure {
  margin: 0;
  overflow: hidden;
}
.media-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.media-grid figcaption {
  margin-top: 12px;
  color: #ffdf80;
  font-weight: 800;
  line-height: 1.4;
}
.outbound-cta {
  padding-top: 42px;
  padding-bottom: 42px;
  background:
    linear-gradient(135deg, rgba(79, 224, 176, 0.12), rgba(255, 215, 108, 0.12)),
    #081713;
}
.outbound-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 108, 0.24);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}
.outbound-cta h2 {
  font-size: clamp(25px, 3vw, 36px);
}
.outbound-cta p:last-child {
  margin-bottom: 0;
}
.front-page-content .columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.front-page-content .home-game-cards .columns-3 {
  grid-template-columns: 1.05fr 0.95fr 0.95fr;
}
.front-page-content .home-game-cards .columns-3 article:first-child {
  grid-column: span 2;
}
.front-page-content .home-service .columns-3 article:nth-child(2) {
  transform: translateY(28px);
}
.front-page-content .columns-3 article {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent),
    var(--panel);
}
.front-page-content .columns-3 article .card-thumb,
.front-page-content .game-grid article .card-thumb {
  width: calc(100% + 48px);
  max-width: none;
  height: 154px;
  margin: -24px -24px 20px;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.front-page-content .home-products .columns-3 article .card-thumb {
  width: calc(100% + 40px);
  height: 128px;
  margin: -20px -20px 16px;
}
.front-page-content .columns-3 article h3 {
  margin-bottom: 10px;
}
.front-page-content .columns-3 article p:last-child {
  margin-bottom: 0;
}
.front-page-content .columns-3 article .card-note {
  margin-top: auto;
  padding-top: 14px;
  color: #b9d7c5;
  font-size: 14px;
  border-top: 1px solid rgba(248, 250, 247, 0.1);
}
.front-page-content .columns-3 article .card-link {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(79, 224, 176, 0.18);
}
.front-page-content .columns-3 article .card-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--link-2);
  font-weight: 800;
}
.front-page-content .columns-3 article .card-link a::after {
  content: "›";
  color: var(--link);
  font-size: 22px;
  line-height: 1;
}
.front-page-content .columns-3 article::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #ffec7a, #34f0b2, #31b8ff);
}
.front-page-content .home-features .columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.front-page-content .home-features .columns-3 article {
  min-height: 360px;
  padding: 24px;
}
.front-page-content .home-features .columns-3 article:first-child {
  grid-column: span 2;
  background:
    linear-gradient(145deg, rgba(255, 236, 122, 0.2), rgba(32, 182, 159, 0.08)),
    var(--panel);
}
.front-page-content .home-products .columns-3 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.front-page-content .home-products .columns-3 article {
  min-height: 330px;
  padding: 20px;
}
.front-page-content .home-products .columns-3 h3 {
  font-size: 19px;
}
.front-page-content .home-products .columns-3 p {
  font-size: 14px;
}
.mini-grid strong,
.comparison-grid strong { display: block; color: #ffdf80; font-size: 22px; }
.mini-grid span,
.comparison-grid span { color: var(--muted); }

.number-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}
.number-list li { margin: 12px 0; }
.check-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.check-row:last-child { border-bottom: 0; }
.check-row strong { color: #ffdf80; }
.check-row span { color: var(--muted); }

.promo-ticket {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(145deg, rgba(241, 189, 75, 0.32), rgba(217, 66, 53, 0.22)), var(--panel);
}
.promo-ticket span { color: #ffdf80; font-weight: 900; }
.promo-ticket strong { font-size: 112px; line-height: 1; color: #fff2c6; }
.promo-ticket small { color: var(--muted); font-size: 16px; }
.rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.rule-grid div {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.rule-grid strong {
  display: block;
  color: var(--gold);
  font-size: 28px;
}
.rule-grid span { color: var(--muted); }

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.phone-steps {
  display: grid;
  gap: 14px;
}
.phone-steps div {
  padding: 22px;
  border-radius: 8px;
  border-left: 5px solid var(--blue);
  background: var(--panel);
}
.phone-steps span { color: var(--blue); font-weight: 900; }
.phone-steps strong { display: block; margin: 4px 0; font-size: 23px; }

.tier-board {
  display: grid;
  gap: 14px;
  background: linear-gradient(145deg, rgba(155, 124, 240, 0.2), rgba(241, 189, 75, 0.14)), var(--panel);
}
.tier-board div {
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}
.tier-board span { color: #ffdf80; font-weight: 900; }
.tier-board strong { display: block; font-size: 26px; }

.faq {
  display: grid;
  gap: 14px;
}
.front-page-content .faq {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.faq details {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #fff0b5;
  font-weight: 800;
}
.faq details p { padding: 0 20px 20px; }
.front-page-content .faq details:first-child {
  grid-row: span 2;
}
.front-page-content .faq summary {
  min-height: 64px;
}

.site-footer {
  padding: 48px 0 22px;
  border-top: 1px solid rgba(189, 255, 223, 0.28);
  background: linear-gradient(135deg, #0b7e51 0%, #0fa675 54%, #0b6f55 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 32px;
}
.footer-brand { margin-bottom: 14px; }
.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    background: linear-gradient(135deg, rgba(9, 150, 93, 0.97), rgba(18, 185, 126, 0.96));
  }
  .nav {
    grid-template-columns: auto 1fr;
    gap: 12px 14px;
    min-height: 0;
    padding: 12px 0 10px;
  }
  .brand {
    font-size: 21px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .actions {
    justify-self: end;
    gap: 8px;
  }
  .actions .btn {
    min-height: 39px;
    padding: 0 14px;
    font-size: 13px;
  }
  .menu {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    padding: 2px 0 4px;
    color: #f2fff8;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .menu::-webkit-scrollbar {
    display: none;
  }
  .menu a {
    flex: 0 0 auto;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(229, 255, 239, 0.24);
    background: rgba(255, 255, 255, 0.1);
    line-height: 1.25;
  }
  .menu a:hover {
    background: rgba(255, 236, 122, 0.18);
  }
  .home-hero-grid,
  .landing-hero-grid,
  .hero-entrance-layout,
  .hero-login-layout,
  .hero-promo-layout,
  .casino-hero-row,
  .hero-app-layout,
  .hero-vip-layout,
  .editorial-grid,
  .split-grid,
  .login-grid,
  .promo-grid,
  .app-grid,
  .vip-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .intent-grid,
  .mini-grid,
  .columns-3,
  .comparison-grid,
  .media-grid,
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .front-page-content .section-heading.wide,
  .home-link-grid,
  .editable-content .home-link-grid,
  .outbound-cta-inner,
  .front-page-content .editorial-grid,
  .front-page-content .home-overview .intent-grid,
  .front-page-content .home-game-cards .columns-3,
  .front-page-content .home-features .columns-3,
  .front-page-content .home-products .columns-3,
  .front-page-content .home-media .media-grid,
  .front-page-content .faq {
    grid-template-columns: 1fr;
  }
  .front-page-content .section-heading.wide h2,
  .front-page-content .section-heading.wide p:not(.kicker) {
    grid-column: 1;
  }
  .front-page-content .home-overview .intent-card:first-child,
  .front-page-content .home-game-cards .columns-3 article:first-child,
  .front-page-content .home-features .columns-3 article:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }
  .front-page-content .home-service .columns-3 article:nth-child(2) {
    transform: none;
  }
  .front-page-content .home-promo .editorial-grid > div:first-child,
  .front-page-content .home-promo .editorial-grid > div:last-child {
    order: initial;
  }
  .sticky-panel { position: static; }
  .site-footer {
    padding: 36px 0 18px;
  }
  .footer-grid {
    gap: 22px;
  }
  .site-footer p,
  .footer-links {
    color: #e7fff0;
  }
  .footer-grid > div {
    padding: 18px;
    border-radius: 8px;
    border: 1px solid rgba(229, 255, 239, 0.2);
    background: rgba(5, 59, 40, 0.22);
  }
  .footer-links a {
    padding: 9px 0;
    border-bottom: 1px solid rgba(229, 255, 239, 0.15);
  }
  .footer-links a:last-child {
    border-bottom: 0;
  }
  .copyright {
    color: #d9f7e6;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .container { width: min(100% - 22px, 1160px); }
  .nav {
    gap: 10px;
    padding: 10px 0 9px;
  }
  .brand {
    gap: 8px;
    font-size: 18px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .actions {
    max-width: 100%;
  }
  .actions .btn {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }
  .actions .btn-ghost {
    display: none;
  }
  .menu {
    margin: 0 -11px;
    width: calc(100% + 22px);
    padding: 2px 11px 5px;
    font-size: 13px;
  }
  .menu a {
    padding: 7px 10px;
  }
  .home-hero, .landing-hero { padding: 54px 0; }
  .section { padding: 54px 0; }
  .home-carousel,
  .hero-gallery,
  .login-hero-images,
  .promo-hero-layout,
  .app-thumb-row,
  .intent-grid,
  .mini-grid,
  .columns-3,
  .comparison-grid,
  .media-grid,
  .game-grid,
  .rule-grid {
    grid-template-columns: 1fr;
  }
  .home-carousel { min-height: 360px; }
  .step-list article,
  .check-row { grid-template-columns: 1fr; }
  .promo-ticket strong { font-size: 82px; }
  .site-footer {
    padding-top: 28px;
  }
  .footer-grid {
    gap: 14px;
  }
  .footer-grid > div {
    padding: 16px;
  }
  .footer-brand {
    margin-bottom: 10px;
  }
  .site-footer h3 {
    font-size: 19px;
    margin-bottom: 10px;
  }
  .site-footer p {
    font-size: 14px;
    line-height: 1.65;
  }
  .copyright {
    margin-top: 18px;
    padding-top: 14px;
    font-size: 13px;
  }
}
