/* =============================
   Mistvoyage365.cyou Stylesheet
   ============================= */

/* Base reset */
body.m365-cyou {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #153119; /* Site background */
  color: #f1e9ff; /* Text color */
  line-height: 1.6;
}

/* Containers */
.m365-cyou-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =============================
   Mistvoyage365 Navbar Styles
   ============================= */

.m365-cyou-navbar {
  background-color: #153119; /* Site background */
  border-bottom: 2px solid #ffa8f1;
}

h3 {
  font-weight: 700;
  color: #ffa8f1;
  letter-spacing: 1px;
}

.m365-cyou-logo {
  height: 80px !important;
  width: auto;
}

/* Nav links */
.m365-cyou-navbar .nav-link {
  color: #f1e9ff;
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin-left: 6px;
  transition: color 0.3s, border-bottom 0.3s;
}

.m365-cyou-navbar .nav-link:hover,
.m365-cyou-navbar .nav-link:focus {
  color: #ffa8f1; /* Hover accent */
  border-bottom: 2px solid #ffa8f1;
}

.m365-cyou-navbar .nav-link.active {
  color: #a0d7ff; /* Active link */
  border-bottom: 2px solid #a0d7ff;
}

/* Mobile toggle button */
.m365-cyou-navbar .navbar-toggler {
  border: none;
  outline: none;
}

.m365-cyou-navbar .navbar-toggler-icon {
  background-image: none;
  width: 24px;
  height: 2px;
  background-color: #ffa8f1;
  position: relative;
}

.m365-cyou-navbar .navbar-toggler-icon::before,
.m365-cyou-navbar .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: #ffa8f1;
  transition: 0.3s;
}

.m365-cyou-navbar .navbar-toggler-icon::before {
  top: -7px;
}

.m365-cyou-navbar .navbar-toggler-icon::after {
  top: 7px;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .m365-cyou-navbar .nav-link {
    padding: 0.75rem 0;
    display: block;
  }
}

/* =============================
   Mistvoyage365 Hero Section
   ============================= */

.m365-cyou-hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Full screen hero */
  background: url("../img/hero-bg.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1e9ff;
  text-align: center;
  overflow: hidden;
}

.m365-cyou-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.m365-cyou-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.m365-cyou-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffa8f1; /* Headings color */
  margin-bottom: 1rem;
  line-height: 1.2;
}

.m365-cyou-hero-title span {
  color: #f1e9ff; /* Text accent for contrast */
}

.m365-cyou-hero-text {
  font-size: 1.25rem;
  color: #f1e9ff;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Button Styling */
.m365-cyou-hero-btn {
  background-color: #ffa8f1;
  color: #153119;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.m365-cyou-hero-btn:hover {
  background-color: #f1e9ff;
  color: #153119;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 168, 241, 0.5);
}

/* Responsive Tweaks */
@media (max-width: 992px) {
  .m365-cyou-hero-title {
    font-size: 2.2rem;
  }

  .m365-cyou-hero-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .m365-cyou-hero-title {
    font-size: 1.8rem;
  }

  .m365-cyou-hero-text {
    font-size: 1rem;
  }

  .m365-cyou-hero-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* =============================
   Mistvoyage365 Disclaimer Section
   ============================= */

.m365-cyou-disclaimer-section {
  background-color: #153119; /* site background */
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.m365-cyou-disclaimer-card {
  background: rgba(25, 21, 49, 0.95);
  border: 2px solid #ffa8f1;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  padding: 3rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.m365-cyou-disclaimer-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffa8f1; /* heading color */
}

.m365-cyou-disclaimer-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #f1e9ff;
}

.m365-cyou-disclaimer-text strong {
  color: #ffa8f1; /* emphasize with accent */
}

/* Button */
.m365-cyou-disclaimer-btn {
  display: inline-block;
  background-color: #ffa8f1;
  color: #153119;
  font-weight: 600;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.m365-cyou-disclaimer-btn:hover {
  background-color: #f1e9ff;
  color: #153119;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 168, 241, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .m365-cyou-disclaimer-card {
    padding: 2rem;
  }

  .m365-cyou-disclaimer-title {
    font-size: 1.6rem;
  }

  .m365-cyou-disclaimer-text {
    font-size: 1rem;
  }
}

/* =============================
   Mistvoyage365 Game Section
   ============================= */

.m365-cyou-game-section {
  background-color: #153119;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.m365-cyou-game-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #ffa8f1;
  text-align: center;
}

.m365-cyou-game-card {
  max-width: 800px; /* fixed width limit */
  width: 100%;
  margin: 0 auto;
  background: rgba(25, 21, 49, 0.95);
  border: 2px solid #ffa8f1;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Iframe wrapper with aspect ratio */
.m365-cyou-iframe-wrapper {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 10; /* Unity game ratio */
  border-radius: 12px;
  overflow: hidden;
}

.m365-cyou-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .m365-cyou-game-title {
    font-size: 1.6rem;
  }
}

/* =============================
   Mistvoyage365 Features Section
   ============================= */

.m365-cyou-features-section {
  background-color: #153119;
  padding: 4rem 1rem;
}

.m365-cyou-features-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffa8f1;
  letter-spacing: 1px;
}

.m365-cyou-features-subtext {
  font-size: 1rem;
  color: #ddd;
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Cards */
.m365-cyou-feature-card {
  background: rgba(25, 21, 49, 0.9);
  border: 2px solid #ffa8f1;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f9f9f9;
}

.m365-cyou-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(255, 168, 241, 0.35);
}

/* Icons */
.m365-cyou-feature-icon {
  color: #ffa8f1;
  margin-bottom: 1rem;
}

/* Titles & Text */
.m365-cyou-feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.m365-cyou-feature-text {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .m365-cyou-features-title {
    font-size: 1.6rem;
  }
  .m365-cyou-feature-title {
    font-size: 1.1rem;
  }
}

/* =============================
   Mistvoyage365 About Section
   ============================= */

.m365-cyou-about-section {
  padding: 5rem 1rem;
  color: #f5f5f5;
}

.m365-cyou-about-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffa8f1;
}

.m365-cyou-about-paragraph {
  font-size: 1rem;
  color: #ddd;
  max-width: 700px;
  margin: 0 auto 1.2rem auto;
  line-height: 1.6;
}

.m365-cyou-about-btn {
  display: inline-block;
  margin-top: 1rem;
  background: #ffa8f1;
  color: #0f0d1c;
  font-weight: 600;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.m365-cyou-about-btn:hover {
  background: #f5f5f5;
  color: #0f0d1c;
  box-shadow: 0 0 12px rgba(255, 168, 241, 0.5);
}

/* Image */
.m365-cyou-about-image {
  margin-top: 3rem;
}

.m365-cyou-about-img {
  max-width: 100%;
  width: 500px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(255, 168, 241, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.m365-cyou-about-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 168, 241, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
  .m365-cyou-about-title {
    font-size: 1.6rem;
  }
  .m365-cyou-about-paragraph {
    font-size: 0.95rem;
  }
}

/* =============================
   Mistvoyage365 Reviews Section
   ============================= */

.m365-cyou-reviews {
  background-color: #0f0d1c;
  color: #f5f5f5;
}

.m365-cyou-reviews-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffa8f1;
}

.m365-cyou-reviews-subtext {
  font-size: 1rem;
  color: #ccc;
  max-width: 650px;
  margin: 0 auto;
}

/* Review Cards */
.m365-cyou-review-card {
  background: #1a1730;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.m365-cyou-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(255, 168, 241, 0.2);
}

/* Avatar */
.m365-cyou-review-avatar {
  background: #ffa8f1;
  color: #0f0d1c;
  font-weight: 700;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-transform: uppercase;
}

/* Name */
.m365-cyou-review-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f5f5f5;
}

/* Review Text */
.m365-cyou-review-text {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Stars */
.m365-cyou-review-stars {
  font-size: 1.1rem;
  color: #ffd700; /* Gold stars */
  letter-spacing: 2px;
}

/* Responsive Layout */
@media (max-width: 992px) {
  .m365-cyou-reviews-title {
    font-size: 1.6rem;
  }
  .m365-cyou-review-card {
    padding: 1.2rem;
  }
  .m365-cyou-review-text {
    font-size: 0.9rem;
  }
}

/* =============================
   Mistvoyage365 Footer (Updated Colors)
   ============================= */

.m365-cyou-footer {
  background-color: #153119; /* Site background */
  color: #f1e9ff; /* Text */
  padding: 3rem 1rem 1.5rem;
  margin-top: 3rem;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* Logo */
.m365-cyou-footer-logo {
  margin-bottom: 1.5rem;
}

.m365-cyou-footer-logo-img {
  max-width: 160px;
  height: auto;
}

/* Navigation Links */
.m365-cyou-footer-links {
  margin-bottom: 1.5rem;
}

.m365-cyou-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.m365-cyou-footer-link {
  color: #f1e9ff; /* Default text */
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.m365-cyou-footer-link:hover {
  color: #ffa8f1; /* Accent hover */
}

.m365-cyou-footer-link:active {
  color: #a0d7ff; /* Active links */
}

/* Disclaimer Section */
.m365-cyou-footer-disclaimer {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.m365-cyou-footer-disclaimer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffa8f1; /* Heading accent */
  margin-bottom: 0.6rem;
}

.m365-cyou-footer-disclaimer-text {
  font-size: 0.9rem;
  color: #f1e9ff; /* Normal text */
  line-height: 1.6;
}

/* Bottom Copyright */
.m365-cyou-footer-bottom {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #f1e9ff;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 768px) {
  .m365-cyou-footer-nav {
    flex-direction: column;
    gap: 0.8rem;
  }

  .m365-cyou-footer-disclaimer-text {
    font-size: 0.85rem;
  }
}

/* =============================
   Age Verification Popup
   ============================= */
.m365-cyou-age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 21, 49, 0.95); /* Dark overlay (site bg w/ opacity) */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.m365-cyou-age-popup-content {
  background: #153119; /* Match site background */
  color: #f1e9ff; /* Text color */
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.m365-cyou-age-popup-title {
  font-size: 1.5rem;
  color: #ffa8f1; /* Accent heading */
  margin-bottom: 1rem;
}

.m365-cyou-age-popup-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f1e9ff;
  margin-bottom: 1.8rem;
}

/* Buttons */
.m365-cyou-btn {
  background: #ffa8f1;
  color: #153119;
  border: none;
  padding: 0.7rem 1.4rem;
  margin: 0.4rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.m365-cyou-btn:hover {
  background: #f1e9ff;
  color: #153119;
}

.m365-cyou-btn-decline {
  background: transparent;
  color: #ffa8f1;
  border: 2px solid #ffa8f1;
}

.m365-cyou-btn-decline:hover {
  background: #ffa8f1;
  color: #153119;
}

/* Scroll to Top Button */
.m365-cyou-scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background-color: #ffa8f1; /* button color */
  color: #153119; /* icon color */
  border-radius: 50%;
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.m365-cyou-scroll-top:hover {
  background-color: #f1e9ff; /* hover color */
  color: #153119;
  transform: scale(1.1);
}

.m365-cyou-scroll-top i {
  font-size: 18px;
  line-height: 1;
}

/* Contact Section */
.m365-cyou-contact {
  background-color: #153119; /* site background */
  color: #f1e9ff; /* text color */
}

.m365-cyou-contact-title {
  color: #ffa8f1; /* heading color */
  font-size: 2rem;
  font-weight: bold;
}

.m365-cyou-contact-subtext {
  color: #f1e9ff;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Form */
.m365-cyou-contact-form .form-label {
  color: #ffa8f1; /* labels */
  font-weight: 600;
}

.m365-cyou-contact-form .form-control {
  background-color: #241d46;
  border: 1px solid #ffa8f1;
  color: #f1e9ff;
  border-radius: 8px;
  padding: 10px;
}

.m365-cyou-contact-form .form-control:focus {
  border-color: #f1e9ff;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 168, 241, 0.5);
}

/* Button */
.m365-cyou-btn {
  background-color: #ffa8f1;
  color: #153119;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.m365-cyou-btn:hover {
  background-color: #f1e9ff;
  color: #153119;
}

/* Disclaimer Section */
.m365-cyou-disclaimer {
  background-color: #153119;
  padding: 60px 20px;
  color: #f1e9ff;
  line-height: 1.7;
}

.m365-cyou-disclaimer-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffa8f1;
  margin-bottom: 25px;
}

.m365-cyou-disclaimer-intro {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f1e9ff;
}

.m365-cyou-disclaimer-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.m365-cyou-disclaimer-content h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #ffa8f1;
  font-weight: bold;
}

.m365-cyou-disclaimer-content p {
  margin-bottom: 20px;
  color: #f1e9ff;
}

.m365-cyou-disclaimer-content strong {
  color: #ffa8f1;
}

.m365-cyou-disclaimer-content a.m365-cyou-link {
  color: #a0d7ff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.m365-cyou-disclaimer-content a.m365-cyou-link:hover {
  color: #ffa8f1;
}

/* Privacy & Terms Shared Styles */
.m365-cyou-privacy,
.m365-cyou-terms {
  background-color: #153119;
  padding: 60px 20px;
  color: #f1e9ff;
  line-height: 1.7;
}

.m365-cyou-privacy-title,
.m365-cyou-terms-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffa8f1;
  margin-bottom: 25px;
  text-align: center;
}

.m365-cyou-privacy-intro,
.m365-cyou-terms-intro {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #f1e9ff;
}

.m365-cyou-privacy-content,
.m365-cyou-terms-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.m365-cyou-privacy-content h2,
.m365-cyou-terms-content h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #ffa8f1;
  font-weight: bold;
}

.m365-cyou-privacy-content p,
.m365-cyou-terms-content p {
  margin-bottom: 20px;
  color: #f1e9ff;
}

.m365-cyou-privacy-content ul,
.m365-cyou-terms-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.m365-cyou-privacy-content li,
.m365-cyou-terms-content li {
  margin-bottom: 10px;
  color: #f1e9ff;
}

.m365-cyou-link {
  color: #a0d7ff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.m365-cyou-link:hover {
  color: #ffa8f1;
}
