/* ===========================================================
   table game casino - Core Base Stylesheet
   Palette: #708090 | #E0F2F1 | #2E4057 | #AFEEEE | #00CED1
   Mobile-first HTML5 (max-width: 430px), rem units (root 62.5%)
   =========================================================== */

:root {
  --c-bg: #2E4057;
  --c-bg-2: #243345;
  --c-bg-3: #1b2632;
  --c-slate: #708090;
  --c-mint: #E0F2F1;
  --c-pale: #AFEEEE;
  --c-cyan: #00CED1;
  --c-cyan-deep: #00a8aa;
  --c-gold: #d9b46a;
  --c-text: #E0F2F1;
  --c-muted: #a9b6c4;
  --c-line: rgba(175, 238, 238, 0.14);
  --c-card: rgba(255, 255, 255, 0.04);
  --shadow-soft: 0 4px 18px rgba(0, 0, 0, 0.28);
  --shadow-glow: 0 0 18px rgba(0, 206, 209, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 56px;
  --bottom-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: radial-gradient(circle at top, #34506b 0%, var(--c-bg) 38%, var(--c-bg-3) 100%);
  color: var(--c-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--c-pale); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-cyan); }

h1, h2, h3, h4 { line-height: 1.4rem; font-weight: 700; color: #fff; }
h1 { font-size: 2.2rem; line-height: 2.6rem; }
h2 { font-size: 1.9rem; line-height: 2.4rem; }
h3 { font-size: 1.6rem; line-height: 2rem; }
h4 { font-size: 1.4rem; }

p { margin-bottom: 1.2rem; color: var(--c-muted); }

/* ============ Header ============ */
.w0cb9-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: linear-gradient(90deg, var(--c-bg-2), var(--c-bg-3));
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
}
.w0cb9-brand {
  display: flex; align-items: center; gap: .8rem;
  color: #fff; font-weight: 800; font-size: 1.5rem;
  letter-spacing: .3px;
}
.w0cb9-brand .w0cb9-logo {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-cyan-deep));
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-glow);
}
.w0cb9-brand .w0cb9-logo i { font-size: 1.8rem; }
.w0cb9-brand small { color: var(--c-pale); font-weight: 500; font-size: 1.05rem; }

.w0cb9-header-actions { display: flex; align-items: center; gap: .6rem; }
.w0cb9-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: 1.3rem; font-weight: 700;
  padding: .7rem 1.3rem;
  border-radius: 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
  min-height: 36px;
}
.w0cb9-btn:active { transform: scale(0.96); }
.w0cb9-btn-login {
  background: transparent;
  color: var(--c-pale);
  border-color: var(--c-line);
}
.w0cb9-btn-login:hover { color: #fff; border-color: var(--c-cyan); }
.w0cb9-btn-register {
  background: linear-gradient(135deg, var(--c-cyan), var(--c-cyan-deep));
  color: #062a2b;
  box-shadow: 0 4px 14px rgba(0, 206, 209, 0.4);
}
.w0cb9-btn-register:hover { color: #062a2b; filter: brightness(1.08); }

.w0cb9-menu-toggle {
  display: none;
  background: transparent; border: 0; color: var(--c-pale);
  font-size: 2rem; cursor: pointer; padding: .3rem .5rem;
}

/* ============ Hero / Banner ============ */
.w0cb9-hero {
  margin-top: var(--header-h);
  position: relative;
  padding: 2rem 1.4rem 2.4rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 206, 209, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(112, 128, 144, 0.18), transparent 80%);
  overflow: hidden;
}
.w0cb9-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/0cb99539_1.jpg") center/cover no-repeat;
  opacity: .15; filter: blur(1px);
  z-index: 0;
}
.w0cb9-hero-inner { position: relative; z-index: 1; max-width: 430px; margin: 0 auto; }
.w0cb9-hero .w0cb9-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 1.1rem; padding: .35rem 1rem;
  background: rgba(0, 206, 209, 0.12);
  border: 1px solid rgba(0, 206, 209, 0.35);
  border-radius: 30px; color: var(--c-pale);
  margin-bottom: 1rem;
}
.w0cb9-hero h1 { font-size: 2.6rem; line-height: 3rem; margin-bottom: 1rem; }
.w0cb9-hero h1 span { color: var(--c-cyan); }
.w0cb9-hero p { color: var(--c-mint); margin-bottom: 1.6rem; max-width: 36rem; }
.w0cb9-hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.w0cb9-hero-cta .w0cb9-btn { padding: 1rem 1.8rem; font-size: 1.4rem; }

.w0cb9-hero-stats {
  margin-top: 1.8rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.w0cb9-stat {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 1rem .6rem;
  text-align: center;
}
.w0cb9-stat b { display: block; font-size: 1.7rem; color: var(--c-cyan); }
.w0cb9-stat span { font-size: 1.05rem; color: var(--c-muted); }

/* ============ Carousel ============ */
.w0cb9-carousel {
  position: relative;
  margin: 1.6rem 1.4rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--c-line);
}
.w0cb9-carousel-track {
  display: flex; transition: transform .5s ease;
}
.w0cb9-slide {
  flex: 0 0 100%; position: relative;
  min-height: 160px;
}
.w0cb9-slide img { width: 100%; height: 170px; object-fit: cover; }
.w0cb9-slide .w0cb9-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(27, 38, 50, .92));
}
.w0cb9-slide-cap h3 { color: #fff; font-size: 1.5rem; }
.w0cb9-slide-cap p { color: var(--c-pale); margin: .3rem 0 0; font-size: 1.15rem; }
.w0cb9-carousel-dots {
  position: absolute; bottom: .8rem; right: 1rem;
  display: flex; gap: .4rem;
}
.w0cb9-carousel-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, .35); cursor: pointer;
}
.w0cb9-carousel-dots span.w0cb9-active { background: var(--c-cyan); width: 18px; border-radius: 4px; }

/* ============ Section ============ */
.w0cb9-section {
  margin: 2.6rem 1.4rem 0;
  max-width: 430px;
}
.w0cb9-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.2rem;
}
.w0cb9-section-head h2 { font-size: 1.7rem; }
.w0cb9-section-head h2 .w0cb9-mark { color: var(--c-cyan); }
.w0cb9-section-head a { font-size: 1.2rem; color: var(--c-pale); }

.w0cb9-chips {
  display: flex; gap: .6rem; flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.w0cb9-chip {
  font-size: 1.15rem; padding: .45rem 1rem;
  border-radius: 30px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  color: var(--c-muted); cursor: pointer;
  transition: all .2s ease;
}
.w0cb9-chip.w0cb9-chip-active,
.w0cb9-chip:hover {
  background: rgba(0, 206, 209, .15);
  color: #fff; border-color: var(--c-cyan);
}

/* ============ Game Grid ============ */
.w0cb9-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.w0cb9-card {
  position: relative;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
}
.w0cb9-card:hover, .w0cb9-card:focus {
  transform: translateY(-2px);
  border-color: var(--c-cyan);
  box-shadow: var(--shadow-glow);
}
.w0cb9-card-img {
  position: relative;
  aspect-ratio: 1/1;
  background: #0e1722;
}
.w0cb9-card-img img { width: 100%; height: 100%; object-fit: cover; }
.w0cb9-card-tag {
  position: absolute; top: 5px; left: 5px;
  font-size: .95rem; padding: .15rem .5rem;
  background: rgba(0, 206, 209, .85);
  color: #062a2b; border-radius: 4px; font-weight: 700;
  text-transform: uppercase;
}
.w0cb9-card-name {
  padding: .55rem .5rem;
  font-size: 1.1rem; color: var(--c-mint);
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.w0cb9-card-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(27, 38, 50, .55);
  opacity: 0; transition: opacity .2s ease;
}
.w0cb9-card:hover .w0cb9-card-play { opacity: 1; }
.w0cb9-card-play i { font-size: 2.6rem; color: var(--c-cyan); }

/* ============ Feature blocks ============ */
.w0cb9-features {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.w0cb9-feature {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  text-align: center;
}
.w0cb9-feature .w0cb9-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin: 0 auto .8rem;
  background: linear-gradient(135deg, rgba(0, 206, 209, .25), rgba(112, 128, 144, .35));
  color: var(--c-cyan);
}
.w0cb9-feature .w0cb9-icon i { font-size: 2rem; }
.w0cb9-feature h3 { font-size: 1.35rem; margin-bottom: .4rem; color: #fff; }
.w0cb9-feature p { font-size: 1.1rem; margin: 0; color: var(--c-muted); }

/* ============ Featured game banner ============ */
.w0cb9-feature-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-soft);
  margin-top: 1rem;
}
.w0cb9-feature-banner img { width: 100%; height: 200px; object-fit: cover; }
.w0cb9-feature-banner .w0cb9-fb-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(27, 38, 50, .95));
}
.w0cb9-feature-banner .w0cb9-fb-cap h3 { font-size: 1.6rem; color: #fff; }
.w0cb9-feature-banner .w0cb9-fb-cap p { font-size: 1.15rem; margin: .3rem 0 .8rem; color: var(--c-pale); }

/* ============ Steps ============ */
.w0cb9-steps { display: grid; gap: .9rem; }
.w0cb9-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
}
.w0cb9-step-num {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-cyan-deep));
  color: #062a2b; font-weight: 800;
  display: grid; place-items: center;
}
.w0cb9-step h4 { color: #fff; margin-bottom: .2rem; }
.w0cb9-step p { margin: 0; font-size: 1.15rem; }

/* ============ FAQ ============ */
.w0cb9-faq { display: grid; gap: .8rem; }
.w0cb9-faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-card);
  overflow: hidden;
}
.w0cb9-faq-q {
  width: 100%; text-align: left; cursor: pointer;
  background: transparent; border: 0; color: #fff;
  font-size: 1.3rem; font-weight: 600;
  padding: 1.1rem 1.2rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: .8rem;
}
.w0cb9-faq-q i { color: var(--c-cyan); transition: transform .2s ease; }
.w0cb9-faq-item.w0cb9-open .w0cb9-faq-q i { transform: rotate(45deg); }
.w0cb9-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 1.2rem;
}
.w0cb9-faq-item.w0cb9-open .w0cb9-faq-a { max-height: 320px; padding: 0 1.2rem 1.1rem; }
.w0cb9-faq-a p { font-size: 1.2rem; margin: 0; }

/* ============ SEO long text ============ */
.w0cb9-prose { max-width: 430px; margin: 2.6rem 1.4rem 0; }
.w0cb9-prose h2 { margin-bottom: 1rem; font-size: 1.7rem; }
.w0cb9-prose h3 { margin: 1.6rem 0 .6rem; font-size: 1.4rem; color: var(--c-pale); }
.w0cb9-prose p { font-size: 1.25rem; line-height: 1.7rem; color: var(--c-muted); }
.w0cb9-prose ul { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.w0cb9-prose li { font-size: 1.2rem; color: var(--c-muted); margin-bottom: .4rem; line-height: 1.6rem; }
.w0cb9-prose strong { color: var(--c-cyan); font-weight: 700; }
.w0cb9-prose a { color: var(--c-pale); border-bottom: 1px dotted var(--c-cyan); }

/* ============ CTA Strip ============ */
.w0cb9-cta-strip {
  margin: 2.6rem 1.4rem 0;
  background: linear-gradient(135deg, rgba(0, 206, 209, .15), rgba(112, 128, 144, .15));
  border: 1px solid rgba(0, 206, 209, .35);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
}
.w0cb9-cta-strip h3 { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.w0cb9-cta-strip p { font-size: 1.2rem; margin-bottom: 1rem; }

/* ============ Footer ============ */
.w0cb9-footer {
  margin-top: 3rem;
  padding: 2.4rem 1.4rem 6rem;
  background: var(--c-bg-3);
  border-top: 1px solid var(--c-line);
}
.w0cb9-footer-inner { max-width: 430px; margin: 0 auto; }
.w0cb9-footer h4 { color: var(--c-cyan); margin-bottom: .8rem; font-size: 1.3rem; }
.w0cb9-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; margin-bottom: 1.6rem; }
.w0cb9-footer-links a { font-size: 1.15rem; color: var(--c-muted); }
.w0cb9-footer-links a:hover { color: var(--c-cyan); }
.w0cb9-footer-disc {
  font-size: 1.1rem; color: #6f7e8d; line-height: 1.6rem;
  border-top: 1px solid var(--c-line); padding-top: 1.2rem;
  margin-top: 1.2rem;
}
.w0cb9-footer-copy {
  text-align: center; font-size: 1.1rem; color: #6f7e8d;
  margin-top: 1.2rem;
}

/* ============ Mobile Bottom Nav ============ */
.w0cb9-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-h);
  background: linear-gradient(180deg, var(--c-bg-2), var(--c-bg-3));
  border-top: 1px solid var(--c-line);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.3);
}
.w0cb9-bottomnav button {
  flex: 1;
  background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem;
  color: var(--c-muted);
  font-size: 1rem;
  min-width: 60px; min-height: 60px;
  cursor: pointer;
  transition: color .2s ease, transform .15s ease;
}
.w0cb9-bottomnav button i { font-size: 2.2rem; }
.w0cb9-bottomnav button:active { transform: scale(0.92); }
.w0cb9-bottomnav button:hover { color: var(--c-pale); }
.w0cb9-bottomnav .w0cb9-bn-active { color: var(--c-cyan); }
.w0cb9-bottomnav .w0cb9-bn-promo {
  position: relative;
}
.w0cb9-bottomnav .w0cb9-bn-promo::before {
  content: ""; position: absolute; top: -10px;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-cyan-deep));
  box-shadow: var(--shadow-glow);
  z-index: -1;
}
.w0cb9-bottomnav .w0cb9-bn-promo i { color: #062a2b; }

/* ============ Mobile menu drawer ============ */
.w0cb9-drawer {
  position: fixed; top: 0; right: -100%;
  width: 80%; max-width: 320px; height: 100vh;
  background: var(--c-bg-3);
  border-left: 1px solid var(--c-line);
  padding: 2rem 1.6rem;
  overflow-y: auto;
  z-index: 9999;
  transition: right .3s ease;
}
.w0cb9-drawer.w0cb9-open { right: 0; }
.w0cb9-drawer h4 { color: var(--c-cyan); margin: 1.4rem 0 .6rem; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.w0cb9-drawer a {
  display: block;
  padding: .8rem 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-mint); font-size: 1.25rem;
}
.w0cb9-drawer-close {
  background: transparent; border: 0; color: var(--c-pale);
  font-size: 2rem; cursor: pointer; float: right;
}
.w0cb9-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.w0cb9-overlay.w0cb9-open { opacity: 1; pointer-events: auto; }

/* ============ Mobile adjustments ============ */
main { padding-bottom: 80px; }

@media (max-width: 430px) {
  .w0cb9-header { padding: 0 .8rem; }
  .w0cb9-brand,
  .w0cb9-header-actions { min-width: 0; }
  .w0cb9-brand small,
  .w0cb9-btn-login { display: none; }
  .w0cb9-menu-toggle { display: block; }
  .w0cb9-header-actions { gap: .4rem; }
  .w0cb9-btn { padding-left: .9rem; padding-right: .9rem; }
}

@media (min-width: 431px) {
  .w0cb9-section, .w0cb9-prose, .w0cb9-hero-inner { max-width: 760px; }
  .w0cb9-grid { grid-template-columns: repeat(5, 1fr); }
  .w0cb9-features { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 769px) {
  .w0cb9-bottomnav { display: none; }
  .w0cb9-menu-toggle { display: none; }
  main { padding-bottom: 0; }
  .w0cb9-footer { padding-bottom: 2.4rem; }
  .w0cb9-section, .w0cb9-prose { margin-left: auto; margin-right: auto; }
  .w0cb9-grid { grid-template-columns: repeat(6, 1fr); }
}
