/* ===========================
   Base Styles
=========================== */
body.drift365-space {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fae8ff;
  background: #0c0934;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-weight: 600;
  color: #e31919;
}

/* ===========================
   Navbar
=========================== */
.drift365-space-navbar {
  background: rgba(43, 9, 52, 0.95);
  border-bottom: 1px solid rgba(227, 25, 25, 0.3);
  backdrop-filter: blur(6px);
}

.drift365-space-logo {
  height: 75px;
}

.drift365-space-navlist .nav-link {
  color: #fae8ff;
  margin-left: 1rem;
  padding: 0.5rem 1rem; /* spacing for rectangle */
  position: relative;
  transition: color 0.3s ease;
}

.drift365-space-navlist .nav-link:hover {
  color: #e31919;
}

/* Active Nav Link with Rectangle Shape */
.drift365-space-navlist .nav-link.active {
  color: #fae8ff; /* light text */
  font-weight: 600;
  z-index: 1;
}

.drift365-space-navlist .nav-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #e31919;
  z-index: -1;
  border-radius: 6px; /* rounded corners */
}


/* ===========================
   Hero
=========================== */
.drift365-space-hero {
  min-height: 90vh;
  background: url("../images/header-bg.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
  text-align: center;
}

.drift365-space-hero-heading {
  color: #e31919;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.drift365-space-hero-text {
  color: #fae8ff;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   Buttons
=========================== */
.drift365-space-btn {
  background: #e31919;
  color: #0c0934;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.drift365-space-btn:hover {
  background: #fae8ff;
  color: #0c0934;
}

.drift365-space-btn.exit-btn {
  background: transparent;
  border: 2px solid #e31919;
  color: #e31919;
}

.drift365-space-btn.exit-btn:hover {
  background: #e31919;
  color: #0c0934;
}

/* ===========================
   Sections
=========================== */
.drift365-space-section-title {
  color: #e31919;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.drift365-space-section-text {
  color: #fae8ff;
  font-size: 1.1rem;
}

/* Disclaimer Card */
.drift365-space-disclaimer-card {
  background: #3c1149;
  color: #fae8ff;
  border: 1px solid #e31919;
  border-radius: 12px;
}

/* ===========================
   Game
=========================== */
.drift365-space-game-card {
  border: 2px solid #e31919;
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px;
  height: 500px;
}

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

/* Disclaimer Card */
.drift365-space-disclaimer-card {
  background: #3b0f45;
  color: #fae8ff;
  border: 1px solid #e31919;
  max-width: 700px;   /* contain width */
  width: 100%;
}

/* ===========================
   Features
=========================== */
.drift365-space-feature-card {
  background: #3c1149;
  border-radius: 12px;
  padding: 2rem 1rem;
  color: #fae8ff;
  border: 1px solid rgba(227, 25, 25, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.drift365-space-feature-card i {
  color: #e31919;
}

/* ===========================
   About
=========================== */
.drift365-space-about-text {
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.1rem;
  color: #fae8ff;
}

.drift365-space-about-img {
  border-radius: 12px;
  border: 2px solid #e31919;
}

/* ===========================
   Reviews
=========================== */
.drift365-space-review-card {
  background: #3c1149;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(227, 25, 25, 0.3);
  transition: transform 0.3s ease;
}

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

.drift365-space-review-card i {
  color: #e31919;
}

/* ===========================
   Footer
=========================== */
.drift365-space-footer {
  background: #1c0422;
  color: #fae8ff;
}

.drift365-space-footer-logo {
  height: 45px;
}

.drift365-space-footer-heading {
  color: #e31919;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.drift365-space-footer-link {
  color: #fae8ff;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.drift365-space-footer-link:hover {
  color: #e31919;
}

.drift365-space-footer-bottom {
  color: #fae8ff;
  font-size: 0.9rem;
}

.drift365-space-footer-credit {
  color: #e31919;
}

/* ===========================
   Scroll to Top Button
=========================== */
.drift365-space-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #e31919;
  color: #0c0934;
  border: none;
  width: 50px;   /* equal width */
  height: 50px;  /* equal height */
  border-radius: 50%; /* perfect circle */
  font-size: 1.2rem;
  display: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;

  display: flex; /* center icon inside */
  align-items: center;
  justify-content: center;
}

.drift365-space-scroll-top.visible {
  display: flex; /* keep flex when visible */
}

.drift365-space-scroll-top:hover {
  background: #fae8ff;
  color: #0c0934;
}


/* ===========================
   Disclaimer Popup
=========================== */
.drift365-space-disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 9, 52, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.drift365-space-disclaimer-overlay.active {
  display: flex;
}

.drift365-space-disclaimer-box {
  background: #3c1149;
  border: 2px solid #e31919;
  border-radius: 12px;
  max-width: 600px;
  padding: 2rem;
  color: #fae8ff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.drift365-space-disclaimer-title {
  color: #e31919;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.drift365-space-disclaimer-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}



/* ===========================
   Contact Section
=========================== */
.drift365-space-contact {
  background: #0c0934; /* site background */
  color: #fae8ff;
}

.drift365-space-contact-form {
  background: rgba(43, 9, 52, 0.85);
  border: 1px solid rgba(227, 25, 25, 0.3);
  border-radius: 1rem;
}

.drift365-space-contact-form .form-label {
  color: #fae8ff;
  font-weight: 500;
}

.drift365-space-contact-form .form-control {
  background: #1a0520;
  border: 1px solid rgba(227, 25, 25, 0.4);
  color: #fae8ff;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.drift365-space-contact-form .form-control::placeholder {
  color: rgba(250, 232, 255, 0.6);
}

.drift365-space-contact-form .form-control:focus {
  border-color: #e31919;
  box-shadow: 0 0 0 0.25rem rgba(227, 25, 25, 0.3);
  outline: none;
}

.drift365-space-contact-form button.drift365-space-btn {
  background: #e31919;
  color: #0c0934;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.drift365-space-contact-form button.drift365-space-btn:hover {
  background: #fae8ff;
  color: #0c0934;
}


/* ===========================
   Legal Sections (Disclaimer, Privacy, Terms)
=========================== */
.drift365-space-legal {
  background: #0c0934; /* site background */
  color: #fae8ff;      /* main text */
  padding: 4rem 1rem;
}

.drift365-space-legal .container {
  max-width: 900px; /* contain width */
  margin: 0 auto;
}

.drift365-space-section-title {
  color: #e31919;      /* headings in accent */
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.drift365-space-legal-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #fae8ff;
}

.drift365-space-legal-text p {
  margin-bottom: 1.25rem;
}

.drift365-space-legal-text strong {
  color: #e31919; /* emphasize in accent */
  font-weight: 600;
}

.drift365-space-legal-text h4 {
  font-size: 1.3rem;
  color: #e31919;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.drift365-space-legal-text ul {
  margin: 1rem 0 1.5rem 1.5rem;
  padding: 0;
  list-style: disc;
}

.drift365-space-legal-text li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .drift365-space-section-title {
    font-size: 1.8rem;
  }
  .drift365-space-legal-text {
    font-size: 1rem;
  }
}
