/* ==========================================================================
   123win online - Core stylesheet (prefix: se28-)
   Palette: #495057 | #2C3E50 | #A0522D | #FF8C00 | #228B22
   Mobile-first; root font-size 62.5% => 1rem = 10px.
   ========================================================================== */

:root {
  --se28-bg: #2C3E50;
  --se28-bg-2: #495057;
  --se28-surface: #34460b;
  --se28-surface-2: #1f2c3a;
  --se28-primary: #FF8C00;
  --se28-secondary: #A0522D;
  --se28-success: #228B22;
  --se28-text: #f5f5f5;
  --se28-text-muted: #c7ccd1;
  --se28-border: rgba(255, 255, 255, 0.08);
  --se28-radius: 12px;
  --se28-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --se28-header-h: 56px;
  --se28-bottomnav-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, #2C3E50 0%, #495057 100%);
  color: var(--se28-text);
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.se28-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.se28-wrapper { padding-top: var(--se28-header-h); padding-bottom: 2rem; }

/* ============ Header ============ */
.se28-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--se28-header-h);
  background: rgba(44, 62, 80, 0.96);
  border-bottom: 2px solid var(--se28-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  backdrop-filter: blur(8px);
}

.se28-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.7rem;
}
.se28-logo img { width: 30px; height: 30px; border-radius: 6px; }
.se28-logo span { color: var(--se28-primary); }

.se28-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.se28-btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 36px;
}
.se28-btn:active { transform: scale(0.95); }
.se28-btn-primary {
  background: linear-gradient(135deg, #FF8C00, #A0522D);
  color: #fff;
  box-shadow: 0 3px 10px rgba(255, 140, 0, 0.4);
}
.se28-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.se28-btn-success {
  background: linear-gradient(135deg, #228B22, #14591a);
  color: #fff;
}

.se28-menu-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 40px;
  min-height: 40px;
}

/* ============ Mobile menu ============ */
.se28-mobile-menu {
  position: fixed;
  top: var(--se28-header-h);
  right: -100%;
  width: 78%;
  max-width: 320px;
  height: calc(100vh - var(--se28-header-h));
  background: var(--se28-surface-2);
  padding: 1.5rem 1.2rem;
  box-shadow: -4px 0 18px rgba(0, 0, 0, 0.4);
  transition: right 0.28s ease;
  z-index: 9999;
  overflow-y: auto;
}
.se28-mobile-menu.se28-menu-open { right: 0; }
.se28-mobile-menu h4 {
  margin: 1rem 0 0.5rem;
  color: var(--se28-primary);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.se28-mobile-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  color: var(--se28-text);
  border-bottom: 1px solid var(--se28-border);
  font-size: 1.4rem;
}
.se28-mobile-menu a:hover { background: rgba(255, 140, 0, 0.12); }

.se28-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}
.se28-overlay.se28-menu-open { display: block; }

/* ============ Carousel ============ */
.se28-carousel {
  position: relative;
  margin: 1.2rem 0;
  border-radius: var(--se28-radius);
  overflow: hidden;
  box-shadow: var(--se28-shadow);
}
.se28-slides { position: relative; }
.se28-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.se28-slide.se28-slide-active { display: block; }
.se28-slide img { width: 100%; height: 180px; object-fit: cover; }
.se28-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 1.3rem;
  font-weight: 600;
}
.se28-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
}
.se28-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.se28-dot.se28-dot-active { background: var(--se28-primary); }

/* ============ Sections / headings ============ */
.se28-section { margin: 2rem 0; }
.se28-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--se28-primary);
}
.se28-section-title em { color: var(--se28-primary); font-style: normal; }
.se28-section-sub {
  font-size: 1.55rem;
  color: var(--se28-primary);
  font-weight: 700;
  margin: 1.2rem 0 0.6rem;
}
.se28-text-muted { color: var(--se28-text-muted); font-size: 1.35rem; }
.se28-lead { font-size: 1.45rem; color: var(--se28-text-muted); line-height: 2.2rem; }

/* ============ Hero ============ */
.se28-hero {
  text-align: center;
  padding: 1.5rem 1rem;
  background: radial-gradient(circle at top, rgba(255, 140, 0, 0.18), transparent 70%);
  border-radius: var(--se28-radius);
}
.se28-hero h1 {
  font-size: 2.1rem;
  line-height: 2.6rem;
  margin: 0 0 0.6rem;
  color: #fff;
}
.se28-hero h1 span { color: var(--se28-primary); }
.se28-hero p { color: var(--se28-text-muted); margin: 0 auto 1rem; max-width: 380px; }

/* ============ Game grid ============ */
.se28-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.se28-grid-4 { grid-template-columns: repeat(4, 1fr); }
.se28-card {
  background: var(--se28-surface-2);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--se28-border);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.se28-card:hover, .se28-card:active {
  transform: translateY(-2px);
  border-color: var(--se28-primary);
}
.se28-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #1a2530;
}
.se28-card-name {
  font-size: 1.15rem;
  padding: 0.4rem 0.3rem 0.6rem;
  color: var(--se28-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.se28-tag {
  display: inline-block;
  font-size: 1.1rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 140, 0, 0.15);
  color: var(--se28-primary);
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

/* ============ Feature / info cards ============ */
.se28-info-card {
  background: var(--se28-surface-2);
  border-radius: var(--se28-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--se28-primary);
}
.se28-info-card h3 { margin: 0 0 0.4rem; font-size: 1.5rem; color: #fff; }
.se28-info-card p { margin: 0; color: var(--se28-text-muted); font-size: 1.35rem; line-height: 2.1rem; }

.se28-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}
.se28-icon-tile {
  flex: 1 1 30%;
  min-width: 90px;
  background: var(--se28-surface-2);
  padding: 1rem 0.5rem;
  border-radius: 10px;
  text-align: center;
  font-size: 1.2rem;
  color: var(--se28-text);
}
.se28-icon-tile i, .se28-icon-tile span.material-icons {
  font-size: 24px;
  color: var(--se28-primary);
  display: block;
  margin-bottom: 0.3rem;
}

/* ============ Steps ============ */
.se28-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.se28-steps li {
  position: relative;
  padding: 0.8rem 0.8rem 0.8rem 3.2rem;
  margin-bottom: 0.6rem;
  background: var(--se28-surface-2);
  border-radius: 8px;
  counter-increment: step;
  font-size: 1.35rem;
  color: var(--se28-text-muted);
}
.se28-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.8rem; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--se28-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ FAQ ============ */
.se28-faq-item {
  background: var(--se28-surface-2);
  border-radius: 8px;
  margin-bottom: 0.6rem;
  padding: 0.9rem 1rem;
}
.se28-faq-item h4 { margin: 0 0 0.3rem; color: var(--se28-primary); font-size: 1.4rem; }
.se28-faq-item p { margin: 0; color: var(--se28-text-muted); font-size: 1.3rem; line-height: 2rem; }

/* ============ Tables / RTP ============ */
.se28-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
  margin: 0.6rem 0;
  background: var(--se28-surface-2);
  border-radius: 8px;
  overflow: hidden;
}
.se28-table th, .se28-table td {
  padding: 0.7rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--se28-border);
}
.se28-table th { background: rgba(255, 140, 0, 0.18); color: #fff; }
.se28-table td { color: var(--se28-text-muted); }

/* ============ Testimonial ============ */
.se28-testimonial {
  background: var(--se28-surface-2);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--se28-success);
}
.se28-testimonial p { margin: 0 0 0.4rem; font-size: 1.3rem; color: var(--se28-text); }
.se28-testimonial .se28-author { font-size: 1.2rem; color: var(--se28-primary); font-weight: 700; }

/* ============ Winners list ============ */
.se28-winner {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: var(--se28-surface-2);
  border-radius: 6px;
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
}
.se28-winner span:first-child { color: #fff; font-weight: 600; }
.se28-winner span:last-child { color: var(--se28-success); font-weight: 700; }

/* ============ Payment ============ */
.se28-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.se28-pay-chip {
  background: var(--se28-surface-2);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 1.25rem;
  border: 1px solid var(--se28-border);
  color: var(--se28-text);
}

/* ============ CTA band ============ */
.se28-cta {
  background: linear-gradient(135deg, #FF8C00, #A0522D);
  border-radius: var(--se28-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  margin: 1.5rem 0;
  color: #fff;
}
.se28-cta h3 { margin: 0 0 0.4rem; font-size: 1.7rem; }
.se28-cta p { margin: 0 0 1rem; font-size: 1.3rem; }

.se28-link-inline {
  color: var(--se28-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* ============ Footer ============ */
.se28-footer {
  background: #1a2530;
  padding: 2rem 1.2rem 6rem;
  margin-top: 2rem;
  font-size: 1.3rem;
  color: var(--se28-text-muted);
}
.se28-footer h4 { color: #fff; font-size: 1.5rem; margin: 1rem 0 0.5rem; }
.se28-footer a { color: var(--se28-text-muted); display: block; padding: 0.3rem 0; font-size: 1.3rem; }
.se28-footer a:hover { color: var(--se28-primary); }
.se28-footer-brand { margin-bottom: 1rem; line-height: 2rem; }
.se28-footer-buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.se28-footer-buttons .se28-btn { flex: 1 1 40%; min-width: 120px; }
.se28-copyright {
  border-top: 1px solid var(--se28-border);
  padding-top: 1rem;
  margin-top: 1.5rem;
  font-size: 1.2rem;
  text-align: center;
}

/* ============ Bottom nav ============ */
.se28-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--se28-bottomnav-h);
  background: rgba(26, 37, 48, 0.98);
  border-top: 2px solid var(--se28-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.se28-bottomnav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--se28-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: var(--se28-bottomnav-h);
  min-width: 60px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.se28-bottomnav-btn i,
.se28-bottomnav-btn .material-icons {
  font-size: 22px;
}
.se28-bottomnav-btn:active { transform: scale(0.92); }
.se28-bottomnav-btn:hover { color: var(--se28-primary); }
.se28-bottomnav-active { color: var(--se28-primary); }

/* ============ Back to top ============ */
.se28-totop {
  position: fixed;
  right: 14px;
  bottom: calc(var(--se28-bottomnav-h) + 14px);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--se28-primary);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--se28-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ Desktop / tablet ============ */
@media (min-width: 769px) {
  body { background: linear-gradient(160deg, #2C3E50, #495057); }
  .se28-container { max-width: 900px; }
  .se28-grid { grid-template-columns: repeat(6, 1fr); }
  .se28-grid-4 { grid-template-columns: repeat(8, 1fr); }
  .se28-bottomnav { display: none; }
  .se28-footer { padding-bottom: 2rem; }
  .se28-hero h1 { font-size: 2.6rem; }
  .se28-slide img { height: 320px; }
}

@media (max-width: 768px) {
  main.se28-main { padding-bottom: 80px; }
  .se28-totop { bottom: calc(var(--se28-bottomnav-h) + 10px); }
}
