/* ============================================================
   SCANDIVAHUB.CLICK — FULL SITE CSS
   ============================================================ */

/* ------------------------------
   Root & Global Settings
------------------------------ */
:root {
  --color-heading: #ab5fff;
  --color-text: #7fa8ff; /* lighter shade of blue for better contrast */
  --color-accent: #ab5fff;
  --color-bg: #1b2533;
  --color-button-bg: #ab5fff;
  --color-button-text: #1b2533;
  --color-button-hover: #3168d8;
  --color-glow: rgba(171, 95, 255, 0.7);
  --font-main: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}

/* ------------------------------
   Body
------------------------------ */
body.scandivahub-click {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ------------------------------
   General Text Adjustments
------------------------------ */
p, li, span {
  color: var(--color-text);
  opacity: 0.95;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover, a:focus {
  color: var(--color-button-hover);
  text-shadow: 0 0 8px var(--color-glow);
}

/* Headings Glow Effect */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  text-shadow: 0 0 8px var(--color-glow);
  font-weight: 700;
}

/* Smooth transitions globally */
* {
  transition: all 0.25s ease-in-out;
}

/* =====================================
   Scandivahub Navbar (Enhanced Version)
===================================== */
.scandivahub-click-nav {
  background-color: var(--color-bg);
  border-bottom: 2px solid var(--color-accent);
  box-shadow: 0 0 20px rgba(171, 95, 255, 0.25);
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  z-index: 1050;
}

/* Brand Logo */
.scandivahub-click-nav .navbar-brand img.nav-logo {
  height: 70px;
  transition: transform 0.3s ease;
}

.scandivahub-click-nav .navbar-brand img.nav-logo:hover {
  transform: scale(1.07);
}

/* Links */
.scandivahub-click-nav .nav-link {
  color: #d1dbff;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.6rem 1.2rem;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.scandivahub-click-nav .nav-link:hover {
  color: var(--color-accent);
  text-shadow: 0 0 8px var(--color-glow);
  background-color: rgba(171, 95, 255, 0.1);
}

/* Active Link */
.scandivahub-click-nav .nav-link.active {
  color: #ffffff;
  background-color: var(--color-accent);
  text-shadow: 0 0 15px var(--color-glow);
  box-shadow: 0 0 10px rgba(171, 95, 255, 0.5);
}

/* Navbar Toggler */
.navbar-toggler {
  border: none;
  background: transparent;
  position: relative;
  width: 36px;
  height: 26px;
  cursor: pointer;
  outline: none;
}

.navbar-toggler-icon {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--color-accent);
  top: 50%;
  left: 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  top: -9px;
}

.navbar-toggler-icon::after {
  top: 9px;
}

/* Toggle Active Animation */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Collapsed Menu (Mobile) */
@media (max-width: 991px) {
  .scandivahub-click-nav .navbar-nav {
    text-align: center;
    background-color: rgba(27, 37, 51, 0.97);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 0.8rem;
    box-shadow: 0 0 15px rgba(171, 95, 255, 0.3);
  }

  .scandivahub-click-nav .nav-link {
    display: block;
    padding: 0.9rem;
    font-size: 1.1rem;
  }

  .scandivahub-click-nav .nav-link.active {
    background-color: var(--color-accent);
    color: var(--color-button-text);
  }
}


/* ------------------------------
   Hero Section
------------------------------ */
.scandivahub-click-hero {
  height: 80vh;
  background: url("../images/hero.jpg") center center / cover no-repeat, radial-gradient(circle at center, #2b3550 0%, #1b2533 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: var(--color-text);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(171, 95, 255, 0.15);
}

.scandivahub-click-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 37, 51, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 1.2rem;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--color-heading);
  text-shadow: 0 0 15px var(--color-glow), 0 0 25px rgba(171, 95, 255, 0.4);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  max-width: 700px;
  margin: 0 auto 2.2rem;
  color: rgba(209, 219, 255, 0.9);
  line-height: 1.7;
}

/* CTA Button */
.scandivahub-click-btn {
  background-color: var(--color-button-bg);
  color: var(--color-button-text);
  border: none;
  padding: 0.85rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(171, 95, 255, 0.4);
}

.scandivahub-click-btn:hover {
  background-color: var(--color-button-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(49, 104, 216, 0.5);
}

/* Small screens */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ------------------------------
   Games Section
------------------------------ */
.scandivahub-click-play {
  background: linear-gradient(180deg, #121826 0%, #1b2436 100%);
  color: var(--color-text);
  padding: 5rem 1rem;
  position: relative;
}

.scandivahub-click-play .section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 3rem;
  text-shadow: 0 0 10px rgba(171, 95, 255, 0.4);
}

/* Main Frame Wrapper */
.scandivahub-click-main-frame {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 3rem;
  aspect-ratio: 16 / 9;
  background: #0f1625;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(171, 95, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Responsive iframe */
.scandivahub-click-main-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  border-radius: 16px;
}

/* Hover interaction */
.scandivahub-click-main-frame:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(171, 95, 255, 0.35);
}

/* Small screens */
@media (max-width: 768px) {
  .scandivahub-click-main-frame {
    border-radius: 10px;
    margin-bottom: 2rem;
  }
}



/* ------------------------------
   About Section
------------------------------ */
.scandivahub-click-about {
  background: radial-gradient(circle at top, #202a3f 0%, #1b2533 90%);
  color: var(--color-text);
  overflow: hidden;
}

.scandivahub-click-about .section-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-heading);
  text-shadow: 0 0 15px var(--color-glow);
}

.scandivahub-click-about p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  max-width: 800px;
}

.scandivahub-click-about strong {
  color: var(--color-heading);
}

.about-image {
  flex: 1 1 45%;
  max-width: 420px;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 35px rgba(171, 95, 255, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 50px rgba(171, 95, 255, 0.4);
}

.about-content {
  flex: 1 1 55%;
  max-width: 850px;
}

.scandivahub-click-about .scandivahub-click-btn {
  background-color: var(--color-button-bg);
  color: var(--color-button-text);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  border: none;
  transition: all 0.3s ease;
}

.scandivahub-click-about .scandivahub-click-btn:hover {
  background-color: var(--color-button-hover);
  color: #fff;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .scandivahub-click-about .container {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    max-width: 350px;
    margin-bottom: 2rem;
  }

  .about-content {
    padding-left: 0 !important;
  }
}

/* ------------------------------
   Features Section
------------------------------ */
.scandivahub-click-features {
  background-color: var(--color-bg);
  padding: 5rem 1rem;
  color: var(--color-text);
}

.scandivahub-click-features .section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 3rem;
  text-shadow: 0 0 10px var(--color-glow);
}

/* Features Grid Layout */
.scandivahub-click-features-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual Feature Card */
.scandivahub-click-feature {
  background: #222c3d;
  border: 2px solid var(--color-accent);
  border-radius: 15px;
  padding: 2rem;
  flex: 1 1 240px;
  max-width: 260px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scandivahub-click-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px var(--color-glow);
}

/* Icon Styling */
.feature-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* Heading and Text */
.scandivahub-click-feature h4 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-heading);
}

.scandivahub-click-feature p {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* ------------------------------
   Responsive Design
------------------------------ */

/* Tablets and smaller laptops */
@media (max-width: 992px) {
  .scandivahub-click-features-grid {
    gap: 1.5rem;
  }

  .scandivahub-click-feature {
    flex: 1 1 45%;
    max-width: 100%;
  }
}

/* Mobile phones */
@media (max-width: 600px) {
  .scandivahub-click-features {
    padding: 4rem 1rem;
  }

  .scandivahub-click-features .section-title {
    font-size: 2rem;
  }

  .scandivahub-click-features-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .scandivahub-click-feature {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1.5rem;
  }

  .feature-icon {
    font-size: 2rem;
  }

  .scandivahub-click-feature h4 {
    font-size: 1.2rem;
  }

  .scandivahub-click-feature p {
    font-size: 0.9rem;
  }
}

/* ------------------------------
   Reviews Section
------------------------------ */
.scandivahub-click-reviews {
  background-color: #222c3d;
  padding: 5rem 1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(171, 95, 255, 0.3);
}

.review-card p {
  font-style: italic;
  margin-bottom: 1rem;
}

/* ------------------------------
   Contact Section
------------------------------ */
.scandivahub-click-contact {
  background-color: var(--color-bg);
  padding: 5rem 1rem;
  border-top: 2px solid var(--color-accent);
}

.contact-wrapper {
  gap: 2rem;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  background-color: #222c3d;
  color: var(--color-text);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 10px var(--color-glow);
}

/* ------------------------------
   Footer
------------------------------ */
.scandivahub-click-footer {
  background-color: #222c3d;
  border-top: 2px solid var(--color-accent);
  color: var(--color-text);
  padding: 4rem 1rem;
}

.footer-logo {
  width: 150px;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--color-text);
  margin: 0 0.8rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-disclaimer {
  border: 2px solid var(--color-accent);
  background: #1f2837;
  color: var(--color-text);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 700px;
}

/* ============================================
   DISCLAIMER POPUP (18+ ENTRY)
   ============================================ */
.scandivahub-click-popup {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.scandivahub-click-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-inner {
  background: #fff;
  color: #333;
  max-width: 500px;
  width: 90%;
  padding: 2.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  animation: popupFadeIn 0.6s ease;
}

@keyframes popupFadeIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.popup-inner h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #222;
  font-weight: 700;
}

.popup-inner p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Enter / Exit Buttons */
.scandivahub-click-btn {
  background: #ab5fff;
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.scandivahub-click-btn:hover {
  background: #933eff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(171, 95, 255, 0.4);
}

.exit-btn {
  background: #555;
}

.exit-btn:hover {
  background: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scandivahub-click-scroll {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ab5fff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(171, 95, 255, 0.4);
}

.scandivahub-click-scroll.show {
  opacity: 1;
  visibility: visible;
}

.scandivahub-click-scroll:hover {
  transform: translateY(-4px);
  background: #933eff;
  box-shadow: 0 6px 20px rgba(147, 62, 255, 0.6);
}

/* Icon inside the scroll button */
.scandivahub-click-scroll i {
  pointer-events: none;
}
/* ===============================
   CONTACT FORM VALIDATION & ALERT
   =============================== */
.error-text {
  display: block;
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  text-align: left;
}

.success-alert {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #3168d8;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(49, 104, 216, 0.4);
  font-weight: 600;
  z-index: 2000;
  animation: fadeInOut 4s ease forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(10px); }
  10%, 90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}


<!-- TERMS AND CONDITIONS PAGE -->
<section id="terms" class="scandivahub-legal py-5">
  <div class="container">
    <h2 class="legal-title text-center mb-4">Terms and Conditions</h2>
    <div class="legal-content">
      <p>
        These Terms and Conditions outline the rules and responsibilities governing your use of
        <strong>Scandivahub.click</strong>. By accessing or using this website, you accept and agree to comply with these
        terms in full.
      </p>

      <h4>1. Eligibility</h4>
      <p>
        You must be at least 18 years of age to access or use this website. By entering the site, you confirm that you
        meet this age requirement.
      </p>

      <h4>2. Acceptable Use</h4>
      <p>
        You agree to use <strong>Scandivahub.click</strong> responsibly, without engaging in harmful, unlawful, or
        disruptive activities. Copying, redistributing, or altering the website’s content without permission is strictly
        prohibited.
      </p>

      <h4>3. Intellectual Property</h4>
      <p>
        All site content, design elements, and creative assets belong to <strong>Scandivahub.click</strong> and its
        licensors. You may not reproduce or use them for commercial purposes without written consent.
      </p>

      <h4>4. Limitation of Liability</h4>
      <p>
        <strong>Scandivahub.click</strong> shall not be held liable for any direct or indirect damages arising from your
        access, use, or inability to use the website. We do not guarantee uninterrupted or error-free operation.
      </p>

      <h4>5. Modifications</h4>
      <p>
        We may update or revise these Terms and Conditions at any time. Continued use of the site after such updates
        constitutes acceptance of the new terms.
      </p>

      <p>
        For questions or concerns regarding these Terms, please contact us at
        <a href="mailto:legal@scandivahub.click">legal@scandivahub.click</a>.
      </p>
    </div>
  </div>
</section>