/* okz.homes theme - Mobile-first HTML5 gaming site (bn-BD) */
/* Prefix: v553- | Root font 62.5% -> 1rem = 10px */

:root {
  --v553-bg: #1E1E1E;
  --v553-bg-alt: #2a2118;
  --v553-primary: #A0522D;
  --v553-primary-2: #A0522D;
  --v553-accent: #CD853F;
  --v553-gold: #FFB347;
  --v553-text: #F5E9D7;
  --v553-text-dim: #C9B79A;
  --v553-border: rgba(205,133,63,0.25);
  --v553-shadow: 0 4px 18px rgba(0,0,0,0.45);
  --v553-radius: 14px;
  --v553-radius-sm: 10px;
}

* { 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",sans-serif;
  background: var(--v553-bg);
  color: var(--v553-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

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

a { color: var(--v553-gold); text-decoration: none; }

h1, h2, h3 { line-height: 1.8rem; font-weight: 700; }

h1 { font-size: 2.2rem; line-height: 2.6rem; }
h2 { font-size: 1.9rem; line-height: 2.4rem; color: var(--v553-gold); }
h3 { font-size: 1.65rem; color: var(--v553-accent); }

p { margin-bottom: 1rem; }

/* ===== Header ===== */
.v553-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1a1410 0%, #2a2118 100%);
  border-bottom: 2px solid var(--v553-primary);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--v553-shadow);
}

.v553-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--v553-gold);
  font-weight: 800;
  font-size: 1.7rem;
}

.v553-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--v553-accent);
}

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

.v553-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 36px;
}

.v553-btn-login {
  background: transparent;
  color: var(--v553-text);
  border: 1px solid var(--v553-accent);
}

.v553-btn-register {
  background: linear-gradient(135deg, var(--v553-gold), var(--v553-accent));
  color: #1a1410;
  box-shadow: 0 3px 10px rgba(255,179,71,0.35);
}

.v553-btn:active { transform: scale(0.95); }

.v553-menu-toggle {
  background: transparent;
  border: 1px solid var(--v553-border);
  color: var(--v553-gold);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Mobile Menu ===== */
.v553-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(20,16,12,0.97);
  z-index: 9999;
  padding: 6rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.v553-mobile-menu.v553-open { transform: translateX(0); }

.v553-menu-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: transparent;
  border: 1px solid var(--v553-border);
  color: var(--v553-gold);
  width: 38px; height: 38px;
  border-radius: 8px;
  font-size: 1.8rem;
  cursor: pointer;
}

.v553-mobile-menu h3 {
  color: var(--v553-gold);
  margin: 1.5rem 0 0.8rem;
  font-size: 1.5rem;
}

.v553-mobile-menu ul { list-style: none; }

.v553-mobile-menu li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--v553-border);
}

.v553-mobile-menu li a {
  color: var(--v553-text);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.v553-mobile-menu li a i { color: var(--v553-accent); width: 22px; text-align: center; }

/* ===== Layout ===== */
.v553-main {
  padding-top: 6rem;
  padding-bottom: 8rem;
  max-width: 430px;
  margin: 0 auto;
}

.v553-container { padding: 0 1.2rem; }
.v553-section { padding: 2rem 1.2rem; }
.v553-section-alt { background: var(--v553-bg-alt); }

/* ===== Carousel ===== */
.v553-carousel {
  position: relative;
  border-radius: var(--v553-radius);
  overflow: hidden;
  margin: 1rem 0 2rem;
  box-shadow: var(--v553-shadow);
  aspect-ratio: 16/9;
}

.v553-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.v553-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}

.v553-slide img { width: 100%; height: 100%; object-fit: cover; }

.v553-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(20,16,12,0.9), transparent);
  padding: 1.5rem 1.2rem 1rem;
  color: var(--v553-gold);
  font-weight: 700;
  font-size: 1.5rem;
}

.v553-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
}

.v553-carousel-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.3s;
}

.v553-carousel-dots span.v553-active { background: var(--v553-gold); }

/* ===== Hero / Intro ===== */
.v553-hero {
  padding: 2rem 1.2rem;
  text-align: center;
}

.v553-hero h1 {
  color: var(--v553-gold);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.v553-hero p { color: var(--v553-text-dim); font-size: 1.45rem; }

.v553-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--v553-gold), var(--v553-primary));
  color: #1a1410;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 1.5rem 0;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 14px rgba(255,179,71,0.4);
  transition: transform 0.15s;
}

.v553-cta:active { transform: scale(0.96); }

/* ===== Category Section ===== */
.v553-cat-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--v553-primary);
}

.v553-cat-title i { color: var(--v553-gold); font-size: 2rem; }
.v553-cat-title h2 { margin: 0; font-size: 1.8rem; }

/* ===== Game Grid ===== */
.v553-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.v553-game-card {
  background: var(--v553-bg-alt);
  border: 1px solid var(--v553-border);
  border-radius: var(--v553-radius-sm);
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s;
  overflow: hidden;
}

.v553-game-card:active {
  transform: scale(0.95);
  border-color: var(--v553-gold);
}

.v553-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}

.v553-game-name {
  font-size: 1.2rem;
  color: var(--v553-text);
  line-height: 1.3rem;
  height: 2.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ===== Cards / Modules ===== */
.v553-card {
  background: var(--v553-bg-alt);
  border: 1px solid var(--v553-border);
  border-radius: var(--v553-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--v553-shadow);
}

.v553-card h2 { margin-bottom: 1rem; }

.v553-card p { color: var(--v553-text-dim); font-size: 1.4rem; }

.v553-card ul { list-style: none; margin: 1rem 0; }

.v553-card li {
  padding: 0.6rem 0 0.6rem 1.8rem;
  position: relative;
  font-size: 1.4rem;
  color: var(--v553-text-dim);
  border-bottom: 1px dashed var(--v553-border);
}

.v553-card li:last-child { border-bottom: none; }

.v553-card li::before {
  content: "▸";
  position: absolute;
  left: 0.4rem;
  color: var(--v553-gold);
}

.v553-link-inline {
  color: var(--v553-gold);
  font-weight: 700;
  border-bottom: 1px dotted var(--v553-gold);
  cursor: pointer;
}

/* ===== RTP table ===== */
.v553-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--v553-border);
  font-size: 1.35rem;
}

.v553-rtp-row span:first-child { color: var(--v553-text); }
.v553-rtp-row span:last-child { color: var(--v553-gold); font-weight: 700; }

/* ===== Testimonials ===== */
.v553-testimonial {
  background: var(--v553-bg);
  border-left: 3px solid var(--v553-gold);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--v553-text-dim);
}

.v553-testimonial-author {
  display: block;
  margin-top: 0.5rem;
  color: var(--v553-accent);
  font-weight: 700;
  font-size: 1.25rem;
}

/* ===== Payment methods ===== */
.v553-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
}

.v553-pay-item {
  background: var(--v553-bg);
  border: 1px solid var(--v553-border);
  border-radius: 8px;
  padding: 0.8rem 0.4rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--v553-text-dim);
}

.v553-pay-item i { font-size: 1.8rem; color: var(--v553-gold); display: block; margin-bottom: 0.3rem; }

/* ===== Winners ===== */
.v553-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  background: var(--v553-bg);
  border-radius: 8px;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.v553-winner span:last-child { color: var(--v553-gold); font-weight: 700; }

/* ===== Footer ===== */
.v553-footer {
  background: #14100c;
  border-top: 2px solid var(--v553-primary);
  padding: 2rem 1.2rem 1rem;
  margin-top: 2rem;
}

.v553-footer-brand {
  color: var(--v553-text-dim);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  line-height: 1.7rem;
}

.v553-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.v553-footer-links a {
  background: var(--v553-bg-alt);
  border: 1px solid var(--v553-border);
  color: var(--v553-text);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
}

.v553-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.v553-footer-promo button {
  flex: 1 1 45%;
  background: linear-gradient(135deg, var(--v553-primary), var(--v553-accent));
  color: #fff;
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
}

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

/* ===== Bottom Nav ===== */
.v553-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, #2a2118 0%, #14100c 100%);
  border-top: 2px solid var(--v553-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
}

.v553-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--v553-text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  padding: 0.3rem;
  transition: color 0.2s, transform 0.15s;
}

.v553-nav-btn i { font-size: 22px; }
.v553-nav-btn span { font-size: 1.05rem; }

.v553-nav-btn:active { transform: scale(0.92); }

.v553-nav-btn.v553-active { color: var(--v553-gold); }

.v553-nav-btn.v553-promo { color: var(--v553-gold); }

.v553-nav-btn.v553-promo i { filter: drop-shadow(0 0 4px rgba(255,179,71,0.5)); }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .v553-bottom-nav { display: none; }
  .v553-menu-toggle { display: none; }
  .v553-main { padding-bottom: 2rem; }
  body { max-width: 430px; }
}

@media (max-width: 768px) {
  .v553-main { padding-bottom: 80px; }
}

/* ===== Utility ===== */
.v553-text-gold { color: var(--v553-gold); font-weight: 700; }
.v553-center { text-align: center; }
.v553-mt-1 { margin-top: 1rem; }
.v553-mt-2 { margin-top: 2rem; }
.v553-flex { display: flex; align-items: center; gap: 0.6rem; }
.v553-divider { height: 1px; background: var(--v553-border); margin: 1.5rem 0; }
