/*--------------------------------------------------
  GENERAL
---------------------------------------------------*/
body.happynordic365-wiki-body {
  font-family: 'Manrope', sans-serif;
  background-color: #1f130d;
  color: #fae7e7;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: #25fcb0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/*--------------------------------------------------
  NAVBAR
---------------------------------------------------*/
.happynordic365-wiki-navbar {
  background-color: #1f130d;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  z-index: 999;
}
.happynordic365-wiki-logo {
  max-height: 80px;
}
.happynordic365-wiki-nav .nav-link {
  color: #fae7e7;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}
.happynordic365-wiki-nav .nav-link:hover,
.happynordic365-wiki-nav .nav-link.active {
  color: #25fcb0;
}
.navbar-toggler {
  color: #25fcb0;
  font-size: 1.2rem;
  border: none;
}

/*--------------------------------------------------
  HERO SECTION
---------------------------------------------------*/
.happynordic365-wiki-hero {
  position: relative;
  text-align: center;
  padding: 6rem 1rem;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.2)), url('../images/hero.jpg') center/cover no-repeat;
}
.happynordic365-wiki-hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.happynordic365-wiki-hero-text {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.happynordic365-wiki-btn {
  background-color: #25fcb0;
  color: #1f130d;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s;
}
.happynordic365-wiki-btn:hover {
  background-color: #fae7e7;
  color: #1f130d;
  transform: translateY(-3px);
}

/*--------------------------------------------------
  GAME SECTION
---------------------------------------------------*/
.happynordic365-wiki-play {
  padding: 5rem 1rem;
  background-color: #1b0f08;
}
.happynordic365-wiki-game-wrapper {
  max-width: 900px;
  margin: auto;
}
.happynordic365-wiki-game-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}
.happynordic365-wiki-game-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/*--------------------------------------------------
  FEATURES SECTION
---------------------------------------------------*/
.happynordic365-wiki-features {
  background-color: #1f130d;
  padding: 5rem 1rem;
}
.happynordic365-wiki-feature-card {
  background-color: #2c1f16;
  border: 2px solid #25fcb0;
  border-radius: 15px;
  padding: 2rem 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.happynordic365-wiki-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}
.happynordic365-wiki-feature-icon {
  font-size: 2rem;
  color: #25fcb0;
}
.happynordic365-wiki-feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.happynordic365-wiki-feature-text {
  font-size: 1rem;
  color: #fae7e7;
}

/*--------------------------------------------------
  ABOUT SECTION
---------------------------------------------------*/
.happynordic365-wiki-about {
  background-color: #1b0f08;
  padding: 5rem 1rem;
}
.happynordic365-wiki-about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fae7e7;
}
.happynordic365-wiki-about-image-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.happynordic365-wiki-about-img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/*--------------------------------------------------
  REVIEWS SECTION
---------------------------------------------------*/
.happynordic365-wiki-reviews {
  background-color: #1f130d;
  padding: 5rem 1rem;
}
.happynordic365-wiki-review-card {
  background-color: #2c1f16;
  border: 2px solid #25fcb0;
  border-radius: 12px;
  padding: 2rem 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.happynordic365-wiki-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}
.happynordic365-wiki-review-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.happynordic365-wiki-review-text {
  font-size: 1rem;
  color: #fae7e7;
}

/*--------------------------------------------------
  CONTACT SECTION
---------------------------------------------------*/
.happynordic365-wiki-contact {
  background-color: #1b0f08;
  padding: 5rem 1rem;
}
.happynordic365-wiki-contact-form input,
.happynordic365-wiki-contact-form textarea {
  background-color: #2c1f16;
  border: 2px solid #25fcb0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fae7e7;
  width: 100%;
  transition: border-color 0.3s;
}
.happynordic365-wiki-contact-form input:focus,
.happynordic365-wiki-contact-form textarea:focus {
  border-color: #fae7e7;
  outline: none;
}

/*--------------------------------------------------
  FOOTER
---------------------------------------------------*/
.happynordic365-wiki-footer {
  background-color: #1f130d;
  color: #fae7e7;
  padding: 4rem 1rem;
}
.happynordic365-wiki-footer-logo {
  max-height: 60px;
}
.happynordic365-wiki-footer-links li {
  list-style: none;
}
.happynordic365-wiki-footer-link {
  color: #fae7e7;
  font-weight: 600;
}
.happynordic365-wiki-footer-link:hover {
  color: #25fcb0;
}

/*--------------------------------------------------
  SCROLL TO TOP BUTTON
---------------------------------------------------*/
.happynordic365-wiki-scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #25fcb0;
  color: #1f130d;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  transition: all 0.3s;
}
.happynordic365-wiki-scroll-top.visible {
  display: flex;
}
.happynordic365-wiki-scroll-top:hover {
  transform: translateY(-3px);
}

/*--------------------------------------------------
  POPUP / DISCLAIMER
---------------------------------------------------*/
.happynordic365-wiki-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,0.75);
  z-index: 1000;
}
.happynordic365-wiki-popup.visible {
  display: flex;
}
.happynordic365-wiki-popup-inner {
  background-color: #2c1f16;
  color: #fae7e7;
  max-width: 500px;
  width: 90%;
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.8);
}
.happynordic365-wiki-popup-inner button {
  margin-top: 1rem;
}
.happynordic365-wiki-popup-inner h3 {
  margin-bottom: 1rem;
}
.happynordic365-wiki-popup-inner p {
  font-size: 1rem;
  line-height: 1.6;
}



/*--------------------------------------
  LEGAL PAGES SECTIONS - Dark Theme
---------------------------------------*/
.happynordic365-wiki-legal-section {
  padding: 60px 15px;
  background-color: #1f130d; /* dark site background */
  color: #fae7e7; /* light text for readability */
  font-family: 'Manrope', sans-serif;
}

.happynordic365-wiki-legal-section h1.happynordic365-wiki-legal-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #25fcb0; /* site heading color */
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.happynordic365-wiki-legal-section h2.happynordic365-wiki-legal-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #25fcb0; /* accent color for subtitles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.happynordic365-wiki-legal-section p.happynordic365-wiki-legal-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #fae7e7; /* light body text */
}

/* Highlight important text */
.happynordic365-wiki-legal-section strong {
  color: #25fcb0;
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .happynordic365-wiki-legal-section h1.happynordic365-wiki-legal-title {
    font-size: 2rem;
  }
  .happynordic365-wiki-legal-section h2.happynordic365-wiki-legal-subtitle {
    font-size: 1.25rem;
  }
  .happynordic365-wiki-legal-section p.happynordic365-wiki-legal-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .happynordic365-wiki-legal-section {
    padding: 40px 10px;
  }
  .happynordic365-wiki-legal-section h1.happynordic365-wiki-legal-title {
    font-size: 1.8rem;
  }
  .happynordic365-wiki-legal-section h2.happynordic365-wiki-legal-subtitle {
    font-size: 1.1rem;
  }
  .happynordic365-wiki-legal-section p.happynordic365-wiki-legal-text {
    font-size: 0.9rem;
  }
}

/* Container box for emphasis */
.happynordic365-wiki-legal-section .container {
  background-color: #2a1f2d; /* slightly lighter dark box */
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
