/* Mama567 — layout & theme (Bootstrap 5 + overrides) */
:root {
  --orange: #e8910d;
  --navy: #1a1f36;
  --navy-hover: #252b4a;
  --hero-btn-base: #191d31;
  --hero-btn-bg: linear-gradient(
    90deg,
    #191d31 0%,
    #191d31 32%,
    #2d3555 58%,
    #48538c 82%,
    #5866ac 100%
  );
  --mama-download-from: #fc6f30;
  --mama-download-to: #ec8c13;
  --mama-download-shine: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 28%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 72%,
    transparent 100%
  );
  --whatsapp: #25d366;
  --text: #333;
  --text-muted: #5c5c5c;
  --border: #e8e8e8;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(26, 31, 54, 0.12);
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

.primary-color {
  color: #e8910d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --- Header (Bootstrap navbar) --- */
.site-header {
  z-index: 1030;
}

.mama-navbar-logo {
  display: block;
  width: auto;
  max-height: 34px;
  max-width: min(154px, 42vw);
  height: auto;
}

.mama-navbar .nav-link {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mama-navbar .nav-link:hover,
.mama-navbar .nav-link:focus {
  color: var(--orange);
}

.mama-navbar .dropdown-item {
  font-size: 0.875rem;
}

.btn.btn-mama-download {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--mama-download-from) !important;
  background-image: linear-gradient(
    90deg,
    var(--mama-download-from) 0%,
    var(--mama-download-to) 100%
  ) !important;
  box-shadow: 0 4px 14px rgba(252, 111, 48, 0.38);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.btn.btn-mama-download::before,
.btn.btn-mama-download::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 55%;
  height: 180%;
  background: var(--mama-download-shine);
  opacity: 0;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  backface-visibility: hidden;
  transform: skewX(16deg) translate3d(-130%, 0, 0);
  animation: none;
  transition: opacity 0.2s ease;
}

.btn.btn-mama-download:hover::before,
.btn.btn-mama-download:hover::after {
  opacity: 0.85;
  animation: mama-download-shine 2s linear infinite;
}

.btn.btn-mama-download:hover::before {
  animation-delay: -1s;
}

.btn.btn-mama-download > * {
  position: relative;
  z-index: 1;
}

.btn.btn-mama-download:hover {
  color: #fff !important;
  background-image: linear-gradient(
    90deg,
    #ff7a3d 0%,
    #f59a1f 100%
  ) !important;
  box-shadow: 0 6px 20px rgba(236, 140, 19, 0.5);
  transform: translateY(-1px);
}

@keyframes mama-download-shine {
  0% {
    transform: skewX(16deg) translate3d(-130%, 0, 0);
  }
  100% {
    transform: skewX(16deg) translate3d(300%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn.btn-mama-download:hover::before,
  .btn.btn-mama-download:hover::after {
    animation: none !important;
    opacity: 0;
  }

  .btn.btn-mama-download:hover {
    transform: none;
  }
}

.icon-download {
  flex-shrink: 0;
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 2.5rem 0 1.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(232, 145, 13, 0.2), transparent 55%),
    linear-gradient(180deg, #fffaf5 0%, #fff 45%);
  pointer-events: none;
}

.banner_title {
  margin-bottom: 1.25rem;
}

.banner_title > span:first-child {
  display: block;
  font-size: clamp(1.9rem, 4.5vw, 2.85rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.banner_title > span:nth-child(2),
.banner_title > span:nth-child(3) {
  font-size: clamp(2.65rem, 7vw, 4.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.banner_title > span:nth-child(2) {
  color: #111;
}

.hero-sub-image-img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .hero-art {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-illustration {
  display: block;
  width: auto;
  max-width: min(100%, 280px);
  max-height: min(52vh, 400px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.hero-cta-wrap {
  position: relative;
  padding-top: 0.5rem;
}

.btn-mama-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 4.45rem;
  padding: 1.35rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--hero-btn-base);
  color: #fff !important;
  border: none;
  box-shadow: 0 8px 26px rgba(25, 29, 49, 0.4) !important;
}

.btn-mama-hero::before,
.btn-mama-hero::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 65%;
  height: 200%;
  background: var(--hero-btn-bg);
  background-size: 100% 100%;
  opacity: 0.72;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 8%,
    #000 22%,
    #000 78%,
    rgba(0, 0, 0, 0.35) 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 8%,
    #000 22%,
    #000 78%,
    rgba(0, 0, 0, 0.35) 92%,
    transparent 100%
  );
  will-change: transform;
  backface-visibility: hidden;
  transform: skewX(18deg) translate3d(-130%, 0, 0);
  animation: btn-mama-hero-shine 8.5s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Second wave: jab pehla right par khatam ho, doosra left se shuru — gap nahi */
.btn-mama-hero::before {
  animation-delay: -4.25s;
}

.btn-mama-hero > * {
  position: relative;
  z-index: 1;
}

.btn-mama-hero:hover {
  background-color: #252a45;
  color: #fff !important;
}

.btn-mama-hero:hover::before,
.btn-mama-hero:hover::after {
  opacity: 0.82;
}


@keyframes btn-mama-hero-shine {
  0% {
    transform: skewX(18deg) translate3d(-130%, 0, 0);
  }
  100% {
    transform: skewX(18deg) translate3d(330%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-mama-hero::before,
  .btn-mama-hero::after {
    animation: none;
  }
}

.btn-mama-hero-label {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-mama-hero .icon-download {
  width: 1.625rem;
  height: 1.625rem;
  flex-shrink: 0;
}

/* --- Contact strip --- */
.contact-strip {
  padding: 2rem 0;
  background: #fff;
}

.contact-inner {
  text-align: center;
}

.contact-label {
  margin: 0 0 0.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-phone {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
}

.contact-phone a {
  color: var(--navy);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 140px;
  font-weight: 600;
  background: var(--navy);
  color: #fff !important;
  border: none;
}

.btn-call:hover {
  background: var(--navy-hover);
  color: #fff !important;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 140px;
  font-weight: 600;
  background: var(--whatsapp);
  color: #fff !important;
  border: none;
}

.btn-whatsapp:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

/* --- Sections --- */
.section {
  padding: 2.25rem 0;
}

.section-title {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #000000;
}

.section-title .star {
  display: inline-block;
  width: 1.8rem;
  height: 1.8rem;
  margin: 0 0.2rem;
  vertical-align: middle;
  object-fit: contain;
}

/* --- Winners --- */
.winners-section {
  background: #fafafa;
}

.winners-track-wrap {
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.winners-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: winners-scroll 28s linear infinite;
}

.winners-track:hover {
  animation-play-state: paused;
}

@keyframes winners-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.winner-card {
  flex: 0 0 auto;
  min-width: 9.5rem;
  padding: 1.3rem 3.5rem;
  border: 1px solid #e8910d;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.winner-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.winner-amount {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

/* --- Game rates (Bootstrap row) --- */
.rate-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.rate-name {
  font-weight: 600;
  color: var(--orange);
  font-size: 0.9rem;
}

.rate-val {
  margin-top: 0.25rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

/* --- Market cards (Bootstrap row) --- */
.market-card {
  padding: 1rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.market-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.market-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.btn-play {
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  background: var(--orange);
  color: #fff;
  border-radius: 8px;
}

.btn-play:hover {
  filter: brightness(1.06);
}

.market-result {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.market-times {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Blog teaser --- */
.blog-teaser {
  text-align: center;
}

.blog-text {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.link-more {
  color: var(--orange);
  font-weight: 600;
}

.link-more:hover {
  text-decoration: underline;
}

/* --- FAQ --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--orange);
  transition: transform 0.25s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-answer p {
  margin: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 0;
  margin-top: 1rem;
}

.footer-inner {
  padding-bottom: 1.5rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.75rem;
  line-height: 0;
}

.footer-logo-img {
  display: block;
  width: auto;
  max-width: min(154px, 70vw);
  max-height: 34px;
  height: auto;
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
