﻿:root {
  --ink: #f8fafc;
  --muted: #a8b3c7;
  --bg: #07110f;
  --panel: #0d1b18;
  --panel-2: #12231f;
  --line: rgba(210, 238, 224, .14);
  --cyan: #22e6c3;
  --gold: #ffd166;
  --red: #ff4d6d;
  --green: #21c76f;
  --shadow: 0 22px 70px rgba(0, 0, 0, .42);
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 80% -10%, rgba(34, 230, 195, .18), transparent 28%), linear-gradient(180deg, #06100f 0%, #0a1413 48%, #060b0b 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 16, 15, .86);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 154px; }
.brand-mark {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 8px;
  background: linear-gradient(135deg, #15251f, #0a1513 42%, #1f3a2f);
  border: 1px solid rgba(255, 209, 102, .55);
  color: #ffe7a3; font-weight: 900; box-shadow: 0 0 24px rgba(255, 209, 102, .18);
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 1.1rem; }
.brand-copy small { color: var(--muted); font-size: .76rem; }
.main-nav { flex: 1; }
.menu-list { list-style: none; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0; }
.menu-list a { display: block; padding: 10px 12px; color: #d8e4df; font-size: .94rem; border-radius: 8px; }
.menu-list a:hover { background: rgba(34,230,195,.09); color: #fff; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.glow-btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 16px; border-radius: 8px; font-weight: 800; white-space: nowrap;
  overflow: hidden; border: 1px solid rgba(255,255,255,.2);
}
.glow-btn::before { content: ""; position: absolute; inset: -2px; z-index: -2; filter: blur(12px); opacity: .9; }
.glow-btn::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: 7px; background: rgba(8,15,14,.52); }
.glow-cyan { color: #eafffb; background: linear-gradient(135deg, #0ad5b1, #1485ff); box-shadow: 0 0 28px rgba(34, 230, 195, .34); }
.glow-cyan::before { background: linear-gradient(135deg, #22e6c3, #3a86ff); }
.glow-gold { color: #201607; background: linear-gradient(135deg, #fff3a7, #ffb703 52%, #ff4d6d); box-shadow: 0 0 30px rgba(255, 209, 102, .42); }
.glow-gold::before { background: linear-gradient(135deg, #ffd166, #ff4d6d); }
.nav-toggle { display: none; width: 42px; height: 42px; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 8px; }
.nav-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--ink); }
.site-main { min-height: 70vh; }
.wp-block-group, .wp-block-columns, .wp-block-cover { margin-top: 0; }
.hero-band {
  position: relative; min-height: 690px; overflow: hidden; display: grid; align-items: center;
  background: linear-gradient(90deg, rgba(6,16,15,.98) 0%, rgba(6,16,15,.88) 42%, rgba(6,16,15,.28) 100%), var(--hero-image, none) center right / cover no-repeat;
}
.hero-band::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(0deg, #0a1413, transparent); pointer-events: none; }
.page-id-14 .hero-band {
  --hero-image: url('/wp-content/uploads/2026/06/w69-free-credit-188-image2.png');
}
.page-id-15 .hero-band,
.page-id-16 .hero-band,
.page-id-19 .hero-band,
.page-id-20 .hero-band,
.page-id-53 .hero-band,
.page-id-54 .hero-band,
.page-id-55 .hero-band,
.page-id-56 .hero-band,
.page-id-57 .hero-band,
.page-id-58 .hero-band {
  --hero-image: url('/wp-content/uploads/2026/06/w69-mobile-login-image2.png');
}
.page-id-17 .hero-band {
  --hero-image: url('/wp-content/uploads/2026/06/w69-slot-game-image2.png');
}
.page-id-18 .hero-band {
  --hero-image: url('/wp-content/uploads/2026/06/w69-live-casino-image2.png');
}
.page-id-43 .hero-band {
  --hero-image: url('/wp-content/uploads/2026/06/w69-sports-football-image2.png');
}
.hero-inner, .section-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.hero-content { max-width: 710px; padding: 86px 0 124px; }
.eyebrow { color: var(--gold); font-weight: 800; text-transform: uppercase; font-size: .82rem; margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(2.35rem, 5vw, 5.1rem); }
h2 { font-size: clamp(1.75rem, 3vw, 3rem); }
h3 { font-size: 1.18rem; }
p { color: #c6d1ca; line-height: 1.78; }
.lead { font-size: 1.12rem; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.solid-link, .outline-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px;
  border-radius: 8px; font-weight: 800;
}
.solid-link { color: #06100f; background: linear-gradient(135deg, var(--gold), #24e0bd); }
.outline-link { border: 1px solid rgba(255,255,255,.25); color: #f2fff9; background: rgba(255,255,255,.04); }
.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: -72px; position: relative; z-index: 3; }
.metric { min-height: 106px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: rgba(13, 27, 24, .88); box-shadow: var(--shadow); }
.metric strong { display: block; font-size: 1.5rem; color: #fff; }
.metric span { display: block; color: var(--muted); margin-top: 6px; }
.section { padding: 84px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 790px; margin-bottom: 30px; }
.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, rgba(18,35,31,.92), rgba(10,20,19,.86));
  padding: 22px; box-shadow: 0 16px 50px rgba(0,0,0,.22);
}
.card .icon { min-width: 72px; width: fit-content; height: 34px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; background: rgba(34,230,195,.11); color: var(--cyan); font-weight: 800; font-size: .86rem; white-space: nowrap; }
.feature-split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 28px; align-items: center; }
.visual-panel { min-height: 440px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); overflow: hidden; box-shadow: var(--shadow); }
.visual-panel img { width: 100%; height: 100%; object-fit: cover; }
.steps { counter-reset: step; display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.step::before { counter-increment: step; content: counter(step); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--cyan), var(--gold)); color: #06100f; font-weight: 900; }
.seo-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 8px; }
.seo-table th, .seo-table td { border: 1px solid var(--line); padding: 14px; text-align: left; color: #dbe8e3; }
.seo-table th { color: #06100f; background: linear-gradient(135deg, var(--gold), var(--cyan)); }
.faq details { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: rgba(255,255,255,.035); margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 800; color: #fff; }
.cta-band { padding: 76px 0; background: linear-gradient(135deg, rgba(34,230,195,.16), rgba(255,209,102,.14)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.content-page > *:first-child { margin-top: 0; }
.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: .92rem;
}
.breadcrumb a { color: #eafffb; }
.trust-list { display: grid; gap: 14px; margin-top: 22px; }
.trust-list li { color: #d7e7df; line-height: 1.75; }
.note-panel {
  border-left: 4px solid var(--gold);
  padding: 18px 20px;
  background: rgba(255, 209, 102, .08);
  color: #f3ead1;
}
.route-console {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}
.signal-panel, .route-panel, .login-box, .device-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18,35,31,.92), rgba(5,14,13,.92));
  box-shadow: var(--shadow);
  padding: 24px;
}
.signal-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.signal-row:last-child { border-bottom: 0; }
.signal-row strong { color: #fff; }
.signal-row span { color: #c6d1ca; line-height: 1.55; }
.status-dot {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(34,230,195,.12);
  color: var(--cyan);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}
.route-list { display: grid; gap: 12px; margin-top: 16px; }
.route-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}
.route-item b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #06100f;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
}
.route-item strong, .login-box strong, .device-panel strong { color: #fff; }
.route-item p, .login-box p, .device-panel p { margin: 4px 0 0; }
.split-note {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 18px;
  align-items: start;
}
.check-stack { display: grid; gap: 10px; }
.check-line {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: #d7e7df;
  line-height: 1.7;
}
.check-line::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.login-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.login-box { min-height: 220px; }
.login-box em {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 8px;
  font-style: normal;
  color: #06100f;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.problem {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}
.problem h3 { margin-bottom: 8px; }
.game-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lane {
  min-height: 320px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(34,230,195,.12), rgba(255,209,102,.06)), var(--panel);
}
.lane ul { margin: 18px 0 0; padding-left: 18px; color: #d7e7df; line-height: 1.85; }
.mini-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.mini-row {
  display: grid;
  grid-template-columns: .72fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.mini-row:last-child { border-bottom: 0; }
.mini-row > * { padding: 14px; color: #dbe8e3; }
.mini-row.header > * { background: linear-gradient(135deg, var(--gold), var(--cyan)); color: #06100f; font-weight: 900; }
.casino-stage {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: stretch;
}
.stage-board {
  min-height: 420px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,209,102,.12), rgba(34,230,195,.08)), var(--panel);
}
.stage-board .pill-row { margin-top: 26px; }
.dealer-list { display: grid; gap: 12px; }
.dealer-list div {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}
.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.device-panel { min-height: 250px; }
.device-panel small {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}
.promo-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: start;
}
.promo-ticket {
  padding: 26px;
  border: 1px dashed rgba(255,209,102,.7);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,209,102,.13), rgba(34,230,195,.06));
}
.promo-ticket strong {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}
.faq-hub {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
}
.faq-nav {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13,27,24,.86);
}
.faq-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #eafffb;
  background: rgba(255,255,255,.04);
}
.faq-group { margin-bottom: 26px; }
.faq-group h2 { margin-bottom: 16px; font-size: clamp(1.35rem, 2vw, 2rem); }
.archive-shell { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 90px 0; }
.post-list { display: grid; gap: 16px; margin-top: 26px; }
.post-card { padding: 22px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); }
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, #07110f, #040807); }
.footer-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.footer-cta h2 { max-width: 760px; font-size: clamp(1.45rem, 2vw, 2.25rem); }
.footer-cta p { max-width: 760px; }
.footer-grid { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 44px 0; display: grid; grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-logo { font-size: 1.7rem; color: var(--gold); }
.footer-about p { margin-right: 12px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #eafffb;
  background: rgba(255,255,255,.04);
  font-size: .82rem;
  font-weight: 700;
}
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-menu a { color: #d8e4df; line-height: 1.45; }
.footer-menu a:hover { color: var(--gold); }
.footer-legal { margin-top: 12px; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 18px 16px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-block; margin-left: auto; }
  .main-nav { position: absolute; top: 74px; left: 0; right: 0; display: none; padding: 14px 16px; background: rgba(6,16,15,.97); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: block; }
  .menu-list { display: grid; justify-content: stretch; }
  .header-actions { display: none; }
  .hero-band { min-height: 620px; background-position: 64% center; }
  .metric-strip, .grid.cols-3, .grid.cols-4, .feature-split, .cta-box, .footer-cta, .footer-grid, .route-console, .split-note, .login-flow, .problem-grid, .game-lanes, .casino-stage, .device-grid, .promo-layout, .faq-hub { grid-template-columns: 1fr; }
  .metric-strip { margin-top: 0; padding-top: 18px; }
  .section { padding: 58px 0; }
  .signal-row, .mini-row { grid-template-columns: 1fr; }
  .route-item { grid-template-columns: 42px minmax(0, 1fr); }
  .route-item div { min-width: 0; }
  .route-item p, .route-item strong { overflow-wrap: normal; word-break: normal; }
  .faq-nav { position: static; }
}
@media (max-width: 560px) {
  .nav-shell, .hero-inner, .section-inner, .footer-grid, .archive-shell { width: min(100% - 24px, 1180px); }
  .brand { min-width: auto; }
  .brand-copy small { display: none; }
  .hero-content { padding: 70px 0 92px; }
  h1 { font-size: 2.25rem; }
  .hero-actions .solid-link, .hero-actions .outline-link { width: 100%; }
  .visual-panel { min-height: 300px; }
}

/* Interactive landing additions */
.hero-slider {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 36%, rgba(34,230,195,.16), transparent 30%),
    linear-gradient(90deg, rgba(6,16,15,.99), rgba(6,16,15,.9) 45%, rgba(6,16,15,.7)),
    #06100f;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: w69Slide 18s infinite;
  background-image: linear-gradient(90deg, rgba(6,16,15,.98), rgba(6,16,15,.74) 45%, rgba(6,16,15,.18)), var(--slide-image);
  background-position: center right, center right;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  z-index: 0;
  will-change: opacity, transform;
}
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide.slide-home {
  --slide-image: url('/wp-content/uploads/2026/06/w69-homepage-hero-image2.png');
}
.hero-slide.slide-credit {
  --slide-image: url('/wp-content/uploads/2026/06/w69-free-credit-188-image2.png');
}
.hero-slide.slide-sports {
  --slide-image: url('/wp-content/uploads/2026/06/w69-sports-football-image2.png');
}
.hero-slide .hero-inner { height: 100%; display: grid; align-items: center; position: relative; z-index: 1; }
@keyframes w69Slide {
  0% { opacity: 0; transform: scale(1.018); z-index: 1; }
  3% { opacity: 1; transform: scale(1); z-index: 2; }
  32% { opacity: 1; transform: scale(1.01); z-index: 2; }
  36% { opacity: 0; transform: scale(1.026); z-index: 1; }
  100% { opacity: 0; transform: scale(1.026); z-index: 0; }
}
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 209, 102, .08); }
.ticker-track { display: flex; gap: 28px; width: max-content; padding: 12px 0; animation: w69Ticker 28s linear infinite; color: #ffe7a3; font-weight: 800; white-space: nowrap; }
.ticker-track span::before { content: "•"; margin-right: 18px; color: var(--cyan); }
@keyframes w69Ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.showcase { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; align-items: stretch; }
.showcase-main, .showcase-side { position: relative; min-height: 420px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.showcase-side { min-height: 201px; }
.showcase-main img, .showcase-side img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.04); }
.showcase-label { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 16px; border-radius: 8px; background: rgba(4, 12, 11, .72); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); }
.showcase-label h3 { margin-bottom: 6px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); color: #eafffb; background: rgba(255,255,255,.045); font-weight: 700; }
.media-card { padding: 0; overflow: hidden; }
.media-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.media-card .media-body { padding: 20px; }
.sport-board { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.sport-odd { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(34,230,195,.08); }
.sport-odd strong { display: block; color: var(--gold); font-size: 1.4rem; margin-top: 6px; }
.reveal { animation: w69Reveal .72s ease both; }
@keyframes w69Reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 920px) { .hero-slider { min-height: 650px; } .showcase, .sport-board { grid-template-columns: 1fr; } .showcase-main, .showcase-side { min-height: 280px; } }



/* Card layout fix */
.card { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; }
.card .icon { flex: 0 0 auto; max-width: 100%; margin-bottom: 14px; }
.card h3, .card p { width: 100%; }
.grid > .card, .grid > a.card { min-height: 100%; }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(190px, 1fr)); }
@media (max-width: 1100px) { .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid.cols-4, .grid.cols-3 { grid-template-columns: 1fr; } }

/* Stable homepage quick menu */
.quick-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.quick-item { display: flex; flex-direction: column; justify-content: flex-start; min-height: 220px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, rgba(18,35,31,.94), rgba(7,18,16,.92)); box-shadow: 0 18px 48px rgba(0,0,0,.24); }
.quick-item::before { content: ""; width: 42px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--gold)); margin-bottom: 24px; }
.quick-item strong { display: block; color: #fff; font-size: 1.18rem; line-height: 1.25; margin-bottom: 14px; }
.quick-item span { display: block; color: #d7e7df; line-height: 1.72; }
.quick-item:hover { transform: translateY(-2px); border-color: rgba(34,230,195,.45); box-shadow: 0 22px 56px rgba(34,230,195,.12); }
@media (max-width: 1050px) { .quick-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .quick-menu { grid-template-columns: 1fr; } .quick-item { min-height: 0; } }

/* Final card badge safety: no detached boxes */
.card .icon { display: inline !important; width: auto !important; min-width: 0 !important; height: auto !important; padding: 0 !important; margin: 0 0 10px 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--gold) !important; box-shadow: none !important; font-size: .86rem !important; line-height: 1.4 !important; }
.card .icon::before { content: ""; }

/* Entrance route cards: keep Thai copy readable on narrow screens */
.route-list .route-item {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  align-items: flex-start !important;
}
.route-list .route-item > div {
  min-width: 0 !important;
}
.route-list .route-item strong,
.route-list .route-item p {
  width: auto !important;
  max-width: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
}
