﻿@import url("https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;700;900&display=swap");

/* --- Base & Body styling --- */
html, body {
  height: 100%;
  margin: 0; padding: 0;
  font-family: 'Maven Pro', sans-serif;
  font-size: 16px;
  background:
    linear-gradient(135deg, #222633, #131820 90%);
  color: #e0e6f3;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  color: #a1bce8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.6);
  margin-bottom: 1rem;
  line-height: 1.1;
  user-select: none;
}
h1 {
  font-size: 3rem;
  letter-spacing: 3px;
}
h2 {
  font-size: 2.4rem;
}
h3 {
  font-size: 1.8rem;
}

p, small, blockquote, li {
  color: #c8d1e7;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.03em;
}

a, a.navbar-brand {
  color: #7ea6f7;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.25s ease;
}
a:hover, a.navbar-brand:hover {
  color: #acc7ff;
  text-shadow: 0 0 8px rgba(138, 184, 255, 0.7);
  cursor: pointer;
}

/* --- Navbar Brand --- */
a.navbar-brand {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-shadow: 0 0 6px rgba(125, 178, 255, 0.75);
  white-space: normal;
  text-align: center;
  word-break: break-word;
  user-select: none;
  padding: 8px 20px;
}

/* --- Nav Links with subtle glow and glassmorphism --- */
.navbar-nav .nav-item .nav-link {
  color: #a3b7e6;
  font-weight: 600;
  font-size: 0.95rem; /* تصغير خفيف للخط */
  padding: 8px 14px; /* 👈 صغرنا الزر */
  margin: 4px; /* 👈 مسافة بين الأزرار */
  border-radius: 12px;
  background: rgba(30, 37, 58, 0.35);
  border: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(8px);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  position: relative;
  text-shadow: 0 0 6px rgba(126, 166, 255, 0.6);
}

.navbar-nav .nav-item .nav-link::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 20%;
  width: 0;
  height: 2.5px;
  background: #7ea6f7;
  border-radius: 4px;
  transition: width 0.35s ease;
}
.navbar-nav .nav-item .nav-link:hover,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #c8d7ff !important;
  background-color: rgba(126, 166, 255, 0.2);
  border-color: #7ea6f7;
  box-shadow:
    0 0 8px #7ea6f7,
    inset 0 0 12px rgba(126, 166, 255, 0.35);
}
.navbar-nav .nav-item .nav-link:hover::after,
.nav-pills .nav-link.active::after,
.nav-pills .show > .nav-link::after {
  width: 60%;
  background: #acc7ff;
}

/* --- Buttons: Elegant gradient with soft glow --- */
.btn-primary {
  color: #f0f5ff;
  background: linear-gradient(135deg, #5a7ff7 0%, #1f32ba 100%);
  border: none;
  border-radius: 28px;
  padding: 14px 38px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow:
    0 0 10px rgba(69, 98, 218, 0.75);
  text-transform: uppercase;
  letter-spacing: 1.3px;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.15s ease;
  user-select: none;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, #8aa8ff 0%, #3255eb 100%);
  box-shadow:
    0 0 30px #7ea6f7,
    inset 0 0 20px #9db0fa;
  transform: scale(1.07);
  outline: none;
}
.btn-primary:active {
  transform: scale(0.95);
  box-shadow:
    0 0 8px #5276d3;
}

/* --- Windows Market Button: Glass style with accent --- */
.market-button.windows-button {
  display: inline-block;
  padding: 6px 18px 6px 48px;
  border-radius: 20px;
  background: rgba(69, 84, 136, 0.3);
  backdrop-filter: saturate(180%) blur(12px);
  border: 50px solid #617cd9;
  box-shadow:
    0 0 12px #435bbd inset;
  color: #8caaff;
  font-weight: 700;
  font-size: 1rem;
  background-image: url(data:image/svg+xml;utf8;base64,/* keep your svg here */);
  background-position: center left 14px;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  user-select: none;
  margin: 0 14px 14px 20px; /* زدنا الـ margin-left هنا */
  transition: box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.market-button.windows-button:hover {
  border-color: #9ab2ff;
  box-shadow:
    0 0 25px #8caaff,
    inset 0 0 35px #a2b7ff;
  color: #d6e2ff;
  cursor: pointer;
}

.market-button.windows-button .mb-subtitle {
  font-size: 0.9rem;
  color: #b3c1ff;
  user-select: none;
}

/* Buy DP Button: subtle blue glow, pill shape */
.buy-dp-button {
  margin: 20px 0;
  padding: 14px 36px;
  font-weight: 700;
  font-size: 1.1rem;
  background: transparent;
  border: 2.5px solid #7e97e6;
  color: #9aadff;
  border-radius: 36px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: none;
  transition: box-shadow 0.4s ease, color 0.35s ease, transform 0.15s ease;
  user-select: none;
}
.buy-dp-button:hover,
.buy-dp-button:focus {
  box-shadow:
    0 0 25px #6d84e9,
    inset 0 0 20px #9cb3ff;
  color: #e0e9ff;
  transform: scale(1.05);
  outline: none;
}
.buy-dp-button:active {
  transform: scale(0.9);
  box-shadow: 0 0 8px #5e6ccd;
}

/* Accept Policy Button */
button.accept-policy {
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #3d457a, #1f2240);
  color: #a8b1d6;
  border: 1.5px solid #576189;
  box-shadow: inset 0 0 8px #445197;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
button.accept-policy:hover,
button.accept-policy:focus {
  background: linear-gradient(135deg, #4952a2, #2d3982);
  color: #d6dcff;
  box-shadow:
    0 0 14px #4f5ccf,
    inset 0 0 16px #7384f8;
  outline: none;
}

/* Footer styling - calm & glowing */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  line-height: 60px;
  background: rgba(25, 32, 54, 0.6);
  border-top: 1px solid #5a73ba;
  color: #9aaeca;
  font-weight: 600;
  text-align: center;
  box-shadow: inset 0 2px 15px rgb(69, 88, 178, 0.4);
  user-select: none;
  letter-spacing: 2px;
  backdrop-filter: blur(10px);
}

/* Logo styling: soft neon ambient glow */
.logo {
  height: 50px;
  filter:
  transition: filter 0.3s ease;
  user-select: none;
  cursor: default;
}
.logo:hover {
  filter:
    drop-shadow(0 0 9px #a2beff)
    drop-shadow(0 0 25px #bdd6ff);
}

/* Carousel styles for server images: subtle glow & smooth scaling */
#carouselServerImages .carousel-item {
  height: 600px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 30px rgba(126, 166, 255, 0.3);
  transition: box-shadow 0.3s ease;
  background:
    linear-gradient(
      to bottom,
      rgba(51, 68, 114, 0.8), 
      rgba(30, 37, 58, 0.6)
    );
  position: relative;
}
#carouselServerImages .carousel-item:hover {
  box-shadow:
    0 0 48px rgba(138, 184, 255, 0.6);
}
#carouselServerImages .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 18px;
  filter: brightness(0.85);
  transition: filter 0.45s ease, transform 0.45s ease;
  cursor: zoom-in;
}
#carouselServerImages .carousel-item img:hover {
  filter: brightness(1);
  transform: scale(1.05);
}

/* Custom scrollbar - subtle blue */
::-webkit-scrollbar {
  width: 12px;
  background: #182233;
}
::-webkit-scrollbar-thumb {
  background: #7190e9;
  border-radius: 12px;
  border: 3px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 15px #89a6ff;
  transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #95afff;
  box-shadow:
    inset 0 0 20px #90aaff,
    0 0 8px #7190e9;
}

/* Responsive styles */
@media (max-width: 767.98px) {
  a.navbar-brand {
    font-size: 1.6rem;
    padding: 8px 12px;
  }
  .navbar-nav .nav-item .nav-link {
    font-size: 1rem;
    padding: 8px 10px;
  }
  .btn-primary {
    padding: 12px 32px;
    font-size: 1rem;
  }
  .market-button.windows-button {
    padding-left: 40px;
    font-size: 0.95rem;
  }
  .buy-dp-button {
    font-size: 1rem;
    padding: 12px 26px;
  }
}