/* ubd.homes core stylesheet - prefix g074- */
:root {
  --g074-primary: #E65100;
  --g074-accent: #FFBF00;
  --g074-bg-dark: #2C2C2C;
  --g074-bg-darker: #3C3C3C;
  --g074-text-light: #E0E0E0;
  --g074-text-muted: #696969;
  --g074-bg-page: #1a1a1a;
}

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

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

body {
  font-family: "SolaimanLipi", "Noto Sans Bengali", "Hind Siliguri", "Roboto", sans-serif;
  background: var(--g074-bg-page);
  color: var(--g074-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--g074-accent); text-decoration: none; }

.g074-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.g074-wrapper { padding: 1.5rem 1.2rem; }

/* Header */
.g074-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--g074-bg-dark);
  border-bottom: 2px solid var(--g074-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  height: 5.2rem;
}
.g074-logo { display: flex; align-items: center; gap: 0.6rem; }
.g074-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.4rem; }
.g074-logo .g074-brand { font-size: 1.8rem; font-weight: 700; color: var(--g074-accent); }

.g074-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g074-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0 1.2rem;
  border-radius: 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}
.g074-btn:active { transform: scale(0.95); }
.g074-btn-register { background: var(--g074-primary); color: #fff; }
.g074-btn-login { background: var(--g074-accent); color: var(--g074-bg-dark); }

.g074-menu-btn {
  background: transparent;
  border: 1px solid var(--g074-text-muted);
  color: var(--g074-text-light);
  width: 3.6rem; height: 3.6rem;
  border-radius: 0.5rem;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Mobile menu */
.g074-mobile-menu {
  position: fixed;
  top: 5.2rem; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--g074-bg-darker);
  border-bottom: 1px solid var(--g074-text-muted);
  padding: 1rem 1.2rem;
  z-index: 9999;
  display: none;
}
.g074-mobile-menu.g074-open { display: block; }
.g074-mobile-menu a {
  display: block;
  padding: 1rem;
  color: var(--g074-text-light);
  border-bottom: 1px solid var(--g074-bg-dark);
  font-size: 1.4rem;
}
.g074-mobile-menu a:last-child { border-bottom: none; }

/* Main */
.g074-main { padding-top: 5.2rem; }
@media (max-width: 768px) {
  .g074-main { padding-bottom: 8rem; }
}

/* Carousel */
.g074-carousel {
  position: relative;
  width: 100%;
  margin: 1rem 0;
  border-radius: 0.8rem;
  overflow: hidden;
}
.g074-slides { position: relative; width: 100%; aspect-ratio: 16/7; }
.g074-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}
.g074-slide.g074-active { opacity: 1; position: relative; }
.g074-slide img { width: 100%; height: 100%; object-fit: cover; }
.g074-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
}
.g074-dot {
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: var(--g074-text-muted);
  border: none; cursor: pointer;
}
.g074-dot.g074-active { background: var(--g074-primary); }

/* Sections */
.g074-section { padding: 1.5rem 1.2rem; }
.g074-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g074-accent);
  margin-bottom: 1rem;
  border-left: 4px solid var(--g074-primary);
  padding-left: 0.8rem;
}
.g074-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--g074-accent);
  margin: 1rem 0;
  line-height: 2.4rem;
}
.g074-text { color: var(--g074-text-light); margin-bottom: 1rem; font-size: 1.4rem; }
.g074-text strong { color: var(--g074-accent); }

/* Game grid */
.g074-game-group { margin-bottom: 2rem; }
.g074-cat-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g074-primary);
  margin: 1rem 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.g074-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.g074-card {
  background: var(--g074-bg-darker);
  border-radius: 0.6rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s;
  border: 1px solid var(--g074-bg-dark);
}
.g074-card:active { transform: scale(0.96); }
.g074-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--g074-bg-dark);
}
.g074-card .g074-card-name {
  font-size: 1rem;
  color: var(--g074-text-light);
  padding: 0.3rem 0.2rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Promo link styles */
.g074-promo-link {
  color: var(--g074-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.g074-promo-btn {
  display: inline-block;
  background: var(--g074-primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 1.4rem;
  cursor: pointer;
  margin: 0.8rem 0;
  border: none;
}
.g074-promo-block {
  background: var(--g074-bg-darker);
  border: 1px solid var(--g074-primary);
  border-radius: 0.8rem;
  padding: 1.2rem;
  margin: 1rem 0;
  text-align: center;
}

/* Feature list */
.g074-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
.g074-feature-item {
  background: var(--g074-bg-darker);
  padding: 1rem;
  border-radius: 0.6rem;
  border-left: 3px solid var(--g074-primary);
}
.g074-feature-item h3 { font-size: 1.4rem; color: var(--g074-accent); margin-bottom: 0.4rem; }
.g074-feature-item p { font-size: 1.2rem; color: var(--g074-text-light); }

/* Testimonials */
.g074-testimonial {
  background: var(--g074-bg-darker);
  padding: 1rem;
  border-radius: 0.6rem;
  margin-bottom: 0.8rem;
}
.g074-testimonial .g074-user { color: var(--g074-accent); font-weight: 700; font-size: 1.3rem; }
.g074-testimonial p { font-size: 1.2rem; margin-top: 0.4rem; }

/* Payment */
.g074-pay-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.g074-pay-chip {
  background: var(--g074-bg-darker);
  border: 1px solid var(--g074-text-muted);
  border-radius: 1.2rem;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  color: var(--g074-text-light);
}

/* Winners */
.g074-winner-list { list-style: none; }
.g074-winner-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--g074-bg-dark);
  font-size: 1.2rem;
}
.g074-winner-list .g074-amount { color: var(--g074-accent); font-weight: 700; }

/* Footer */
.g074-footer {
  background: var(--g074-bg-darker);
  padding: 2rem 1.2rem;
  border-top: 2px solid var(--g074-primary);
  margin-top: 1.5rem;
}
.g074-footer-brand { font-size: 1.3rem; color: var(--g074-text-light); margin-bottom: 1rem; }
.g074-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.g074-footer-links a {
  background: var(--g074-bg-dark);
  color: var(--g074-text-light);
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  font-size: 1.1rem;
}
.g074-footer-copy { font-size: 1.1rem; color: var(--g074-text-muted); margin-top: 1rem; }

/* Bottom nav */
.g074-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 6rem;
  background: var(--g074-bg-dark);
  border-top: 2px solid var(--g074-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.g074-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--g074-text-muted);
  cursor: pointer;
  font-size: 1rem;
  gap: 0.2rem;
  transition: color 0.2s, transform 0.15s;
}
.g074-nav-btn:active { transform: scale(0.92); }
.g074-nav-btn .g074-nav-icon { font-size: 2.2rem; line-height: 1; }
.g074-nav-btn .g074-nav-label { font-size: 1rem; }
.g074-nav-btn.g074-active { color: var(--g074-primary); }
.g074-nav-btn.g074-promo { color: var(--g074-accent); }

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

/* FAQ */
.g074-faq-item {
  background: var(--g074-bg-darker);
  border-radius: 0.6rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
}
.g074-faq-item h3 { font-size: 1.3rem; color: var(--g074-accent); margin-bottom: 0.4rem; }
.g074-faq-item p { font-size: 1.2rem; color: var(--g074-text-light); }

/* Help pages */
.g074-page-hero {
  background: linear-gradient(135deg, var(--g074-bg-darker), var(--g074-bg-dark));
  border: 1px solid var(--g074-primary);
  border-radius: 0.9rem;
  padding: 1.4rem;
  margin: 1.2rem 0;
}
.g074-step-list { list-style: none; counter-reset: g074-step; }
.g074-step-list li {
  counter-increment: g074-step;
  background: var(--g074-bg-darker);
  border-left: 3px solid var(--g074-accent);
  border-radius: 0.6rem;
  margin-bottom: 0.8rem;
  padding: 1rem 1rem 1rem 3.4rem;
  position: relative;
  font-size: 1.25rem;
}
.g074-step-list li::before {
  content: counter(g074-step);
  position: absolute;
  left: 0.9rem; top: 1rem;
  width: 1.8rem; height: 1.8rem;
  border-radius: 50%;
  background: var(--g074-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.g074-note {
  background: rgba(255,191,0,0.09);
  border: 1px dashed var(--g074-accent);
  color: var(--g074-text-light);
  border-radius: 0.6rem;
  padding: 1rem;
  margin: 1rem 0;
  font-size: 1.2rem;
}
.g074-hero-img {
  width: 100%;
  border-radius: 0.8rem;
  margin: 1rem 0;
  border: 1px solid var(--g074-primary);
  cursor: pointer;
}
.g074-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.g074-link-grid .g074-promo-btn { margin: 0; padding: 0.9rem 0.5rem; font-size: 1.15rem; }

/* Utility */
.g074-hidden { display: none !important; }
.g074-center { text-align: center; }
