/* =========================
   Base Styles
   ========================= */
body.mistiq-today {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  background-color: #0a0028;
  color: #e5e2e2;
  line-height: 1.7;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #ffbc58;
  text-shadow: 1px 1px 2px rgba(10, 0, 40, 0.6);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Links */
a {
  color: #ffbc58;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
a:hover, a:focus {
  color: #e5e2e2;
  border-bottom: 1px solid #ffbc58;
}

/* Buttons */
.btn {
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.btn-primary {
  background-color: #d25f42;
  color: #0a0028;
  border: none;
}
.btn-primary:hover {
  background-color: #ffbc58;
  color: #0a0028;
}
.btn-outline {
  background: transparent;
  border: 2px solid #d25f42;
  color: #d25f42;
}
.btn-outline:hover {
  background: #d25f42;
  color: #0a0028;
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* =========================
   Navbar
   ========================= */
.navbar {
  background: rgba(10, 0, 40, 0.95);
  border-bottom: 1px solid rgba(255, 188, 88, 0.25);
}

.navbar-brand img.site-logo {
  height: 80px;
}

.nav-link {
  color: #e5e2e2 !important;
  font-weight: 500;
  transition: color 0.3s, border-bottom 0.3s;
}

.nav-link.active,
.nav-link:hover {
  color: #ffbc58 !important;
  border-bottom: 2px solid #ffbc58;
}

/* Toggle button */
.navbar-toggler {
  border: none;
  background: #d25f42; /* button background */
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 188, 88, 0.5);
}

.navbar-toggler:hover {
  background: #ffbc58; /* hover color */
}

.navbar-toggler-icon {
  background-image: none; /* remove default */
  width: 24px;
  height: 2px;
  background-color: #0a0028; /* line color */
  display: block;
  position: relative;
  transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.mistiq-hero {
  position: relative;
  background: url('../images/hero.jpg') center/cover no-repeat;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.mistiq-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 0, 40, 0.2); /* dark overlay for readability */
}

.mistiq-hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px; /* contained width */
  margin: 0 auto;
  padding: 2rem 1rem;
}

.mistiq-hero .hero-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #ffbc58;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.mistiq-hero .hero-sub {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #e5e2e2;
  line-height: 1.6;
}

.mistiq-hero .hero-actions .btn {
  margin: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .mistiq-hero .hero-title {
    font-size: 2rem;
  }
  .mistiq-hero .hero-sub {
    font-size: 1rem;
  }
}

/* =========================
   Notice / Disclaimer Card
   ========================= */
.notice-card {
  background: linear-gradient(135deg, #0a0028, #1a093f);
  border: 1px solid rgba(255, 188, 88, 0.35);
  color: #f0f0f0;
  max-width: 900px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.notice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}
.notice-icon i {
  font-size: 2.5rem;
  color: #ffbc58;
}
.notice-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffbc58;
}
.notice-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}
.notice-card .btn-outline-warning {
  border-color: #ffbc58;
  color: #ffbc58;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.notice-card .btn-outline-warning:hover {
  background: #ffbc58;
  color: #0a0028;
}

/* =========================
   Games Section
   ========================= */
.mistiq-games {
  background: #0a0028;
  padding: 4rem 1rem;
}

.mistiq-games .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffbc58;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  margin-bottom: 1rem;
}

.mistiq-games .section-text {
  color: #e5e2e2;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Game Frame Wrapper */
.game-frame {
  position: relative;
  width: 100%;
  max-width: 900px;   /* desktop max */
  margin: 0 auto;
  aspect-ratio: 3 / 2; /* 900 x 600 ratio */
  background: #111;
  border: 2px solid rgba(255, 188, 88, 0.4);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

/* Responsive iframe */
.game-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .mistiq-games .section-title {
    font-size: 1.7rem;
  }
  .game-frame {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .mistiq-games {
    padding: 3rem 1rem;
  }
  .mistiq-games .section-text {
    font-size: 1rem;
  }
}


/* =========================
   Features Section
   ========================= */
#features {
  background: #0a0028;
  color: #e5e2e2;
  padding: 4rem 0;
}

#features .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffbc58;
  text-shadow: 1px 1px 0 #000;
  margin-bottom: 1rem;
}

#features .section-text {
  font-size: 1.05rem;
  color: #e5e2e2;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.feature {
  background: rgba(255, 188, 88, 0.05);
  border: 1px solid rgba(255, 188, 88, 0.25);
  border-radius: 16px;
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature:hover {
  background: rgba(255, 188, 88, 0.1);
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(255, 188, 88, 0.25);
  border-color: #ffbc58;
}

.feature-icon {
  font-size: 2rem;
  color: #ffbc58;
  margin-bottom: 0.75rem;
}

.feature h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffbc58;
  margin-bottom: 0.75rem;
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e5e2e2;
  margin: 0;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  #features .section-title {
    font-size: 1.8rem;
  }
  .feature {
    padding: 1.5rem;
  }
  .feature h5 {
    font-size: 1.05rem;
  }
  .feature-icon {
    font-size: 1.6rem;
  }
}

/* =========================
   About Section
   ========================= */
#about {
  background: #0a0028;
  color: #e5e2e2;
  padding: 4rem 0;
}

#about .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffbc58;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 0 #000;
}

#about .section-text {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  color: #e5e2e2;
}

#about .about-text {
  background: rgba(255, 188, 88, 0.05);
  border: 1px solid rgba(255, 188, 88, 0.25);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 0 auto;
  text-align: center;
  max-width: 800px;
}

#about .about-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

#about .about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
/* =========================
   About Section
   ========================= */
#about {
  background: #0a0028;
  color: #e5e2e2;
  padding: 4rem 0;
}

#about .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffbc58;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 0 #000;
}

#about .section-text {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  color: #e5e2e2;
}

#about .about-text {
  background: rgba(255, 188, 88, 0.05);
  border: 1px solid rgba(255, 188, 88, 0.25);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 0 auto;
  text-align: center;
  max-width: 800px;
}

#about .about-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

#about .about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}


/* =========================
   Reviews Section
   ========================= */
#reviews {
  background: #0a0028;
  color: #e5e2e2;
}

#reviews .section-title {
  color: #ffbc58;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 0 #000;
}

#reviews .section-text {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.review-card {
  background: rgba(255, 188, 88, 0.05);
  border: 1px solid rgba(255, 188, 88, 0.25);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.review-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e5e2e2;
}

/* Avatar style */
.avatar {
  width: 40px;
  height: 40px;
  background: #d25f42;
  color: #0a0028;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* =========================
   Contact Section
   ========================= */
#contact {
  background: #0a0028;
  color: #e5e2e2;
  padding: 60px 20px;
}

.contact-form {
  max-width: 700px;   /* contain width */
  margin: 0 auto;     /* center align */
}

.contact-form .form-control {
  background: rgba(255, 188, 88, 0.05);
  border: 1px solid rgba(255, 188, 88, 0.3);
  color: #e5e2e2;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
}

.contact-form .form-control:focus {
  border-color: #ffbc58;
  box-shadow: 0 0 0 3px rgba(255, 188, 88, 0.3);
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 6px;
  display: inline-block;
}

.contact-form button {
  background: #d25f42;
  color: #0a0028;
  font-weight: 600;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #e5e2e2;
  color: #0a0028;
}

/* =========================
   Footer
   ========================= */
.site-footer {
  background: rgba(10, 0, 40, 0.95);
  padding: 2rem 0;
  color: #e5e2e2;
}
.footer-links a {
  color: #e5e2e2;
  font-weight: 500;
}
.footer-links a:hover {
  color: #ffbc58;
}
.footer-disclaimer {
  background: rgba(255, 188, 88, 0.05);
  border: 1px solid rgba(255, 188, 88, 0.3);
  border-radius: 10px;
  padding: 20px;
  max-width: 800px;   /* contain width */
  margin: 0 auto 30px auto;  /* center + spacing below */
  text-align: center;
  color: #e5e2e2;
}

/* =========================
   Age Popup
   ========================= */
.age-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 0, 40, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.age-popup-card {
  background: #0a0028;
  border: 1px solid rgba(255, 188, 88, 0.4);
  max-width: 500px;
  color: #e5e2e2;
}

/* =========================
   Scroll Top
   ========================= */
.scroll-top {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #d25f42;
  color: #0a0028;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}
.scroll-top:hover {
  background: #ffbc58;
}




/* =========================
   Legal Pages
   ========================= */
.legal-section {
  background: #0a0028; /* site background */
  color: #e5e2e2;
  padding: 60px 20px;
  line-height: 1.7;
}

.legal-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.legal-title {
  font-size: 2.2rem;
  color: #ffbc58;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 #000;
  border-bottom: 2px solid rgba(255, 188, 88, 0.4);
  padding-bottom: 0.75rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  color: #ffbc58;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 1px 1px 0 #000;
}

.legal-section p,
.legal-section ul {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #e5e2e2;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.legal-section a {
  color: #ffbc58;
  border-bottom: 1px dashed #ffbc58;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.legal-section a:hover {
  color: #d25f42;
  border-color: #d25f42;
}

/* Boxed styling for sections */
.legal-section .container > h2,
.legal-section .container > p,
.legal-section .container > ul {
  background: rgba(255, 188, 88, 0.05);
  border: 1px solid rgba(255, 188, 88, 0.3);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-title {
    font-size: 1.8rem;
  }
  .legal-section h2 {
    font-size: 1.25rem;
  }
  .legal-section p,
  .legal-section ul {
    font-size: 0.95rem;
  }
}
