/* 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: #ffffff;
  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: rgb(5, 184, 255);
  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: rgb(2, 181, 252);
  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;
}

/* Download buttons section */
.download-section {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.download-section p {
  margin: 15px 0 10px;
}

.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;
}




.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;
  }


  /* Promotion */
  .promo-section {
  background-color: #003f27;
  padding: 30px 20px;
  color: white;
  font-family: Arial, sans-serif; /* or any system font you prefer */
}

.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-banner {
      display: flex;
      max-width: 1200px;
      margin: 30px auto;
      border: 3px solid #e4c93d;
      border-radius: 12px;
      overflow: hidden;
      background-color: #000000;
    }

    .promo-left {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #111;
    }

    .promo-left img {
      width: 100%;
      height: auto;
      display: block;
    }

    .promo-right {
      flex: 1;
      color: #fff;
      padding: 30px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;
    }

    .promo-right h2 {
      font-size: 22px;
      color: #ffc72c;
      margin-bottom: 20px;
    }

    .promo-button {
      margin-top: 15px;
    }

    .down-btn {
      padding: 12px 25px;
      background-color: #ffc72c;
      color: #000;
      font-weight: bold;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .down-btn:hover {
      background-color: #ffae00;
    }

    @media (max-width: 768px) {
      .promo-banner {
        flex-direction: column;
      }

      .promo-left img {
        width: 100%;
        height: auto;
      }
    }
    .m9logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  
}

.m9logo {
  width: 120px;
  height: auto;
  display: block;
  border-radius: 25px;
}

.promo-banner {
      border: 3px solid #e4c93d;
      border-radius: 12px;
      margin: 30px auto;
      max-width: 1200px;
      background-color: #000;
      display: flex;
      overflow: hidden;
      padding: 10px;
    }
.promo-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.promo-left img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}


    .promo-right {
      flex: 1;
      padding: 20px;
      color: #fff;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .promo-right h2 {
      color: #ffc72c;
      font-size: 24px;
      margin-bottom: 20px;
    }

    .promo-right p {
      font-size: 16px;
      line-height: 1.8;
    }

    .promo-button {
      margin-top: 25px;
    }

    .promo-button button {
      background-color: #ffc72c;
      color: #000;
      font-weight: bold;
      padding: 12px 30px;
      border: none;
      border-radius: 10px;
      font-size: 16px;
      cursor: pointer;
      transition: 0.3s ease;
    }

    .promo-button button:hover {
      background-color: #ffae00;
    }

    @media (max-width: 768px) {
      .promo-banner {
        flex-direction: column;
      }
      .promo-left, .promo-right {
        width: 100%;
      }
    }

    /* Modal Styling */
    .modal {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.8);
    }

   .modal-content {
  margin: 5% auto;
  display: block;
  width: 800px;
  height: 600px; /* Fixed height */
  object-fit: contain; /* Ensure image scales nicely */
  border-radius: 10px;
  max-width: 90%;
}


    .close {
      position: absolute;
      top: 20px;
      right: 40px;
      color: #fff;
      font-size: 40px;
      font-weight: bold;
      cursor: pointer;
    }