/* ================================
   Glacialoop.space Global Styles
   ================================ */

.gloop-space-body {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background-color: #332828;
  color: #e3fff5;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ================================
   Navbar
   ================================ */
.gloop-space-navbar {
  background: #332828;
  border-bottom: 1px solid rgba(168, 255, 224, 0.2);
}

.gloop-space-logo {
  height: 80px;
  width: auto;
}

.gloop-space-navbar .nav-link {
  color: #e3fff5;
  font-weight: 500;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.gloop-space-navbar .nav-link:hover,
.gloop-space-navbar .nav-link.active {
  color: #a8ffe0;
}

/* ================================
   Hero Section
   ================================ */
.gloop-space-hero {
  position: relative;
  height: 90vh; /* Make hero take 90% of viewport height */
  background: linear-gradient(
      to bottom,
      rgba(0, 61, 39, 0.1),
      rgba(0, 61, 39, 0.1)
    ),
    url("../images/header.jpg") center center / cover no-repeat;
  color: #e3fff5;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center content */
  align-items: center; /* Horizontally center content */
  padding: 0 20px;
  text-align: center;
}

.gloop-space-hero-heading {
  font-size: 2.8rem;
  font-weight: bold;
  color: #a8ffe0;
  margin-bottom: 20px;
}

.gloop-space-hero-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 30px;
}

/* ================================
   Buttons
   ================================ */
.gloop-space-btn {
  display: inline-block;
  background: #a8ffe0;
  color: #332828;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.gloop-space-btn:hover {
  background: #e3fff5;
  color: #332828;
}

.gloop-space-btn-ghost {
  background: transparent;
  border: 2px solid #a8ffe0;
  color: #a8ffe0;
}

.gloop-space-btn-ghost:hover {
  background: #a8ffe0;
  color: #332828;
}

/* ================================
   Disclaimer Card
   ================================ */
.gloop-space-disclaimer-card {
  background: rgba(0, 61, 39, 0.9);
  border: 1px solid rgba(168, 255, 224, 0.2);
  color: #e3fff5;
}

.gloop-space-disclaimer-title {
  color: #a8ffe0;
  font-weight: bold;
}

.gloop-space-disclaimer-text {
  font-size: 1rem;
}

/* ================================
   Game Section
   ================================ */
.gloop-space-game-section {
  background: #002a1c;
}

.gloop-space-section-title {
  font-size: 2rem;
  color: #a8ffe0;
  margin-bottom: 15px;
  font-weight: 600;
}

.gloop-space-section-subtext {
  font-size: 1.1rem;
  color: #e3fff5;
}

.gloop-space-game-card {
  max-width: 900px;
  height: 550px;
  background: #001f15;
  border: 1px solid rgba(168, 255, 224, 0.2);
}

.gloop-space-game-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ================================
   Features Section
   ================================ */
.gloop-space-feature-card {
  background: #004d36;
  color: #e3fff5;
  border: 1px solid rgba(168, 255, 224, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gloop-space-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.gloop-space-feature-title {
  color: #a8ffe0;
  font-size: 1.3rem;
  font-weight: bold;
}

/* ================================
   About Section
   ================================ */
.gloop-space-about-section {
  background: #332828;
}

.gloop-space-about-text {
  font-size: 1.05rem;
  margin-bottom: 15px;
}

/* ================================
   Reviews Section
   ================================ */
.gloop-space-review-card {
  background: #004d36;
  color: #e3fff5;
  border: 1px solid rgba(168, 255, 224, 0.15);
  transition: transform 0.3s ease;
}

.gloop-space-review-card:hover {
  transform: translateY(-6px);
}

.gloop-space-reviews-intro {
  font-size: 1.1rem;
}

/* Footer */
.gloop-space-footer {
  background: #002a1c;
  color: #e3fff5;
  padding-top: 60px;
  padding-bottom: 60px;
}

.gloop-space-footer-logo {
  height: 100px; /* Bigger logo */
  width: auto;
}

.gloop-space-footer-heading {
  color: #a8ffe0;
  font-size: 1.2rem;
  font-weight: bold;
}

.gloop-space-footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Left-align the vertical links */
.gloop-space-footer-links-col {
  padding-left: 30px;
  text-align: left; /* align left */
}

.gloop-space-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gloop-space-footer-links a {
  color: #e3fff5;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gloop-space-footer-links a:hover {
  color: #a8ffe0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .gloop-space-footer-links-col {
    text-align: left; /* keep left-aligned on mobile */
    padding-left: 0;
    margin-top: 20px;
  }

  .gloop-space-footer-links {
    align-items: flex-start;
  }
}

/* Reeshtech link */
.gloop-space-footer a[href*="reeshtech.com"] {
  color: #a8ffe0;
  text-decoration: none;
}

.gloop-space-footer a[href*="reeshtech.com"]:hover {
  color: #e3fff5;
}

/* ================================
   Age Popup
   ================================ */
.gloop-space-age-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.gloop-space-age-popup-box {
  background: #332828;
  color: #e3fff5;
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  text-align: center;
  border: 1px solid rgba(168, 255, 224, 0.3);
}

.gloop-space-age-popup-title {
  font-size: 1.6rem;
  color: #a8ffe0;
  margin-bottom: 15px;
}

.gloop-space-age-popup-text {
  font-size: 1rem;
  margin-bottom: 25px;
}

/* ================================
   Scroll to Top Button
   ================================ */
.gloop-space-scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 40px; /* fixed width */
  height: 40px; /* fixed height */
  background: #a8ffe0;
  color: #332828;
  font-size: 1.2rem; /* adjust icon size */
  border: none;
  padding: 0; /* remove extra padding */
  border-radius: 50%; /* perfect circle */
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gloop-space-scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

.gloop-space-scroll-top:hover {
  background: #e3fff5;
  color: #332828;
}

/* Contact Section */
.gloop-space-contact-section {
  background: #332828;
  color: #e3fff5;
  padding-top: 80px;
  padding-bottom: 80px;
}

.gloop-space-section-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #a8ffe0;
  margin-bottom: 15px;
}

.gloop-space-section-subtext {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #e3fff5;
}

.gloop-space-contact-form .form-label {
  font-weight: 500;
  color: #a8ffe0;
}

.gloop-space-contact-form .form-control {
  background: #002a1c;
  color: #e3fff5;
  border: 1px solid #a8ffe0;
  border-radius: 6px;
  padding: 12px 15px;
  transition: border-color 0.3s ease;
}

.gloop-space-contact-form .form-control:focus {
  border-color: #e3fff5;
  box-shadow: 0 0 8px rgba(168, 255, 224, 0.4);
  color: #e3fff5;
}

.gloop-space-contact-form textarea.form-control {
  resize: vertical;
}

.gloop-space-btn {
  background: #a8ffe0;
  color: #332828;
  font-weight: bold;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gloop-space-btn:hover {
  background: #e3fff5;
  color: #332828;
}

/* Disclaimer Page */
.gloop-space-disclaimer-page {
  background: #332828;
  color: #e3fff5;
  padding-top: 80px;
  padding-bottom: 80px;
}

.gloop-space-disclaimer-card {
  background: #002a1c;
  border: 1px solid #a8ffe0;
  color: #e3fff5;
}

.gloop-space-disclaimer-title {
  color: #a8ffe0;
  font-size: 1.5rem;
  font-weight: bold;
}

.gloop-space-disclaimer-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e3fff5;
}

.gloop-space-link {
  color: #a8ffe0;
  text-decoration: underline;
}

.gloop-space-link:hover {
  color: #e3fff5;
  text-decoration: none;
}

/* General Section Styles */
.gloop-space-privacy-page,
.gloop-space-terms-page {
  background: #332828;
  color: #e3fff5;
  padding-top: 80px;
  padding-bottom: 80px;
}

.gloop-space-privacy-card,
.gloop-space-terms-card {
  background: #002a1c;
  border: 1px solid #a8ffe0;
  color: #e3fff5;
}

.gloop-space-privacy-title,
.gloop-space-terms-title {
  color: #a8ffe0;
  font-size: 1.5rem;
  font-weight: bold;
}

.gloop-space-privacy-text,
.gloop-space-terms-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e3fff5;
}

.gloop-space-link {
  color: #a8ffe0;
  text-decoration: underline;
}

.gloop-space-link:hover {
  color: #e3fff5;
  text-decoration: none;
}
