/* tk1971.cyou - Core Stylesheet | classes use "g5b3-" prefix
   Palette: #FFDEAD (text) on #0A0A0A (bg). Mobile-first, max 430px. */
:root {
  --g5b3-primary: #FFDEAD;
  --g5b3-bg: #0A0A0A;
  --g5b3-bg-2: #151515;
  --g5b3-bg-3: #1f1f1f;
  --g5b3-text: #FFDEAD;
  --g5b3-text-2: #f0e0c8;
  --g5b3-text-muted: #a8956a;
  --g5b3-accent: #FFD700;
  --g5b3-accent-2: #FF6B1A;
  --g5b3-red: #C8102E;
  --g5b3-border: rgba(255, 222, 173, 0.16);
  --g5b3-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
  --g5b3-radius: 14px;
  --g5b3-header-h: 56px;
  --g5b3-bottom-h: 64px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; }
body {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
  background: var(--g5b3-bg);
  color: var(--g5b3-text);
  line-height: 1.55;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--g5b3-primary); text-decoration: none; }
button { font-family: inherit; }

/* Layout helpers */
.g5b3-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.g5b3-wrapper { min-height: 100vh; background: var(--g5b3-bg); }
.g5b3-main { padding-top: var(--g5b3-header-h); padding-bottom: 90px; }
.g5b3-hidden { display: none !important; }

/* Header */
.g5b3-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--g5b3-header-h);
  background: linear-gradient(180deg, #0d0d0d, #181818);
  border-bottom: 1px solid var(--g5b3-border);
  z-index: 1000;
  display: flex; align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.g5b3-header-inner {
  width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
}
.g5b3-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.7rem; font-weight: 800; color: var(--g5b3-primary); letter-spacing: 0.5px;
}
.g5b3-logo img { width: 30px; height: 30px; border-radius: 7px; }
.g5b3-logo span {
  background: linear-gradient(135deg, #FFD700, #FFDEAD);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.g5b3-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g5b3-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.55rem 1.1rem; border-radius: 22px;
  font-size: 1.25rem; font-weight: 700; cursor: pointer; border: none;
  transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s; white-space: nowrap;
}
.g5b3-btn:active { transform: scale(0.94); }
.g5b3-btn-login { background: transparent; color: var(--g5b3-primary); border: 1.5px solid var(--g5b3-primary); }
.g5b3-btn-register {
  background: linear-gradient(135deg, #FFD700, #FF9A1A);
  color: #0A0A0A; box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}
.g5b3-menu-toggle {
  width: 36px; height: 36px; background: transparent; border: none;
  color: var(--g5b3-primary); font-size: 2.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile side menu */
.g5b3-mobile-menu {
  position: fixed; top: 0; right: -82%;
  width: 82%; max-width: 340px; height: 100vh;
  background: #0c0c0c; z-index: 9999; padding: 5.5rem 1.4rem 2rem;
  transition: right 0.32s ease; overflow-y: auto;
  border-left: 1px solid var(--g5b3-border);
}
.g5b3-mobile-menu.g5b3-menu-open { right: 0; }
.g5b3-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.65); z-index: 9998;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.g5b3-menu-overlay.g5b3-overlay-show { opacity: 1; pointer-events: auto; }
.g5b3-menu-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: transparent; border: none; color: var(--g5b3-primary);
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}
.g5b3-menu-title { font-size: 1.4rem; color: var(--g5b3-text-muted); margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.g5b3-menu-list { list-style: none; }
.g5b3-menu-list li { margin-bottom: 0.7rem; }
.g5b3-menu-list a, .g5b3-menu-list button {
  display: flex; align-items: center; gap: 0.7rem; width: 100%;
  padding: 0.9rem 1rem; background: var(--g5b3-bg-2);
  border: 1px solid var(--g5b3-border); border-radius: 10px;
  color: var(--g5b3-text); font-size: 1.35rem; cursor: pointer; text-align: left;
}
.g5b3-menu-list a:active, .g5b3-menu-list button:active { background: var(--g5b3-bg-3); }
.g5b3-menu-list .material-icons, .g5b3-menu-list i { font-size: 1.8rem; color: var(--g5b3-accent); }

/* Hero carousel */
.g5b3-carousel {
  position: relative; width: 100%;
  border-radius: var(--g5b3-radius); overflow: hidden;
  margin: 1rem 0 1.4rem; box-shadow: var(--g5b3-shadow);
}
.g5b3-slides { position: relative; width: 100%; aspect-ratio: 16/9; background: #111; }
.g5b3-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.55s ease; cursor: pointer; }
.g5b3-slide img { width: 100%; height: 100%; object-fit: cover; }
.g5b3-slide.g5b3-slide-active { opacity: 1; }
.g5b3-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1rem 1.4rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  color: var(--g5b3-primary); font-size: 1.3rem; font-weight: 600;
}
.g5b3-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.g5b3-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 222, 173, 0.4); cursor: pointer; border: none; transition: background 0.2s;
}
.g5b3-dot.g5b3-dot-active { background: var(--g5b3-accent); }

/* Section */
.g5b3-section { margin-bottom: 1.6rem; }
.g5b3-section-title {
  font-size: 1.75rem; font-weight: 800; margin: 1.4rem 0 0.9rem;
  color: var(--g5b3-primary); display: flex; align-items: center; gap: 0.55rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--g5b3-border);
}
.g5b3-section-title .material-icons, .g5b3-section-title i { font-size: 1.9rem; color: var(--g5b3-accent); }
.g5b3-section-title small { font-size: 1.05rem; color: var(--g5b3-text-muted); font-weight: 500; margin-left: auto; }

/* Game grid */
.g5b3-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.g5b3-game-card {
  background: var(--g5b3-bg-2); border-radius: 11px; overflow: hidden;
  cursor: pointer; text-align: center; border: 1px solid var(--g5b3-border);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.g5b3-game-card:active { transform: scale(0.96); border-color: var(--g5b3-accent); }
.g5b3-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #0a0a0a; }
.g5b3-game-name {
  font-size: 1.08rem; padding: 0.35rem 0.3rem 0.5rem;
  color: var(--g5b3-text-2); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; font-weight: 600;
}
.g5b3-game-badge {
  display: inline-block; background: var(--g5b3-red); color: #fff;
  font-size: 0.9rem; padding: 1px 6px; border-radius: 4px; margin: 2px 0; font-weight: 700;
}

/* Cards / modules */
.g5b3-card {
  background: linear-gradient(160deg, var(--g5b3-bg-2), #101010);
  border: 1px solid var(--g5b3-border); border-radius: var(--g5b3-radius);
  padding: 1.2rem; margin-bottom: 1.2rem;
}
.g5b3-card h2 { font-size: 1.55rem; color: var(--g5b3-primary); margin-bottom: 0.6rem; }
.g5b3-card h3 { font-size: 1.35rem; color: var(--g5b3-primary); margin: 0.8rem 0 0.4rem; }
.g5b3-card p { color: var(--g5b3-text-2); font-size: 1.3rem; margin-bottom: 0.6rem; line-height: 1.65; }
.g5b3-card ul { padding-left: 1.4rem; color: var(--g5b3-text-2); font-size: 1.25rem; line-height: 1.7; }
.g5b3-card li { margin-bottom: 0.3rem; }

/* Promo link + button */
.g5b3-promo-link {
  color: var(--g5b3-accent); font-weight: 700; text-decoration: underline;
  cursor: pointer; word-break: break-word;
}
.g5b3-promo-btn {
  display: inline-block; padding: 0.7rem 1.4rem;
  background: linear-gradient(135deg, #FFD700, #FF9A1A);
  color: #0A0A0A; border-radius: 26px; font-weight: 800; cursor: pointer;
  border: none; text-align: center; font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.32); transition: transform 0.15s;
}
.g5b3-promo-btn:active { transform: scale(0.95); }
.g5b3-promo-block { text-align: center; padding: 0.4rem 0; }

/* Hero H1 */
.g5b3-hero-h1 { font-size: 2rem; font-weight: 800; margin: 1.2rem 0 0.6rem; color: var(--g5b3-primary); line-height: 1.3; }
.g5b3-hero-sub { color: var(--g5b3-text-2); font-size: 1.3rem; margin-bottom: 1rem; }

/* RTP bar */
.g5b3-rtp-row { margin-bottom: 0.8rem; }
.g5b3-rtp-label { display: flex; justify-content: space-between; font-size: 1.2rem; margin-bottom: 3px; color: var(--g5b3-text-2); }
.g5b3-rtp-bar { height: 7px; background: #2a2418; border-radius: 4px; overflow: hidden; }
.g5b3-rtp-fill { height: 100%; background: linear-gradient(90deg, #FFD700, #FF6B1A); }

/* Testimonial */
.g5b3-testimonial { background: var(--g5b3-bg-2); border-left: 3px solid var(--g5b3-accent); padding: 0.7rem 0.9rem; margin-bottom: 0.7rem; border-radius: 6px; }
.g5b3-testimonial p { font-size: 1.2rem; color: var(--g5b3-text-2); margin: 0; }
.g5b3-testimonial cite { display: block; margin-top: 3px; font-size: 1.05rem; color: var(--g5b3-text-muted); font-style: normal; }

/* Winners */
.g5b3-winner {
  display: flex; justify-content: space-between;
  padding: 0.45rem 0; border-bottom: 1px dashed var(--g5b3-border);
  font-size: 1.2rem; color: var(--g5b3-text-2);
}
.g5b3-winner span:last-child { color: var(--g5b3-accent); font-weight: 700; }

/* Payment */
.g5b3-payment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.g5b3-payment-item {
  background: var(--g5b3-bg-2); padding: 0.6rem 0.3rem; border-radius: 8px;
  text-align: center; font-size: 1rem; color: var(--g5b3-text-2); border: 1px solid var(--g5b3-border);
}
.g5b3-payment-item .material-icons, .g5b3-payment-item i { font-size: 1.6rem; color: var(--g5b3-accent); display: block; margin-bottom: 2px; }

/* App download CTA */
.g5b3-app-cta {
  display: flex; gap: 0.8rem; align-items: center;
  background: linear-gradient(135deg, #1a1408, #0d0d0d);
  border: 1px solid var(--g5b3-accent); padding: 1rem; border-radius: var(--g5b3-radius);
}
.g5b3-app-cta .g5b3-app-icon { font-size: 3.4rem; color: var(--g5b3-accent); }
.g5b3-app-cta-text { flex: 1; }
.g5b3-app-cta-text h3 { color: var(--g5b3-primary); font-size: 1.4rem; margin-bottom: 2px; }
.g5b3-app-cta-text p { color: var(--g5b3-text-2); font-size: 1.15rem; margin: 0; }

/* Achievement */
.g5b3-ach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.g5b3-ach-item { background: var(--g5b3-bg-2); border-radius: 10px; padding: 0.8rem; text-align: center; border: 1px solid var(--g5b3-border); }
.g5b3-ach-num { font-size: 1.7rem; font-weight: 800; color: var(--g5b3-accent); display: block; }
.g5b3-ach-label { font-size: 1.1rem; color: var(--g5b3-text-2); }

/* Feature list */
.g5b3-feature {
  display: flex; gap: 0.8rem; align-items: flex-start;
  margin-bottom: 0.8rem; padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--g5b3-border);
}
.g5b3-feature:last-child { border-bottom: none; }
.g5b3-feature .material-icons, .g5b3-feature i { font-size: 2.2rem; color: var(--g5b3-accent); flex-shrink: 0; margin-top: 2px; }
.g5b3-feature h4 { font-size: 1.3rem; color: var(--g5b3-primary); margin-bottom: 2px; }
.g5b3-feature p { font-size: 1.2rem; color: var(--g5b3-text-2); margin: 0; }

/* Footer */
.g5b3-footer { background: #050505; border-top: 1px solid var(--g5b3-border); padding: 1.6rem 1.2rem 1rem; margin-top: 1.6rem; }
.g5b3-footer-brand { color: var(--g5b3-text-2); font-size: 1.2rem; line-height: 1.7; margin-bottom: 1rem; }
.g5b3-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.g5b3-footer-promos button {
  background: linear-gradient(135deg, #FFD700, #FF9A1A); color: #0A0A0A; border: none;
  padding: 0.45rem 0.9rem; border-radius: 18px; font-size: 1.1rem; font-weight: 700; cursor: pointer;
}
.g5b3-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.45rem 0.8rem; margin-bottom: 1rem; }
.g5b3-footer-links a { font-size: 1.15rem; color: var(--g5b3-text-2); }
.g5b3-footer-links a:hover { color: var(--g5b3-primary); }
.g5b3-footer-copyright {
  font-size: 1.05rem; color: var(--g5b3-text-muted); text-align: center;
  margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px solid var(--g5b3-border);
}

/* Bottom nav */
.g5b3-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--g5b3-bottom-h);
  background: linear-gradient(180deg, #1a1a1a, #050505);
  border-top: 1px solid var(--g5b3-border);
  z-index: 1000; display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.55);
}
.g5b3-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--g5b3-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; font-size: 1rem; font-weight: 600;
  transition: color 0.2s, transform 0.15s; padding: 0;
}
.g5b3-bottom-nav-btn .g5b3-nav-icon, .g5b3-bottom-nav-btn .material-icons { font-size: 2.2rem; line-height: 1; }
.g5b3-bottom-nav-btn:active { transform: scale(0.9); }
.g5b3-bottom-nav-btn.g5b3-nav-active { color: var(--g5b3-accent); }
.g5b3-bottom-nav-btn.g5b3-nav-active .g5b3-nav-icon { transform: translateY(-1px); }

/* Responsive */
@media (min-width: 769px) {
  .g5b3-bottom-nav { display: none; }
  .g5b3-main { padding-bottom: 0; }
  .g5b3-container { max-width: 430px; }
}
@media (max-width: 768px) { .g5b3-main { padding-bottom: 90px; } }
@media (max-width: 360px) {
  .g5b3-game-grid { grid-template-columns: repeat(2, 1fr); }
  .g5b3-hero-h1 { font-size: 1.7rem; }
  .g5b3-btn { padding: 0.5rem 0.85rem; font-size: 1.15rem; }
}
