/*--------------Style.css --------------*/
/*----------  Start of
  Unified UI CSS for Snakes & Ladders Instant - Mobile First Design
 ------------------------------------------------------------------------------ */
/* =====================
   GLOBAL
===================== */


:root {
  --white-color: #ffffff;/* Custom color define by Omega*/
  --primary-color: #467214;      /* Indigo - Trust & Intelligence */
  --secondary-color: #f1ade8;
  --dark-color: #3c3c3b;/* secondary color from brand book*/
  --p-color: #525151;/* Custom color define by Omega*/
  --border-color: #b8babb; /* Custom color define by Omega*/
  --page-background-color: #f7f7f7; /* Custom color define by Omega*/
  
  
  --copyright-font-size: 10px;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --box-radius: 8px;
  --soft-shadow: 0 8px 30px rgba(0,0,0,0.35);
  --accent: linear-gradient(135deg,#ff9a9e,#fad0c4);
  
  --soft-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

body {
  margin: 0;
  font-family:
    "Noto Sans Bengali",
    "Hind Siliguri",
    "SolaimanLipi",
    "Solaiman Lipi",
    "Kalpurush",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  background: #f9f9f9;
  color: #333;
}

h1, h2 {
  color: #818181;
  margin-bottom: 10px;
}

p, ul, ol {
  margin-bottom: 15px;
  line-height: 1.75;
  font-size: 14px;
}



a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

/* =====================
   HEADER
===================== */

.site-header {
  background: var(--primary-color);
  color: #fff;
  padding: 5px 10px;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.img-header {
  height: 110px;
  width: auto;
  margin: 0 1em;
}


.header-center {
  text-align: center;
}

.site-title {
  margin-left: 0.5em;
  font-size: 2rem;
  font-weight: 600;
  color:#503504;
}


.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative; /* 🔑 VERY IMPORTANT */
}

/* Base menu state (closed by default) */
.menu-wrapper {
  display: none;
}


.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Navigation */
.top-nav a {
  color: #ccc;
  text-decoration: none;
  margin-right: 12px;
  font-size: 1.0em;
}

.top-nav a:last-child {
  margin-right: 1em;
}

.top-nav a.active,
.top-nav a:hover {
  color: #fff;
  font-weight: bold
}

/* =====================
   LANGUAGE TOGGLE
===================== */

.lang-switch {
  margin: .5em 1em;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #ccc;
}

.switch {
  position: relative;
  width: 36px;
  height: 18px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  background: #777;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider {
  background: #4caf50;
}

input:checked + .slider:before {
  transform: translateX(18px);
}

/* =====================
   MAIN CONTENT
===================== */

main {
  max-width: 100%;
  margin: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow:var(--soft-shadow);
  border:1px solid var(--border-color);

}

/* Bangla readability */
[data-lang="bn"] {
  font-size: 1.05em;
  line-height: 1.75;
}

.terms_lst li{
  margin-left:20px;
}


/* =====================
   FOOTER
===================== */

.site-footer {
  background:var(--secondary-color);
  color: #503504;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.img-footer {
  height: 80px;
  width: auto;
}

/* Right container */
.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Footer navigation */
.footer-nav a {
  color: #503504;
  text-decoration: none;
  margin-right: 12px;
  font-size: 14px;

  
}

.footer-nav a:last-child {
  margin-right: 0;
}

.footer-nav a:hover {
  color: #fff;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* IMPORTANT */
  transition: background 0.3s, transform 0.2s;
}

.social-icon:hover {
  background: #4caf50;
  transform: translateY(-2px);
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fills circle properly */
}

/* Bottom line */
.footer-bottom {
  text-align: center;
  font-size: 13px;
  padding: 10px;
  border-top: 1px solid #333;
}
.footer-bottom a {
  color: #503504;
  text-decoration: none;
}
.copyright_fnt{
  font-size: 10px;
  color:var(--white-color)
}

/* Inline images inside text */
.inline-image {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin: 0 4px;
}


/* Image + text side-by-side */
.media-text {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
}

/* Image column */
.media-image {
  flex: 0 0 40%;
  text-align: center;
}

.media-image img {
  max-width: 50%;
  height: auto;
  border: 1px solid var(--border-color);
}

/* Text column */
.media-content {
  flex: 1;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .media-text {
    flex-direction: column;
    text-align: center;
  }

  .media-content {
    text-align: left;
  }
}

/* =====================
   MEDIA QUERIES
===================== */

@media (min-width: 769px) {
  .menu-wrapper {
    display: flex;
    align-items: center;
    position: static;
    background: none;
    padding: 0;
    gap: 12px;
  }

  .menu-toggle {
    display: none;
  }
}


/* ======================================================
   ----------RESPONSIVE MENU-------------
========================================================= */

/* Mobile styles */
@media (max-width: 768px) {
 

  .header-right {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  p, ul, ol {
    margin-bottom: 10px;
    line-height: 1.5;  
    font-size: 12px;
  }

  main {
  margin: 20px 10px;
  padding: 10px 15px;
  
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .img-header {
    height: 60px;
    margin: 0;
  }

  .site-title {
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: block;
  }

  .menu-wrapper {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1f1f1f;
    border-radius: 6px;
    padding: 12px;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
    z-index: 1000;
    display: none !important; /* Add this line */
  }

  .menu-wrapper.active {
    display: flex !important; /* This shows when active */
  }

  .top-nav {
    display: flex;
    flex-direction: column;
  }

  .footer-nav a {
    margin: 3px;
    padding: 6px;
    font-size: 12px;
  }

  .lang-switch {
    margin: 0;
    justify-content: space-between;
  }

  /* Footer stacking */
  .footer-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-right {
    flex-direction: column;
    gap: 10px;
  }

   .content-image {
    margin: 18px auto;
  }
}

/*----------  End of
  Unified UI CSS for Snakes & Ladders Instant - Mobile First Design
 ---------------------------------------------------------*/ 