/* oktaka.homes shared stylesheet - basefiles */
/* All custom class names use the pg00- prefix. Comments in English only. */

:root {
  --pg00-bg: #1A1A2E;
  --pg00-bg2: #16162a;
  --pg00-card: #22223a;
  --pg00-text: #F5F5F5;
  --pg00-muted: #c9c9d6;
  --pg00-accent: #FFDFBA;
  --pg00-accent2: #FFFFBA;
  --pg00-mint: #BAFFC9;
  --pg00-primary: #FFDFBA;
  --pg00-border: rgba(255, 223, 186, 0.18);
  --pg00-radius: 1.2rem;
  --pg00-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

body {
  margin: 0;
  background: var(--pg00-bg);
  color: var(--pg00-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5rem;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--pg00-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Layout containers */
.pg00-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pg00-wrapper { padding-top: 6.4rem; padding-bottom: 8rem; }

/* Header */
.pg00-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--pg00-bg2), var(--pg00-bg));
  border-bottom: 1px solid var(--pg00-border);
  box-shadow: var(--pg00-shadow);
}
.pg00-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.7rem 1.2rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.pg00-logo { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.pg00-logo img { width: 2.6rem; height: 2.6rem; border-radius: 0.6rem; }
.pg00-logo-text { font-size: 1.5rem; font-weight: 700; color: var(--pg00-accent); white-space: nowrap; }
.pg00-header-btns { display: flex; gap: 0.5rem; align-items: center; }
.pg00-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 1.2rem; font-weight: 600; line-height: 1;
  padding: 0.7rem 1.1rem; border-radius: 0.8rem; border: none; cursor: pointer;
  min-height: 3.2rem; min-width: 4.4rem; transition: transform 0.15s, background 0.2s;
}
.pg00-btn:active { transform: scale(0.96); }
.pg00-btn-login { background: transparent; color: var(--pg00-text); border: 1px solid var(--pg00-border); }
.pg00-btn-register { background: var(--pg00-accent); color: var(--pg00-bg); }
.pg00-btn-mint { background: var(--pg00-mint); color: var(--pg00-bg); }
.pg00-menu-btn {
  background: transparent; border: none; color: var(--pg00-text); font-size: 1.8rem; cursor: pointer;
  min-width: 3.2rem; min-height: 3.2rem; border-radius: 0.6rem;
}

/* Expandable mobile menu */
.pg00-mobile-menu {
  display: none; position: fixed; top: 5.4rem; left: 0; right: 0; z-index: 9999;
  background: var(--pg00-bg2); border-bottom: 1px solid var(--pg00-border);
  padding: 1rem 1.2rem; max-height: 70vh; overflow-y: auto;
}
.pg00-menu-open { display: block; }
.pg00-mobile-menu a {
  display: block; padding: 1rem 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1.35rem; color: var(--pg00-text);
}
.pg00-mobile-menu a:hover { color: var(--pg00-accent); }

/* Carousel */
.pg00-carousel { position: relative; border-radius: var(--pg00-radius); overflow: hidden; margin-bottom: 1.4rem; }
.pg00-carousel-track { position: relative; }
.pg00-carousel-slide { display: none; cursor: pointer; }
.pg00-slide-active { display: block; }
.pg00-carousel-slide img { width: 100%; height: 16rem; object-fit: cover; }
.pg00-carousel-dots { position: absolute; bottom: 0.6rem; left: 0; right: 0; text-align: center; }
.pg00-carousel-dot {
  display: inline-block; width: 0.7rem; height: 0.7rem; margin: 0 0.25rem;
  background: rgba(245,245,245,0.5); border-radius: 50%; cursor: pointer;
}
.pg00-dot-active { background: var(--pg00-accent); }

/* Headings */
.pg00-h1 { font-size: 1.9rem; font-weight: 700; margin: 1.2rem 0 0.6rem; color: var(--pg00-accent2); line-height: 1.6rem; }
.pg00-h2 { font-size: 1.6rem; font-weight: 700; margin: 1.8rem 0 0.6rem; color: var(--pg00-accent); }
.pg00-h3 { font-size: 1.35rem; font-weight: 600; margin: 1.4rem 0 0.4rem; color: var(--pg00-mint); }
.pg00-lead { font-size: 1.3rem; color: var(--pg00-muted); margin-bottom: 1rem; }
.pg00-section { margin: 1.6rem 0; padding: 1.2rem; background: var(--pg00-card); border-radius: var(--pg00-radius); border: 1px solid var(--pg00-border); }

/* Game grid */
.pg00-game-group { margin: 1.4rem 0; }
.pg00-game-group-title { font-size: 1.45rem; font-weight: 700; color: var(--pg00-accent); margin: 1rem 0 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.pg00-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.pg00-card {
  background: var(--pg00-card); border-radius: 0.8rem; overflow: hidden; cursor: pointer;
  border: 1px solid var(--pg00-border); transition: transform 0.15s;
}
.pg00-card:active { transform: scale(0.95); }
.pg00-card img { width: 100%; height: 6.4rem; object-fit: cover; }
.pg00-card-name { font-size: 1rem; color: var(--pg00-text); padding: 0.4rem 0.3rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Filter tabs */
.pg00-filter { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.6rem 0; margin-bottom: 0.4rem; }
.pg00-filter-tab {
  flex: 0 0 auto; padding: 0.5rem 1rem; border-radius: 0.8rem; font-size: 1.15rem;
  background: var(--pg00-card); color: var(--pg00-text); border: 1px solid var(--pg00-border); cursor: pointer;
}
.pg00-filter-active { background: var(--pg00-accent); color: var(--pg00-bg); border-color: var(--pg00-accent); }

/* Promo link styles */
.pg00-promo-text { color: var(--pg00-accent); font-weight: 700; cursor: pointer; }
.pg00-promo-inline { color: var(--pg00-mint); font-weight: 700; }
.pg00-cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.pg00-cta { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.9rem 1.2rem; border-radius: 0.8rem; font-weight: 700; font-size: 1.2rem; }

/* Info lists */
.pg00-list { margin: 0.6rem 0; padding-left: 1.6rem; }
.pg00-list li { margin-bottom: 0.5rem; font-size: 1.2rem; color: var(--pg00-muted); }
.pg00-faq-item { margin-bottom: 0.8rem; }
.pg00-faq-q { font-weight: 700; color: var(--pg00-accent); font-size: 1.2rem; }
.pg00-faq-a { color: var(--pg00-muted); font-size: 1.15rem; margin-top: 0.2rem; }

/* Stats / RTP compact */
.pg00-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 0.8rem 0; }
.pg00-stat { background: var(--pg00-bg2); border-radius: 0.8rem; padding: 0.8rem; text-align: center; border: 1px solid var(--pg00-border); }
.pg00-stat-num { font-size: 1.5rem; font-weight: 700; color: var(--pg00-accent2); }
.pg00-stat-label { font-size: 1rem; color: var(--pg00-muted); }

/* Testimonials / winners */
.pg00-review { background: var(--pg00-bg2); border-radius: 0.8rem; padding: 0.9rem; margin-bottom: 0.7rem; border-left: 3px solid var(--pg00-mint); }
.pg00-review-name { font-weight: 700; color: var(--pg00-accent); font-size: 1.15rem; }
.pg00-review-text { color: var(--pg00-muted); font-size: 1.1rem; }

/* Payment chips */
.pg00-pay { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.pg00-pay-chip { background: var(--pg00-bg2); border: 1px solid var(--pg00-border); border-radius: 0.7rem; padding: 0.5rem 0.9rem; font-size: 1.1rem; color: var(--pg00-text); }

/* Footer */
.pg00-footer { background: var(--pg00-bg2); border-top: 1px solid var(--pg00-border); padding: 1.6rem 1.2rem 2rem; margin-top: 2rem; }
.pg00-footer-brand { font-size: 1.2rem; color: var(--pg00-muted); margin-bottom: 0.8rem; }
.pg00-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0.8rem 0; }
.pg00-footer-links a { font-size: 1.15rem; color: var(--pg00-text); }
.pg00-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.pg00-footer-copy { font-size: 1.05rem; color: var(--pg00-muted); margin-top: 0.8rem; }

/* Mobile bottom navigation - fixed */
.pg00-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--pg00-bg2); border-top: 1px solid var(--pg00-border);
  height: 6rem; display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.35);
}
.pg00-bottomnav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; color: var(--pg00-muted); background: transparent; border: none; cursor: pointer;
  text-decoration: none; min-width: 6rem; min-height: 6rem; transition: color 0.2s, transform 0.15s;
}
.pg00-bottomnav-btn:active { transform: scale(0.92); }
.pg00-bottomnav-btn .pg00-nav-icon { font-size: 2.2rem; line-height: 1; }
.pg00-bottomnav-btn .pg00-nav-label { font-size: 1rem; line-height: 1.2; }
.pg00-bottomnav-active { color: var(--pg00-accent); }
.pg00-bottomnav-promo { color: var(--pg00-mint); }

/* Desktop: hide bottom nav, adjust main padding */
@media (min-width: 769px) {
  .pg00-bottomnav { display: none; }
  .pg00-wrapper { padding-bottom: 2rem; }
}
@media (min-width: 431px) and (max-width: 768px) {
  .pg00-bottomnav { max-width: 430px; margin: 0 auto; }
}
