/* Reset and layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px;
}

/*font*/
@font-face {
  font-family: 'MyanmarHeadOne';
  src: url('fonts/MyanmarHeadOne.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

h2, h3, h4, p, li {
  font-family: 'MyanmarHeadOne', sans-serif;
}
.logo strong {
  font-family: 'MyanmarHeadOne', sans-serif;
}

.menu a {
  font-family: 'MyanmarHeadOne', sans-serif;
}

/* Optional: apply to buttons and headings too */
 h2, h3, h4, p, li {
  font-family: 'MyanmarHeadOne', sans-serif;
}

/* Animation */
/* Initial body state */
body {
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Class for fade-out effect */
body.fade-out {
  opacity: 0;
}


/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 40px;

}

.logo img {
  width: 35px;
  border-radius: 10px;
  width: 50px;
}

.menu a {
  color: white; /* or your default text color */
  text-decoration: none;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.menu a:hover {
  color: skyblue;
  text-shadow: 0 0 8px skyblue, 0 0 12px skyblue;
}
.menu a.active {
  color: skyblue;
  font-weight: bold;
  text-shadow: 0 0 8px skyblue, 0 0 12px skyblue;
  cursor: default; /* optional, show it's selected */
}

.menu a:hover:not(.active) {
  color: #00bfff; /* hover color for non-active links */
  text-shadow: 0 0 6px #00bfff, 0 0 10px #00bfff;
}


.sidebar a:hover {
  color: skyblue;
  text-shadow: 0 0 8px skyblue, 0 0 12px skyblue;
}
.sidebar a.active {
  color: skyblue;
  font-weight: bold;
  text-shadow: 0 0 8px skyblue, 0 0 12px skyblue;
  cursor: default; /* optional, show it's selected */
}

.sidebar a:hover:not(.active) {
  color: #00bfff; /* hover color for non-active links */
  text-shadow: 0 0 6px #00bfff, 0 0 10px #00bfff;
}

.sidebar a {
  color: white; /* or your default text color */
  text-decoration: none;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.sidebar a:hover {
  color: skyblue;
  text-shadow: 0 0 8px skyblue, 0 0 12px skyblue;
}

.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #333;
}



/* Sidebar */
.sidebar {
  position: fixed;
  top: 60px; /* height of your header */
  left: -250px;
  width: 250px;
  height: calc(100% - 60px); /* fill remaining space */
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  transition: 0.3s;
  padding: 20px;
  z-index: 999; /* still below header */
}


.sidebar.active {
  left: 0;
}

.sidebar a {
  display: block;
  margin-bottom: 20px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.overlay {
  position: fixed;
  top: 60px; /* start below header */
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.3);
  display: none;
  z-index: 998;
}


.overlay.active {
  display: block;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  margin-right: 10px;
  text-decoration: none;
  color: #555;
  font-size: 18px;
}

/* Banner */
.banner {
  text-align: center;
  margin-top: 10vh;
}

.banner img {
  width: 100%;
  max-width: 1000px;
  height: auto;
}



.btn {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  color: white;
  margin: 5px 5px 10px 0;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.green {
  padding: 14px 30px;  /* bigger size */
  font-size: 16px;
  min-width: 160px;
  /* keep your other styles or override */
  background-color: #28a745; /* example green color */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}


/* Gradient buttons */
.green {
  background: linear-gradient(45deg, #43a047, #66bb6a);
}

.purple {
  background: linear-gradient(45deg, #8e44ad, #af7ac5);
}

.blue {
  background: linear-gradient(45deg, #2980b9, #5dade2);
}

.darkblue {
  background: linear-gradient(45deg, #1e3c72, #2a5298);
}

/* Optional: Hover effects */
.btn:hover {
  opacity: 0.9;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

.image-slider {
   width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.image-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.hot-game {
  padding: 40px 20px;
  text-align: center;
}

.hot-game h2 {
  font-size: 28px;
  color: #e74c3c;
  margin-bottom: 20px;
}

.hot-game-image {
   width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.hot-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}
.about-m9asia {
  padding: 30px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.8;
}

.about-m9asia h3 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 15px;
}

.about-m9asia p {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
}
footer {
  background-color: #222;       /* Dark background */
  color: #eee;                  /* Light text color */
  padding: 20px 10px;           /* Top-bottom and left-right padding */
  text-align: center;           /* Center align text */
  font-family: Arial, sans-serif;
  font-size: 16px;
  border-top: 2px solid #555;   /* subtle top border */
}

footer h4 {
  margin: 0 0 10px 0;
  font-weight: bold;
  font-size: 18px;
}

footer .footer-nav a {
  color: #a8d0e6;               /* Light blue link color */
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

footer .footer-nav a:hover {
  color: #f76c6c;               /* Hover effect: soft red */
  text-decoration: underline;
}

/* About CSS */
.logo-about {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
}

.logo-about img {
  width: 20vw; /* 20% of the viewport width */
  max-width: 150px; /* prevent it from getting too big */
  height: auto;
  margin-top: 10vh;
  border-radius: 10px;
}



.about-2 {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.8;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #fff;
}

.about-2 h1 {
  font-size: 28px;
  color: #222;
  margin-bottom: 20px;
  text-align: center;
}

.about-2 h2 {
  font-size: 22px;
  color: #444;
  margin-top: 30px;
  margin-bottom: 10px;
}

.about-2 p {
  font-size: 16px;
  margin-bottom: 15px;
}

.about-2 ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.about-2 ul li {
  margin-bottom: 10px;
  list-style-type: disc;
}

/* promotion*/
.promotion-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  background-color: #fff;
  color: #333;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.8;
}

.promotion-section h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #222;
  text-align: center;
}

.promotion-section h2 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #444;
}

.promotion-section h3 {
  font-size: 18px;
  margin-top: 20px;
  color: #555;
}

.promotion-section ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.promotion-section ul li {
  list-style-type: disc;
  margin-bottom: 8px;
}

.promo-block {
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}

/*download*/
.why-m9-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  background-color: #fff;
  color: #333;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.8;
}

.why-m9-section h1 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
  color: #222;
}

.why-m9-section h2 {
  font-size: 22px;
  margin-top: 30px;
  color: #444;
}

.why-m9-section h3 {
  font-size: 18px;
  margin-top: 20px;
  color: #555;
}

.why-m9-section ul,
.why-m9-section ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.why-m9-section ul li,
.why-m9-section ol li {
  margin-bottom: 10px;
  list-style-type: disc;
}

.why-m9-section ol li {
  list-style-type: decimal;
}

.why-m9-section strong {
  color: #000;
}


.logo-about {
  display: flex;
  flex-direction: column; /* Stack vertically */
  align-items: center;    /* Center horizontally */
  justify-content: center;
  padding: 20px;
}

.logo-about img {
  width: 150px; /* Adjust size as needed */
  margin-bottom: 15px; /* Space between image and button */
}

.logo-about .btn {
  padding: 10px 10px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

p {
    font-weight: bold;
  }

.game-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 40px 20px;
  background: #1b4935;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.game-section h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #fff;
  line-height: 1.5;
}

.game-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.game-box {
  background: #0a1f17;
  padding: 20px;
  border-radius: 15px;
  width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.game-box img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 15px;
}

.game-btn {
  background: linear-gradient(to right, #f39c12, #d35400);
  border: none;
  color: #fff;
  padding: 12px 16px;
  width: 100%;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.game-btn:hover {
  background: linear-gradient(to right, #d35400, #f39c12);
}
.promo-section {
  background-color: #003f27;
  padding: 30px 20px;
  color: white;
  font-family: 'Myanmar Text', sans-serif;
}

.promo-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.promo-image img {
  max-width: 100%;
  width: 350px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.promo-text {
  max-width: 600px;
  text-align: center;
}

.promo-text h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffffff;
}

.promo-text p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #d0d0d0;
}

.golden-btn {
  background: linear-gradient(to right, #d19c00, #e0aa00);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.golden-btn:hover {
  opacity: 0.9;
}
 .container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding: 40px;
      gap: 20px;
    }

    .card {
      background-color: #102915;
      border: 1px solid #2c4f38;
      border-radius: 16px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.5);
      width: 300px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

   .card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-bottom: 2px solid #1a3e25;
    }

    .card h3 {
      margin: 16px;
      font-size: 1.2em;
      color: #ffffff;
    }

    .card h5 {
      margin: 0 16px 16px;
      font-size: 0.95em;
      line-height: 1.6;
      color: #d3e4d0;
    }

    @media screen and (max-width: 768px) {
      .card {
        width: 90%;
      }
    }

     .slot-section {
      display: flex;
      align-items: center;
      gap: 40px;
      padding: 40px;
      border-bottom: 1px solid #2e593e;
      background: linear-gradient(to right, #0f3e1d, #315d30);
      margin-top: 20px;
      color: #fff;

    }

    .slot-section img {
      width: 500px;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    .slot-content {
      flex: 1;
    }

    .slot-content h2 {
      font-size: 2em;
      margin-bottom: 10px;
      color: #ffffff;
    }

    .slot-content p {
      font-size: 1.1em;
      line-height: 1.6;
      margin-bottom: 15px;
    }

    .slot-content ul {
      padding-left: 20px;
    }

    .slot-content li {
      margin-bottom: 8px;
      font-size: 1em;
    }

    .slot-content b {
      color: #d4ffcc;
    }

    @media screen and (max-width: 960px) {
      .slot-section {
        flex-direction: column;
        text-align: center;
      }

      .slot-section img {
        width: 90%;
      }
    }