/*--------------------------------------
  GLOBAL STYLES
---------------------------------------*/
/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
}

/* Ensure containers respect max-width */
.container, .hero-content, .mistyfoxhub-space-game-frame, .mistyfoxhub-space-popup-inner {
  max-width: 100%;
  box-sizing: border-box;
}

/* Ensure rows don’t overflow */
.row {
  margin-left: 0;
  margin-right: 0;
}

/* Adjust columns padding */
.row > [class*='col-'] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

body.mistyfoxhub-space-body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background-color: #00373e;
  color: #f9a1a1;
  margin: 0;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: #fe3737;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: #f9a1a1;
}

h1, h2, h3, h4, h5, h6 {
  color: #fe3737;
  text-shadow: 1px 1px 0 #00373e;
  font-weight: 700;
  margin-bottom: 1rem;
}

p, li, span {
  color: #f9a1a1;
}

ul {
  padding-left: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

/*--------------------------------------
  NAVBAR
---------------------------------------*/
.mistyfoxhub-space-navbar {
  background-color: #00373e;
}

.mistyfoxhub-space-navbar .nav-link {
  color: #f9a1a1;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mistyfoxhub-space-navbar .nav-link.active,
.mistyfoxhub-space-navbar .nav-link:hover {
  color: #fe3737;
}

.mistyfoxhub-space-logo {
  max-height: 80px;
}
/* Navbar toggle (hamburger) color */
.mistyfoxhub-space-navbar .navbar-toggler {
  border: none; /* remove default border */
}

.mistyfoxhub-space-navbar .navbar-toggler-icon,
.mistyfoxhub-space-navbar .navbar-toggler i {
  color: #fe3737; /* your accent color */
  font-size: 1.5rem;
}

/* Optional: hover effect for toggle */
.mistyfoxhub-space-navbar .navbar-toggler:hover i {
  color: #f9a1a1;
}


/*--------------------------------------
  HERO
---------------------------------------*/
.mistyfoxhub-space-hero {
  position: relative;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  background-image: url('../images/hero.jpg'); /* replace with your hero image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f9a1a1;
}

.mistyfoxhub-space-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Container for hero content */
.mistyfoxhub-space-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fe3737;
  text-shadow: 1px 1px 0 #00373e;
}

.hero-sub {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #f9a1a1;
}

.mistyfoxhub-space-btn {
  background-color: #fe3737;
  color: #00373e;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mistyfoxhub-space-btn:hover {
  background-color: #f9a1a1;
  color: #00373e;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-title { font-size: 2.5rem; }
  .hero-sub { font-size: 1.1rem; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
}


/*--------------------------------------
  DISCLAIMER SECTION
---------------------------------------*/
.mistyfoxhub-space-disclaimer-section .disclaimer-card {
  background-color: #00373e;
  border: 1px solid #fe3737;
  padding: 3rem 2rem;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.mistyfoxhub-space-disclaimer-section .disclaimer-card:hover {
  transform: translateY(-5px);
}

.disclaimer-card h2 {
  margin-bottom: 1rem;
}

.disclaimer-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/*--------------------------------------
  GAME FRAME
---------------------------------------*/
.mistyfoxhub-space-game-frame {
  max-width: 900px;
  aspect-ratio: 16/9;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.mistyfoxhub-space-game-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/*--------------------------------------
  FEATURES
---------------------------------------*/
.mistyfoxhub-space-features .feature-card {
  background-color: #00373e;
  border: 1px solid #fe3737;
  border-radius: 16px;
  text-align: center;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mistyfoxhub-space-features .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

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

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 0.95rem;
  color: #f9a1a1;
}

/*--------------------------------------
  ABOUT SECTION
---------------------------------------*/
.mistyfoxhub-space-about .about-image {
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  margin-bottom: 2rem;
}

.mistyfoxhub-space-about .about-features li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/*--------------------------------------
  REVIEWS
---------------------------------------*/
.mistyfoxhub-space-reviews .review-card {
  background-color: #00373e;
  border: 1px solid #fe3737;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.mistyfoxhub-space-reviews .review-card:hover {
  transform: translateY(-5px);
}

.review-text {
  font-style: italic;
  margin-bottom: 0.75rem;
}

.review-meta {
  font-size: 0.9rem;
  justify-content: space-between;
}

.review-stars {
  color: #fe3737;
}

/*--------------------------------------
  CONTACT FORM
---------------------------------------*/
.mistyfoxhub-space-contact .form-control {
  background-color: #00373e;
  border: 1px solid #fe3737;
  color: #f9a1a1;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.mistyfoxhub-space-contact .form-control:focus {
  border-color: #f9a1a1;
  outline: none;
}

.mistyfoxhub-space-contact button {
  margin-top: 1rem;
}

/*--------------------------------------
  FOOTER
---------------------------------------*/
.mistyfoxhub-space-footer {
  background-color: #00373e;
  color: #f9a1a1;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid #fe3737;
}

.mistyfoxhub-space-footer-links a {
  color: #f9a1a1;
  transition: color 0.3s ease;
}

.mistyfoxhub-space-footer-links a:hover {
  color: #fe3737;
}

.mistyfoxhub-space-footer-disclaimer {
  font-size: 0.9rem;
}

/*--------------------------------------
  POPUP
---------------------------------------*/
.mistyfoxhub-space-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,55,62,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.mistyfoxhub-space-popup.visible {
  opacity: 1;
  pointer-events: auto;
}

.mistyfoxhub-space-popup-inner {
  background-color: #00373e;
  border: 2px solid #fe3737;
  padding: 2rem;
  border-radius: 16px;
  max-width: 500px;
  text-align: center;
}

.mistyfoxhub-space-popup h3 {
  margin-bottom: 1rem;
}

.mistyfoxhub-space-popup .popup-actions button {
  margin: 0.5rem;
}

/*--------------------------------------
  SCROLL TO TOP
---------------------------------------*/
.mistyfoxhub-space-scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  background-color: #fe3737;
  color: #00373e;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.mistyfoxhub-space-scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.mistyfoxhub-space-scroll-top:hover {
  background-color: #f9a1a1;
  color: #00373e;
  transform: translateY(-2px);
}

/*--------------------------------------
  RESPONSIVE
---------------------------------------*/
@media (max-width: 992px) {
  .hero-title { font-size: 2.5rem; }
  .hero-sub { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .mistyfoxhub-space-about .row { flex-direction: column-reverse; }
}

@media (max-width: 576px) {
  .mistyfoxhub-space-btn { width: 100%; }
  .mistyfoxhub-space-scroll-top { bottom: 15px; right: 15px; }
}



/*--------------------------------------
  LEGAL PAGES
---------------------------------------*/
.mistyfoxhub-space-legal-section {
  background-color: #00373e;
  color: #f9a1a1;
  padding: 4rem 1rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.7;
}

.mistyfoxhub-space-legal-section .section-title {
  font-size: 2.5rem;
  color: #fe3737;
  text-align: center;
  text-shadow: 1px 1px 0 #00373e;
  font-weight: 700;
  margin-bottom: 2rem;
}

.mistyfoxhub-space-legal-section h2.subheading {
  font-size: 1.5rem;
  color: #fe3737;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 1px 1px 0 #00373e;
}

.mistyfoxhub-space-legal-section p {
  font-size: 1rem;
  color: #f9a1a1;
  margin-bottom: 1.5rem;
}

.mistyfoxhub-space-legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.mistyfoxhub-space-legal-section ul li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.mistyfoxhub-space-legal-section a {
  color: #fe3737;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.mistyfoxhub-space-legal-section a:hover {
  color: #f9a1a1;
}

/* Container max width */
.mistyfoxhub-space-legal-section .container {
  max-width: 900px;
  margin: 0 auto;
}

/* Optional: Card-style for legal sections */
.mistyfoxhub-space-legal-section .legal-card {
  background-color: #00373e;
  border: 1px solid #fe3737;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .mistyfoxhub-space-legal-section .section-title {
    font-size: 2rem;
  }
  .mistyfoxhub-space-legal-section h2.subheading {
    font-size: 1.3rem;
  }
  .mistyfoxhub-space-legal-section p, 
  .mistyfoxhub-space-legal-section ul li {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .mistyfoxhub-space-legal-section .section-title {
    font-size: 1.75rem;
  }
  .mistyfoxhub-space-legal-section h2.subheading {
    font-size: 1.15rem;
  }
  .mistyfoxhub-space-legal-section p, 
  .mistyfoxhub-space-legal-section ul li {
    font-size: 0.9rem;
  }
  .mistyfoxhub-space-legal-section {
    padding: 3rem 1rem;
  }
}
