/* 566bet Theme - theme-e538 */
:root {
  font-size: 62.5%;
  --se53-primary: #4169E1;
  --se53-bg: #34495E;
  --se53-bg-dark: #2C3E50;
  --se53-red: #CD5C5C;
  --se53-orange: #E65100;
  --se53-gold: #CD853F;
  --se53-text: #F5F5F5;
  --se53-text-muted: #BDC3C7;
  --se53-card-bg: #3D566E;
  --se53-border: #4A6785;
  --se53-white: #FFFFFF;
  --se53-radius: 0.8rem;
  --se53-radius-sm: 0.5rem;
  --se53-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --se53-transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
  background-color: var(--se53-bg);
  color: var(--se53-text);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--se53-gold); text-decoration: none; transition: var(--se53-transition); }
a:hover { color: var(--se53-orange); }
img { max-width: 100%; height: auto; display: block; }

/* ===== Header ===== */
.se53-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--se53-bg-dark);
  border-bottom: 2px solid var(--se53-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  height: 5rem;
}

.se53-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.se53-logo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
}

.se53-site-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--se53-primary);
  letter-spacing: 0.05rem;
}

.se53-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.se53-btn-register {
  background: var(--se53-orange);
  color: var(--se53-white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--se53-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--se53-transition);
  min-height: 3.2rem;
  min-width: 5.5rem;
}

.se53-btn-register:hover {
  background: #FF6D00;
  transform: scale(1.05);
}

.se53-btn-login {
  background: transparent;
  color: var(--se53-primary);
  border: 2px solid var(--se53-primary);
  padding: 0.4rem 1rem;
  border-radius: var(--se53-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--se53-transition);
  min-height: 3.2rem;
  min-width: 5rem;
}

.se53-btn-login:hover {
  background: var(--se53-primary);
  color: var(--se53-white);
}

.se53-hamburger {
  background: none;
  border: none;
  color: var(--se53-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* ===== Mobile Menu ===== */
.se53-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.se53-overlay-active {
  display: block;
  opacity: 1;
}

.se53-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--se53-bg-dark);
  z-index: 10000;
  transition: right 0.3s ease;
  padding: 2rem 0;
  overflow-y: auto;
}

.se53-menu-open {
  right: 0;
}

.se53-menu-close {
  background: none;
  border: none;
  color: var(--se53-text);
  font-size: 2.4rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}

.se53-menu-section {
  padding: 0.5rem 1.5rem;
  margin-bottom: 0.5rem;
}

.se53-menu-title {
  font-size: 1.2rem;
  color: var(--se53-gold);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--se53-border);
}

.se53-menu-link {
  display: block;
  color: var(--se53-text);
  padding: 0.7rem 0;
  font-size: 1.4rem;
  transition: var(--se53-transition);
  border-bottom: 1px solid rgba(74,103,133,0.3);
}

.se53-menu-link:hover {
  color: var(--se53-primary);
  padding-left: 0.5rem;
}

/* ===== Main Content ===== */
.se53-main {
  padding-top: 5.5rem;
  padding-bottom: 1rem;
}

@media (max-width: 768px) {
  .se53-main {
    padding-bottom: 8rem;
  }
}

.se53-container {
  padding: 0 1rem;
}

/* ===== Carousel ===== */
.se53-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--se53-radius);
  margin: 0.8rem 1rem;
}

.se53-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.se53-carousel-slide {
  min-width: 100%;
  cursor: pointer;
}

.se53-carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--se53-radius);
}

.se53-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.se53-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: var(--se53-transition);
}

.se53-dot-active {
  background: var(--se53-primary);
  transform: scale(1.3);
}

/* ===== Section Titles ===== */
.se53-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--se53-primary);
  margin: 1.5rem 1rem 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--se53-orange);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.se53-section-title i {
  color: var(--se53-orange);
}

/* ===== Game Grid ===== */
.se53-game-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

@media (min-width: 380px) {
  .se53-game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.se53-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--se53-transition);
  border-radius: var(--se53-radius-sm);
  padding: 0.3rem;
}

.se53-game-item:hover {
  background: var(--se53-card-bg);
  transform: translateY(-2px);
}

.se53-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--se53-radius-sm);
  object-fit: cover;
  border: 2px solid transparent;
  transition: var(--se53-transition);
}

.se53-game-item:hover .se53-game-icon {
  border-color: var(--se53-primary);
}

.se53-game-name {
  font-size: 1rem;
  color: var(--se53-text-muted);
  text-align: center;
  margin-top: 0.2rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* ===== Content Modules ===== */
.se53-module {
  background: var(--se53-card-bg);
  border-radius: var(--se53-radius);
  padding: 1.5rem;
  margin: 1rem;
  box-shadow: var(--se53-shadow);
}

.se53-module h2 {
  font-size: 1.7rem;
  color: var(--se53-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--se53-border);
}

.se53-module h3 {
  font-size: 1.5rem;
  color: var(--se53-gold);
  margin: 1rem 0 0.5rem;
}

.se53-module p {
  color: var(--se53-text-muted);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.se53-module ul {
  list-style: none;
  padding: 0;
}

.se53-module li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--se53-text-muted);
}

.se53-module li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--se53-orange);
  font-size: 1rem;
}

/* ===== Promo Buttons ===== */
.se53-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--se53-orange), #FF6D00);
  color: var(--se53-white);
  padding: 0.8rem 1.8rem;
  border-radius: 2rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: var(--se53-transition);
  margin: 0.5rem 0;
  box-shadow: 0 3px 10px rgba(230,81,0,0.4);
}

.se53-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(230,81,0,0.6);
}

.se53-promo-btn-blue {
  background: linear-gradient(135deg, var(--se53-primary), #2850B8);
  box-shadow: 0 3px 10px rgba(65,105,225,0.4);
}

.se53-promo-btn-blue:hover {
  box-shadow: 0 5px 15px rgba(65,105,225,0.6);
}

.se53-promo-text {
  color: var(--se53-gold);
  font-weight: 600;
  cursor: pointer;
  transition: var(--se53-transition);
  border-bottom: 1px dashed var(--se53-gold);
}

.se53-promo-text:hover {
  color: var(--se53-orange);
  border-bottom-color: var(--se53-orange);
}

/* ===== Winner Ticker ===== */
.se53-winner-ticker {
  background: var(--se53-bg-dark);
  border: 1px solid var(--se53-border);
  border-radius: var(--se53-radius-sm);
  padding: 0.6rem 1rem;
  margin: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}

.se53-winner-badge {
  background: var(--se53-orange);
  color: var(--se53-white);
  padding: 0.2rem 0.6rem;
  border-radius: 0.3rem;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.se53-winner-info {
  font-size: 1.2rem;
  color: var(--se53-text-muted);
  white-space: nowrap;
}

/* ===== Payment Methods ===== */
.se53-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  padding: 0.5rem 0;
}

.se53-payment-item {
  background: var(--se53-bg-dark);
  border: 1px solid var(--se53-border);
  border-radius: var(--se53-radius-sm);
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  color: var(--se53-gold);
  text-align: center;
}

/* ===== Footer ===== */
.se53-footer {
  background: var(--se53-bg-dark);
  border-top: 2px solid var(--se53-primary);
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
}

.se53-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.se53-footer-brand p {
  font-size: 1.2rem;
  color: var(--se53-text-muted);
  line-height: 1.5;
}

.se53-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.se53-footer-links a {
  background: var(--se53-card-bg);
  color: var(--se53-text);
  padding: 0.4rem 0.8rem;
  border-radius: var(--se53-radius-sm);
  font-size: 1.1rem;
  transition: var(--se53-transition);
}

.se53-footer-links a:hover {
  background: var(--se53-primary);
  color: var(--se53-white);
}

.se53-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.se53-footer-promo button {
  background: linear-gradient(135deg, var(--se53-orange), #FF6D00);
  color: var(--se53-white);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--se53-transition);
}

.se53-footer-promo button:hover {
  transform: scale(1.05);
}

.se53-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--se53-text-muted);
  border-top: 1px solid var(--se53-border);
  padding-top: 1rem;
}

/* ===== Bottom Navigation ===== */
.se53-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--se53-bg-dark);
  border-top: 2px solid var(--se53-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -3px 10px rgba(0,0,0,0.3);
}

.se53-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--se53-text-muted);
  cursor: pointer;
  transition: var(--se53-transition);
  padding: 0.3rem;
  border-radius: 0.5rem;
  position: relative;
}

.se53-bottom-btn:hover,
.se53-bottom-btn.se53-btn-active {
  color: var(--se53-primary);
  background: rgba(65,105,225,0.1);
}

.se53-bottom-btn:hover {
  transform: scale(1.1);
}

.se53-bottom-btn i,
.se53-bottom-btn .material-icons-outlined,
.se53-bottom-btn ion-icon {
  font-size: 22px;
}

.se53-bottom-btn .material-icons-outlined {
  font-size: 24px;
}

.se53-bottom-btn ion-icon {
  font-size: 24px;
}

.se53-bottom-label {
  font-size: 1rem;
  margin-top: 0.15rem;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .se53-bottom-nav { display: none; }
}

/* ===== FAQ Section ===== */
.se53-faq-item {
  border: 1px solid var(--se53-border);
  border-radius: var(--se53-radius-sm);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.se53-faq-q {
  background: var(--se53-bg-dark);
  padding: 1rem;
  font-weight: 600;
  color: var(--se53-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

.se53-faq-a {
  padding: 1rem;
  color: var(--se53-text-muted);
  font-size: 1.3rem;
  line-height: 1.6;
}

/* ===== About Page ===== */
.se53-about-hero {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, var(--se53-bg-dark), var(--se53-card-bg));
  border-radius: var(--se53-radius);
  margin: 1rem;
}

.se53-about-hero h1 {
  font-size: 2rem;
  color: var(--se53-primary);
  margin-bottom: 0.8rem;
}

.se53-about-hero p {
  color: var(--se53-text-muted);
  font-size: 1.3rem;
}

.se53-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  padding: 0.5rem 0;
}

.se53-feature-card {
  background: var(--se53-bg-dark);
  border-radius: var(--se53-radius-sm);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--se53-border);
}

.se53-feature-card i {
  font-size: 2rem;
  color: var(--se53-orange);
  margin-bottom: 0.5rem;
}

.se53-feature-card h4 {
  font-size: 1.2rem;
  color: var(--se53-primary);
  margin-bottom: 0.3rem;
}

.se53-feature-card p {
  font-size: 1.1rem;
  color: var(--se53-text-muted);
}

/* ===== CTA Banner ===== */
.se53-cta-banner {
  background: linear-gradient(135deg, var(--se53-primary), #2850B8);
  border-radius: var(--se53-radius);
  padding: 1.5rem;
  margin: 1rem;
  text-align: center;
}

.se53-cta-banner h3 {
  color: var(--se53-white);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.se53-cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* ===== Testimonials ===== */
.se53-testimonial {
  background: var(--se53-bg-dark);
  border-radius: var(--se53-radius-sm);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--se53-gold);
}

.se53-testimonial-text {
  color: var(--se53-text-muted);
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.se53-testimonial-author {
  color: var(--se53-gold);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ===== Utility ===== */
.se53-text-center { text-align: center; }
.se53-mt-1 { margin-top: 1rem; }
.se53-mb-1 { margin-bottom: 1rem; }
.se53-hidden { display: none; }

/* ===== Desktop Adjustments ===== */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .se53-hamburger { display: none; }
}
