/* ============================================================
 * ak444.cyou - style.css
 * All custom classes use the v5e2- prefix.
 * Palette: #CD853F (peru) | #FAFAD2 (light gold) | #D4AF37 (gold)
 *          #FF8000 (orange) | #3A3A3A (dark)
 * Mobile-first, max-width 430px container.
 * ============================================================ */

:root {
  --v5e2-primary: #D4AF37;
  --v5e2-accent: #FF8000;
  --v5e2-peru: #CD853F;
  --v5e2-light: #FAFAD2;
  --v5e2-bg: #3A3A3A;
  --v5e2-bg-deep: #242424;
  --v5e2-text: #FAFAD2;
  --v5e2-text-muted: #d9d9b6;
  --v5e2-card: #4a4a4a;
  --v5e2-border: rgba(212, 175, 55, 0.35);
  --v5e2-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  --v5e2-radius: 14px;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--v5e2-bg-deep) 0%, var(--v5e2-bg) 100%);
  color: var(--v5e2-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", Roboto, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--v5e2-primary); text-decoration: none; }
a:hover { color: var(--v5e2-accent); }

.v5e2-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  position: relative;
}

/* ---------- Header ---------- */
.v5e2-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--v5e2-bg-deep), var(--v5e2-bg));
  border-bottom: 1px solid var(--v5e2-border);
  transition: box-shadow 0.25s ease;
}
.v5e2-header-scrolled { box-shadow: var(--v5e2-shadow); }

.v5e2-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.v5e2-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--v5e2-primary);
}
.v5e2-logo img { width: 28px; height: 28px; border-radius: 6px; }

.v5e2-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.v5e2-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  min-height: 36px;
}
.v5e2-btn:hover { transform: translateY(-1px); }
.v5e2-btn-primary {
  background: linear-gradient(90deg, var(--v5e2-accent), var(--v5e2-peru));
  color: #1a1a1a;
  box-shadow: 0 3px 10px rgba(255, 128, 0, 0.35);
}
.v5e2-btn-ghost {
  background: transparent;
  color: var(--v5e2-primary);
  border: 1px solid var(--v5e2-primary);
}

.v5e2-menu-btn {
  background: transparent;
  border: 0;
  color: var(--v5e2-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}

/* ---------- Nav drawer ---------- */
.v5e2-nav {
  position: fixed;
  top: 0; right: -80%;
  width: 80%;
  max-width: 340px;
  height: 100vh;
  background: var(--v5e2-bg-deep);
  z-index: 9999;
  padding: 7rem 1.4rem 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--v5e2-border);
}
.v5e2-nav-open { right: 0; }
.v5e2-nav a {
  display: block;
  padding: 1rem 0.6rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  color: var(--v5e2-text);
  font-size: 1.5rem;
}
.v5e2-nav a:hover { background: rgba(212, 175, 55, 0.08); color: var(--v5e2-accent); }

.v5e2-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.v5e2-overlay-show { opacity: 1; pointer-events: auto; }

/* ---------- Hero / Carousel ---------- */
.v5e2-hero {
  margin-top: 6rem;
  padding-top: 1rem;
}
.v5e2-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--v5e2-radius);
  box-shadow: var(--v5e2-shadow);
}
.v5e2-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}
.v5e2-carousel-slide {
  min-width: 100%;
  position: relative;
}
.v5e2-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.v5e2-carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  font-weight: 700; color: var(--v5e2-light);
}
.v5e2-carousel-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.v5e2-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(250, 250, 210, 0.45);
  border: 0; cursor: pointer; padding: 0;
}
.v5e2-carousel-dot-active { background: var(--v5e2-accent); }

/* ---------- Section / headings ---------- */
.v5e2-section { padding: 1.8rem 0; }
.v5e2-section-title {
  font-size: 1.9rem; font-weight: 700;
  color: var(--v5e2-primary);
  margin: 0 0 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.v5e2-section-title i { color: var(--v5e2-accent); }

.v5e2-h1 {
  font-size: 2.1rem; font-weight: 800;
  color: var(--v5e2-light);
  margin: 0 0 0.6rem;
  line-height: 2.4rem;
}
.v5e2-h2 {
  font-size: 1.75rem; font-weight: 700;
  color: var(--v5e2-primary);
  margin: 1.6rem 0 0.8rem;
}
.v5e2-h3 {
  font-size: 1.45rem; font-weight: 600;
  color: var(--v5e2-light); margin: 1rem 0 0.4rem;
}

.v5e2-lead {
  font-size: 1.4rem; color: var(--v5e2-text-muted);
  line-height: 2.4rem; margin-bottom: 1rem;
}
.v5e2-p {
  font-size: 1.4rem; color: var(--v5e2-text);
  line-height: 2.4rem; margin-bottom: 0.8rem;
}

/* ---------- Game grid ---------- */
.v5e2-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.4rem 0 0.8rem;
}
.v5e2-cat-title {
  font-size: 1.55rem; font-weight: 700; color: var(--v5e2-accent);
}
.v5e2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.v5e2-game-card {
  background: var(--v5e2-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--v5e2-border);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  display: block;
}
.v5e2-game-card:hover { transform: translateY(-2px); box-shadow: var(--v5e2-shadow); }
.v5e2-game-card img {
  width: 100%; height: 92px; object-fit: cover;
  border-bottom: 1px solid var(--v5e2-border);
}
.v5e2-game-card span {
  display: block;
  padding: 0.4rem 0.4rem 0.5rem;
  font-size: 1.1rem;
  text-align: center;
  color: var(--v5e2-light);
  min-height: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Card / module ---------- */
.v5e2-card {
  background: var(--v5e2-card);
  border: 1px solid var(--v5e2-border);
  border-radius: var(--v5e2-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--v5e2-shadow);
}
.v5e2-card-accent { border-left: 4px solid var(--v5e2-accent); }

.v5e2-feature-row {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.8rem 0;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.18);
}
.v5e2-feature-row:last-child { border-bottom: 0; }
.v5e2-feature-row i {
  color: var(--v5e2-accent); font-size: 2rem;
  flex-shrink: 0; width: 28px; text-align: center;
}

.v5e2-list { padding-left: 1.6rem; margin: 0.4rem 0; color: var(--v5e2-text); }
.v5e2-list li { margin-bottom: 0.4rem; line-height: 2.2rem; font-size: 1.4rem; }

/* ---------- Promo CTA ---------- */
.v5e2-cta {
  background: linear-gradient(90deg, var(--v5e2-accent), var(--v5e2-peru));
  color: #1a1a1a;
  border-radius: var(--v5e2-radius);
  padding: 1.2rem;
  text-align: center;
  margin: 1.2rem 0;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 128, 0, 0.4);
}
.v5e2-cta a, .v5e2-cta button {
  color: #1a1a1a; font-weight: 800;
  text-decoration: underline;
}

/* ---------- RTP table ---------- */
.v5e2-rtp-table {
  width: 100%; border-collapse: collapse;
  font-size: 1.3rem;
}
.v5e2-rtp-table th, .v5e2-rtp-table td {
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--v5e2-border);
  text-align: left;
}
.v5e2-rtp-table th { color: var(--v5e2-accent); }
.v5e2-rtp-bar {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
}
.v5e2-rtp-bar span {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--v5e2-accent), var(--v5e2-primary));
  border-radius: 3px;
}

/* ---------- Testimonial ---------- */
.v5e2-testi {
  background: var(--v5e2-card);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.7rem;
  border-left: 3px solid var(--v5e2-primary);
}
.v5e2-testi strong { color: var(--v5e2-accent); display: block; margin-bottom: 0.3rem; }
.v5e2-stars { color: var(--v5e2-primary); }

/* ---------- Payment chips ---------- */
.v5e2-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.v5e2-chip {
  background: var(--v5e2-card);
  border: 1px solid var(--v5e2-border);
  border-radius: 20px;
  padding: 0.5rem 0.9rem;
  font-size: 1.2rem;
  display: inline-flex; align-items: center; gap: 0.3rem;
}

/* ---------- Footer ---------- */
.v5e2-footer {
  background: var(--v5e2-bg-deep);
  border-top: 1px solid var(--v5e2-border);
  padding: 1.6rem 0 8rem;
  margin-top: 1.5rem;
}
.v5e2-footer p { font-size: 1.3rem; color: var(--v5e2-text-muted); line-height: 2.2rem; }
.v5e2-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem;
  margin: 0.8rem 0;
}
.v5e2-footer-links a {
  font-size: 1.25rem;
  color: var(--v5e2-light);
  text-decoration: underline;
}
.v5e2-copy {
  font-size: 1.15rem; color: var(--v5e2-text-muted);
  margin-top: 0.8rem; text-align: center;
}

/* ---------- Bottom nav (mobile only) ---------- */
.v5e2-bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--v5e2-bg), var(--v5e2-bg-deep));
  border-top: 1px solid var(--v5e2-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px;
  box-shadow: 0 -3px 14px rgba(0,0,0,0.5);
}
.v5e2-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  color: var(--v5e2-text-muted);
  cursor: pointer;
  font-size: 1.05rem;
  transition: transform 0.15s ease, color 0.2s ease;
  padding: 0;
}
.v5e2-bottomnav-btn i, .v5e2-bottomnav-btn .material-icons-outlined,
.v5e2-bottomnav-btn ion-icon { font-size: 24px; }
.v5e2-bottomnav-btn:active { transform: scale(0.92); color: var(--v5e2-accent); }
.v5e2-bottomnav-active { color: var(--v5e2-accent); }

/* ---------- Main content bottom padding for mobile nav ---------- */
main { display: block; }
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* ---------- Desktop: hide bottom nav ---------- */
@media (min-width: 769px) {
  .v5e2-bottomnav { display: none; }
  main { padding-bottom: 0; }
  body { background: var(--v5e2-bg-deep); }
}

/* ---------- Utility ---------- */
.v5e2-text-center { text-align: center; }
.v5e2-mt-1 { margin-top: 0.6rem; }
.v5e2-mt-2 { margin-top: 1.2rem; }
.v5e2-hidden { display: none !important; }
.v5e2-divider { height: 1px; background: var(--v5e2-border); margin: 1.2rem 0; }
