/* GLOBAL CUSTOM */
body {
  background-color: #051f3f;
  font-family: "Comic Neue", cursive;
}
.bg-img {
  background-image: url("../images/3d-fantasy-scene.jpg");
  background-size: cover;
  background-position: center;
  height: 40vh;
}
/* width */
::-webkit-scrollbar {
  width: 15px;
}
.font-title {
  font-family: "Mountains of Christmas", serif;
  font-weight: 700;
  font-style: normal;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.616);}
/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #32383e;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #262a2f;
}
/* NAV CUSTOM */
/* .navbar {
  background: linear-gradient(90deg, #993020, #055069);
  border-radius: 20px;
  color: white;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.637);
}


.navbar h5 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 25px;
  line-height: 24px;
  margin: 20px 0px 20px 350px;
  padding: 1px 2px;
  font-weight: 600;

} */
.navbar {
  top: 40px !important;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 15px 25px;
  box-shadow:
    0 0 25px rgba(0, 255, 255, 0.2),
    0 0 60px rgba(138, 43, 226, 0.15);
  transition: all 0.4s ease;
}

/* Hover Effect */
.navbar:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 35px rgba(0, 255, 255, 0.4),
    0 0 80px rgba(138, 43, 226, 0.3);
}

/* ===== BRAND TEXT ===== */
.navbar-brand {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3px;

  background: linear-gradient(90deg, #00fff0, #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  animation: glow 2s infinite alternate;
}
@keyframes glow {
  from {
    text-shadow: 0 0 5px #00fff0, 0 0 15px #00fff0;
  }
  to {
    text-shadow: 0 0 15px #8a2be2, 0 0 35px #8a2be2;
  }
}




/* .navbar-nav {
   background: linear-gradient(90deg, #993020, #055069);
}
.nav-link {
  color: #D73E27;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 5px;
 position: static;

 top: 200px;
}
.nav-link:hover {
  color: #88dffc;
}
.nav-item .active {
  color: #000000;
} */

/* الـ container الخارجي للـ navbar */
.navbar-container {
    position: fixed;
    top: -100px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: top 0.4s ease;
    border-bottom: 2px solid #D73E27;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* عندما يلتصق */
.navbar-container.sticky {
    top: 0;
}

/* تنسيقات الروابط كما تريدها */
.nav-cat.nav-link {
    color: #D73E27;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    padding: 5px 15px;
    border-radius: 5px;
}

.nav-cat.nav-link:hover,
.nav-cat.nav-link.active {
    color: white;
  
}

.nav-cat.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 3px;
    background-color: #D73E27;
    transition: width 0.3s ease;
}

.nav-cat.nav-link:hover::after,
.nav-cat.nav-link.active::after {
    width: 100%;
}
/* CARD SECTION */

.card {
  border: 2px solid #88dffc;
  border-radius: 15px;
  box-shadow:
    0 0 15px rgba(0, 255, 255, 0.4),
    0 0 40px rgba(138, 43, 226, 0.3);
  transition: all 1s;
  overflow: hidden;
}
.card-footer {
  border-top: 2px solid #3b4049;
}
.card-body {
  height: 110px;
  overflow: hidden;
}
.card-title {
  font-size: 18px;
  text-shadow: 0px 4px 4px #88dffc;
  font-weight: 800;
  line-height: 16.8px;
  margin: 0 0 8px;
  text-transform: capitalize;
}

.card-body span {
  top: 10px;
  right: 10px;
  background-color: #3986a0;
  transition: all 1s;
}
.card-text {
  color: #939598;
  font-size: 14px;
  line-height: 21px;
  font-weight: 800;
  text-align: center;
}
.card-footer span {
  background-color: #6f7577;
  font-size: 10.5px;
  padding: 3.675px 6.825px;
  font-weight: 700;
}
.card-img-top {
  padding: 10px;
  opacity: 0.5;

  transition: all 1s;
}
.card:hover .card-img-top {
transform: scale(1.1);
  opacity: 1;
}
.card:hover .card-body span {
  background-color: #1ea8da;
}
.card:hover {
  scale: 1.1;
}

/* DETAILS SECTION  */
#details .header-text h1 {
  line-height: 34px;
  font-size: 40px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.616);
  border-bottom: 3px solid #88dffc;
  margin: 5px 5px 8px 5px;
  font-weight: 600;
}

#details .details-content h3 {
  line-height: 34px;
  font-size: 30px;
  margin: 0px 0px 8px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.616);
  font-family: "Rubik Gemstones", system-ui;
  font-weight: 400;
  font-style: normal;
}
#details .details-content p {
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 16px;
  font-weight: 700;
  
}
#details .details-content p span {
  font-size: 13.5px;
  padding: 4.2px 7.8px;
  font-weight: 800;
}
#details .details-content a {
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  color: white;
}
#details {
  position: fixed;
  inset: 0;                /* top:0 right:0 bottom:0 left:0 */
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;

  overflow-y: auto;        /* ✅ scroll جوا details */
}

.details-content {
  max-height: calc(100vh - 120px); /* يسيب مساحة للـ header */
  overflow-y: auto;
}


#details .overlay {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

#details .game-card {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
/* ===== GAME CARD ===== */
.game-card {
  background: linear-gradient(
    135deg,
    rgb(20, 20, 20),
    rgb(148, 11, 11)
  );
  overflow: auto;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
  transition: all 0.4s ease;
}

/* ===== IMAGE ===== */
.game-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.4s ease;
}



/* ===== TITLE ===== */
.game-title {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(90deg, #00fff0, #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

/* ===== DESCRIPTION ===== */
.game-desc {
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
}

/* ===== BADGES ===== */
.badge {
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 12px;
}

/* ===== BUTTON ===== */
.game-btn {
  margin-top: 15px;
  border-radius: 30px;
  padding: 8px 22px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.game-btn:hover {
  background-color: #ffc107;
  color: #000 !important;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

/* ===== FOOTER ===== */
.game-footer {
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.98),
    rgba(0, 0, 0, 1)
  );
  padding: 60px 0 20px;
  margin-top: 80px;
  box-shadow: 0 -10px 40px rgba(0, 255, 255, 0.15);
}

/* Titles */
.footer-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #00fff0, #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-subtitle {
  font-size: 18px;
  margin-bottom: 15px;
  color: #00fff0;
}

/* Description */
.footer-desc {
  color: #bbb;
  font-size: 14px;
  line-height: 1.7;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #bbb;
  transition: 0.3s;

}

.footer-links a:hover {
  color: #00fff0;
  padding-left: 5px;
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 12px;
  text-decoration: none;
  font-size: 22px;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.3);
  text-shadow: 0 0 15px #00fff0;
}

/* Bottom Line */
.footer-line {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

/* Copyright */
.footer-copy {
  font-size: 14px;
  color: #888;
  font-family: "Rubik Gemstones", system-ui;
  font-weight: 400;
  font-style: normal;
}

.font-e {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-style: normal;}