/**
 * tk666 - Core Stylesheet
 * Prefix: gd74-
 * Color Palette: #D4AF37 | #FFF8DC | #F0FDFF | #CD853F | #1E1E1E
 * Language: bn-BD
 */

:root {
  --gd74-primary: #D4AF37;
  --gd74-gold-light: #FFF8DC;
  --gd74-cool-bg: #F0FDFF;
  --gd74-copper: #CD853F;
  --gd74-dark: #1E1E1E;
  --gd74-dark2: #2A2A2A;
  --gd74-dark3: #333333;
  --gd74-text: #FFF8DC;
  --gd74-text-muted: #C8B88A;
  --gd74-accent: #D4AF37;
  --gd74-accent2: #CD853F;
  --gd74-border: #3D3D3D;
  --gd74-radius: 8px;
  --gd74-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Reset & 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', Tahoma, sans-serif;
  background: var(--gd74-dark);
  color: var(--gd74-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--gd74-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.gd74-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ===== HEADER ===== */
.gd74-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 52px;
  background: linear-gradient(135deg, var(--gd74-dark2) 0%, var(--gd74-dark3) 100%);
  border-bottom: 2px solid var(--gd74-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
}

.gd74-header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.gd74-header-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.gd74-header-logo span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gd74-primary);
  letter-spacing: 0.5px;
}

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

.gd74-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--gd74-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-height: 34px;
}

.gd74-btn-register {
  background: linear-gradient(135deg, var(--gd74-primary) 0%, var(--gd74-copper) 100%);
  color: var(--gd74-dark);
}

.gd74-btn-register:hover {
  filter: brightness(1.15);
  transform: scale(1.03);
}

.gd74-btn-login {
  background: transparent;
  color: var(--gd74-primary);
  border: 1.5px solid var(--gd74-primary);
}

.gd74-btn-login:hover {
  background: rgba(212, 175, 55, 0.1);
}

.gd74-header-menu-btn {
  background: none;
  border: none;
  color: var(--gd74-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
}

/* ===== MOBILE MENU ===== */
.gd74-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.gd74-overlay-active {
  opacity: 1;
  visibility: visible;
}

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

.gd74-menu-active {
  right: 0;
}

.gd74-mobile-menu .gd74-menu-title {
  font-size: 1.8rem;
  color: var(--gd74-primary);
  margin-bottom: 2rem;
  font-weight: 700;
  border-bottom: 1px solid var(--gd74-border);
  padding-bottom: 1rem;
}

.gd74-mobile-menu a {
  display: block;
  padding: 1rem 0;
  color: var(--gd74-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--gd74-border);
  transition: color 0.2s;
}

.gd74-mobile-menu a:hover {
  color: var(--gd74-primary);
  text-decoration: none;
}

/* ===== CAROUSEL ===== */
.gd74-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  margin-top: 52px;
  border-radius: 0 0 8px 8px;
}

.gd74-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

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

.gd74-slide-active {
  opacity: 1;
}

.gd74-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.gd74-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 248, 220, 0.4);
  cursor: pointer;
}

.gd74-carousel-dot.gd74-dot-active {
  background: var(--gd74-primary);
}

/* ===== MAIN CONTENT ===== */
.gd74-main {
  padding-top: 56px;
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  .gd74-main {
    padding-bottom: 80px;
  }
}

.gd74-section {
  padding: 1.5rem 0;
}

.gd74-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gd74-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gd74-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gd74-section-title i {
  font-size: 2rem;
}

/* ===== GAME GRID ===== */
.gd74-game-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gd74-copper);
  margin: 1.2rem 0 0.8rem;
  padding-left: 0.4rem;
  border-left: 3px solid var(--gd74-primary);
}

.gd74-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.gd74-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border-radius: var(--gd74-radius);
  overflow: hidden;
  background: var(--gd74-dark2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gd74-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.gd74-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gd74-game-item span {
  font-size: 1rem;
  color: var(--gd74-text-muted);
  padding: 0.3rem 0.2rem;
  text-align: center;
  line-height: 1.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* ===== CONTENT CARDS ===== */
.gd74-card {
  background: var(--gd74-dark2);
  border-radius: var(--gd74-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--gd74-border);
}

.gd74-card h2 {
  font-size: 1.6rem;
  color: var(--gd74-primary);
  margin-bottom: 0.8rem;
}

.gd74-card h3 {
  font-size: 1.4rem;
  color: var(--gd74-copper);
  margin-bottom: 0.6rem;
}

.gd74-card p {
  color: var(--gd74-text-muted);
  line-height: 1.8rem;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.gd74-promo-text {
  display: inline;
  color: var(--gd74-primary);
  font-weight: 600;
  cursor: pointer;
}

.gd74-promo-text:hover {
  text-decoration: underline;
}

/* ===== PROMO BUTTON (inline) ===== */
.gd74-promo-inline {
  display: inline-block;
  background: linear-gradient(135deg, var(--gd74-primary), var(--gd74-copper));
  color: var(--gd74-dark);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  cursor: pointer;
  margin: 0.5rem 0;
  transition: transform 0.15s ease;
}

.gd74-promo-inline:hover {
  transform: scale(1.04);
  text-decoration: none;
}

/* ===== FEATURES LIST ===== */
.gd74-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.gd74-feature-item {
  background: var(--gd74-dark3);
  border-radius: var(--gd74-radius);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--gd74-border);
}

.gd74-feature-item i {
  font-size: 2.4rem;
  color: var(--gd74-primary);
  margin-bottom: 0.4rem;
  display: block;
}

.gd74-feature-item span {
  font-size: 1.2rem;
  color: var(--gd74-text);
  font-weight: 500;
}

/* ===== PAYMENT ===== */
.gd74-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

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

/* ===== WINNERS LIST ===== */
.gd74-winners-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gd74-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: var(--gd74-dark3);
  border-radius: 6px;
  font-size: 1.2rem;
}

.gd74-winner-name {
  color: var(--gd74-text);
}

.gd74-winner-game {
  color: var(--gd74-text-muted);
  font-size: 1.1rem;
}

.gd74-winner-amount {
  color: var(--gd74-primary);
  font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.gd74-testimonials {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.gd74-testimonial {
  background: var(--gd74-dark3);
  border-radius: var(--gd74-radius);
  padding: 1rem;
  border-left: 3px solid var(--gd74-primary);
}

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

.gd74-testimonial strong {
  color: var(--gd74-copper);
  font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.gd74-footer {
  background: var(--gd74-dark2);
  padding: 2rem 0 1rem;
  border-top: 2px solid var(--gd74-primary);
  margin-top: 2rem;
}

.gd74-footer-brand {
  text-align: center;
  margin-bottom: 1.4rem;
}

.gd74-footer-brand p {
  font-size: 1.2rem;
  color: var(--gd74-text-muted);
  line-height: 1.6rem;
  max-width: 360px;
  margin: 0 auto;
}

.gd74-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.4rem;
}

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

.gd74-footer-links a {
  font-size: 1.2rem;
  color: var(--gd74-text-muted);
  padding: 0.2rem 0.4rem;
}

.gd74-footer-links a:hover {
  color: var(--gd74-primary);
}

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

/* ===== BOTTOM NAV ===== */
.gd74-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--gd74-dark3) 0%, var(--gd74-dark2) 100%);
  border-top: 2px solid var(--gd74-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.4rem;
}

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

.gd74-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gd74-text-muted);
  transition: all 0.2s ease;
  padding: 0.2rem;
  gap: 0.2rem;
}

.gd74-bottom-nav-btn:hover,
.gd74-nav-active {
  color: var(--gd74-primary);
}

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

.gd74-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.1rem;
}

/* ===== HELP PAGE STYLES ===== */
.gd74-help-section {
  margin-bottom: 1.4rem;
}

.gd74-help-section h2 {
  font-size: 1.6rem;
  color: var(--gd74-primary);
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--gd74-border);
  padding-bottom: 0.4rem;
}

.gd74-help-section h3 {
  font-size: 1.4rem;
  color: var(--gd74-copper);
  margin: 0.8rem 0 0.4rem;
}

.gd74-help-section p {
  font-size: 1.3rem;
  color: var(--gd74-text-muted);
  line-height: 1.7rem;
  margin-bottom: 0.6rem;
}

.gd74-help-section ol,
.gd74-help-section ul {
  padding-left: 2rem;
  margin-bottom: 0.8rem;
}

.gd74-help-section li {
  font-size: 1.3rem;
  color: var(--gd74-text-muted);
  line-height: 1.7rem;
  margin-bottom: 0.4rem;
}

.gd74-faq-item {
  background: var(--gd74-dark3);
  border-radius: var(--gd74-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--gd74-border);
}

.gd74-faq-item strong {
  color: var(--gd74-primary);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.4rem;
}

.gd74-faq-item p {
  font-size: 1.2rem;
  color: var(--gd74-text-muted);
}

/* ===== UTILITIES ===== */
.gd74-text-center { text-align: center; }
.gd74-text-gold { color: var(--gd74-primary); }
.gd74-text-copper { color: var(--gd74-copper); }
.gd74-mt-1 { margin-top: 0.8rem; }
.gd74-mb-1 { margin-bottom: 0.8rem; }
.gd74-mt-2 { margin-top: 1.6rem; }
.gd74-mb-2 { margin-bottom: 1.6rem; }

/* ===== SCROLL TOP BTN ===== */
.gd74-scroll-top {
  position: fixed;
  bottom: 72px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gd74-primary);
  color: var(--gd74-dark);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--gd74-shadow);
}

@media (max-width: 768px) {
  .gd74-scroll-top {
    bottom: 72px;
  }
}
