/* =========================================================
 * 123bet casino - layout.css
 * All custom classes use the se11- prefix.
 * Palette: #1A1A1A | #C9C9FF | #6495ED | #5F9EA0 | #F0FDFF
 * Mobile-first, max-width 430px. Root font 62.5% (1rem=10px).
 * ========================================================= */

:root {
  --se11-bg: #1A1A1A;
  --se11-bg-soft: #232336;
  --se11-card: #20203a;
  --se11-primary: #6495ED;
  --se11-secondary: #5F9EA0;
  --se11-accent: #C9C9FF;
  --se11-light: #F0FDFF;
  --se11-text: #EAF0FF;
  --se11-muted: #A7B0C8;
  --se11-gold: #FFD56B;
  --se11-danger: #FF6B6B;
  --se11-radius: 1.2rem;
  --se11-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.45);
}

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

html { font-size: 62.5%; }

body {
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: radial-gradient(circle at top, #23234a 0%, var(--se11-bg) 60%);
  color: var(--se11-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

.se11-skip {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* ============ HEADER ============ */
.se11-header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(135deg, #1a1a2e 0%, #20203a 100%);
  border-bottom: 0.1rem solid rgba(100, 149, 237, 0.3);
  box-shadow: var(--se11-shadow);
  padding: 0.8rem 1rem;
}
.se11-header-row {
  display: flex; align-items: center; gap: 0.8rem;
}
.se11-logo {
  display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0;
}
.se11-logo img {
  width: 2.8rem; height: 2.8rem; border-radius: 0.6rem;
  border: 0.1rem solid var(--se11-primary);
}
.se11-logo-text {
  font-size: 1.5rem; font-weight: 800; color: var(--se11-light);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.se11-logo-text span { color: var(--se11-primary); }

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

.se11-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem; min-height: 3.4rem;
  font-size: 1.25rem; font-weight: 700;
  border: none; border-radius: 2rem; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  font-family: inherit; text-align: center;
}
.se11-btn:active { transform: scale(0.96); }
.se11-btn-primary {
  background: linear-gradient(135deg, var(--se11-primary), var(--se11-secondary));
  color: #fff; box-shadow: 0 0.3rem 0.8rem rgba(100, 149, 237, 0.5);
}
.se11-btn-outline {
  background: transparent; color: var(--se11-light);
  border: 0.12rem solid var(--se11-primary);
}
.se11-btn-gold {
  background: linear-gradient(135deg, var(--se11-gold), #ff9d3a);
  color: #1A1A1A;
}
.se11-btn-block { display: flex; width: 100%; }
.se11-btn-lg { padding: 1rem 1.4rem; font-size: 1.35rem; min-height: 4rem; }

.se11-icon-btn {
  background: transparent; border: none; color: var(--se11-light);
  width: 3.4rem; height: 3.4rem; font-size: 1.8rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.8rem; cursor: pointer;
}

/* ============ MOBILE MENU ============ */
.se11-mobile-menu {
  display: none;
  background: var(--se11-bg-soft);
  border-bottom: 0.1rem solid rgba(100, 149, 237, 0.25);
  padding: 0.6rem 0.8rem 1rem;
}
.se11-mobile-menu.se11-open { display: block; }
.se11-mobile-menu a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 0.8rem; font-size: 1.3rem; font-weight: 600;
  color: var(--se11-text);
  border-bottom: 0.05rem solid rgba(255, 255, 255, 0.06);
}
.se11-mobile-menu a i { color: var(--se11-primary); width: 2rem; text-align: center; }
.se11-mobile-menu a:active { background: rgba(100, 149, 237, 0.12); }

/* ============ MAIN / HERO ============ */
main { padding-bottom: 80px; }

.se11-hero {
  padding: 1rem 1rem 0;
}
.se11-carousel {
  position: relative; border-radius: var(--se11-radius);
  overflow: hidden; box-shadow: var(--se11-shadow);
}
.se11-slide {
  display: none; position: relative; cursor: pointer;
}
.se11-slide.se11-active { display: block; }
.se11-slide img { width: 100%; height: 16rem; object-fit: cover; }
.se11-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  padding: 2rem 1rem 0.9rem;
}
.se11-slide-caption h2 {
  font-size: 1.5rem; color: var(--se11-light); font-weight: 800; margin-bottom: 0.2rem;
}
.se11-slide-caption p { font-size: 1.1rem; color: var(--se11-accent); }

.se11-dots {
  display: flex; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 0;
}
.se11-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
  border: none;
}
.se11-dot.se11-active { background: var(--se11-primary); transform: scale(1.25); }

/* ============ SECTION ============ */
.se11-section {
  padding: 1.4rem 1rem 0.5rem;
}
.se11-section-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.45rem; font-weight: 800; color: var(--se11-light);
  margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--se11-primary);
  padding-left: 0.7rem;
}
.se11-section-title i { color: var(--se11-gold); }
.se11-section-title small {
  font-size: 1.05rem; color: var(--se11-muted); font-weight: 500; margin-left: auto;
}

.se11-h1 {
  font-size: 1.7rem; line-height: 2.2rem; font-weight: 800;
  color: var(--se11-light); margin-bottom: 0.6rem;
}
.se11-h1 span { color: var(--se11-primary); }
.se11-lead {
  font-size: 1.25rem; color: var(--se11-muted); line-height: 1.7rem;
}

/* ============ GAME GRID ============ */
.se11-game-tabs {
  display: flex; gap: 0.5rem; overflow-x: auto;
  padding: 0.4rem 0 0.8rem; scrollbar-width: none;
}
.se11-game-tabs::-webkit-scrollbar { display: none; }
.se11-filter-tab {
  flex: 0 0 auto; white-space: nowrap;
  padding: 0.5rem 1rem; font-size: 1.15rem; font-weight: 600;
  background: var(--se11-card); color: var(--se11-text);
  border: 0.1rem solid rgba(100,149,237,0.25);
  border-radius: 2rem; cursor: pointer;
}
.se11-filter-tab.se11-active {
  background: linear-gradient(135deg, var(--se11-primary), var(--se11-secondary));
  color: #fff; border-color: transparent;
}

.se11-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.se11-game-card {
  background: var(--se11-card);
  border: 0.1rem solid rgba(100,149,237,0.18);
  border-radius: 0.9rem; padding: 0.5rem;
  text-align: center; cursor: pointer; overflow: hidden;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.se11-game-card:active { transform: scale(0.96); border-color: var(--se11-primary); }
.se11-game-card img {
  width: 100%; height: 7.5rem; object-fit: cover;
  border-radius: 0.6rem; margin-bottom: 0.4rem;
}
.se11-game-card-name {
  font-size: 1rem; line-height: 1.25rem; color: var(--se11-text);
  font-weight: 600; min-height: 2.5rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.se11-game-badge {
  display: inline-block; font-size: 0.85rem; font-weight: 700;
  padding: 0.1rem 0.45rem; border-radius: 0.4rem;
  background: var(--se11-danger); color: #fff; margin-bottom: 0.2rem;
}

/* ============ FEATURES CARDS ============ */
.se11-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem;
}
.se11-card {
  background: var(--se11-card);
  border: 0.1rem solid rgba(100,149,237,0.2);
  border-radius: var(--se11-radius);
  padding: 1rem;
}
.se11-card-icon {
  font-size: 2rem; color: var(--se11-primary); margin-bottom: 0.4rem;
}
.se11-card h3 {
  font-size: 1.25rem; color: var(--se11-light); margin-bottom: 0.3rem;
}
.se11-card p {
  font-size: 1.1rem; color: var(--se11-muted); line-height: 1.55rem;
}

/* ============ RTP TABLE ============ */
.se11-rtp-list { display: flex; flex-direction: column; gap: 0.5rem; }
.se11-rtp-row {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--se11-card); padding: 0.6rem 0.8rem;
  border-radius: 0.7rem; font-size: 1.1rem;
}
.se11-rtp-name { flex: 1; color: var(--se11-text); font-weight: 600; }
.se11-rtp-bar {
  flex: 1; height: 0.6rem; background: rgba(255,255,255,0.1);
  border-radius: 0.4rem; overflow: hidden;
}
.se11-rtp-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--se11-primary), var(--se11-gold));
}
.se11-rtp-value { color: var(--se11-gold); font-weight: 800; min-width: 3.5rem; text-align: right; }

/* ============ TESTIMONIAL / WINNERS ============ */
.se11-review {
  background: var(--se11-card); border-radius: var(--se11-radius);
  padding: 0.9rem; margin-bottom: 0.7rem;
  border-left: 0.25rem solid var(--se11-secondary);
}
.se11-review-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.se11-review-avatar {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--se11-primary), var(--se11-secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.2rem;
}
.se11-review-name { font-size: 1.2rem; color: var(--se11-light); font-weight: 700; }
.se11-review-stars { color: var(--se11-gold); font-size: 1rem; }
.se11-review-text { font-size: 1.1rem; color: var(--se11-muted); line-height: 1.55rem; }

.se11-winner {
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--se11-card); padding: 0.6rem 0.8rem;
  border-radius: 0.7rem; margin-bottom: 0.5rem; font-size: 1.1rem;
}
.se11-winner-amount { color: var(--se11-gold); font-weight: 800; margin-left: auto; }

/* ============ PAYMENT GRID ============ */
.se11-pay-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem;
}
.se11-pay-item {
  background: var(--se11-card); border-radius: 0.7rem;
  padding: 0.7rem 0.4rem; text-align: center;
  font-size: 0.95rem; color: var(--se11-text); font-weight: 600;
  border: 0.1rem solid rgba(100,149,237,0.2);
}
.se11-pay-item i { display: block; font-size: 1.6rem; color: var(--se11-primary); margin-bottom: 0.3rem; }

/* ============ PROMO CTA BOX ============ */
.se11-cta {
  background: linear-gradient(135deg, var(--se11-primary), var(--se11-secondary));
  border-radius: var(--se11-radius); padding: 1.2rem;
  text-align: center; color: #fff; margin: 0.5rem 0;
}
.se11-cta h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.se11-cta p { font-size: 1.15rem; margin-bottom: 0.8rem; opacity: 0.95; }

/* ============ FAQ ============ */
.se11-faq-item {
  background: var(--se11-card); border-radius: 0.8rem;
  padding: 0.8rem 1rem; margin-bottom: 0.6rem;
}
.se11-faq-item h3 {
  font-size: 1.2rem; color: var(--se11-accent); margin-bottom: 0.3rem;
}
.se11-faq-item p { font-size: 1.1rem; color: var(--se11-muted); line-height: 1.55rem; }

/* ============ PROSE / SEO LINKS ============ */
.se11-prose { font-size: 1.2rem; line-height: 1.7rem; color: var(--se11-text); }
.se11-prose p { margin-bottom: 0.7rem; }
.se11-prose a {
  color: var(--se11-gold); font-weight: 700;
  text-decoration: underline; text-underline-offset: 0.15rem;
}
.se11-prose strong { color: var(--se11-accent); }

/* ============ FOOTER ============ */
.se11-footer {
  background: var(--se11-bg-soft);
  padding: 1.5rem 1rem 1rem;
  border-top: 0.1rem solid rgba(100,149,237,0.25);
  margin-top: 1rem;
}
.se11-footer-brand {
  font-size: 1.15rem; color: var(--se11-muted); line-height: 1.6rem; margin-bottom: 0.8rem;
}
.se11-footer-promos {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-bottom: 1rem;
}
.se11-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem;
  font-size: 1.05rem; margin-bottom: 0.8rem;
}
.se11-footer-links a { color: var(--se11-accent); }
.se11-footer-copy {
  font-size: 1rem; color: var(--se11-muted); text-align: center;
  border-top: 0.05rem solid rgba(255,255,255,0.08); padding-top: 0.7rem;
}

/* ============ MOBILE BOTTOM NAV ============ */
.se11-bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  display: flex; justify-content: space-around; align-items: center;
  background: linear-gradient(180deg, #20203a 0%, #14142a 100%);
  border-top: 0.1rem solid rgba(100,149,237,0.35);
  height: 6rem; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -0.3rem 1rem rgba(0,0,0,0.5);
}
.se11-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--se11-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.15rem; cursor: pointer; font-family: inherit;
  transition: color 0.2s ease, transform 0.15s ease;
}
.se11-bottomnav-btn:active { transform: scale(0.9); }
.se11-bottomnav-btn i { font-size: 2.2rem; line-height: 1; }
.se11-bottomnav-btn span { font-size: 1rem; font-weight: 600; }
.se11-bottomnav-btn.se11-current { color: var(--se11-primary); }
.se11-bottomnav-btn.se11-promo {
  color: var(--se11-gold);
}
.se11-bottomnav-btn.se11-promo i {
  background: linear-gradient(135deg, var(--se11-primary), var(--se11-secondary));
  color: #fff; width: 3.6rem; height: 3.6rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: -1.4rem; box-shadow: 0 0.3rem 0.8rem rgba(100,149,237,0.6);
  font-size: 2rem; border: 0.2rem solid #fff2;
}

/* ============ DESKTOP ============ */
@media (min-width: 769px) {
  body { max-width: 760px; }
  .se11-bottomnav { display: none; }
  main { padding-bottom: 1rem; }
}
@media (min-width: 431px) and (max-width: 768px) {
  .se11-bottomnav { display: flex; }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
