

/* ===================================================================
   Mistvoyage.live — Main stylesheet
   - Colors, font, layout and component styles
   - Author: Reeshtech for Mistvoyage.live
   =================================================================== */

/* -------------------------
   Color system & typography
   ------------------------- */
:root{
  --mv-heading: #00a3ff;   /* Headings */
  --mv-text: #000000;      /* Body text */
  --mv-accent: #e24065;    /* Accent / hover / active links */
  --mv-button: #00a3ff;    /* Button background */
  --mv-button-text: #b0e9fb; /* Button text */
  --mv-button-hover: #e24065; /* Button hover */
  --mv-bg: #b0e9fb;        /* Site background */
  --mv-radius: 12px;
  --mv-card-bg: #ffffff;
  --mv-muted: rgba(0,0,0,0.55);
  --mv-shadow: 0 8px 22px rgba(11,24,40,0.06);
  --mv-font: "Poppins", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1180px;
}

/* -------------------------
   Base and reset
   ------------------------- */
* { box-sizing: border-box; }
html,body { height: 100%; }
body.mistV-live {
  font-family: var(--mv-font);
  background-color: var(--mv-bg);
  color: var(--mv-text);
  margin: 0;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height: 1.6;
}

/* Container max width control (keeps Bootstrap default but gives max width) */
.container { max-width: var(--max-width); }

/* Links */
.mistV-live a {
  color: var(--mv-heading);
  text-decoration: none;
  transition: color .18s ease;
}
.mistV-live a:hover,
.mistV-live a:focus { color: var(--mv-accent); outline: none; }

/* Make focus outlines visible for keyboard users */
:focus { outline: 3px solid rgba(0,163,255,0.12); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

/* Headings */
.mistV-hero-title,
.section-title {
  color: var(--mv-heading);
  font-weight: 700;
  margin: 0 0 0.6rem 0;
  line-height: 1.12;
}
.mistV-hero-title span { display:inline-block; }

/* Paragraphs and small text */
p { margin: 0 0 1rem 0; color: var(--mv-text); }
.lead { font-weight: 400; opacity: 0.95; }

/* -------------------------
   Navbar
   ------------------------- */
.mistV-navbar {
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(6px);
}

/* Brand logo */
.mistV-logo { display: block; max-height: 80px; width: auto; }

/* ================= Active Link Styling ================= */
.mistV-nav .nav-link {
  color: #00a3ff; /* default link color */
  font-weight: 600;
  transition: color 0.3s ease, border-color 0.3s ease;
  position: relative;
  padding: 0.3rem 0.5rem;
}

.mistV-nav .nav-link:hover,
.mistV-nav .nav-link:focus {
  color: #e24065; /* hover color */
}

.mistV-nav .nav-link.active,
.mistV-nav .nav-link[aria-current="page"] {
  color: #e24065; /* active link color */
  font-weight: 600;
}

.mistV-nav .nav-link.active::after,
.mistV-nav .nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background-color: #e24065; /* underline accent */
  border-radius: 2px;
}

/* Toggler */
.mistV-toggler {
  border: none;
  color: var(--mv-heading);
  background: transparent;
}
.mistV-toggler .fa-bars { font-size: 1.05rem; }

/* -------------------------
   Hero
   ------------------------- */
.mistV-hero {
  height: 90vh; /* take 90% of viewport height */
  padding: 0; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background-image: url("../img/hero-bg.jpg"); 
  background-size: cover;       
  background-position: center;  
  background-repeat: no-repeat; 
  position: relative;
}

/* Overlay for readability */
.mistV-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 163, 255, 0.25); 
  z-index: 1;
}

.mistV-hero .mistV-hero-text {
  position: relative;
  z-index: 2;
  color: #000000; 
}

.mistV-hero-inner { text-align: center; }

/* Hero title and subtitle */
.mistV-hero-title { 
  font-size: clamp(1.75rem, 3.5vw, 2.75rem); 
  font-weight: 700;
  color: #00a3ff; /* consistent heading color */
}
.mistV-hero-sub { 
  color: #000000; 
  opacity: 0.9; 
  margin-top: 1rem; 
}

/* CTA buttons in hero */
.mistV-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--mv-button);
  color: var(--mv-button-text) !important;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s ease, transform .07s ease, color .18s ease;
}
.mistV-btn:hover,
.mistV-btn:focus { 
  background: var(--mv-button-hover); 
  color: var(--mv-button-text); /* keep button text consistent */
  transform: translateY(-1px); 
}
.mistV-btn:active { transform: translateY(0); }

/* Ghost style */
.mistV-btn-ghost {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.06);
  color: #000000 !important;
}
.mistV-btn-ghost:hover { 
  background: rgba(0,0,0,0.03); 
  color: #e24065; /* accent color */
  border-color: rgba(226,36,101,0.25); 
}

/* Small muted helper */
.small.text-muted { color: rgba(0,0,0,0.55); }

/* -------------------------
   Cards (used widely)
   ------------------------- */
.mistV-card {
  background: var(--mv-card-bg);
  border-radius: var(--mv-radius);
  box-shadow: var(--mv-shadow);
  border: 1px solid rgba(11,24,40,0.03);
}

/* subtle background variant used for disclaimer */
.bg-light-transparent { background: rgba(255,255,255,0.6); }

/* -------------------------
   Disclaimer Section
   ------------------------- */
.mistV-disclaimer {
  background-color: rgba(176, 233, 251, 0.5); /* light transparent bg */
}

.mistV-disclaimer .mistV-card {
  max-width: 760px;   /* contain width */
  margin: 0 auto;     /* center horizontally */
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.mistV-disclaimer .section-title {
  color: #00a3ff; /* site heading color */
  font-weight: 700;
  margin-bottom: 1rem;
}

.mistV-disclaimer p {
  color: #000000;
  font-size: 1rem;
  line-height: 1.6;
}

/* Button already defined, just adjust ghost style for clarity here */
.mistV-disclaimer .mistV-btn-ghost {
  margin-top: 1rem;
  border: 2px solid #00a3ff;
  color: #00a3ff;
  background: transparent;
  font-weight: 600;
}

.mistV-disclaimer .mistV-btn-ghost:hover {
  background: #00a3ff;
  color: #b0e9fb; /* button text color */
  border-color: #00a3ff;
}

/* -------------------------
   Game iframe container
   ------------------------- */
.mistV-game-frame {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

.mistV-iframe-wrap {
  aspect-ratio: 16 / 9; /* keeps correct aspect ratio without padding */
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(176, 233, 251, 0.35),
    rgba(255, 255, 255, 0.6)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.mistV-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* -------------------------
   Features grid & items
   ------------------------- */
.mistV-features .mistV-feature {
  transition: transform .14s ease, box-shadow .14s ease;
}
.mistV-features .mistV-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(11,24,40,0.06);
}
.mistV-feature-icon {
  font-size: 1.6rem;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(0,163,255,0.08), rgba(226,36,101,0.03));
  color: var(--mv-heading);
}

/* -------------------------
   About section
   ------------------------- */
.mistV-about-media { display: flex; justify-content: center; }
.mistV-about-img { border-radius: 12px; object-fit: cover; }

/* -------------------------
   Reviews / testimonials
   ------------------------- */
.mistV-review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 2rem; /* extra space between cards */
}

.mistV-review-head {
  align-items: center;
  margin-bottom: 1rem; /* consistent space below header */
}

.mistV-avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--mv-heading);
  color: var(--mv-button-text);
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  margin-right: 0.75rem; /* keep spacing next to name */
  flex-shrink: 0;
}
/* Increase horizontal and vertical spacing in reviews grid */
.mistV-reviews .row {
  --bs-gutter-x: 3rem; /* horizontal gap */
  --bs-gutter-y: 2rem; /* vertical gap */
}
/* Reviews grid layout */
.mistV-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem 3rem; /* vertical | horizontal spacing */
}



/* -------------------------
   Footer
------------------------- */
.mistV-footer {
  background: #111; /* dark background */
  color: #f1f1f1;   /* light text */
  padding: 2rem 0;
  text-align: center;
}

.mistV-footer a,
.mistV-footer-link {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mistV-footer a:hover,
.mistV-footer-link:hover {
  color: var(--mv-accent, #00a3ff); /* site accent color on hover */
}

.mistV-footer-disclaimer p {
  color: #d9d9d9; /* slightly muted light text for disclaimer */
  font-size: 0.9rem;
}

.mistV-footer-copy {
  color: #b5b5b5; /* softer light for copyright */
  margin-top: 1rem;
  font-size: 0.85rem;
}


.mistV-footer-brand img {
  max-width: 180px;
  transition: opacity 0.3s ease;
}
.mistV-footer-brand:hover img {
  opacity: 0.85;
}

.mistV-footer-nav {
  gap: 1.25rem;
}
.mistV-footer-link {
  color: var(--mv-heading, #ffffff);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
}
.mistV-footer-link:hover {
  color: var(--mv-accent, #88cdff);
  transform: translateY(-2px);
}




.mistV-footer-logo {
  max-width: 180px;   /* keeps logo within reasonable size */
  height: auto;       /* preserves aspect ratio */
  display: block;
  margin: 0 auto 1rem; /* centers + adds bottom spacing */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mistV-footer-logo:hover {
  opacity: 0.9;
  transform: scale(1.05); /* subtle hover effect */
}
/* Footer disclaimer container */
.mistV-footer-disclaimer-inner {
  max-width: 720px;   /* contain width */
  margin: 0 auto;     /* center horizontally */
  line-height: 1.6;   /* improve readability */
  text-align: center; /* keep consistent with footer style */
}

/* -------------------------
   Age / Disclaimer Popup
------------------------- */
.mistV-age-popup {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0,0,0,0.65); /* semi-transparent overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.mistV-age-popup-content {
  background: #ffffff;
  color: #111111;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  text-align: center;
  position: relative;
  animation: fadeInScale 0.25s ease forwards;
}

.mistV-age-popup-title {
  font-size: 1.75rem;
  color: var(--mv-heading, #00a3ff);
  margin-bottom: 1rem;
}

.mistV-age-popup-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--mv-text, #111);
  margin-bottom: 1.5rem;
}

.mistV-age-popup-actions .mistV-btn {
  min-width: 120px;
  padding: 0.6rem 1.2rem;
}

.mistV-age-popup-actions .mistV-btn-ghost {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.12);
  color: #111;
}

.mistV-age-popup-actions .mistV-btn-ghost:hover {
  background: rgba(0,0,0,0.05);
  color: var(--mv-accent, #00a3ff);
  border-color: rgba(0,163,255,0.2);
}

/* Animations */
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 480px) {
  .mistV-age-popup-content { padding: 1.5rem; }
  .mistV-age-popup-title { font-size: 1.5rem; }
  .mistV-age-popup-text { font-size: 0.95rem; }
}


/* -------------------------
   Scroll-to-top control
------------------------- */
.mistV-scrolltop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: none; /* toggled by JS */
  align-items: center;
  justify-content: center;
  background: #00a3ff; /* site button color */
  color: #b0e9fb;       /* icon color */
  font-size: 1.25rem;
  box-shadow: 0 10px 22px rgba(11,24,40,0.12);
  z-index: 80;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

/* Ensure the arrow icon is visible */
.mistV-scrolltop i {
  color: #b0e9fb;      /* explicit visible color */
  font-size: 1.25rem;  /* adjust size if needed */
}

/* Hover effect */
.mistV-scrolltop:hover {
  background: #e24065; /* hover background */
}

.mistV-scrolltop:hover i {
  color: #ffffff;      /* icon turns white on hover */
  transform: translateY(-2px);
}


/* -------------------------
   Responsive tweaks
   ------------------------- */
@media (max-width: 991px) {
  .mistV-hero { padding: 2.25rem 0; }
  .mistV-hero-sub { font-size: .98rem; }
  .mistV-feature-icon { width: 56px; height: 56px; }
  .mistV-iframe-wrap { padding-bottom: 65%; } /* a bit taller on narrow screens */
  .mistV-nav .nav-link { padding: .45rem .6rem; }
}

@media (max-width: 576px) {
  .mistV-hero-title { font-size: 1.6rem; }
  .mistV-hero-sub { font-size: .95rem; }
  .mistV-footer-nav { flex-wrap: wrap; gap: .45rem; }
}

/* -------------------------
   Reduced motion & accessibility
   ------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}



/* -------------------------
   Contact Section
------------------------- */
.mistV-contact {
  background: var(--mv-background, #b0e9fb);
  color: var(--mv-text, #000000);
  padding: 4rem 0;
}

.mistV-contact .section-title {
  color: var(--mv-heading, #00a3ff);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.mistV-contact .section-sub {
  color: var(--mv-text, #000000);
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

.mistV-contact-form .form-label {
  font-weight: 500;
  color: var(--mv-heading, #00a3ff);
}

.mistV-contact-form .form-control {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.2s ease;
}

.mistV-contact-form .form-control:focus {
  border-color: var(--mv-accent, #e24065);
  box-shadow: 0 0 0 3px rgba(226,36,101,0.15);
  outline: none;
}

.mistV-contact-form .mistV-btn {
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 10px;
  background: var(--mv-button, #00a3ff);
  color: var(--mv-button-text, #b0e9fb);
  transition: background 0.25s ease, transform 0.1s ease;
}

.mistV-contact-form .mistV-btn:hover {
  background: var(--mv-button-hover, #e24065);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 576px) {
  .mistV-contact .section-sub { font-size: 0.95rem; }
  .mistV-contact-form .form-control { font-size: 0.9rem; }
}



/* -------------------------
   Legal pages (Disclaimer / Privacy / Terms)
------------------------- */
.mistV-legal {
  background: var(--mv-background, #b0e9fb);
  color: var(--mv-text, #000000);
  padding: 4rem 0;
}

.mistV-legal-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 0 auto;
}

.mistV-legal-card h1,
.mistV-legal-card h3 {
  color: var(--mv-heading, #00a3ff);
}

.mistV-legal-card p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  color: var(--mv-text, #000000);
}

.mistV-legal-card a {
  color: var(--mv-accent, #e24065);
  text-decoration: underline;
}

.mistV-legal-card a:hover {
  color: var(--mv-button-hover, #e24065);
}

@media (max-width: 768px) {
  .mistV-legal-card {
    padding: 2rem 1.5rem;
  }
  .mistV-legal-card p { font-size: 0.95rem; }
}
