/* 2222bet - theme-f8fe.css
   Mobile-first HTML5 casino theme. All custom classes use the "gfeb-" prefix.
   Palette: #F5DEB3 | #BBBBBB | #FAF0E6 | #1C2833 | #8B4513
   Dark colors for backgrounds, light colors for text.
   Comments in English. Page content is rendered in HTML.
*/

:root {
  --gfeb-primary: #8B4513;
  --gfeb-accent: #F5DEB3;
  --gfeb-bg: #1C2833;
  --gfeb-bg-alt: #243443;
  --gfeb-text: #FAF0E6;
  --gfeb-muted: #BBBBBB;
  --gfeb-card: #2a3a4a;
  --gfeb-border: #3a4a5a;
  --gfeb-gold: #F5DEB3;
  --gfeb-warm: #8B4513;
}

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

html {
  font-size: 62.5%;
}

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--gfeb-bg);
  color: var(--gfeb-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gfeb-gold);
  text-decoration: none;
}

/* ---------- Layout ---------- */
.gfeb-container {
  width: 100%;
  padding: 0 1.2rem;
}

.gfeb-wrapper {
  padding: 1.2rem 0;
}

.gfeb-section {
  padding: 1.6rem 1.2rem;
  border-bottom: 1px solid var(--gfeb-border);
}

.gfeb-section-title {
  font-size: 2rem;
  line-height: 2.6rem;
  color: var(--gfeb-gold);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.gfeb-section-sub {
  font-size: 1.5rem;
  color: var(--gfeb-muted);
  margin-bottom: 1rem;
}

.gfeb-text-muted {
  color: var(--gfeb-muted);
}

.gfeb-prose {
  font-size: 1.5rem;
  line-height: 2.4rem;
  color: var(--gfeb-text);
}

.gfeb-prose p {
  margin-bottom: 1rem;
}

/* ---------- Header ---------- */
.gfeb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1C2833 0%, #2a3a4a 100%);
  border-bottom: 2px solid var(--gfeb-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  min-height: 5.2rem;
}

.gfeb-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gfeb-gold);
  font-weight: 800;
  font-size: 1.8rem;
}

.gfeb-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
}

.gfeb-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ---------- Buttons ---------- */
.gfeb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 0.6rem;
  padding: 0.8rem 1.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gfeb-btn-primary {
  background: var(--gfeb-primary);
  color: var(--gfeb-text);
  box-shadow: 0 2px 6px rgba(139, 69, 19, 0.4);
}

.gfeb-btn-secondary {
  background: transparent;
  color: var(--gfeb-gold);
  border: 1px solid var(--gfeb-gold);
}

.gfeb-btn-gold {
  background: var(--gfeb-gold);
  color: #1C2833;
}

.gfeb-btn-block {
  display: flex;
  width: 100%;
}

.gfeb-btn:hover, .gfeb-btn:active {
  transform: scale(0.97);
}

/* ---------- Mobile menu button ---------- */
.gfeb-menu-btn {
  background: transparent;
  border: 1px solid var(--gfeb-border);
  border-radius: 0.5rem;
  color: var(--gfeb-gold);
  width: 3.6rem;
  height: 3.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
}

/* ---------- Mobile expandable menu ---------- */
.gfeb-mobile-menu {
  position: fixed;
  top: 5.2rem;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--gfeb-bg-alt);
  border-bottom: 2px solid var(--gfeb-primary);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.gfeb-mobile-menu.gfeb-open {
  max-height: 70rem;
}

.gfeb-mobile-menu ul {
  list-style: none;
}

.gfeb-mobile-menu li {
  border-bottom: 1px solid var(--gfeb-border);
}

.gfeb-mobile-menu a {
  display: block;
  padding: 1.2rem 1.4rem;
  color: var(--gfeb-text);
  font-size: 1.5rem;
}

.gfeb-mobile-menu a:hover, .gfeb-mobile-menu a:active {
  background: var(--gfeb-card);
  color: var(--gfeb-gold);
}

/* ---------- Hero / Carousel ---------- */
.gfeb-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.8rem;
  margin: 1rem 0;
}

.gfeb-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.gfeb-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.gfeb-carousel-slide.gfeb-active {
  opacity: 1;
}

.gfeb-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gfeb-carousel-overlay {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(28, 40, 51, 0.78);
  border-radius: 0.6rem;
  padding: 0.8rem 1rem;
}

.gfeb-carousel-overlay h2 {
  font-size: 1.8rem;
  color: var(--gfeb-gold);
  margin-bottom: 0.4rem;
}

.gfeb-carousel-overlay p {
  font-size: 1.3rem;
  color: var(--gfeb-text);
  margin-bottom: 0.6rem;
}

.gfeb-carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
}

.gfeb-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(245, 222, 179, 0.5);
  cursor: pointer;
}

.gfeb-carousel-dot.gfeb-active {
  background: var(--gfeb-gold);
}

/* ---------- Category label ---------- */
.gfeb-cat-label {
  display: inline-block;
  font-size: 1.3rem;
  color: var(--gfeb-gold);
  background: rgba(139, 69, 19, 0.25);
  border: 1px solid var(--gfeb-primary);
  border-radius: 0.5rem;
  padding: 0.2rem 0.8rem;
  margin: 1.2rem 0 0.6rem;
}

/* ---------- Game grid ---------- */
.gfeb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.gfeb-card {
  background: var(--gfeb-card);
  border: 1px solid var(--gfeb-border);
  border-radius: 0.6rem;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.gfeb-card:hover, .gfeb-card:active {
  transform: translateY(-2px);
  border-color: var(--gfeb-gold);
}

.gfeb-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gfeb-card-name {
  font-size: 1.2rem;
  color: var(--gfeb-text);
  padding: 0.4rem 0.2rem 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Info / feature / testimonial blocks ---------- */
.gfeb-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.gfeb-feature {
  background: var(--gfeb-card);
  border: 1px solid var(--gfeb-border);
  border-radius: 0.6rem;
  padding: 1rem;
}

.gfeb-feature .gfeb-feature-icon {
  font-size: 2rem;
  color: var(--gfeb-gold);
  margin-bottom: 0.4rem;
}

.gfeb-feature h3 {
  font-size: 1.5rem;
  color: var(--gfeb-gold);
  margin-bottom: 0.4rem;
}

.gfeb-feature p {
  font-size: 1.3rem;
  color: var(--gfeb-muted);
  line-height: 2rem;
}

.gfeb-testimonial {
  background: var(--gfeb-card);
  border-left: 3px solid var(--gfeb-gold);
  border-radius: 0.6rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.gfeb-testimonial p {
  font-size: 1.35rem;
  color: var(--gfeb-text);
  margin-bottom: 0.5rem;
}

.gfeb-testimonial .gfeb-author {
  font-size: 1.2rem;
  color: var(--gfeb-muted);
}

.gfeb-winners {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.gfeb-winner {
  flex: 0 0 auto;
  background: var(--gfeb-card);
  border: 1px solid var(--gfeb-border);
  border-radius: 0.6rem;
  padding: 0.6rem 0.8rem;
  min-width: 11rem;
}

.gfeb-winner .gfeb-amount {
  font-size: 1.4rem;
  color: var(--gfeb-gold);
  font-weight: 700;
}

.gfeb-winner .gfeb-game {
  font-size: 1.2rem;
  color: var(--gfeb-muted);
}

.gfeb-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  text-align: center;
}

.gfeb-pay-item {
  background: var(--gfeb-card);
  border: 1px solid var(--gfeb-border);
  border-radius: 0.6rem;
  padding: 0.6rem;
  font-size: 1.2rem;
  color: var(--gfeb-text);
}

.gfeb-pay-item i {
  font-size: 1.8rem;
  color: var(--gfeb-gold);
  display: block;
  margin-bottom: 0.3rem;
}

.gfeb-app-cta {
  background: linear-gradient(135deg, #2a3a4a 0%, #1C2833 100%);
  border: 1px solid var(--gfeb-primary);
  border-radius: 0.8rem;
  padding: 1.2rem;
  text-align: center;
}

.gfeb-app-cta h3 {
  font-size: 1.7rem;
  color: var(--gfeb-gold);
  margin-bottom: 0.5rem;
}

.gfeb-app-cta p {
  font-size: 1.35rem;
  color: var(--gfeb-muted);
  margin-bottom: 1rem;
}

/* ---------- Promo text link ---------- */
.gfeb-link-text {
  color: var(--gfeb-gold);
  font-weight: 700;
  border-bottom: 1px dashed var(--gfeb-gold);
  cursor: pointer;
}

/* ---------- Footer ---------- */
.gfeb-footer {
  background: #141d27;
  border-top: 2px solid var(--gfeb-primary);
  padding: 1.6rem 1.2rem;
}

.gfeb-footer-brand {
  font-size: 1.4rem;
  color: var(--gfeb-muted);
  margin-bottom: 0.8rem;
  line-height: 2.2rem;
}

.gfeb-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  margin: 1rem 0;
}

.gfeb-footer-links a {
  font-size: 1.3rem;
  color: var(--gfeb-text);
  padding: 0.3rem 0;
}

.gfeb-footer-links a:hover {
  color: var(--gfeb-gold);
}

.gfeb-footer-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 1rem 0;
}

.gfeb-footer-copy {
  font-size: 1.2rem;
  color: var(--gfeb-muted);
  text-align: center;
  margin-top: 1rem;
}

/* ---------- Bottom navigation ---------- */
.gfeb-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 6rem;
  background: #141d27;
  border-top: 2px solid var(--gfeb-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}

.gfeb-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--gfeb-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.15s ease, transform 0.15s ease;
}

.gfeb-bottomnav-btn i,
.gfeb-bottomnav-btn .material-icons-outlined,
.gfeb-bottomnav-btn ion-icon {
  font-size: 2.4rem;
}

.gfeb-bottomnav-btn ion-icon {
  line-height: 2.4rem;
}

.gfeb-bottomnav-btn:hover,
.gfeb-bottomnav-btn:active {
  color: var(--gfeb-gold);
  transform: scale(0.94);
}

.gfeb-bottomnav-btn.gfeb-current {
  color: var(--gfeb-gold);
}

.gfeb-bottomnav-btn.gfeb-current::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 0.25rem;
  background: var(--gfeb-gold);
  border-radius: 0.2rem;
  margin-top: 0.2rem;
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .gfeb-bottomnav { display: none; }
}

/* ---------- Mobile bottom padding for nav clearance ---------- */
@media (max-width: 768px) {
  main { padding-bottom: 8rem; }
  .gfeb-footer { padding-bottom: 7rem; }
}
