/* ------------------------------
   Global Styles
------------------------------ */
body.glimmar-click {
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  background-color: #b7b5d5; /* site background */
  color: #120051;
  margin: 0;
  line-height: 1.6;
}
html, body {
  overflow-x: hidden; /* prevent horizontal scroll */
}


a {
  color: #341b8d;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #120051;
}

/* =========================
   NAVBAR STYLING
   ========================= */
.glimmar-click-navbar {
  background-color: #b7b5d5; /* site background */
  border-bottom: 2px solid #341b8d;
  padding: 0.8rem 1rem;
  font-family: 'Poppins', sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.glimmar-click-navbar .site-logo {
  height: 40px;
  max-height: 100%;
}

/* Toggler (mobile menu button) */
.glimmar-click-navbar .navbar-toggler {
  border: none;
  font-size: 1.5rem;
  color: #341b8d;
}

.glimmar-click-navbar .navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* =========================
   NAVBAR STYLING
   ========================= */
.glimmar-click-navbar {
  background-color: #b7b5d5; /* site background */
  border-bottom: 2px solid #341b8d;
  padding: 0.8rem 1rem;
  font-family: 'Poppins', sans-serif;
  position: relative !important; /* override Bootstrap sticky */
  top: auto !important;
  z-index: auto !important;
}
/* Logo */
.glimmar-click-navbar .site-logo {
  height: 80px;
  max-height: 100%;
}

/* Toggler (mobile menu button) */
.glimmar-click-navbar .navbar-toggler {
  border: none;
  font-size: 1.5rem;
  color: #341b8d;
}

.glimmar-click-navbar .navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Nav Links */
.glimmar-click-navbar .nav-link {
  color: #120051;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;   /* slightly smaller font to fit */
  padding: 0.5rem 0.3rem; 
  margin: 0;            /* no custom margins */
}

.glimmar-click-navbar .nav-link:hover,
.glimmar-click-navbar .nav-link:focus {
  color: #341b8d;
  text-decoration: none;
}

/* Active link */
.glimmar-click-navbar .nav-link.active {
  color: #341b8d;
  font-weight: 600;
  border-bottom: 2px solid #341b8d;
  padding-bottom: 2px;
}

/* Desktop - tighter grouping */
@media (min-width: 768px) {
  .glimmar-click-navbar .navbar-nav {
    gap: 0.5rem; /* small gap between links */
    flex-wrap: wrap; /* allow wrapping if too many */
  }
}

/* Mobile menu */
@media (max-width: 767.98px) {
  .glimmar-click-navbar .navbar-collapse {
    background-color: #dcd8f0;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
  }

  .glimmar-click-navbar .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(18, 0, 81, 0.1);
  }

  .glimmar-click-navbar .nav-link:last-child {
    border-bottom: none;
  }
}


/* ------------------------------
   Headings
------------------------------ */
h1, h2, h3, h4, h5 {
  color: #341b8d;
  text-shadow: -1px -1px 0 #b7b5d5, 
               1px -1px 0 #b7b5d5,
              -1px  1px 0 #b7b5d5,
               1px  1px 0 #b7b5d5; /* outlined effect */
  font-weight: 700;
}
.section-title {
  margin-bottom: 15px;
}
.section-text {
  color: #120051;
  font-size: 1rem;
}

/* ------------------------------
   Hero Section
------------------------------ */
.glimmar-click-hero {
  position: relative;
  height: 85vh; /* takes 90% of viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* Hero background image with gradient overlay */
  background: url("../images/hero.jpg") center/cover no-repeat;
  color: #120051;
  padding: 0 20px; /* only horizontal padding now */
}

.glimmar-click-hero .hero-inner {
  max-width: 800px;
  z-index: 2;
}

.glimmar-click-hero .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.glimmar-click-hero .hero-sub {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-actions .btn {
  margin: 0 10px;
}

/* Buttons */
.btn-primary {
  background: #341b8d;
  border: none;
  color: #b7b5d5;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
  background: #120051;
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid #341b8d;
  color: #341b8d;
  font-weight: 600;
}
.btn-outline:hover {
  background: #120051;
  border-color: #120051;
  color: #b7b5d5;
}


/* Disclaimer Section */
.disclaimer-card {
  max-width: 800px;
  background: #ffffff;
  border: 2px solid #341b8d;
  border-radius: 12px;
  text-align: center;
  color: #120051;
}

.disclaimer-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #341b8d;
  text-shadow: 1px 1px 0 #b7b5d5;
}

.disclaimer-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #120051;
  margin-bottom: 15px;
}

.disclaimer-card:hover {
  box-shadow: 0 6px 18px rgba(52, 27, 141, 0.15);
  transition: all 0.3s ease;
}


/* Games Section */
.glimmar-click-games .game-list {
  max-width: 900px;
  margin: 0 auto;
}

.glimmar-click-games .game-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.glimmar-click-games .game-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
  border-radius: 8px;
}

.glimmar-click-games .game-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}




/* ------------------------------
   Features Section
------------------------------ */
#features {
  background: #fff;
}
.feature {
  background: #e9e6f5;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.feature-icon {
  font-size: 2rem;
  color: #341b8d;
  margin-bottom: 15px;
}


/* About Us Section */
.glimmar-click-about {
  background: #b7b5d5;
  color: #120051;
}

.glimmar-click-about .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #341b8d;
  text-shadow: 1px 1px 0 #b7b5d5;
}

.glimmar-click-about .section-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #120051;
}

.about-img {
  max-width: 100%;
  border-radius: 12px;
  border: 2px solid #341b8d;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* ------------------------------
   Contact Section
------------------------------ */
#contact {
  background: #b7b5d5;
}
.contact-form .input-field {
  border: 1px solid #c3c0e0;
  border-radius: 8px;
  padding: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form .input-field:focus {
  border-color: #341b8d;
  box-shadow: 0 0 0 0.2rem rgba(52,27,141,0.25);
  outline: none;
}

/* =========================
   FOOTER STYLING
   ========================= */
.glimmar-click-footer {
  background-color: #b7b5d5;
  border-top: 2px solid #341b8d;
  color: #120051;
  font-family: 'Poppins', sans-serif;
}

.glimmar-click-footer .footer-logo {
  height: 75px;
  margin-bottom: 15px;
}

.glimmar-click-footer .footer-links {
  padding-left: 0;
  margin-bottom: 20px;
}

.glimmar-click-footer .footer-links a {
  color: #120051;
  text-decoration: none;
  font-weight: 600; /* bolder links */
  margin: 0 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.glimmar-click-footer .footer-links a:hover {
  color: #fff;
  background-color: #341b8d;
  padding: 3px 8px;
  border-radius: 5px;
}

.glimmar-click-footer .footer-disclaimer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #341b8d;
  margin-top: 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.glimmar-click-footer .footer-disclaimer {
  max-width: 700px;
  margin: 0 auto 25px;
  color: #120051;
  font-size: 0.9rem;
  line-height: 1.5;
}

.glimmar-click-footer p {
  color: #120051;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.glimmar-click-footer .powered {
  font-weight: 700;
  color: #341b8d;
}

/* ------------------------------
   Scroll-to-top button (perfect rounded square)
------------------------------ */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;              /* fixed width */
  height: 40px;             /* fixed height */
  background: #341b8d;
  color: #b7b5d5;
  border: none;
  border-radius: 10px;       /* rounded square corners */
  font-size: 22px;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  transition: background 0.3s ease, transform 0.2s ease;
}

.scroll-top:hover {
  background: #120051;
  transform: translateY(-3px); /* subtle lift */
}

/* =========================
   Disclaimer Popup Styling
========================= */
.disclaimer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 0, 81, 0.8); /* semi-transparent dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 1rem; /* ensures spacing on small screens */
  box-sizing: border-box;
}

.disclaimer-popup-card {
  background: #fff;
  color: #120051;
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  text-align: center;
  animation: popupFade 0.3s ease-in-out;
}

.disclaimer-popup-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #341b8d;
}

.disclaimer-popup-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

/* Buttons */
.popup-actions .btn {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.popup-actions .btn-primary {
  background-color: #341b8d;
  color: #fff;
}

.popup-actions .btn-primary:hover {
  background-color: #120051;
}

.popup-actions .btn-outline {
  background-color: transparent;
  border: 2px solid #341b8d;
  color: #341b8d;
}

.popup-actions .btn-outline:hover {
  background-color: #341b8d;
  color: #fff;
}

/* Animation */
@keyframes popupFade {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile adjustments */
@media (max-width: 576px) {
  .disclaimer-popup-card {
    padding: 1.5rem;
  }

  .disclaimer-popup-card h2 {
    font-size: 1.5rem;
  }

  .disclaimer-popup-card p {
    font-size: 0.95rem;
  }
}


/* =========================
   LEGAL SECTIONS STYLING
   ========================= */
.legal-section {
  background: #fff;
  border: 1px solid #341b8d;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;          /* nice readable width */
  width: 100%;               /* never exceed screen */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
  color: #120051;
  box-sizing: border-box;    /* prevent overflow from padding */
  overflow-wrap: break-word; /* break long words if needed */
}

.legal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #341b8d;
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 0 #b7b5d5;
}

.legal-section h2 {
  font-size: 1.3rem;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  color: #341b8d;
  font-weight: 600;
}

.legal-section p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Responsive fix for mobile */
@media (max-width: 768px) {
  .legal-section {
    padding: 1.2rem;
    margin: 1rem;
    max-width: 100%;   /* force fit on mobile */
  }

  .legal-title {
    font-size: 1.6rem;
  }

  .legal-section h2 {
    font-size: 1.1rem;
  }

  .legal-section p {
    font-size: 0.95rem;
  }
}
