/* ===============================
   Questhollow.icu Base Styles
   =============================== */

/* Root Variables */
:root {
  --q-hollow-heading-color: #00fffc;
  --q-hollow-text-color: #ffffff;
  --q-hollow-accent-color: #00fffc;
  --q-hollow-btn-color: #00fffc;
  --q-hollow-btn-text-color: #3c044d;
  --q-hollow-active-link-color: #00fffc;
  --q-hollow-bg-color: #3c044d;
}

/* Global Resets */
body {
  margin: 0;
  padding: 0;
  background-color: var(--q-hollow-bg-color);
  color: var(--q-hollow-text-color);
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--q-hollow-heading-color);
  font-weight: 600;
}

/* Links */
a {
  color: var(--q-hollow-accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus,
a:active {
  color: var(--q-hollow-active-link-color);
}

/* Buttons */
.q-hollow-btn {
  display: inline-block;
  padding: 0.6em 1.2em;
  background-color: var(--q-hollow-btn-color);
  color: var(--q-hollow-btn-text-color);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.q-hollow-btn:hover {
  background-color: var(--q-hollow-accent-color);
  opacity: 0.85;
  transform: translateY(-2px);
}

/* Active States */
.q-hollow-active {
  color: var(--q-hollow-active-link-color);
  font-weight: bold;
}

/* Container */
.q-hollow-container {
  max-width: 1200px;
}

/* Navbar base */
.q-hollow-navbar {
  background-color: #3c044d;
}

/* Logo */
.q-hollow-logo {
  max-height: 80px;
  width: auto;
}

/* Nav links */
.q-hollow-nav-link {
  color: #00fffc;
  font-weight: 600;
  padding: 8px 15px;
  margin-right: 6px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover underline animation */
.q-hollow-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #00fffc;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

/* Hover state */
.q-hollow-nav-link:hover {
  color: #ffffff;
}
.q-hollow-nav-link:hover::after {
  width: 100%;
}

/* Active state */
.q-hollow-nav-link.active {
  color: #ffffff !important;
  font-weight: 700;
}
.q-hollow-nav-link.active::after {
  width: 100%;
  background-color: #ffffff;
}

/* Mobile toggle button */
.q-hollow-toggler {
  border-color: #00fffc;
  margin-bottom: 10px;
}
.q-hollow-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,255,252, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Center items */
.q-hollow-logo-link {
  display: flex;
  justify-content: center;
}
.q-hollow-nav-menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .q-hollow-nav-menu {
    flex-direction: column;
    align-items: center;
  }
}

.q-hollow-hero-section {
  position: relative;
  color: #ffffff;
  background-color: rgba(61, 61, 61, 0.6);
}

.q-hollow-hero-title {
  font-size: 3rem;
  color: #00fffc;
  font-weight: 700;
  margin-bottom: 20px;
}

.q-hollow-hero-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #ffffff;
}

.q-hollow-btn.q-hollow-hero-btn {
  background-color: #00fffc;
  color: #3c044d;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.q-hollow-btn.q-hollow-hero-btn:hover {
  background-color: #00cccc;
  transform: translateY(-2px);
}

/* Disclaimer Section */
.q-hollow-disclaimer-section {
  padding: 4rem 1rem;
  background-color: #3c044d; /* site background */
  color: #ffffff;
  text-align: center;
}

.q-hollow-disclaimer-card {
  background-color: #111a28; /* card color different from background */
  padding: 2rem 1.5rem;
  border-radius: 12px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.q-hollow-disclaimer-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #00fffc;
}

.q-hollow-disclaimer-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.q-hollow-disclaimer-btn {
  background-color: #00fffc;
  color: #3c044d;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.q-hollow-disclaimer-btn:hover {
  background-color: #00e6e0; /* slightly darker/lighter hover */
  color: #3c044d;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .q-hollow-disclaimer-card {
    padding: 1.5rem 1rem;
  }
  .q-hollow-disclaimer-title {
    font-size: 1.75rem;
  }
  .q-hollow-disclaimer-text {
    font-size: 1rem;
  }
}

/* Game Embed Section */
.q-hollow-game-section {
  display: flex;
  justify-content: center; /* centers content horizontally */
  align-items: center; /* centers content vertically if needed */
  flex-direction: column;
  text-align: center;
  padding: 60px 20px;
}

.q-hollow-game-frame {
  max-width: 900px; /* controls iframe width */
  width: 100%;
  aspect-ratio: 16 / 9; /* maintains a responsive height */
  margin: 0 auto;
  border: none;
}

.q-hollow-game-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.q-hollow-game-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #00fffc;
}

.q-hollow-game-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.qh-features-section {
  padding: 3rem 1rem;
  background-color: #2b2b3d;
  color: #ffffff;
}

.qh-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.qh-features-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00fffc;
  margin-bottom: 0.5rem;
}

.qh-features-subtitle {
  font-size: 1.1rem;
  color: #d3d3d3;
  margin-bottom: 3rem;
}

/* Grid */
.qh-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Card */
.qh-feature-card {
  background-color: #111a28;
  border-radius: 15px;
  padding: 2rem 1.5rem;
  max-width: 280px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.qh-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 255, 252, 0.3);
}

.qh-feature-icon {
  font-size: 3rem;
  color: #00fffc;
  margin-bottom: 1rem;
}

.qh-feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #00fffc;
  margin-bottom: 0.5rem;
}

.qh-feature-text {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 991px) {
  .qh-features-title {
    font-size: 2rem;
  }
  .qh-features-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .qh-features-grid {
    grid-template-columns: 1fr;
  }
  .qh-feature-card {
    max-width: 90%;
  }
}

.q-hollow-about-section {
  padding: 5rem 1rem;
  background-color: #3c044d; /* site background */
  color: #ffffff; /* main text color */
  text-align: center;
}

.q-hollow-about-container {
  max-width: 1000px;
  margin: 0 auto;
}

.q-hollow-about-image {
  margin-bottom: 2rem;
}

.q-hollow-about-img {
  max-width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

.q-hollow-about-text {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.6;
}

.q-hollow-about-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #00fffc; /* heading color */
}

.q-hollow-about-text p {
  margin-bottom: 1.2rem;
}

/* Player Reviews Section */
.q-hollow-review-section {
  padding: 4rem 1rem;
  background-color: #3c044d;
  color: #ffffff;
  display: flex;
  justify-content: center; /* center wrapper horizontally */
}

/* Wrapper to control max width */
.q-hollow-review-wrapper {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

/* Section Title */
.q-hollow-review-title {
  font-size: 2rem;
  font-weight: 700;
  color: #00fffc;
  margin-bottom: 3rem;
}

/* Review Grid */
.q-hollow-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  justify-items: center; /* center each card */
}

/* Individual Review Card */
.q-hollow-review-card {
  background-color: #111a28;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 280px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.q-hollow-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 255, 252, 0.3);
}

/* Avatar */
.q-hollow-review-avatar {
  font-size: 4rem;
  color: #00fffc;
  margin-bottom: 1rem;
}

/* Review Content */
.q-hollow-review-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #00fffc;
  margin-bottom: 0.5rem;
}

.q-hollow-review-text {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* Star Rating */
.q-hollow-review-stars {
  color: #00fffc;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .q-hollow-review-title {
    font-size: 1.85rem;
  }
  .q-hollow-review-card {
    max-width: 240px;
  }
}

@media (max-width: 768px) {
  .q-hollow-review-title {
    font-size: 1.6rem;
  }
  .q-hollow-review-card {
    max-width: 90%;
  }
}

/* Footer Base */
.q-hollow-footer {
  background-color: #111a28;
  color: #ffffff;
  padding: 4rem 1rem 2rem;
  font-family: "Open Sans", sans-serif;
}

/* Footer Container */
.q-hollow-footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Columns */
.q-hollow-footer-col {
  flex: 1;
  min-width: 220px;
}

/* Logo */
.q-hollow-footer-logo img {
  max-height: 60px;
  margin-bottom: 1rem;
}

/* Footer About Text */
.q-hollow-footer-about {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ffffff;
}

/* Footer Titles */
.q-hollow-footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #00fffc;
  margin-bottom: 1rem;
}

/* Footer Links */
.q-hollow-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.q-hollow-footer-links li {
  margin-bottom: 0.5rem;
}

.q-hollow-footer-link {
  color: #00fffc;
  text-decoration: none;
  transition: color 0.3s;
}

.q-hollow-footer-link:hover {
  color: #ffffff;
}

/* Footer Disclaimer Text */
.q-hollow-footer-disclaimer {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ffffff;
}

.q-hollow-footer-disclaimer a {
  color: #00fffc;
  text-decoration: underline;
}

.q-hollow-footer-disclaimer a:hover {
  color: #ffffff;
}

/* Bottom Bar */
.q-hollow-footer-bottom {
  border-top: 1px solid #00fffc;
  padding-top: 1rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .q-hollow-footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .q-hollow-footer-col {
    min-width: 100%;
  }
}

/* Scroll to Top Button */
.q-hollow-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #00fffc;
  color: #3c044d;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 1.5rem;
  z-index: 999;
  transition: background-color 0.3s, transform 0.3s;
}

.q-hollow-scroll-top:hover {
  background-color: #00e0e0;
  transform: translateY(-5px);
}

/* Age / Disclaimer Popup Overlay */
.q-hollow-age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none; /* hidden by default, shown via JS */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
}

/* Popup Content */
.q-hollow-age-popup-content {
  background-color: #3c044d;
  color: #ffffff;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Popup Title */
.q-hollow-age-popup-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #00fffc;
  margin-bottom: 1rem;
}

/* Popup Text */
.q-hollow-age-popup-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #ffffff;
}

/* Buttons */
.q-hollow-age-popup-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.q-hollow-btn {
  background-color: #00fffc;
  color: #3c044d;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.q-hollow-btn:hover {
  background-color: #00e0e0;
  transform: translateY(-2px);
}

/* Decline Button */
.q-hollow-btn-decline {
  background-color: #ff4d4d;
  color: #ffffff;
}

.q-hollow-btn-decline:hover {
  background-color: #e04343;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 576px) {
  .q-hollow-age-popup-content {
    padding: 1.5rem;
  }

  .q-hollow-age-popup-title {
    font-size: 1.5rem;
  }

  .q-hollow-age-popup-text {
    font-size: 0.95rem;
  }

  .q-hollow-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }

  .q-hollow-scroll-top {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
    bottom: 20px;
    right: 20px;
  }
}

/* Contact Section */
.q-hollow-contact-section {
  padding: 4rem 1rem;
  background-color: #3c044d;
  color: #ffffff;
  display: flex;
  justify-content: center; /* center wrapper horizontally */
}

.q-hollow-contact-wrapper {
  max-width: 700px;
  width: 100%;
  text-align: center;
}

/* Title */
.q-hollow-contact-title {
  font-size: 2rem;
  font-weight: 700;
  color: #00fffc;
  margin-bottom: 1rem;
}

/* Paragraph */
.q-hollow-contact-text {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #ffffff;
  line-height: 1.5;
}

/* Form */
.q-hollow-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.q-hollow-form-group input,
.q-hollow-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  outline: none;
}

.q-hollow-contact-btn {
  background-color: #00fffc;
  color: #111a28;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.q-hollow-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 255, 252, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .q-hollow-contact-title {
    font-size: 1.75rem;
  }
  .q-hollow-contact-wrapper {
    max-width: 90%;
  }
}

/* Disclaimer Section */
.q-hollow-disclaimer-section {
  display: flex;
  justify-content: center; /* centers horizontally */
  padding: 4rem 1rem;
  background-color: #3c044d;
  color: #ffffff;
}

.q-hollow-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.q-hollow-disclaimer-card {
  max-width: 800px;
  width: 100%;
  background-color: #111a28;
  padding: 2rem;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 255, 252, 0.2);
}

.q-hollow-disclaimer-title {
  font-size: 2rem;
  font-weight: 700;
  color: #00fffc;
  margin-bottom: 1.5rem;
  text-align: center;
}

.q-hollow-disclaimer-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #ffffff;
}

.q-hollow-link {
  color: #00fffc;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .q-hollow-disclaimer-card {
    padding: 1.5rem;
    max-width: 90%;
  }

  .q-hollow-disclaimer-title {
    font-size: 1.5rem;
  }
}

/* Privacy Policy Section */
.q-hollow-privacy-section {
  display: flex;
  justify-content: center; /* center horizontally */
  padding: 4rem 1rem;
  background-color: #3c044d;
  color: #ffffff;
}

.q-hollow-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.q-hollow-privacy-card {
  max-width: 800px;
  width: 100%;
  background-color: #111a28;
  padding: 2rem;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 255, 252, 0.2);
}

.q-hollow-privacy-title {
  font-size: 2rem;
  font-weight: 700;
  color: #00fffc;
  margin-bottom: 1.5rem;
  text-align: center;
}

.q-hollow-privacy-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #00fffc;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.q-hollow-privacy-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #ffffff;
}

.q-hollow-link {
  color: #00fffc;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .q-hollow-privacy-card {
    padding: 1.5rem;
    max-width: 90%;
  }

  .q-hollow-privacy-title {
    font-size: 1.5rem;
  }

  .q-hollow-privacy-subtitle {
    font-size: 1.1rem;
  }
}

/* Terms & Conditions Section */
.q-hollow-terms-section {
  display: flex;
  justify-content: center; /* center horizontally */
  padding: 4rem 1rem;
  background-color: #3c044d;
  color: #ffffff;
}

.q-hollow-terms-card {
  max-width: 800px;
  width: 100%;
  background-color: #111a28;
  padding: 2rem;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 255, 252, 0.2);
}

.q-hollow-terms-title {
  font-size: 2rem;
  font-weight: 700;
  color: #00fffc;
  margin-bottom: 1.5rem;
  text-align: center;
}

.q-hollow-terms-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #00fffc;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.q-hollow-terms-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #ffffff;
}

.q-hollow-link {
  color: #00fffc;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .q-hollow-terms-card {
    padding: 1.5rem;
    max-width: 90%;
  }

  .q-hollow-terms-title {
    font-size: 1.5rem;
  }

  .q-hollow-terms-subtitle {
    font-size: 1.1rem;
  }
}
