/* open-88.cfd base design
 * Prefix: seb0- for all custom classes
 * Palette: #FF6347 | #0C0C0C | #F0F0F0 | #DC143C | #CD853F | #FF1493
 * Mobile-first. Root font 62.5% (1rem = 10px).
 */
:root {
  --seb0-bg: #0C0C0C;
  --seb0-bg2: #15090c;
  --seb0-card: #1a0d10;
  --seb0-text: #F0F0F0;
  --seb0-muted: #b9a9ac;
  --seb0-primary: #FF6347;
  --seb0-accent: #DC143C;
  --seb0-gold: #CD853F;
  --seb0-pink: #FF1493;
  --seb0-border: rgba(255, 99, 71, 0.18);
  --seb0-radius: 14px;
  --seb0-shadow: 0 10px 26px rgba(0,0,0,.45);
  --seb0-maxw: 430px;
}

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

html { font-size: 62.5%; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--seb0-bg);
  color: var(--seb0-text);
  font-family: "Segoe UI", "Roboto", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--seb0-primary); text-decoration: none; }
a:hover { color: var(--seb0-pink); }

.seb0-wrap {
  width: 100%;
  max-width: var(--seb0-maxw);
  margin: 0 auto;
  position: relative;
}

/* ===== Header ===== */
.seb0-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(12,12,12,.96), rgba(12,12,12,.86));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--seb0-border);
  transition: box-shadow .2s ease;
}
.seb0-header-scrolled { box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.seb0-header-inner {
  max-width: var(--seb0-maxw);
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.seb0-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 2.0rem;
  letter-spacing: .5px;
  color: var(--seb0-text);
}
.seb0-logo .seb0-logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--seb0-primary), var(--seb0-accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900;
  box-shadow: 0 4px 10px rgba(220,20,60,.4);
}
.seb0-logo b { color: var(--seb0-primary); }
.seb0-header-actions { display: flex; align-items: center; gap: 8px; }

.seb0-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 9px 16px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
  color: #fff;
  min-height: 38px;
}
.seb0-btn:active { transform: scale(.96); }
.seb0-btn-login {
  background: transparent;
  border: 1px solid var(--seb0-primary);
  color: var(--seb0-text);
}
.seb0-btn-register {
  background: linear-gradient(135deg, var(--seb0-primary), var(--seb0-accent));
  box-shadow: 0 6px 14px rgba(220,20,60,.45);
}
.seb0-btn-register:hover { color: #fff; }
.seb0-icon-btn {
  background: transparent;
  border: 0;
  color: var(--seb0-text);
  font-size: 2.0rem;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: 10px;
}
.seb0-icon-btn:active { background: rgba(255,255,255,.06); }

/* ===== Mobile menu ===== */
.seb0-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--seb0-bg2);
  z-index: 9999;
  padding: 22px 18px;
  transition: right .28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--seb0-border);
}
.seb0-menu-open { right: 0; }
.seb0-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.seb0-menu-open + .seb0-overlay { opacity: 1; pointer-events: auto; }
.seb0-mobile-menu h3 {
  margin: 16px 0 8px;
  font-size: 1.4rem;
  color: var(--seb0-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.seb0-mobile-menu a {
  display: block;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  color: var(--seb0-text);
  font-size: 1.4rem;
  font-weight: 600;
}
.seb0-mobile-menu a:hover { color: var(--seb0-primary); }
.seb0-menu-cta {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.seb0-noscroll { overflow: hidden; }

/* ===== Hero carousel ===== */
.seb0-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
}
.seb0-hero-track {
  display: flex;
  transition: transform .45s ease;
}
.seb0-hero-slide {
  flex: 0 0 100%;
  position: relative;
  min-height: 230px;
  padding: 30px 20px;
  background-size: cover;
  background-position: center;
}
.seb0-hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,12,12,.35), rgba(12,12,12,.92));
}
.seb0-hero-content {
  position: relative;
  z-index: 2;
  max-width: 320px;
}
.seb0-hero-tag {
  display: inline-block;
  background: var(--seb0-pink);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.seb0-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin: 0 0 8px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.seb0-hero-title span { color: var(--seb0-primary); }
.seb0-hero-desc {
  font-size: 1.35rem;
  color: var(--seb0-muted);
  margin: 0 0 14px;
}
.seb0-hero-dots {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.seb0-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.seb0-dot-active { background: var(--seb0-primary); width: 22px; border-radius: 999px; }

/* ===== Marquee ===== */
.seb0-marquee {
  background: linear-gradient(90deg, var(--seb0-accent), var(--seb0-primary));
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.25rem;
  font-weight: 600;
}
.seb0-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: seb0scroll 22s linear infinite;
}
@keyframes seb0scroll { to { transform: translateX(-100%); } }

/* ===== Sections ===== */
main { padding-bottom: 0; }
.seb0-section { padding: 22px 14px; }
.seb0-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.seb0-section-title {
  font-size: 2.0rem;
  font-weight: 800;
  margin: 0;
  position: relative;
  padding-left: 14px;
}
.seb0-section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 5px;
  background: linear-gradient(180deg, var(--seb0-primary), var(--seb0-pink));
  border-radius: 4px;
}
.seb0-section-more {
  font-size: 1.2rem;
  color: var(--seb0-gold);
  font-weight: 600;
}

/* ===== Category tabs ===== */
.seb0-cat-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 14px 12px;
  scrollbar-width: none;
}
.seb0-cat-bar::-webkit-scrollbar { display: none; }
.seb0-cat-tab {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--seb0-card);
  border: 1px solid var(--seb0-border);
  color: var(--seb0-muted);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.seb0-tab-active {
  background: linear-gradient(135deg, var(--seb0-primary), var(--seb0-accent));
  color: #fff;
  border-color: transparent;
}

/* ===== Game grid ===== */
.seb0-cat-panel { display: none; }
.seb0-panel-active { display: block; }
.seb0-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.seb0-card {
  background: var(--seb0-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--seb0-border);
  position: relative;
  transition: transform .15s ease;
}
.seb0-card:active { transform: scale(.97); }
.seb0-card-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #1a0d10, #2a1216);
}
.seb0-card-name {
  padding: 8px 8px 10px;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  color: var(--seb0-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seb0-card-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--seb0-pink);
  color: #fff;
  font-size: 1rem;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
}
.seb0-card-badge.hot { background: var(--seb0-accent); }
.seb0-card-badge.new { background: var(--seb0-gold); color: #1a0d10; }
.seb0-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12,12,12,.55);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity .2s ease;
}
.seb0-card:hover .seb0-card-play { opacity: 1; }

/* ===== Featured (big card) ===== */
.seb0-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.seb0-feature-card {
  display: flex;
  gap: 12px;
  background: linear-gradient(135deg, rgba(220,20,60,.18), rgba(255,99,71,.08));
  border: 1px solid var(--seb0-border);
  border-radius: 14px;
  padding: 12px;
  align-items: center;
}
.seb0-feature-card img {
  width: 88px; height: 88px;
  border-radius: 10px;
  object-fit: cover;
}
.seb0-feature-info { flex: 1; min-width: 0; }
.seb0-feature-info h4 {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 800;
}
.seb0-feature-info p {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--seb0-muted);
}
.seb0-feature-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--seb0-primary), var(--seb0-accent));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}

/* ===== Promo banner ===== */
.seb0-promo {
  margin: 18px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--seb0-accent), var(--seb0-pink));
  padding: 18px 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--seb0-shadow);
}
.seb0-promo h3 { margin: 0 0 6px; font-size: 1.9rem; font-weight: 900; }
.seb0-promo p { margin: 0 0 12px; font-size: 1.25rem; opacity: .92; }
.seb0-promo-btn {
  display: inline-block;
  background: #fff;
  color: var(--seb0-accent);
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 1.3rem;
}

/* ===== SEO long text ===== */
.seb0-seo {
  padding: 20px 14px;
  font-size: 1.35rem;
  color: var(--seb0-muted);
  line-height: 1.65;
}
.seb0-seo h2 {
  color: var(--seb0-text);
  font-size: 1.9rem;
  margin: 18px 0 10px;
  font-weight: 800;
}
.seb0-seo h2:first-child { margin-top: 0; }
.seb0-seo p { margin: 0 0 12px; }
.seb0-seo a { color: var(--seb0-primary); font-weight: 600; }
.seb0-seo ul { padding-left: 20px; margin: 8px 0 14px; }
.seb0-seo li { margin-bottom: 6px; }

/* ===== FAQ ===== */
.seb0-faq { padding: 18px 14px; }
.seb0-faq-item {
  background: var(--seb0-card);
  border: 1px solid var(--seb0-border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.seb0-faq-q {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--seb0-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.seb0-faq-q i { color: var(--seb0-primary); transition: transform .2s ease; }
.seb0-faq-item.seb0-faq-open .seb0-faq-q i { transform: rotate(45deg); }
.seb0-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 16px;
  color: var(--seb0-muted);
  font-size: 1.3rem;
}
.seb0-faq-open .seb0-faq-a {
  max-height: 320px;
  padding: 0 16px 14px;
}

/* ===== Footer ===== */
.seb0-footer {
  background: var(--seb0-bg2);
  border-top: 1px solid var(--seb0-border);
  padding: 24px 14px 18px;
  color: var(--seb0-muted);
  font-size: 1.25rem;
}
.seb0-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.seb0-footer h4 {
  color: var(--seb0-text);
  font-size: 1.35rem;
  margin: 0 0 8px;
  font-weight: 800;
}
.seb0-footer a {
  display: block;
  color: var(--seb0-muted);
  padding: 4px 0;
}
.seb0-footer a:hover { color: var(--seb0-primary); }
.seb0-footer-bottom {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 1.15rem;
  line-height: 1.6;
}
.seb0-18plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 2px solid var(--seb0-gold);
  border-radius: 50%;
  color: var(--seb0-gold);
  font-weight: 900;
  margin: 8px auto;
}

/* ===== Bottom nav ===== */
.seb0-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(20,9,12,.98), rgba(12,12,12,1));
  border-top: 1px solid var(--seb0-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}
.seb0-bottom-nav a, .seb0-bottom-nav button {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--seb0-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 60px;
  min-width: 60px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color .15s ease, transform .15s ease;
}
.seb0-bottom-nav a:active, .seb0-bottom-nav button:active { transform: scale(.92); }
.seb0-bottom-nav .seb0-nav-ic { font-size: 2.1rem; line-height: 1; }
.seb0-bottom-nav a.active, .seb0-bottom-nav button.active { color: var(--seb0-primary); }
.seb0-bottom-nav a.active::before, .seb0-bottom-nav button.active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 30px; height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--seb0-primary);
}
.seb0-nav-promo {
  background: linear-gradient(135deg, var(--seb0-primary), var(--seb0-accent)) !important;
  color: #fff !important;
  border-radius: 50%;
  width: 50px; height: 50px;
  min-height: 50px !important;
  margin-top: -22px;
  box-shadow: 0 6px 16px rgba(220,20,60,.55);
  border: 3px solid var(--seb0-bg2);
}
.seb0-nav-promo .seb0-nav-ic { font-size: 2.2rem; }

@media (max-width: 768px) {
  main { padding-bottom: 84px; }
}
@media (min-width: 769px) {
  .seb0-bottom-nav { display: none; }
  .seb0-wrap { max-width: 720px; }
  .seb0-header-inner { max-width: 720px; }
}

/* ===== Layout aliases ===== */
.seb0-container,
.seb0-wrapper {
  width: 100%;
  max-width: var(--seb0-maxw);
  margin: 0 auto;
  position: relative;
}
.seb0-nav { display: flex; align-items: center; gap: 8px; }

/* Compact 4-column game grid */
.seb0-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seb0-grid-4 .seb0-card-name { font-size: 1.05rem; padding: 6px 4px 8px; }

/* ===== Sub-page hero ===== */
.seb0-page-hero {
  padding: 24px 16px 20px;
  background: linear-gradient(135deg, rgba(220,20,60,.30), rgba(255,99,71,.12) 55%, rgba(255,20,147,.18));
  border-bottom: 1px solid var(--seb0-border);
}
.seb0-crumbs { display: block; font-size: 1.1rem; color: var(--seb0-gold); margin-bottom: 8px; font-weight: 600; }
.seb0-page-hero h1 { margin: 0 0 8px; font-size: 2.3rem; font-weight: 900; line-height: 1.22; }
.seb0-page-hero h1 span { color: var(--seb0-primary); }
.seb0-page-hero p { margin: 0 0 12px; font-size: 1.3rem; color: var(--seb0-muted); }
.seb0-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== Steps ===== */
.seb0-step {
  display: flex;
  gap: 12px;
  background: var(--seb0-card);
  border: 1px solid var(--seb0-border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  align-items: flex-start;
}
.seb0-step-num {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--seb0-primary), var(--seb0-accent));
  color: #fff;
  font-weight: 900;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seb0-step-body { flex: 1; min-width: 0; }
.seb0-step-body h3 { margin: 0 0 4px; font-size: 1.45rem; font-weight: 800; color: var(--seb0-text); }
.seb0-step-body p { margin: 0; font-size: 1.25rem; color: var(--seb0-muted); }

/* ===== Info cards ===== */
.seb0-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seb0-info-card {
  background: var(--seb0-card);
  border: 1px solid var(--seb0-border);
  border-radius: 12px;
  padding: 14px 12px;
}
.seb0-info-card i { font-size: 2.2rem; color: var(--seb0-primary); margin-bottom: 8px; display: block; }
.seb0-info-card h3 { margin: 0 0 5px; font-size: 1.4rem; font-weight: 800; color: var(--seb0-text); }
.seb0-info-card p { margin: 0; font-size: 1.2rem; color: var(--seb0-muted); line-height: 1.55; }

/* ===== Note box ===== */
.seb0-note {
  background: rgba(205,133,63,.10);
  border: 1px solid rgba(205,133,63,.35);
  border-left: 4px solid var(--seb0-gold);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 1.25rem;
  color: var(--seb0-muted);
  margin: 14px 0;
  line-height: 1.6;
}

/* ===== Compact table ===== */
.seb0-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.seb0-table th, .seb0-table td { padding: 9px 8px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.07); }
.seb0-table th { color: var(--seb0-gold); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .5px; }
.seb0-table td { color: var(--seb0-muted); }
.seb0-table td b { color: var(--seb0-primary); }

/* ===== Winner rows ===== */
.seb0-win-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--seb0-card);
  border: 1px solid var(--seb0-border);
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.seb0-win-row i { color: var(--seb0-gold); font-size: 1.6rem; }
.seb0-win-row b { color: var(--seb0-primary); }
.seb0-win-row span { color: var(--seb0-muted); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== Footer promo buttons ===== */
.seb0-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.seb0-footer-promos .seb0-btn { font-size: 1.2rem; padding: 8px 14px; min-height: 36px; }

/* ===== Utility ===== */
.seb0-hide { display: none !important; }
.seb0-text-center { text-align: center; }
.seb0-mt-12 { margin-top: 12px; }
.seb0-row { display: flex; gap: 10px; align-items: center; }
.seb0-chip {
  display: inline-block;
  background: var(--seb0-card);
  border: 1px solid var(--seb0-border);
  color: var(--seb0-muted);
  font-size: 1.15rem;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 2px;
}
.seb0-divider {
  height: 1px;
  background: var(--seb0-border);
  margin: 16px 0;
}
.seb0-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin: 14px 0;
}
.seb0-stat {
  background: var(--seb0-card);
  border: 1px solid var(--seb0-border);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
}
.seb0-stat b { display: block; color: var(--seb0-primary); font-size: 1.9rem; font-weight: 900; }
.seb0-stat span { color: var(--seb0-muted); font-size: 1.1rem; }
