/* =========================================================
   mm00.homes core stylesheet
   Mobile-first gaming website. All custom classes use the
   v21c- prefix. Root font sized for rem-based spacing.
   ========================================================= */

:root {
  --v21c-primary: #CD5C5C;     /* Indian red - brand accent */
  --v21c-secondary: #FFB6C1;   /* light pink */
  --v21c-soft: #FFC0CB;        /* pink */
  --v21c-gold: #EEE8AA;        /* pale gold */
  --v21c-muted: #CCCCCC;       /* neutral grey */
  --v21c-bg: #262626;          /* deep charcoal background */
  --v21c-bg-2: #1d1d1d;        /* darker panel */
  --v21c-bg-3: #333333;        /* card surface */
  --v21c-text: #FFC0CB;        /* light text on dark */
  --v21c-text-2: #EEE8AA;      /* gold text */
  --v21c-white: #ffffff;
  --v21c-shadow: 0 4px 14px rgba(0,0,0,.35);
  --v21c-radius: 12px;
  --v21c-header-h: 56px;
  --v21c-nav-h: 60px;
}

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

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

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--v21c-bg);
  color: var(--v21c-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Layout helpers ---------- */
.v21c-container { width: 100%; padding: 0 1.2rem; }
.v21c-wrapper { max-width: 430px; margin: 0 auto; }
.v21c-grid { display: grid; gap: 1rem; }

/* ---------- Header ---------- */
.v21c-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--v21c-header-h);
  background: linear-gradient(90deg, var(--v21c-bg-2), #3a2222);
  border-bottom: 2px solid var(--v21c-primary);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
  max-width: 430px; margin: 0 auto;
}
.v21c-brand { display: flex; align-items: center; gap: .6rem; }
.v21c-brand img { width: 28px; height: 28px; border-radius: 6px; }
.v21c-brand .v21c-brand-name {
  font-size: 1.8rem; font-weight: 800; color: var(--v21c-text-2);
  letter-spacing: .5px;
}
.v21c-header-actions { display: flex; align-items: center; gap: .5rem; }
.v21c-menu-toggle {
  background: transparent; border: 0; color: var(--v21c-text);
  font-size: 2rem; cursor: pointer; padding: .2rem .4rem;
  display: flex; align-items: center;
}

/* ---------- Buttons ---------- */
.v21c-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; border: 0; border-radius: 999px;
  font-size: 1.3rem; font-weight: 700; padding: .55rem 1.1rem;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
  min-height: 36px; text-decoration: none;
}
.v21c-btn:hover { transform: translateY(-1px); }
.v21c-btn-register {
  background: linear-gradient(90deg, var(--v21c-primary), #e57373);
  color: var(--v21c-white); box-shadow: var(--v21c-shadow);
}
.v21c-btn-login {
  background: transparent; color: var(--v21c-text-2);
  border: 1.5px solid var(--v21c-text-2);
}
.v21c-btn-promo {
  background: linear-gradient(90deg, var(--v21c-gold), #f6d873);
  color: #5a3a00; font-weight: 800; padding: .7rem 1.4rem;
  box-shadow: var(--v21c-shadow);
}

/* ---------- Expandable mobile menu ---------- */
.v21c-mobile-menu {
  position: fixed; top: var(--v21c-header-h); left: 0; right: 0;
  background: var(--v21c-bg-2); border-bottom: 2px solid var(--v21c-primary);
  max-height: 0; overflow: hidden; transition: max-height .28s ease;
  z-index: 999; max-width: 430px; margin: 0 auto;
}
.v21c-mobile-menu.v21c-menu-open { max-height: 480px; }
.v21c-mobile-menu ul { list-style: none; padding: .4rem 1rem; }
.v21c-mobile-menu li { border-bottom: 1px solid #3a3a3a; }
.v21c-mobile-menu li:last-child { border-bottom: 0; }
.v21c-mobile-menu a {
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem .4rem; color: var(--v21c-text); font-weight: 600;
}
.v21c-mobile-menu a i { color: var(--v21c-primary); width: 22px; text-align: center; }

/* ---------- Hero carousel ---------- */
.v21c-hero {
  position: relative; margin-top: var(--v21c-header-h);
  width: 100%; overflow: hidden; border-radius: 0 0 16px 16px;
}
.v21c-hero-track { position: relative; height: 200px; }
.v21c-hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  cursor: pointer;
}
.v21c-hero-slide.v21c-active { opacity: 1; }
.v21c-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.v21c-hero-caption {
  position: absolute; left: 1rem; bottom: 1.2rem; right: 1rem;
  background: rgba(38,38,38,.55); padding: .6rem .9rem; border-radius: 8px;
  font-size: 1.3rem; color: var(--v21c-white); font-weight: 600;
}
.v21c-hero-dots {
  position: absolute; bottom: .6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: .5rem;
}
.v21c-hero-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4);
  border: 0; cursor: pointer;
}
.v21c-hero-dot.v21c-dot-active { background: var(--v21c-primary); }

/* ---------- Main content ---------- */
main { padding: 1.2rem; padding-bottom: 90px; }
.v21c-section { margin: 1.6rem 0; }
.v21c-section h2 {
  font-size: 1.8rem; color: var(--v21c-text-2); margin-bottom: .8rem;
  border-left: 4px solid var(--v21c-primary); padding-left: .7rem;
}
.v21c-section h3 { font-size: 1.5rem; color: var(--v21c-secondary); margin: .8rem 0 .4rem; }
.v21c-section p { margin: .5rem 0; color: #e8d8d8; }

/* ---------- Filter tabs ---------- */
.v21c-filters { display: flex; gap: .5rem; overflow-x: auto; padding: .4rem 0 1rem; }
.v21c-filter-tab {
  background: var(--v21c-bg-3); color: var(--v21c-text);
  border: 1px solid #444; border-radius: 999px; padding: .5rem 1rem;
  font-size: 1.2rem; cursor: pointer; white-space: nowrap;
}
.v21c-filter-tab.v21c-tab-active {
  background: var(--v21c-primary); color: #fff; border-color: var(--v21c-primary);
}

/* ---------- Game grid ---------- */
.v21c-game-section h3 {
  font-size: 1.5rem; color: var(--v21c-text-2); margin: 1rem 0 .5rem;
  text-transform: capitalize;
}
.v21c-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem;
}
.v21c-game-card {
  background: var(--v21c-bg-3); border-radius: 10px; overflow: hidden;
  text-align: center; cursor: pointer; transition: transform .15s ease;
  border: 1px solid #3a3a3a;
}
.v21c-game-card:active { transform: scale(.96); }
.v21c-game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.v21c-game-card .v21c-game-name {
  font-size: 1rem; color: var(--v21c-text); padding: .3rem .2rem .5rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Cards / features ---------- */
.v21c-card {
  background: var(--v21c-bg-3); border-radius: var(--v21c-radius);
  padding: 1rem; box-shadow: var(--v21c-shadow); margin: .8rem 0;
  border: 1px solid #3a3a3a;
}
.v21c-card h3 { color: var(--v21c-secondary); margin-bottom: .4rem; }
.v21c-feature-row {
  display: flex; gap: .8rem; align-items: flex-start; margin: .6rem 0;
}
.v21c-feature-row .v21c-ico {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 8px;
  background: linear-gradient(135deg, var(--v21c-primary), #7a2e2e);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.v21c-feature-row .v21c-ico i { font-size: 20px; }

/* ---------- RTP table ---------- */
.v21c-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.v21c-rtp-table th, .v21c-rtp-table td {
  border: 1px solid #444; padding: .5rem .6rem; text-align: left;
}
.v21c-rtp-table th { background: var(--v21c-primary); color: #fff; }
.v21c-rtp-table tr:nth-child(even) td { background: var(--v21c-bg-2); }

/* ---------- Testimonials ---------- */
.v21c-testimonial {
  background: var(--v21c-bg-2); border-left: 3px solid var(--v21c-gold);
  padding: .8rem 1rem; border-radius: 8px; margin: .6rem 0; font-style: italic;
}
.v21c-testimonial .v21c-author {
  display: block; margin-top: .4rem; font-style: normal;
  color: var(--v21c-secondary); font-weight: 700; font-size: 1.2rem;
}

/* ---------- Payment / winners ---------- */
.v21c-chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.v21c-chip {
  background: var(--v21c-bg-3); border: 1px solid #444; border-radius: 8px;
  padding: .4rem .8rem; font-size: 1.1rem; color: var(--v21c-text-2);
}
.v21c-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem .8rem; background: var(--v21c-bg-2); border-radius: 8px;
  margin: .4rem 0; font-size: 1.2rem;
}
.v21c-winner .v21c-amount { color: var(--v21c-gold); font-weight: 800; }

/* ---------- FAQ ---------- */
.v21c-faq-item {
  background: var(--v21c-bg-3); border-radius: 8px; margin: .5rem 0;
  border: 1px solid #3a3a3a; overflow: hidden;
}
.v21c-faq-header {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: .9rem 1rem; color: var(--v21c-text-2); font-weight: 700;
  font-size: 1.3rem; cursor: pointer; display: flex; justify-content: space-between;
}
.v21c-faq-body { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 1rem; }
.v21c-faq-item.v21c-faq-open .v21c-faq-body { max-height: 240px; padding: 0 1rem 1rem; }

/* ---------- Footer ---------- */
.v21c-footer {
  background: var(--v21c-bg-2); border-top: 2px solid var(--v21c-primary);
  padding: 1.4rem 1.2rem 2rem; margin-top: 1.5rem;
}
.v21c-footer p { color: #d8c8c8; font-size: 1.2rem; }
.v21c-footer-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.v21c-footer-links a {
  background: var(--v21c-bg-3); border: 1px solid #444; border-radius: 6px;
  padding: .35rem .7rem; font-size: 1.1rem; color: var(--v21c-text-2);
}
.v21c-footer-copy { margin-top: 1rem; font-size: 1.1rem; color: var(--v21c-muted); }

/* ---------- Mobile bottom navigation ---------- */
.v21c-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--v21c-nav-h);
  background: linear-gradient(180deg, #3a2222, var(--v21c-bg-2));
  border-top: 2px solid var(--v21c-primary);
  display: flex; justify-content: space-around; align-items: center;
  max-width: 430px; margin: 0 auto;
  box-shadow: 0 -4px 14px rgba(0,0,0,.35);
}
.v21c-navbtn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: 0; color: var(--v21c-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; transition: transform .15s ease, color .15s ease;
}
.v21c-navbtn i { font-size: 22px; }
.v21c-navbtn .v21c-nav-label { font-size: 1.05rem; color: var(--v21c-muted); }
.v21c-navbtn:active { transform: scale(.9); }
.v21c-navbtn.v21c-navbtn-active { color: var(--v21c-primary); }
.v21c-navbtn.v21c-navbtn-active .v21c-nav-label { color: var(--v21c-text-2); }
.v21c-navbtn-promo { color: var(--v21c-gold); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .v21c-bottom-nav { display: none; }
  main { padding-bottom: 1.5rem; }
}

/* ---------- Mobile clearance ---------- */
@media (max-width: 768px) {
  main { padding-bottom: 90px; }
}
