/*!
 * mm886.cfd - Core theme stylesheet
 * All custom class names use the prefix `w76c7-`.
 * Mobile-first layout with a 430px content cap; root font-size 62.5% (1rem = 10px).
 */

:root {
  --w76c7-primary: #FF7F50;
  --w76c7-bg: #273746;
  --w76c7-bg-deep: #1c2935;
  --w76c7-bg-card: #2e4150;
  --w76c7-text: #FFFFBA;
  --w76c7-gold: #FFD700;
  --w76c7-orange: #FF8C00;
  --w76c7-white: #ffffff;
  --w76c7-gray: #b8c2cc;
  --w76c7-border: rgba(255, 215, 0, 0.25);
  --w76c7-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

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

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

body {
  font-family: 'Be Vietnam Pro', 'Roboto', system-ui, -apple-system, sans-serif;
  background: var(--w76c7-bg);
  color: var(--w76c7-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--w76c7-gold); text-decoration: none; }
ul { padding-left: 1.6rem; }

/* Layout helpers */
.w76c7-container,
.w76c7-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.w76c7-main {
  padding-top: 5.6rem;
  padding-bottom: 1rem;
}

/* Header */
.w76c7-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1c2935 0%, #273746 100%);
  border-bottom: 1px solid var(--w76c7-border);
  box-shadow: var(--w76c7-shadow);
}

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

.w76c7-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--w76c7-gold);
  font-weight: 700;
  font-size: 1.6rem;
}
.w76c7-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.4rem; }

.w76c7-header-actions { display: flex; align-items: center; gap: 0.4rem; }

.w76c7-btn {
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 1.8rem;
  padding: 0.6rem 1.1rem;
  font-size: 1.2rem;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 3.2rem;
  font-family: inherit;
}
.w76c7-btn:active { transform: scale(0.96); }

.w76c7-btn-register {
  background: linear-gradient(135deg, #FFD700, #FF8C00);
  color: #273746;
  box-shadow: 0 2px 8px rgba(255, 140, 0, .35);
}
.w76c7-btn-login {
  background: transparent;
  color: var(--w76c7-text);
  border: 1px solid var(--w76c7-gold);
}

.w76c7-menu-toggle {
  background: transparent;
  border: none;
  color: var(--w76c7-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  min-width: 4rem;
}

.w76c7-desktop-nav { display: none; }

/* Mobile dropdown menu */
.w76c7-mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: #1c2935;
  transition: max-height .3s ease;
  border-top: 1px solid var(--w76c7-border);
}
.w76c7-mobile-menu-open { max-height: 600px; }
.w76c7-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.6rem 1rem 1rem;
  display: flex;
  flex-direction: column;
}
.w76c7-mobile-menu a {
  color: var(--w76c7-text);
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid rgba(255, 215, 0, .08);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.w76c7-mobile-menu a:hover { color: var(--w76c7-gold); }

/* Carousel */
.w76c7-carousel {
  position: relative;
  margin: 1rem 0;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: var(--w76c7-shadow);
  cursor: pointer;
}
.w76c7-carousel-track { position: relative; width: 100%; aspect-ratio: 16 / 7; }
.w76c7-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.w76c7-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.w76c7-carousel-active { opacity: 1; }
.w76c7-carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
}
.w76c7-carousel-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all .25s ease;
}
.w76c7-carousel-dot-active {
  background: var(--w76c7-gold);
  width: 1.6rem;
  border-radius: 0.4rem;
}

/* Section headings */
.w76c7-section { margin: 1.6rem 0; }

.w76c7-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--w76c7-gold);
}
.w76c7-section-title h2 {
  font-size: 1.5rem;
  color: var(--w76c7-gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.w76c7-section-title .w76c7-more { font-size: 1.1rem; color: var(--w76c7-text); }

.w76c7-h1 {
  font-size: 1.8rem;
  color: var(--w76c7-text);
  margin: 1rem 0;
  padding: 0.6rem 0;
  text-align: center;
  line-height: 1.7;
}
.w76c7-h1 span { color: var(--w76c7-gold); }

/* Compact game grid */
.w76c7-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.w76c7-game-card {
  display: block;
  background: linear-gradient(160deg, #2e4150, #1c2935);
  border: 1px solid var(--w76c7-border);
  border-radius: 0.6rem;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.w76c7-game-card:active {
  transform: scale(0.95);
  box-shadow: 0 0 0 2px var(--w76c7-gold);
}
.w76c7-game-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #0f1820;
}
.w76c7-game-card-name {
  font-size: 1.05rem;
  color: var(--w76c7-text);
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* CTA banner */
.w76c7-cta {
  background: linear-gradient(135deg, #FF8C00, #FF7F50);
  color: #273746;
  padding: 1rem;
  border-radius: 0.8rem;
  text-align: center;
  margin: 1rem 0;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 140, 0, .35);
}
.w76c7-cta:active { transform: scale(0.98); }
.w76c7-cta-title { font-size: 1.5rem; }
.w76c7-cta-sub { font-size: 1.1rem; margin-top: 0.3rem; font-weight: 500; }

/* Generic content module */
.w76c7-module {
  background: linear-gradient(160deg, #2e4150, #1c2935);
  border: 1px solid var(--w76c7-border);
  border-radius: 0.8rem;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: var(--w76c7-shadow);
}
.w76c7-module h3 {
  color: var(--w76c7-gold);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.w76c7-module p,
.w76c7-module li {
  color: var(--w76c7-text);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 0.4rem;
}
.w76c7-module a { color: var(--w76c7-gold); font-weight: 600; }
.w76c7-promo-link { color: var(--w76c7-gold); font-weight: 700; cursor: pointer; }

/* Stats grid (RTP analysis) */
.w76c7-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.w76c7-stat-card {
  background: rgba(255, 215, 0, .05);
  border: 1px solid var(--w76c7-border);
  border-radius: 0.6rem;
  padding: 0.7rem;
  text-align: center;
}
.w76c7-stat-value { font-size: 1.6rem; color: var(--w76c7-gold); font-weight: 700; }
.w76c7-stat-label { font-size: 1rem; color: var(--w76c7-text); margin-top: 0.2rem; }

/* Testimonials */
.w76c7-testimonial {
  background: rgba(255, 215, 0, .05);
  border-left: 3px solid var(--w76c7-gold);
  padding: 0.6rem 0.8rem;
  border-radius: 0.4rem;
  margin-bottom: 0.6rem;
}
.w76c7-testimonial-author {
  font-size: 1.1rem;
  color: var(--w76c7-gold);
  font-weight: 600;
  margin-top: 0.3rem;
}

/* Payment grid */
.w76c7-payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.w76c7-payment-item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.4rem;
  padding: 0.6rem 0.2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--w76c7-text);
}
.w76c7-payment-item i { font-size: 1.5rem; color: var(--w76c7-gold); display: block; margin-bottom: 0.2rem; }

/* Winners */
.w76c7-winner-list { display: flex; flex-direction: column; gap: 0.4rem; }
.w76c7-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 215, 0, .05);
  padding: 0.5rem 0.7rem;
  border-radius: 0.4rem;
  font-size: 1.1rem;
}
.w76c7-winner-amount { color: var(--w76c7-gold); font-weight: 700; }

/* FAQ */
.w76c7-faq-item {
  background: rgba(255, 215, 0, .05);
  border-radius: 0.6rem;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.5rem;
}
.w76c7-faq-q { color: var(--w76c7-gold); font-weight: 600; font-size: 1.15rem; margin-bottom: 0.3rem; }
.w76c7-faq-a { color: var(--w76c7-text); font-size: 1.1rem; line-height: 1.6; }

/* App download CTA */
.w76c7-app-cta {
  background: linear-gradient(135deg, #273746, #2e4150);
  border: 1px solid var(--w76c7-gold);
  border-radius: 0.8rem;
  padding: 1rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}
.w76c7-app-icon { font-size: 2.6rem; color: var(--w76c7-gold); }
.w76c7-app-text { flex: 1; }
.w76c7-app-text h3 { color: var(--w76c7-gold); font-size: 1.3rem; margin-bottom: 0.2rem; }
.w76c7-app-text p { color: var(--w76c7-text); font-size: 1.05rem; line-height: 1.4; }
.w76c7-app-arrow { color: var(--w76c7-gold); font-size: 1.4rem; }

/* Footer */
.w76c7-footer {
  background: #1c2935;
  border-top: 2px solid var(--w76c7-gold);
  margin-top: 1.5rem;
  padding: 1.5rem 0 9rem;
}
.w76c7-footer-inner { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.w76c7-footer-about {
  color: var(--w76c7-text);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.w76c7-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.w76c7-footer-promos button {
  background: linear-gradient(135deg, #FF8C00, #FF7F50);
  color: #273746;
  border: none;
  border-radius: 1.5rem;
  padding: 0.45rem 0.9rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.w76c7-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin-bottom: 0.8rem;
}
.w76c7-footer-links a { color: var(--w76c7-text); font-size: 1.05rem; }
.w76c7-footer-links a:hover { color: var(--w76c7-gold); }
.w76c7-footer-copy {
  color: var(--w76c7-gray);
  font-size: 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 215, 0, .1);
  padding-top: 0.8rem;
}

/* Mobile bottom navigation */
.w76c7-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 6rem;
  background: linear-gradient(180deg, #2e4150, #1c2935);
  border-top: 1px solid var(--w76c7-gold);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, .35);
}
.w76c7-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--w76c7-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 5.6rem;
  min-width: 5.6rem;
  cursor: pointer;
  font-size: 1rem;
  transition: color .15s ease, transform .15s ease;
  position: relative;
  font-family: inherit;
}
.w76c7-bottom-nav-btn i,
.w76c7-bottom-nav-btn .material-icons-outlined,
.w76c7-bottom-nav-btn .bi { font-size: 2.2rem; }
.w76c7-bottom-nav-btn:active { transform: scale(0.92); }
.w76c7-bottom-active { color: var(--w76c7-gold); }
.w76c7-bottom-active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 2.4rem;
  height: 3px;
  background: var(--w76c7-gold);
  border-radius: 0 0 3px 3px;
}
.w76c7-bottom-nav-btn.w76c7-bottom-promo { color: var(--w76c7-gold); }

/* Desktop overrides */
@media (min-width: 769px) {
  .w76c7-bottom-nav { display: none; }
  .w76c7-footer { padding-bottom: 2rem; }
  .w76c7-desktop-nav { display: flex; gap: 1rem; align-items: center; }
  .w76c7-desktop-nav a { color: var(--w76c7-text); font-size: 1.2rem; }
  .w76c7-desktop-nav a:hover { color: var(--w76c7-gold); }
  .w76c7-menu-toggle { display: none; }
  .w76c7-header-inner,
  .w76c7-mobile-menu-inner,
  .w76c7-footer-inner,
  .w76c7-container,
  .w76c7-wrapper { max-width: 960px; }
  .w76c7-game-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 768px) {
  .w76c7-main { padding-bottom: 7rem; }
}
