/* layout-e666.css - Core Stylesheet for 499 Bet APK */
/* All classes prefixed with se66- for namespace isolation */
/* Mobile-first design, max-width 430px */

:root {
  --se66-primary: #7FFF00;
  --se66-bg: #0C0C0C;
  --se66-accent: #E91E63;
  --se66-text: #EAEAEA;
  --se66-text-muted: #9A9A9A;
  --se66-card-bg: #1A1A1A;
  --se66-card-border: #2A2A2A;
  --se66-radius: 8px;
  --se66-radius-lg: 12px;
  --se66-header-h: 56px;
  --se66-bottom-nav-h: 60px;
}

/* Reset and base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', sans-serif;
  background: var(--se66-bg);
  color: var(--se66-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.se66-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0C0C0C 0%, #1A1A1A 100%);
  border-bottom: 2px solid var(--se66-primary);
  height: var(--se66-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
  max-width: 430px; margin: 0 auto;
}
.se66-header-logo {
  display: flex; align-items: center; gap: 0.8rem;
}
.se66-header-logo img { width: 28px; height: 28px; border-radius: 4px; }
.se66-header-logo span { font-size: 1.5rem; font-weight: 700; color: var(--se66-primary); white-space: nowrap; }
.se66-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.se66-btn-register, .se66-btn-login {
  padding: 0.5rem 1.2rem; border-radius: 6px; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; border: none; outline: none;
}
.se66-btn-register {
  background: var(--se66-accent); color: #fff;
  box-shadow: 0 0 8px rgba(233,30,99,0.4);
}
.se66-btn-login {
  background: transparent; color: var(--se66-primary);
  border: 1px solid var(--se66-primary);
}
.se66-btn-register:hover, .se66-btn-login:hover { opacity: 0.85; }
.se66-hamburger {
  background: none; border: none; color: var(--se66-primary);
  font-size: 2.2rem; cursor: pointer; padding: 0 0.4rem;
}

/* Mobile Menu Overlay */
.se66-menu-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.7); z-index: 9998;
}
.se66-overlay-active { display: block; }

/* Mobile Menu */
.se66-mobile-menu {
  position: fixed; top: 0; right: -280px;
  width: 260px; height: 100vh;
  background: #111; z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.se66-menu-active { right: 0; }
.se66-mobile-menu a {
  display: block; padding: 1rem 0; font-size: 1.4rem;
  color: var(--se66-text); border-bottom: 1px solid #222;
  transition: color 0.2s;
}
.se66-mobile-menu a:hover { color: var(--se66-primary); }
.se66-menu-close {
  background: none; border: none; color: var(--se66-accent);
  font-size: 2.4rem; cursor: pointer; float: right; margin-bottom: 1rem;
}

/* Main Content */
.se66-main {
  padding-top: var(--se66-header-h);
  padding-bottom: 2rem;
}

/* Carousel */
.se66-carousel { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16/7; }
.se66-carousel-slide {
  display: none; width: 100%; height: 100%;
  cursor: pointer;
}
.se66-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.se66-slide-active { display: block; }
.se66-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.se66-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.3s;
}
.se66-dot-active { background: var(--se66-primary); }

/* Section titles */
.se66-section-title {
  font-size: 1.8rem; font-weight: 700;
  color: var(--se66-primary);
  padding: 1.5rem 1.2rem 0.8rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.se66-section-title i { font-size: 2rem; }

/* Game Grid */
.se66-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; padding: 0.8rem 1.2rem;
}
.se66-game-card {
  text-align: center; cursor: pointer;
  border-radius: var(--se66-radius);
  overflow: hidden; transition: transform 0.2s;
}
.se66-game-card:hover { transform: scale(1.05); }
.se66-game-card img {
  width: 100%; aspect-ratio: 1/1;
  object-fit: cover; border-radius: var(--se66-radius);
  border: 1px solid var(--se66-card-border);
}
.se66-game-card span {
  display: block; font-size: 1.1rem; color: var(--se66-text);
  padding: 0.3rem 0.2rem; line-height: 1.3rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Content modules */
.se66-content-block {
  padding: 1.2rem; margin: 0.8rem 1.2rem;
  background: var(--se66-card-bg);
  border-radius: var(--se66-radius-lg);
  border: 1px solid var(--se66-card-border);
}
.se66-content-block h2 {
  font-size: 1.6rem; color: var(--se66-primary);
  margin-bottom: 0.8rem;
}
.se66-content-block h3 {
  font-size: 1.4rem; color: var(--se66-accent);
  margin: 0.8rem 0 0.4rem;
}
.se66-content-block p {
  font-size: 1.3rem; line-height: 1.8rem;
  color: var(--se66-text-muted); margin-bottom: 0.6rem;
}
.se66-content-block ul { padding-left: 1.4rem; }
.se66-content-block li {
  font-size: 1.3rem; line-height: 1.8rem;
  color: var(--se66-text-muted); margin-bottom: 0.3rem;
  list-style: disc;
}

/* Promo links in content */
.se66-promo-link {
  display: inline-block; color: var(--se66-accent);
  font-weight: 700; font-size: 1.3rem;
  cursor: pointer; text-decoration: underline;
  transition: color 0.2s;
}
.se66-promo-link:hover { color: var(--se66-primary); }

/* Promo CTA button */
.se66-cta-btn {
  display: block; width: 100%; padding: 1.2rem;
  background: linear-gradient(135deg, var(--se66-accent), #C2185B);
  color: #fff; font-size: 1.6rem; font-weight: 700;
  text-align: center; border: none; border-radius: var(--se66-radius-lg);
  cursor: pointer; margin: 1rem 0;
  box-shadow: 0 0 20px rgba(233,30,99,0.5);
  animation: se66-glow 2s ease-in-out infinite alternate;
}
@keyframes se66-glow {
  from { box-shadow: 0 0 10px rgba(233,30,99,0.4); }
  to { box-shadow: 0 0 25px rgba(233,30,99,0.7); }
}

/* Footer */
.se66-footer {
  background: #111; padding: 2rem 1.2rem 1rem;
  border-top: 2px solid var(--se66-primary);
  margin-top: 2rem;
}
.se66-footer-brand { font-size: 1.3rem; color: var(--se66-text-muted); line-height: 1.7rem; margin-bottom: 1rem; }
.se66-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem;
}
.se66-footer-links a {
  font-size: 1.2rem; color: var(--se66-primary);
  padding: 0.3rem 0.8rem; background: #1A1A1A;
  border-radius: 4px; border: 1px solid var(--se66-card-border);
  transition: all 0.2s;
}
.se66-footer-links a:hover { background: var(--se66-accent); color: #fff; }
.se66-footer-copy { font-size: 1.1rem; color: #555; text-align: center; padding-top: 0.8rem; border-top: 1px solid #222; }

/* Bottom Navigation - Fixed */
.se66-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; max-width: 430px; margin: 0 auto;
  background: linear-gradient(180deg, #1A1A1A, #0C0C0C);
  border-top: 2px solid var(--se66-primary);
  display: flex; justify-content: space-around; align-items: center;
  height: var(--se66-bottom-nav-h);
  padding: 0 0.4rem;
}
.se66-bottom-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 52px;
  background: none; border: none; color: var(--se66-text-muted);
  cursor: pointer; transition: all 0.2s; padding: 0.2rem;
  border-radius: 8px;
}
.se66-bottom-btn:hover, .se66-bottom-btn:focus { color: var(--se66-primary); background: rgba(127,255,0,0.1); }
.se66-bottom-btn .se66-bnav-icon { font-size: 2.2rem; line-height: 1; }
.se66-bottom-btn .se66-bnav-text { font-size: 1rem; margin-top: 0.2rem; white-space: nowrap; }
.se66-bottom-btn.se66-active { color: var(--se66-accent); }

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .se66-bottom-nav { display: none; }
}
/* Mobile: add bottom padding */
@media (max-width: 768px) {
  .se66-main { padding-bottom: calc(var(--se66-bottom-nav-h) + 2rem); }
  .se66-footer { padding-bottom: calc(var(--se66-bottom-nav-h) + 2rem); }
}

/* Internal link styles */
.se66-internal-link {
  color: var(--se66-primary); text-decoration: underline;
  font-weight: 600; cursor: pointer;
}
.se66-internal-link:hover { color: var(--se66-accent); }

/* Testimonial cards */
.se66-testimonial {
  background: #151515; border-radius: var(--se66-radius);
  padding: 1rem; margin-bottom: 0.6rem;
  border-left: 3px solid var(--se66-accent);
}
.se66-testimonial-name { font-size: 1.2rem; font-weight: 700; color: var(--se66-primary); }
.se66-testimonial-text { font-size: 1.2rem; color: var(--se66-text-muted); margin-top: 0.3rem; }

/* Winner showcase */
.se66-winner-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0; border-bottom: 1px solid #1A1A1A;
}
.se66-winner-item img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.se66-winner-name { font-size: 1.2rem; color: var(--se66-primary); }
.se66-winner-amount { font-size: 1.2rem; color: var(--se66-accent); font-weight: 700; }
.se66-winner-game { font-size: 1rem; color: var(--se66-text-muted); }

/* Payment methods */
.se66-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
  padding: 0.8rem 0;
}
.se66-payment-item {
  background: #1A1A1A; border-radius: var(--se66-radius);
  padding: 0.6rem 1rem; font-size: 1.2rem;
  color: var(--se66-text); border: 1px solid var(--se66-card-border);
  display: flex; align-items: center; gap: 0.4rem;
}

/* FAQ accordion */
.se66-faq-item { margin-bottom: 0.6rem; }
.se66-faq-q {
  font-size: 1.3rem; font-weight: 600; color: var(--se66-primary);
  padding: 0.6rem 0;
}
.se66-faq-a {
  font-size: 1.2rem; color: var(--se66-text-muted);
  padding: 0 0 0.6rem; line-height: 1.6rem;
}

/* App download CTA */
.se66-app-cta {
  background: linear-gradient(135deg, #1A1A1A, #222);
  border: 2px solid var(--se66-primary);
  border-radius: var(--se66-radius-lg);
  padding: 1.5rem; text-align: center;
}
.se66-app-cta h3 { font-size: 1.6rem; color: var(--se66-primary); margin-bottom: 0.5rem; }
.se66-app-cta p { font-size: 1.2rem; color: var(--se66-text-muted); margin-bottom: 1rem; }

/* Category highlight badges */
.se66-badge {
  display: inline-block; padding: 0.2rem 0.6rem;
  border-radius: 4px; font-size: 1rem; font-weight: 600;
}
.se66-badge-hot { background: var(--se66-accent); color: #fff; }
.se66-badge-new { background: var(--se66-primary); color: #000; }

/* Scroll top button */
.se66-scroll-top {
  position: fixed; bottom: 72px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--se66-primary); color: #000;
  border: none; cursor: pointer; font-size: 1.8rem;
  display: none; z-index: 999;
  box-shadow: 0 2px 8px rgba(127,255,0,0.3);
}
.se66-scroll-top:hover { background: var(--se66-accent); color: #fff; }

/* RTP data table */
.se66-rtp-table { width: 100%; font-size: 1.2rem; border-collapse: collapse; }
.se66-rtp-table th { color: var(--se66-primary); text-align: left; padding: 0.4rem; border-bottom: 1px solid #333; }
.se66-rtp-table td { color: var(--se66-text-muted); padding: 0.4rem; border-bottom: 1px solid #1A1A1A; }

/* Feature list */
.se66-feature-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.se66-feature-icon { font-size: 2rem; color: var(--se66-accent); flex-shrink: 0; }
.se66-feature-text { font-size: 1.2rem; color: var(--se66-text-muted); }
.se66-feature-text strong { color: var(--se66-text); }

/* Help page styles */
.se66-help-section { margin-bottom: 1rem; }
.se66-help-step {
  display: flex; gap: 0.8rem; margin-bottom: 0.6rem;
}
.se66-step-num {
  background: var(--se66-accent); color: #fff;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; flex-shrink: 0;
}
.se66-step-text { font-size: 1.3rem; color: var(--se66-text-muted); line-height: 1.6rem; }
