/* 23Win Com - design-effa.css
   Prefix: seff-
   Mobile-first casino gaming website styles (Vietnamese market)
   Color palette: #2D2D2D (dark background) | #FFEB3B (light accent) */

:root {
  --seff-bg: #2D2D2D;
  --seff-bg-2: #1c1c1c;
  --seff-bg-3: #3a3a3a;
  --seff-accent: #FFEB3B;
  --seff-accent-2: #ffd000;
  --seff-text: #f5f5f5;
  --seff-text-muted: #b8b8b8;
  --seff-border: rgba(255,235,59,0.25);
  --seff-shadow: 0 4px 18px rgba(0,0,0,0.45);
  --seff-radius: 14px;
  --seff-radius-sm: 10px;
  --seff-header-h: 56px;
  --seff-bottomnav-h: 62px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--seff-bg);
  color: var(--seff-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  min-height: 100vh;
}

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

.seff-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; position: relative; }
.seff-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ===== Header ===== */
.seff-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #232323 0%, #2D2D2D 100%);
  border-bottom: 2px solid var(--seff-accent);
  box-shadow: var(--seff-shadow);
  height: var(--seff-header-h);
}
.seff-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px; gap: 8px;
}
.seff-logo { display: flex; align-items: center; gap: 8px; min-width: 0; }
.seff-logo img { width: 28px; height: 28px; border-radius: 6px; }
.seff-logo-text { font-size: 1.5rem; font-weight: 800; color: var(--seff-accent); white-space: nowrap; letter-spacing: 0.3px; }
.seff-logo-text small { display: block; font-size: 1rem; color: var(--seff-text-muted); font-weight: 500; letter-spacing: 0; }

.seff-header-actions { display: flex; align-items: center; gap: 6px; }
.seff-btn {
  border: none; border-radius: 20px; padding: 8px 14px;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 36px; display: inline-flex; align-items: center; gap: 4px;
  font-family: inherit;
}
.seff-btn:active { transform: scale(0.94); }
.seff-btn-register { background: var(--seff-accent); color: #1a1a1a; box-shadow: 0 3px 0 #b59a00; }
.seff-btn-login { background: transparent; color: var(--seff-accent); border: 1.5px solid var(--seff-accent); }

.seff-menu-toggle {
  background: transparent; border: none; color: var(--seff-accent);
  font-size: 2rem; cursor: pointer; padding: 4px 6px; display: inline-flex; align-items: center;
}

/* ===== Mobile Menu Drawer ===== */
.seff-mobile-menu {
  position: fixed; top: 0; right: 0; width: 80%; max-width: 320px;
  height: 100vh; background: var(--seff-bg-2); z-index: 9999;
  transform: translateX(100%); transition: transform .28s ease; padding: 16px; overflow-y: auto;
  border-left: 2px solid var(--seff-accent);
}
.seff-mobile-menu.seff-open { transform: translateX(0); }
.seff-mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--seff-border); }
.seff-mobile-menu-title { color: var(--seff-accent); font-size: 1.6rem; font-weight: 800; }
.seff-mobile-menu-close { background: transparent; border: none; color: var(--seff-text); font-size: 2rem; cursor: pointer; }
.seff-mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.seff-mobile-menu a, .seff-mobile-menu button.seff-menu-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 12px; border-radius: var(--seff-radius-sm);
  color: var(--seff-text); background: var(--seff-bg-3);
  font-size: 1.4rem; font-weight: 600; border: none; width: 100%; text-align: left; cursor: pointer; font-family: inherit;
}
.seff-mobile-menu a:active, .seff-mobile-menu button.seff-menu-link:active { background: var(--seff-accent); color: #1a1a1a; }
.seff-mobile-menu a i, .seff-mobile-menu button i { color: var(--seff-accent); width: 22px; text-align: center; }
.seff-mobile-menu-cta { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.seff-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.seff-overlay.seff-open { opacity: 1; visibility: visible; }

/* ===== Main ===== */
.seff-main { padding-top: calc(var(--seff-header-h) + 8px); padding-bottom: 16px; }

/* ===== Hero / Carousel ===== */
.seff-hero { margin: 8px 0 14px; border-radius: var(--seff-radius); overflow: hidden; box-shadow: var(--seff-shadow); position: relative; }
.seff-carousel { position: relative; width: 100%; aspect-ratio: 16/9; background: #111; overflow: hidden; }
.seff-carousel-track { display: flex; width: 100%; height: 100%; transition: transform .5s ease; }
.seff-carousel-slide { width: 100%; height: 100%; flex: 0 0 100%; position: relative; }
.seff-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.seff-carousel-slide a { display: block; width: 100%; height: 100%; }
.seff-carousel-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.seff-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; padding: 0; }
.seff-carousel-dot.seff-active { background: var(--seff-accent); width: 22px; border-radius: 4px; }
.seff-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.45); color: #fff; border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; }
.seff-carousel-arrow:hover { background: var(--seff-accent); color: #1a1a1a; }
.seff-carousel-prev { left: 8px; }
.seff-carousel-next { right: 8px; }

/* ===== Section ===== */
.seff-section { margin: 18px 0; }
.seff-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 8px; }
.seff-section-title { font-size: 1.7rem; font-weight: 800; color: var(--seff-accent); display: flex; align-items: center; gap: 8px; }
.seff-section-title i { font-size: 2rem; }
.seff-section-link { font-size: 1.2rem; color: var(--seff-text-muted); font-weight: 600; }
.seff-section-link:hover { color: var(--seff-accent); }

/* ===== Promo CTA Bar ===== */
.seff-cta-bar { display: flex; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.seff-cta-bar .seff-btn { flex: 1; min-width: 130px; justify-content: center; padding: 10px 14px; font-size: 1.35rem; }

/* ===== Game Grid (compact icon layout) ===== */
.seff-game-list { margin: 10px 0; }
.seff-game-group { margin-bottom: 18px; }
.seff-game-group-title {
  font-size: 1.5rem; font-weight: 800; color: #fff;
  margin: 10px 0 8px; padding: 8px 12px; border-left: 4px solid var(--seff-accent);
  background: var(--seff-bg-3); border-radius: 0 var(--seff-radius-sm) var(--seff-radius-sm) 0;
  display: flex; align-items: center; gap: 8px;
}
.seff-game-group-title i { color: var(--seff-accent); font-size: 1.8rem; }
.seff-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seff-game-card {
  background: var(--seff-bg-3); border-radius: var(--seff-radius-sm); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06); transition: transform .15s ease, border-color .15s ease;
  display: block; cursor: pointer;
}
.seff-game-card:active { transform: scale(0.96); border-color: var(--seff-accent); }
.seff-game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #111; }
.seff-game-card-name {
  padding: 6px 6px 7px; font-size: 1.1rem; color: var(--seff-text);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600;
}

/* ===== Info / Content Cards ===== */
.seff-card {
  background: var(--seff-bg-3); border-radius: var(--seff-radius); padding: 14px;
  margin: 10px 0; border: 1px solid rgba(255,255,255,0.05);
}
.seff-card h2, .seff-card h3 { color: var(--seff-accent); margin-bottom: 8px; }
.seff-card h2 { font-size: 1.7rem; }
.seff-card h3 { font-size: 1.5rem; }
.seff-card p { color: var(--seff-text); margin-bottom: 8px; font-size: 1.35rem; line-height: 1.6rem; }
.seff-card ul { padding-left: 18px; margin: 6px 0; }
.seff-card li { margin-bottom: 5px; font-size: 1.3rem; line-height: 1.55rem; color: var(--seff-text); }
.seff-card a { color: var(--seff-accent); font-weight: 600; }

.seff-text-link { color: var(--seff-accent); font-weight: 700; cursor: pointer; }
.seff-text-link:hover { text-decoration: underline; }

/* ===== Features grid ===== */
.seff-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 10px 0; }
.seff-feature-item { background: var(--seff-bg-3); border-radius: var(--seff-radius-sm); padding: 14px 10px; text-align: center; border: 1px solid rgba(255,235,59,0.12); }
.seff-feature-item i { font-size: 2.6rem; color: var(--seff-accent); margin-bottom: 6px; display: block; }
.seff-feature-item h4 { font-size: 1.3rem; color: #fff; margin-bottom: 4px; font-weight: 700; }
.seff-feature-item p { font-size: 1.15rem; color: var(--seff-text-muted); line-height: 1.45rem; }

/* ===== Testimonials ===== */
.seff-testimonials { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 10px 0; }
.seff-testimonial { background: var(--seff-bg-3); border-radius: var(--seff-radius-sm); padding: 12px; border-left: 3px solid var(--seff-accent); }
.seff-testimonial-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.seff-testimonial-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--seff-accent); color: #1a1a1a; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; }
.seff-testimonial-name { font-size: 1.3rem; font-weight: 700; color: #fff; }
.seff-testimonial-stars { color: var(--seff-accent); font-size: 1.1rem; margin-bottom: 4px; }
.seff-testimonial-text { font-size: 1.25rem; color: var(--seff-text); line-height: 1.5rem; }

/* ===== Payment methods ===== */
.seff-payments { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.seff-payment-item { background: #fff; border-radius: 8px; padding: 6px 12px; font-size: 1.2rem; font-weight: 700; color: #2D2D2D; display: flex; align-items: center; gap: 6px; min-height: 32px; }
.seff-payment-item i { color: #2D2D2D; font-size: 1.6rem; }

/* ===== Winners showcase ===== */
.seff-winners { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 10px 0; }
.seff-winner { min-width: 0; background: var(--seff-bg-3); border-radius: var(--seff-radius-sm); padding: 10px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,235,59,0.15); }
.seff-winner-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--seff-accent); color: #1a1a1a; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.seff-winner-info { min-width: 0; flex: 1; }
.seff-winner-name { font-size: 1.2rem; color: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seff-winner-amount { font-size: 1.3rem; color: var(--seff-accent); font-weight: 800; }

/* ===== App download CTA ===== */
.seff-app-cta { background: linear-gradient(135deg, #3a3a3a 0%, #2D2D2D 100%); border-radius: var(--seff-radius); padding: 16px; margin: 12px 0; border: 1px solid var(--seff-border); display: flex; align-items: center; gap: 12px; }
.seff-app-cta-icon { font-size: 3.2rem; color: var(--seff-accent); flex-shrink: 0; }
.seff-app-cta-text { flex: 1; min-width: 0; }
.seff-app-cta-text h3 { color: var(--seff-accent); font-size: 1.5rem; margin-bottom: 4px; }
.seff-app-cta-text p { color: var(--seff-text); font-size: 1.2rem; line-height: 1.45rem; margin: 0; }

/* ===== FAQ ===== */
.seff-faq-item { background: var(--seff-bg-3); border-radius: var(--seff-radius-sm); margin-bottom: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.seff-faq-q { padding: 12px; font-size: 1.35rem; font-weight: 700; color: var(--seff-accent); display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 8px; }
.seff-faq-q i { font-size: 1.6rem; transition: transform .2s ease; flex-shrink: 0; }
.seff-faq-item.seff-open .seff-faq-q i { transform: rotate(45deg); }
.seff-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 12px; }
.seff-faq-item.seff-open .seff-faq-a { max-height: 400px; padding-bottom: 12px; }
.seff-faq-a p { font-size: 1.25rem; color: var(--seff-text); line-height: 1.55rem; margin: 0; }

/* ===== Footer ===== */
.seff-footer { background: var(--seff-bg-2); padding: 20px 0 90px; margin-top: 20px; border-top: 2px solid var(--seff-accent); }
.seff-footer-inner { max-width: 430px; margin: 0 auto; padding: 0 12px; }
.seff-footer-brand { color: var(--seff-accent); font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.seff-footer-desc { color: var(--seff-text-muted); font-size: 1.2rem; line-height: 1.5rem; margin-bottom: 14px; }
.seff-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.seff-footer-links a { color: var(--seff-text); font-size: 1.2rem; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.seff-footer-links a:hover { color: var(--seff-accent); }
.seff-footer-promo { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.seff-footer-promo .seff-btn { flex: 1; min-width: 110px; justify-content: center; font-size: 1.2rem; padding: 8px 10px; }
.seff-footer-copy { color: var(--seff-text-muted); font-size: 1.1rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 10px; }

/* ===== Mobile Bottom Nav ===== */
.seff-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--seff-bottomnav-h); background: #1c1c1c;
  border-top: 2px solid var(--seff-accent);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.5);
}
.seff-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--seff-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  cursor: pointer; padding: 4px 2px; transition: color .15s ease, transform .15s ease;
  font-family: inherit; position: relative;
}
.seff-bottomnav-btn i { font-size: 2.2rem; line-height: 1; }
.seff-bottomnav-btn .material-icons-outlined { font-size: 2.4rem; }
.seff-bottomnav-btn span { font-size: 1rem; font-weight: 600; letter-spacing: 0.2px; }
.seff-bottomnav-btn:active { transform: scale(0.92); }
.seff-bottomnav-btn.seff-active { color: var(--seff-accent); }
.seff-bottomnav-btn.seff-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 3px; background: var(--seff-accent); border-radius: 0 0 4px 4px;
}
.seff-bottomnav-btn.seff-promo { color: var(--seff-accent); }
.seff-bottomnav-btn.seff-promo i { filter: drop-shadow(0 0 4px rgba(255,235,59,0.5)); }

/* ===== Desktop adjustments ===== */
@media (min-width: 769px) {
  .seff-bottomnav { display: none; }
  .seff-menu-toggle { display: none; }
  .seff-container, .seff-footer-inner, .seff-header-inner { max-width: 760px; }
  .seff-game-grid { grid-template-columns: repeat(6, 1fr); }
  .seff-features-grid { grid-template-columns: repeat(4, 1fr); }
  .seff-winners { grid-template-columns: repeat(4,1fr); }
  .seff-footer { padding-bottom: 24px; }
}

/* ===== Mobile bottom padding clearance ===== */
@media (max-width: 768px) {
  .seff-main { padding-bottom: calc(var(--seff-bottomnav-h) + 18px); }
  .seff-footer { padding-bottom: calc(var(--seff-bottomnav-h) + 24px); }
}

/* ===== Utility ===== */
.seff-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.seff-hide { display: none !important; }
