/* ============================================
   kirkira.click - base stylesheet
   Mobile-first HTML5 casino layout
   Class prefix: v18c-
   ============================================ */

:root {
  --v18c-primary: #FFD700;
  --v18c-bg: #1A1A2E;
  --v18c-text-main: #E8F5E8;
  --v18c-gold: #FFD700;
  --v18c-dark: #1A1A2E;
  --v18c-dark2: #15152a;
  --v18c-orange: #FF8C00;
  --v18c-khaki: #BDB76B;
  --v18c-light: #E8F5E8;
  --v18c-card: #232342;
  --v18c-card2: #2a2a52;
  --v18c-text: #F5F5F5;
  --v18c-muted: #B5B5C8;
  --v18c-grad: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
  --v18c-shadow: 0 6px 22px rgba(0, 0, 0, .35);
  --v18c-radius: 14px;
}

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

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

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--v18c-dark);
  color: var(--v18c-text);
  line-height: 1.6;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--v18c-gold); text-decoration: none; }

/* ---------- Layout ---------- */
.v18c-container { width: 100%; padding: 0 1.2rem; }
.v18c-wrapper { padding: 1.6rem 1.2rem; }
.v18c-section { margin: 2.4rem 0; }
.v18c-grid { display: grid; gap: 0.9rem; }
.v18c-card { background: var(--v18c-card); border: 1px solid rgba(255,215,0,.12); border-radius: var(--v18c-radius); padding: 1.1rem; }
.v18c-nav { display: flex; align-items: center; gap: 0.8rem; }

/* ---------- Header ---------- */
.v18c-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #15152a 0%, #1A1A2E 100%);
  border-bottom: 2px solid var(--v18c-gold);
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.v18c-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  gap: 0.8rem;
}
.v18c-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--v18c-gold);
  letter-spacing: 0.3px;
}
.v18c-logo-img { width: 30px; height: 30px; border-radius: 8px; }
.v18c-header-actions { display: flex; gap: 0.5rem; align-items: center; }

/* ---------- Buttons ---------- */
.v18c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  min-height: 38px;
  line-height: 1;
}
.v18c-btn:active { transform: scale(0.96); }
.v18c-btn-primary {
  background: var(--v18c-grad);
  color: var(--v18c-dark);
  box-shadow: 0 4px 14px rgba(255,140,0,.35);
}
.v18c-btn-ghost {
  background: transparent;
  color: var(--v18c-light);
  border: 1.5px solid var(--v18c-gold);
}
.v18c-btn-block { width: 100%; padding: 1rem; font-size: 1.5rem; }

/* ---------- Hamburger ---------- */
.v18c-menu-toggle {
  background: transparent;
  border: none;
  color: var(--v18c-gold);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}

/* ---------- Mobile Menu ---------- */
.v18c-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 340px;
  height: 100%;
  background: var(--v18c-dark2);
  z-index: 9999;
  padding: 2rem 1.4rem;
  transition: right .3s ease;
  overflow-y: auto;
  border-left: 2px solid var(--v18c-gold);
}
.v18c-mobile-menu.open { right: 0; }
.v18c-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.v18c-overlay.open { opacity: 1; pointer-events: auto; }
.v18c-menu-close { color: var(--v18c-light); font-size: 2.2rem; background: none; border: none; float: right; cursor: pointer; }
.v18c-menu-title { font-size: 1.7rem; color: var(--v18c-gold); margin: 1.5rem 0 0.8rem; font-weight: 700; }
.v18c-mobile-menu a {
  display: block;
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid rgba(255,215,0,.12);
  color: var(--v18c-light);
  font-size: 1.4rem;
}
.v18c-mobile-menu a:active { color: var(--v18c-orange); }

/* ---------- Hero / Carousel ---------- */
.v18c-hero {
  position: relative;
  border-radius: var(--v18c-radius);
  overflow: hidden;
  margin: 1.2rem;
  box-shadow: var(--v18c-shadow);
}
.v18c-carousel { position: relative; }
.v18c-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.v18c-slides::-webkit-scrollbar { display: none; }
.v18c-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
}
.v18c-slide img { width: 100%; height: 190px; object-fit: cover; }
.v18c-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(26,26,46,.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}
.v18c-slide-title { color: var(--v18c-gold); font-size: 1.7rem; font-weight: 700; }
.v18c-slide-text { color: var(--v18c-light); font-size: 1.25rem; margin: 0.3rem 0 0.8rem; }
.v18c-dots { display: flex; justify-content: center; gap: 0.4rem; padding: 0.6rem 0; }
.v18c-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,215,0,.35); }
.v18c-dot.active { background: var(--v18c-gold); width: 18px; border-radius: 4px; }

/* ---------- Headings ---------- */
.v18c-h1 {
  font-size: 2.1rem;
  color: var(--v18c-gold);
  font-weight: 700;
  line-height: 1.35;
  margin: 1.4rem 0 0.6rem;
}
.v18c-h2 {
  font-size: 1.8rem;
  color: var(--v18c-gold);
  font-weight: 700;
  margin: 1.8rem 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.v18c-h2::before {
  content: "";
  width: 4px;
  height: 1.6rem;
  background: var(--v18c-grad);
  border-radius: 3px;
}
.v18c-h3 { font-size: 1.55rem; color: var(--v18c-orange); font-weight: 600; margin: 1.2rem 0 0.4rem; }
.v18c-p { color: var(--v18c-muted); margin-bottom: 0.9rem; font-size: 1.42rem; }
.v18c-lead { color: var(--v18c-light); font-size: 1.5rem; line-height: 1.7; }

/* ---------- Game Grid ---------- */
.v18c-game-section { margin: 1.6rem 0; }
.v18c-game-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 0.8rem;
}
.v18c-game-card {
  background: var(--v18c-card);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,215,0,.08);
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}
.v18c-game-card:active { transform: scale(0.96); box-shadow: 0 4px 14px rgba(255,140,0,.3); }
.v18c-game-thumb { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #0e0e1e; }
.v18c-game-name {
  font-size: 1.15rem;
  color: var(--v18c-light);
  padding: 0.45rem 0.4rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.v18c-game-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--v18c-orange);
  color: #fff;
  font-size: 0.95rem;
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 600;
}
.v18c-cat-title {
  font-size: 1.5rem;
  color: var(--v18c-gold);
  margin: 1.4rem 0 0.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Feature / Info cards ---------- */
.v18c-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.v18c-info-card {
  background: var(--v18c-card);
  border-radius: 12px;
  padding: 1.1rem;
  border: 1px solid rgba(189,183,107,.18);
}
.v18c-info-card .v18c-ic {
  font-size: 2rem;
  color: var(--v18c-gold);
  margin-bottom: 0.4rem;
}
.v18c-info-card h3 { font-size: 1.4rem; color: var(--v18c-light); margin-bottom: 0.3rem; }
.v18c-info-card p { font-size: 1.28rem; color: var(--v18c-muted); }

/* ---------- Testimonials ---------- */
.v18c-testimonials { display: flex; gap: 0.8rem; overflow-x: auto; padding-bottom: 0.5rem; scrollbar-width: none; }
.v18c-testimonials::-webkit-scrollbar { display: none; }
.v18c-testi {
  flex: 0 0 78%;
  background: var(--v18c-card2);
  padding: 1.1rem;
  border-radius: 12px;
  border-left: 3px solid var(--v18c-gold);
}
.v18c-testi-stars { color: var(--v18c-gold); margin-bottom: 0.3rem; font-size: 1.2rem; }
.v18c-testi p { font-size: 1.3rem; color: var(--v18c-light); margin-bottom: 0.5rem; }
.v18c-testi span { font-size: 1.18rem; color: var(--v18c-khaki); }

/* ---------- Winners ---------- */
.v18c-winner-row {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.8rem;
  background: var(--v18c-card);
  border-radius: 8px;
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
}
.v18c-winner-row b { color: var(--v18c-gold); }

/* ---------- Payment ---------- */
.v18c-pay { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.v18c-pay span {
  background: var(--v18c-card);
  color: var(--v18c-light);
  padding: 0.5rem 0.9rem;
  border-radius: 20px;
  font-size: 1.2rem;
  border: 1px solid rgba(255,215,0,.15);
}

/* ---------- CTA Banner ---------- */
.v18c-cta {
  background: var(--v18c-grad);
  border-radius: var(--v18c-radius);
  padding: 1.4rem;
  text-align: center;
  color: var(--v18c-dark);
  margin: 1.6rem 0;
}
.v18c-cta h2 { color: var(--v18c-dark); display: block; }
.v18c-cta h2::before { display: none; }
.v18c-cta p { color: #2a2a3a; margin: 0.4rem 0 0.8rem; }

/* ---------- Article / SEO text ---------- */
.v18c-article { color: var(--v18c-muted); font-size: 1.42rem; line-height: 1.75; }
.v18c-article p { margin-bottom: 0.9rem; }
.v18c-article a { color: var(--v18c-orange); text-decoration: underline; }
.v18c-faq-item { background: var(--v18c-card); padding: 0.9rem 1rem; border-radius: 10px; margin-bottom: 0.6rem; }
.v18c-faq-item h3 { color: var(--v18c-gold); font-size: 1.35rem; margin-bottom: 0.3rem; }
.v18c-faq-item p { color: var(--v18c-muted); font-size: 1.3rem; }

/* ---------- Footer ---------- */
.v18c-footer {
  background: var(--v18c-dark2);
  border-top: 2px solid var(--v18c-gold);
  padding: 2rem 1.2rem 2.4rem;
  margin-top: 2rem;
}
.v18c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin: 0.8rem 0;
}
.v18c-footer-links a {
  color: var(--v18c-light);
  font-size: 1.22rem;
  background: var(--v18c-card);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}
.v18c-footer-links a:active { color: var(--v18c-gold); }
.v18c-footer p { color: var(--v18c-muted); font-size: 1.2rem; margin-top: 0.6rem; }
.v18c-footer-brand { color: var(--v18c-gold); font-size: 1.45rem; font-weight: 700; }
.v18c-copy { color: var(--v18c-khaki); font-size: 1.15rem; margin-top: 0.8rem; border-top: 1px solid rgba(255,215,0,.1); padding-top: 0.8rem; }

/* ---------- Bottom Nav ---------- */
.v18c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: linear-gradient(180deg, #1A1A2E 0%, #0e0e1e 100%);
  border-top: 2px solid var(--v18c-gold);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 4px 0;
}
.v18c-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--v18c-muted);
  font-size: 1rem;
  text-decoration: none;
  padding: 4px 0;
  min-width: 60px;
  min-height: 54px;
  transition: color .15s, transform .15s;
}
.v18c-bottom-nav a .v18c-icn { font-size: 2.1rem; line-height: 1; }
.v18c-bottom-nav a.active { color: var(--v18c-gold); }
.v18c-bottom-nav a:active { transform: scale(0.9); color: var(--v18c-orange); }
.v18c-bottom-nav .v18c-promo {
  background: var(--v18c-grad);
  color: var(--v18c-dark);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin-top: -22px;
  box-shadow: 0 4px 12px rgba(255,140,0,.45);
  border: 3px solid var(--v18c-dark2);
}
.v18c-bottom-nav .v18c-promo .v18c-icn { font-size: 2.2rem; }

main { display: block; }
@media (max-width: 768px) {
  main { padding-bottom: 84px; }
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .v18c-bottom-nav { display: none; }
}

/* Utility */
.v18c-text-center { text-align: center; }
.v18c-mt-1 { margin-top: 0.5rem; }
.v18c-hidden { display: none; }
.v18c-tag {
  display: inline-block;
  background: rgba(255,215,0,.12);
  color: var(--v18c-gold);
  font-size: 1.15rem;
  padding: 2px 8px;
  border-radius: 6px;
  margin: 0.2rem 0.3rem 0.2rem 0;
}
