/**
 * yono777 - Main Stylesheet
 * All classes use prefix: g5c3-
 * Palette: #FF7F50 | #0C0C0C | #48D1CC | #FF9500
 * Unique dark tropical design for Bengali market
 */

/* ===== CSS VARIABLES ===== */
:root {
  --g5c3-primary: #FF7F50;
  --g5c3-bg: #0C0C0C;
  --g5c3-accent: #48D1CC;
  --g5c3-gold: #FF9500;
  --g5c3-text: #F2F2F2;
  --g5c3-dim: #9A9A9A;
  --g5c3-card: #161616;
  --g5c3-border: #262626;
  --g5c3-header-h: 54px;
  --g5c3-bnav-h: 60px;
  --g5c3-radius: 12px;
  --g5c3-radius-sm: 8px;
  --g5c3-shadow: 0 3px 14px rgba(0,0,0,0.5);
  font-size: 62.5%;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', 'Hind Siliguri', Tahoma, sans-serif;
  background: var(--g5c3-bg);
  color: var(--g5c3-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a { color: var(--g5c3-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--g5c3-primary); }
img { max-width: 100%; height: auto; display: block; }

/* ===== LAYOUT ===== */
.g5c3-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1rem; }
.g5c3-wrapper { width: 100%; overflow: hidden; }

/* ===== HEADER ===== */
.g5c3-header {
  position: fixed;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  height: var(--g5c3-header-h);
  background: linear-gradient(135deg, #111 0%, #0C0C0C 60%, #1A1A1A 100%);
  border-bottom: 2px solid var(--g5c3-gold);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0.8rem;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.g5c3-header-left { display: flex; align-items: center; gap: 0.5rem; }
.g5c3-logo { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--g5c3-gold); }
.g5c3-site-name {
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(90deg, var(--g5c3-gold), var(--g5c3-primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.g5c3-header-right { display: flex; align-items: center; gap: 0.5rem; }

.g5c3-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1rem; border: none; border-radius: 20px;
  font-size: 1.1rem; font-weight: 700; cursor: pointer;
  transition: all 0.25s; min-height: 34px; min-width: 44px;
}

.g5c3-btn-register {
  background: linear-gradient(135deg, var(--g5c3-gold), var(--g5c3-primary));
  color: #fff; box-shadow: 0 2px 10px rgba(255,149,0,0.4);
}
.g5c3-btn-register:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,149,0,0.5); }

.g5c3-btn-login {
  background: transparent; color: var(--g5c3-accent);
  border: 1.5px solid var(--g5c3-accent);
}
.g5c3-btn-login:hover { background: var(--g5c3-accent); color: var(--g5c3-bg); }

.g5c3-menu-toggle {
  background: none; border: none; color: var(--g5c3-gold);
  font-size: 2rem; cursor: pointer; padding: 0.3rem;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}

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

.g5c3-mobile-menu {
  position: fixed; top: 0; right: -290px; width: 290px; height: 100%;
  background: linear-gradient(180deg, #151515 0%, #0A0A0A 100%);
  z-index: 9999; transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.5rem 1.2rem; overflow-y: auto;
}
.g5c3-menu-active { right: 0; }

.g5c3-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--g5c3-border);
}
.g5c3-menu-title { font-size: 1.7rem; color: var(--g5c3-gold); font-weight: 800; }
.g5c3-menu-close {
  background: none; border: none; color: var(--g5c3-text);
  font-size: 2rem; cursor: pointer; min-width: 44px; min-height: 44px;
}

.g5c3-menu-nav a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 0; color: var(--g5c3-text);
  font-size: 1.4rem; border-bottom: 1px solid var(--g5c3-border);
  transition: all 0.2s;
}
.g5c3-menu-nav a:hover { color: var(--g5c3-primary); padding-left: 0.6rem; }
.g5c3-menu-nav a i { font-size: 1.6rem; color: var(--g5c3-gold); width: 22px; text-align: center; }

/* ===== CAROUSEL ===== */
.g5c3-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: 0 0 var(--g5c3-radius) var(--g5c3-radius);
  margin-top: var(--g5c3-header-h);
}

.g5c3-slides { position: relative; width: 100%; aspect-ratio: 16/8; }

.g5c3-slide {
  display: none; width: 100%; height: 100%; cursor: pointer;
  overflow: hidden; position: relative;
}
.g5c3-slide img { width: 100%; height: 100%; object-fit: cover; }
.g5c3-slide-active { display: block; }

.g5c3-slide::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 40%; background: linear-gradient(transparent, rgba(12,12,12,0.6));
  pointer-events: none;
}

.g5c3-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 5;
}
.g5c3-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.35); cursor: pointer;
  border: none; transition: all 0.3s;
}
.g5c3-dot-active { background: var(--g5c3-gold); transform: scale(1.35); box-shadow: 0 0 6px rgba(255,149,0,0.5); }

/* ===== SECTIONS ===== */
.g5c3-section { padding: 1.3rem 1rem; }
.g5c3-section-title {
  font-size: 1.7rem; font-weight: 800; margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--g5c3-gold), transparent) 1;
  display: flex; align-items: center; gap: 0.5rem;
}
.g5c3-section-title i { font-size: 1.9rem; color: var(--g5c3-gold); }
.g5c3-section-title .material-icons { font-size: 2rem; color: var(--g5c3-gold); }

/* ===== GAME GRID ===== */
.g5c3-cat-title {
  font-size: 1.4rem; font-weight: 700; color: var(--g5c3-gold);
  margin: 1.2rem 0 0.7rem; padding-left: 0.6rem;
  border-left: 3px solid var(--g5c3-primary);
  display: flex; align-items: center; gap: 0.4rem;
}
.g5c3-cat-title i { font-size: 1.5rem; }

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

.g5c3-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.2s;
  border-radius: var(--g5c3-radius-sm); padding: 0.4rem 0.2rem;
  background: var(--g5c3-card); border: 1px solid var(--g5c3-border);
}
.g5c3-game-item:hover { transform: scale(1.06); border-color: var(--g5c3-gold); }

.g5c3-game-item img {
  width: 60px; height: 60px; border-radius: var(--g5c3-radius-sm);
  object-fit: cover; margin-bottom: 0.2rem;
}

.g5c3-game-name {
  font-size: 0.95rem; color: var(--g5c3-dim); text-align: center;
  line-height: 1.1; max-width: 68px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ===== CARDS ===== */
.g5c3-card {
  background: var(--g5c3-card); border: 1px solid var(--g5c3-border);
  border-radius: var(--g5c3-radius); padding: 1.2rem; margin-bottom: 0.8rem;
}
.g5c3-card-title {
  font-size: 1.5rem; font-weight: 700; color: var(--g5c3-gold);
  margin-bottom: 0.6rem;
}
.g5c3-card p { color: var(--g5c3-dim); line-height: 1.6; margin-bottom: 0.5rem; font-size: 1.25rem; }

.g5c3-promo-text {
  color: var(--g5c3-primary); font-weight: 700; cursor: pointer;
  transition: color 0.2s; display: inline;
}
.g5c3-promo-text:hover { color: var(--g5c3-gold); text-decoration: underline; }

.g5c3-highlight {
  background: linear-gradient(135deg, rgba(255,149,0,0.08), rgba(72,209,204,0.08));
  border: 1px solid var(--g5c3-gold); border-radius: var(--g5c3-radius);
  padding: 1rem; margin: 0.8rem 0;
}
.g5c3-highlight h3 { color: var(--g5c3-gold); margin-bottom: 0.4rem; font-size: 1.4rem; }

/* ===== CTA BUTTONS ===== */
.g5c3-cta {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 1.1rem;
  background: linear-gradient(135deg, var(--g5c3-gold), var(--g5c3-primary));
  color: #fff; font-size: 1.5rem; font-weight: 800;
  border: none; border-radius: var(--g5c3-radius); cursor: pointer;
  transition: all 0.3s; box-shadow: 0 4px 18px rgba(255,149,0,0.3);
  margin: 0.8rem 0; text-align: center;
}
.g5c3-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(255,149,0,0.5); }

.g5c3-cta-sm {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, var(--g5c3-gold), var(--g5c3-primary));
  color: #fff; font-size: 1.2rem; font-weight: 700;
  border: none; border-radius: 20px; cursor: pointer;
  transition: transform 0.2s;
}
.g5c3-cta-sm:hover { transform: scale(1.05); }

/* ===== FEATURES GRID ===== */
.g5c3-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.g5c3-feat {
  background: var(--g5c3-card); border: 1px solid var(--g5c3-border);
  border-radius: var(--g5c3-radius-sm); padding: 0.9rem; text-align: center;
  transition: border-color 0.2s;
}
.g5c3-feat:hover { border-color: var(--g5c3-accent); }
.g5c3-feat i { font-size: 2rem; color: var(--g5c3-gold); margin-bottom: 0.4rem; display: block; }
.g5c3-feat span { display: block; font-size: 1.1rem; color: var(--g5c3-dim); }

/* ===== FOOTER ===== */
.g5c3-footer {
  background: linear-gradient(180deg, var(--g5c3-card), var(--g5c3-bg));
  border-top: 2px solid var(--g5c3-border);
  padding: 1.5rem 1rem 1.2rem; margin-top: 1.5rem;
}
.g5c3-footer-brand { text-align: center; margin-bottom: 1.2rem; }
.g5c3-footer-brand p { color: var(--g5c3-dim); font-size: 1.15rem; line-height: 1.5; margin-top: 0.4rem; }

.g5c3-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem; margin-bottom: 1.2rem;
}
.g5c3-footer-link {
  padding: 0.4rem 0.9rem; background: var(--g5c3-card);
  border: 1px solid var(--g5c3-border); border-radius: 16px;
  color: var(--g5c3-dim); font-size: 1.05rem; transition: all 0.2s;
}
.g5c3-footer-link:hover { border-color: var(--g5c3-accent); color: var(--g5c3-accent); }

.g5c3-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center; margin-bottom: 1.2rem;
}
.g5c3-footer-promo-btn {
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, var(--g5c3-gold), var(--g5c3-primary));
  color: #fff; border: none; border-radius: 16px;
  font-size: 1.1rem; font-weight: 700; cursor: pointer;
  transition: transform 0.2s;
}
.g5c3-footer-promo-btn:hover { transform: scale(1.05); }

.g5c3-copyright {
  text-align: center; color: var(--g5c3-dim); font-size: 1rem;
  padding-top: 0.8rem; border-top: 1px solid var(--g5c3-border);
}

/* ===== BOTTOM NAVIGATION ===== */
.g5c3-bnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--g5c3-bnav-h);
  background: linear-gradient(180deg, #181818, #0C0C0C);
  border-top: 2px solid var(--g5c3-gold);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; box-shadow: 0 -3px 16px rgba(0,0,0,0.55);
}

.g5c3-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px; background: none; border: none;
  color: var(--g5c3-dim); cursor: pointer; transition: all 0.25s;
  padding: 0.2rem; position: relative;
}
.g5c3-bnav-btn i, .g5c3-bnav-btn .material-icons, .g5c3-bnav-btn ion-icon {
  font-size: 22px; margin-bottom: 1px; transition: all 0.25s;
}
.g5c3-bnav-btn span { font-size: 0.9rem; line-height: 1; }
.g5c3-bnav-btn:hover { color: var(--g5c3-gold); }
.g5c3-bnav-btn:hover i, .g5c3-bnav-btn:hover .material-icons, .g5c3-bnav-btn:hover ion-icon {
  transform: scale(1.18); color: var(--g5c3-gold);
}

.g5c3-bnav-active { color: var(--g5c3-gold) !important; }
.g5c3-bnav-active::before {
  content: ''; position: absolute; top: -2px; left: 20%; right: 20%;
  height: 2px; background: var(--g5c3-gold); border-radius: 1px;
}
.g5c3-bnav-active i, .g5c3-bnav-active .material-icons, .g5c3-bnav-active ion-icon {
  color: var(--g5c3-gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  main, .g5c3-main { padding-bottom: calc(var(--g5c3-bnav-h) + 12px); }
}
@media (min-width: 769px) {
  .g5c3-bnav { display: none; }
}

/* ===== UTILITIES ===== */
.g5c3-text-center { text-align: center; }
.g5c3-text-gold { color: var(--g5c3-gold); }
.g5c3-text-accent { color: var(--g5c3-accent); }
.g5c3-text-primary { color: var(--g5c3-primary); }
.g5c3-mt-1 { margin-top: 1rem; }
.g5c3-mb-1 { margin-bottom: 1rem; }

/* Testimonial */
.g5c3-testi {
  background: var(--g5c3-card); border-left: 3px solid var(--g5c3-primary);
  padding: 0.8rem 1rem; border-radius: 0 var(--g5c3-radius) var(--g5c3-radius) 0;
  margin-bottom: 0.6rem;
}
.g5c3-testi p { font-style: italic; color: var(--g5c3-dim); font-size: 1.15rem; }
.g5c3-testi strong { color: var(--g5c3-accent); font-size: 1.05rem; }

/* Payment */
.g5c3-pay-row {
  display: flex; gap: 0.6rem; justify-content: center;
  flex-wrap: wrap; margin: 0.8rem 0;
}
.g5c3-pay-item {
  background: var(--g5c3-card); border: 1px solid var(--g5c3-border);
  border-radius: var(--g5c3-radius-sm); padding: 0.5rem 0.8rem;
  font-size: 1.1rem; color: var(--g5c3-accent);
}

/* Winners */
.g5c3-winner {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 0; border-bottom: 1px solid var(--g5c3-border);
}
.g5c3-winner:last-child { border-bottom: none; }
.g5c3-winner-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--g5c3-gold), var(--g5c3-primary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; flex-shrink: 0;
}
.g5c3-winner-info { flex: 1; }
.g5c3-winner-name { font-size: 1.15rem; color: var(--g5c3-text); }
.g5c3-winner-amount { font-size: 1.05rem; color: var(--g5c3-gold); font-weight: 700; }

/* FAQ */
.g5c3-faq-item { margin-bottom: 0.8rem; }
.g5c3-faq-q { font-weight: 700; color: var(--g5c3-accent); margin-bottom: 0.2rem; font-size: 1.3rem; }
.g5c3-faq-a {
  color: var(--g5c3-dim); font-size: 1.2rem;
  padding-left: 0.8rem; border-left: 2px solid var(--g5c3-border);
}

/* Steps */
.g5c3-step {
  display: flex; gap: 0.8rem; margin-bottom: 0.8rem; align-items: flex-start;
}
.g5c3-step-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--g5c3-gold), var(--g5c3-primary));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem; flex-shrink: 0;
}
.g5c3-step-content h3 { color: var(--g5c3-gold); font-size: 1.3rem; margin-bottom: 0.2rem; }
.g5c3-step-content p { color: var(--g5c3-dim); font-size: 1.15rem; }

/* Mobile App CTA */
.g5c3-app-cta {
  background: linear-gradient(135deg, rgba(255,149,0,0.12), rgba(72,209,204,0.12));
  border: 1px solid var(--g5c3-gold); border-radius: var(--g5c3-radius);
  padding: 1.2rem; text-align: center;
}
.g5c3-app-cta h3 { color: var(--g5c3-gold); font-size: 1.5rem; margin-bottom: 0.5rem; }
.g5c3-app-cta p { color: var(--g5c3-dim); font-size: 1.2rem; margin-bottom: 0.8rem; }
