/* ===============================
   Sagaquest.rest - Global Styles
   =============================== */
body.squest-rest {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #181840;
  color: #e6eaff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.section-title {
  font-family: 'Cinzel', serif;
  color: #ffdeb7;
  margin-bottom: 1rem;
}

/* Sub text */
.section-sub {
  color: #e6eaff;
  font-size: 1rem;
  opacity: 0.9;
}

/* Links */
a {
  color: #ffdeb7;
  text-decoration: none;
}
a:hover, a:focus {
  color: #e6eaff;
  text-decoration: underline;
}

/* Cards */
.squest-rest-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1.5rem;
  color: #e6eaff;
}
.squest-rest-card--center {
  text-align: center;
}

/* Buttons */
.squest-rest-btn {
  display: inline-block;
  background: #ffdeb7;
  color: #181840;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.squest-rest-btn:hover {
  background: #e6eaff;
  color: #181840;
}
.squest-rest-btn--ghost {
  background: transparent;
  border: 2px solid #ffdeb7;
  color: #ffdeb7;
}
.squest-rest-btn--ghost:hover {
  background: #ffdeb7;
  color: #181840;
}
.squest-rest-btn--sm {
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
}

/* ===============================
   Navbar
   =============================== */
.squest-rest-navbar {
  background: #181840;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.squest-rest-logo {
  height: 90px;
}
.squest-rest-nav .nav-link {
  color: #e6eaff;
  margin: 0 0.75rem;
  font-weight: 500;
}
.squest-rest-nav .nav-link.active,
.squest-rest-nav .nav-link:hover {
  color: #ffdeb7;
}
.squest-rest-toggler {
  border: none;
  color: #ffdeb7;
  font-size: 1.25rem;
}

/* ===============================
   Hero Section
   =============================== */
.squest-rest-hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  overflow: hidden;
  background: url("../img/hero-bg.jpg") center/cover no-repeat;
}

.squest-rest-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.squest-rest-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;    /* contain width */
  width: 100%;
  margin: 0 auto;
}
.squest-rest-hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffdeb7;
}

.squest-rest-hero-sub {
  font-size: 1.25rem;
  color: #e6eaff;
  margin-bottom: 2rem;

}

/* ===============================
   Disclaimer Section
   =============================== */
.squest-rest-disclaimer {
  padding: 4rem 0;
}
.squest-rest-disclaimer p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===============================
   Game Section
   =============================== */
.squest-rest-game {
  padding: 4rem 0;
}
.squest-rest-iframe-wrap {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 10px;
}
.squest-rest-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* ===============================
   Features
   =============================== */
.squest-rest-features {
  padding: 4rem 0;
}
.squest-rest-feature {
  text-align: center;
}
.squest-rest-feature-icon {
  font-size: 2rem;
  color: #ffdeb7;
  margin-bottom: 1rem;
}
.squest-rest-feature-title {
  margin-bottom: 0.5rem;
}

/* ===============================
   Reviews
   =============================== */
.squest-rest-reviews {
  padding: 4rem 0;
}
.squest-rest-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 1.5rem;
}
.squest-rest-avatar {
  background: #ffdeb7;
  color: #181840;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-right: 0.75rem;
}
.squest-rest-review-head {
  display:flex;
  align-items:center;
  margin-bottom:0.75rem;
}
.squest-rest-review-name {
  margin: 0;
  color: #ffdeb7;
}
.squest-rest-review-text {
  font-size: 0.95rem;
}
.squest-rest-stars {
  color: #ffdeb7;
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* ===============================
   About Section
   =============================== */
.squest-rest-about {
  padding: 4rem 1rem;
  background: #181840;
  color: #e6eaff;
  text-align: center;
}

.squest-rest-about-media {
  display: flex;
  justify-content: center;
}

.squest-rest-about-img {
  max-width: 500px;
  height: auto;
}

.squest-rest-about .section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffdeb7;
}

.squest-rest-about .section-sub {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #e6eaff;
}

.squest-rest-about p {
  max-width: 700px;
  margin: 0 auto 1rem auto;
}

.squest-rest-about .squest-rest-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ffdeb7;
  color: #181840;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.squest-rest-about .squest-rest-btn:hover {
  background: #e6eaff;
  color: #181840;
}


/* ===============================
   Footer
   =============================== */
.squest-rest-footer {
  background: #1a1a4a;
  padding: 3rem 1rem;
  color: #e6eaff;
}
.squest-rest-footer-logo {
  height: 75px;
  margin-bottom: 1rem;
}
.squest-rest-footer-nav {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:1rem;
}
.squest-rest-footer-link {
  color: #e6eaff;
}
.squest-rest-footer-link:hover {
  color: #ffdeb7;
}
.squest-rest-footer-disclaimer {
  margin: 2rem auto;
  max-width: 700px;
  font-size: 0.85rem;
  opacity: 0.9;
}
.squest-rest-footer-copy {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ===============================
   Age Popup
   =============================== */
.squest-rest-age-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 9999;
}
.squest-rest-age-popup-content {
  background: #1f1f55;
  color: #e6eaff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  text-align:center;
}
.squest-rest-age-popup-title {
  color: #ffdeb7;
  margin-bottom: 1rem;
}
.squest-rest-age-popup-actions {
  margin-top: 1.5rem;
  display:flex;
  gap:1rem;
  justify-content:center;
}

/* ===============================
   Scroll to Top Button
   =============================== */
.squest-rest-scrolltop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #ffdeb7;
  color: #181840;
  padding: 0.5rem 0.75rem;
  border-radius: 50%;
  display: none;
  align-items:center;
  justify-content:center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}
.squest-rest-scrolltop:hover {
  background: #e6eaff;
  color: #181840;
}


/* ===============================
   Contact Section
   =============================== */
.squest-rest-contact {
  padding: 4rem 1rem;
  background: #181840;
  color: #e6eaff;
}

.squest-rest-contact .section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffdeb7;
}

.squest-rest-contact .section-sub {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: #e6eaff;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.squest-rest-contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.squest-rest-contact-form .form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.squest-rest-contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #ffdeb7;
}

.squest-rest-contact-form input,
.squest-rest-contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ffdeb7;
  border-radius: 8px;
  background: #181840;
  color: #e6eaff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.squest-rest-contact-form input:focus,
.squest-rest-contact-form textarea:focus {
  outline: none;
  border-color: #e6eaff;
}

.squest-rest-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ffdeb7;
  color: #181840;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.squest-rest-btn:hover {
  background: #e6eaff;
  color: #181840;
}


/* ===============================
   Disclaimer Section
   =============================== */
.squest-rest-disclaimer {
  padding: 4rem 1rem;
  background: #181840;
  color: #e6eaff;
}

.squest-rest-disclaimer .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffdeb7;
}

.squest-rest-disclaimer-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1rem;
}

.squest-rest-disclaimer-content p {
  margin-bottom: 1.5rem;
}

.squest-rest-disclaimer-content .disclaimer-heading {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #ffdeb7;
}

.squest-rest-disclaimer-content .last-updated {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #e6eaff;
  text-align: right;
  opacity: 0.8;
}


/* ===============================
   Privacy Policy Section
   =============================== */
.squest-rest-privacy {
  padding: 4rem 1rem;
  background: #181840;
  color: #e6eaff;
}

.squest-rest-privacy .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffdeb7;
}

.squest-rest-privacy-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1rem;
}

.squest-rest-privacy-content p,
.squest-rest-privacy-content ul {
  margin-bottom: 1.5rem;
}

.squest-rest-privacy-content .privacy-heading {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #ffdeb7;
}

/* ===============================
   Terms & Conditions Section
   =============================== */
.squest-rest-terms {
  padding: 4rem 1rem;
  background: #181840;
  color: #e6eaff;
}

.squest-rest-terms .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffdeb7;
}

.squest-rest-terms-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1rem;
}

.squest-rest-terms-content p {
  margin-bottom: 1.5rem;
}

.squest-rest-terms-content .terms-heading {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #ffdeb7;
}

.last-updated {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #e6eaff;
  text-align: right;
  opacity: 0.8;
}
