/* =========================
   Fjexarnet.cyou Theme
========================= */
body.fjexarnet-cyou {
  background-color: #0f1b31;
  color: #b0dfea;
  font-family: 'Segoe UI', Roboto, sans-serif;
}
/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
/* Remove extra space after footer */
body {
  margin: 0;
  padding: 0;
}


/* ================= Magical Headings ================= */
.fjexarnet-cyou-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  color: #02b4de;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  position: relative;
  text-shadow: 
    0 0 6px rgba(2, 180, 222, 0.8),
    0 0 12px rgba(2, 180, 222, 0.6),
    0 0 18px rgba(2, 180, 222, 0.5);
  animation: fjexarnet-glow 3s ease-in-out infinite alternate;
}

/* Glow animation */
@keyframes fjexarnet-glow {
  from {
    text-shadow: 
      0 0 6px rgba(2, 180, 222, 0.6),
      0 0 12px rgba(2, 180, 222, 0.4),
      0 0 18px rgba(2, 180, 222, 0.3);
  }
  to {
    text-shadow: 
      0 0 12px rgba(2, 180, 222, 1),
      0 0 20px rgba(2, 180, 222, 0.8),
      0 0 30px rgba(2, 180, 222, 0.7);
  }
}



/* ================= Navbar ================= */
.fjexarnet-cyou-navbar {
  background: rgba(15, 27, 49, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  transition: all 0.3s ease;
  z-index: 1000;
}

.fjexarnet-cyou-logo {
  height: 80px;
  transition: transform 0.3s ease;
}

.fjexarnet-cyou-logo:hover {
  transform: scale(1.05);
}

/* Nav links */
.fjexarnet-cyou-navbar .nav-link {
  color: #b0dfea !important;
  margin-left: 18px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover effect */
.fjexarnet-cyou-navbar .nav-link:hover {
  color: #02b4de !important;
}

/* Active link with glow */
.fjexarnet-cyou-navbar .nav-link.active {
  color: #02b4de !important;
  text-shadow: 0 0 6px rgba(2, 180, 222, 0.8), 0 0 12px rgba(2, 180, 222, 0.6);
}

/* Underline animation */
.fjexarnet-cyou-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #02b4de;
  transition: width 0.3s ease;
}

.fjexarnet-cyou-navbar .nav-link:hover::after,
.fjexarnet-cyou-navbar .nav-link.active::after {
  width: 100%;
}

/* Toggler for mobile */
.fjexarnet-cyou-navbar .navbar-toggler {
  border: none;
  outline: none;
  color: #b0dfea;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.fjexarnet-cyou-navbar .navbar-toggler:focus {
  box-shadow: none;
}

.fjexarnet-cyou-navbar .navbar-toggler:hover {
  transform: rotate(90deg);
}

/* Mobile menu */
@media (max-width: 992px) {
  .fjexarnet-cyou-navbar .nav-link {
    margin: 10px 0;
    display: block;
    text-align: center;
  }
}

/* Hero */
.fjexarnet-cyou-hero {
  position: relative;
  min-height: 85vh;
  background: url('../images/hero.jpg') center/cover no-repeat;
  color: #b0dfea;
}
.fjexarnet-cyou-hero-overlay {
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: rgba(15,27,49,0.1);
}
.fjexarnet-cyou-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.fjexarnet-cyou-hero-heading {
  font-size: 3.2rem;
  font-weight: 800;
  color: #02b4de;
  text-align: center;
  letter-spacing: 1.5px;
  text-shadow: 
    0 0 8px rgba(2, 180, 222, 0.8),
    0 0 16px rgba(2, 180, 222, 0.7),
    0 0 28px rgba(2, 180, 222, 0.6);
  animation: fjexarnet-hero-glow 3.5s ease-in-out infinite alternate;
  position: relative;
  display: inline-block;
}

/* Glow animation */
@keyframes fjexarnet-hero-glow {
  from {
    text-shadow: 
      0 0 8px rgba(2, 180, 222, 0.6),
      0 0 16px rgba(2, 180, 222, 0.4),
      0 0 28px rgba(2, 180, 222, 0.3);
  }
  to {
    text-shadow: 
      0 0 16px rgba(2, 180, 222, 1),
      0 0 28px rgba(2, 180, 222, 0.9),
      0 0 40px rgba(2, 180, 222, 0.8);
  }
}
.fjexarnet-cyou-hero-text {
  margin: 20px 0;
}

/* Buttons */
.fjexarnet-cyou-btn {
  background: #02b4de;
  color: #0f1b31;
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 50px;
  transition: background 0.3s;
}
.fjexarnet-cyou-btn:hover {
  background: #b0dfea;
  color: #0f1b31;
}

/* Section Titles */
.fjexarnet-cyou-section-title {
  font-size: 2rem;
  color: #02b4de;
  margin-bottom: 1rem;
}

/* Cards */
.fjexarnet-cyou-disclaimer-card,
.fjexarnet-cyou-feature-card,
.fjexarnet-cyou-review-card {
  background: #16233f;
  color: #b0dfea;
  transition: transform 0.3s;
}
.fjexarnet-cyou-feature-card:hover,
.fjexarnet-cyou-review-card:hover {
  transform: translateY(-5px);
}

/* Game */
.fjexarnet-cyou-game-card {
  max-width: 900px;       /* keeps it centered and not too wide */
  aspect-ratio: 16 / 10;   /* maintain 16:10 ratio */
  position: relative;
}

.fjexarnet-cyou-game-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  overflow: hidden;        /* hide inner scrollbars */
}


/* About Section */
.fjexarnet-cyou-about {
  color: #b0dfea;
}

.fjexarnet-cyou-about .container {
  max-width: 900px;   /* control width */
  margin: 0 auto;     /* center horizontally */
}

.fjexarnet-cyou-about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cdd9eb;
}

.fjexarnet-cyou-about-img {
  max-width: 600px;   /* contain image width */
  width: 100%;
}

/* Reviews infinite scroll */
.fjexarnet-cyou-reviews-wrapper {
  overflow: hidden;
  position: relative;
}

.fjexarnet-cyou-reviews-track {
  display: flex;
  gap: 20px;
  animation: scrollReviews 20s linear infinite;
}

.fjexarnet-cyou-review-card {
  min-width: 280px;
  max-width: 300px;
  background: #13223b;
  color: #b0dfea;
  flex-shrink: 0;
}

@keyframes scrollReviews {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


/* Footer */
.fjexarnet-cyou-footer {
  background: #16233f;
}
.fjexarnet-cyou-footer-logo {
  height: 70px;
}
.fjexarnet-cyou-footer-link {
  color: #b0dfea;
  text-decoration: none;
}
.fjexarnet-cyou-footer-link:hover {
  color: #02b4de;
}

/* Footer tweaks */
.glimmra-click-footer {
  margin: 0;
  padding-top: 3rem;   /* keep top padding */
  padding-bottom: 1rem; /* reduce bottom padding */
}

.glimmra-click-footer .glimmra-click-footer-bottom {
  margin-bottom: 0;
  padding-bottom: 0;
}


/* Popup */
.fjexarnet-cyou-popup-overlay {
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: rgba(15,27,49,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.fjexarnet-cyou-popup-card {
  background: #16233f;
  padding: 40px;
  border-radius: 16px;
  max-width: 500px;
  color: #b0dfea;
}

/* Scroll Top */
.fjexarnet-cyou-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #02b4de;
  color: #0f1b31;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
  transition: background 0.3s;
}
.fjexarnet-cyou-scroll-top:hover {
  background: #b0dfea;
}



/* Contact Section */
.fjexarnet-cyou-contact {
  background: #0f1b31;
  color: #b0dfea;
}

.fjexarnet-cyou-contact-form {
  background: #13223b;
}

.fjexarnet-cyou-input {
  background: #0f1b31;
  border: 1px solid #02b4de;
  color: #b0dfea;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.fjexarnet-cyou-input::placeholder {
  color: #7daac5;
}

.fjexarnet-cyou-input:focus {
  border-color: #b0dfea;
  box-shadow: 0 0 10px #02b4de;
  outline: none;
}


/* ================================
   Legal Sections Styling (Blue Cards)
================================ */

.fjexarnet-cyou-legal {
  background: #0f1b31; /* same blue as other cards */
  color: #fff; /* white text for contrast */
  padding: 60px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}



/* Subheadings inside sections */
.fjexarnet-cyou-legal h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 25px;
  margin-bottom: 12px;
  border-left: 4px solid #fff;
  padding-left: 10px;
}

/* Paragraphs */
.fjexarnet-cyou-legal p {
  font-size: 1rem;
  color: #f0f8ff; /* softer white for easy reading */
  margin-bottom: 16px;
}

/* Links */
.fjexarnet-cyou-legal a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.fjexarnet-cyou-legal a:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .fjexarnet-cyou-section-title {
    font-size: 1.8rem;
  }

  .fjexarnet-cyou-legal {
    padding: 40px 16px;
  }
}
