/* GestZone styles (with RTL support) */

html, body {
  height: 100%;
}

body {
  background: radial-gradient(circle at top, #051f90 0, #020617 45%, #000 100%);
  color: #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  text-decoration: none;
}

/* Logo circle */
.logo-circle {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, .7), 0 8px 20px rgba(15, 23, 42, .9);
}

/* Navbar */
.navbar {
  backdrop-filter: blur(16px);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.85));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  position: relative;
  z-index: 9999 !important;
}

.navbar .nav-link {
  font-size: 0.95rem;
  padding-inline: 0.75rem;
}

.navbar .nav-link.active {
  color: #fff;
}

.navbar .nav-link:hover {
  color: #e5e7eb;
}

/* Hero card */
.hero-card {
  background: radial-gradient(circle at top, #0b1739 0, #020617 40%, #000 100%);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Game boxes */
.game-box {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.game-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
  border-color: rgba(56, 189, 248, 0.7);
}

/* Price tag */
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-weight: 600;
}

.price-tag .value {
  font-size: 1.05rem;
}

.price-tag .value span.amount {
  color: #facc15;
}

.price-tag .value span.currency {
  color: #9ca3af;
  font-size: 0.8rem;
  margin-left: 2px;
}

/* Auth cards */
.auth-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Dashboard */
.dashboard-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Footer */
footer {
  background: rgba(15, 23, 42, 0.98);
}

/* RTL */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .navbar .navbar-nav {
  margin-left: 0 !important;
  margin-right: auto !important;
}



/* Stop navbar from expanding */
.navbar-nav > li {
    position: relative;
}

/* Dropdown absolute, stable */
.user-dropdown-menu {
    position: absolute !important;
    top: 100%;
    right: 0;
    margin-top: .45rem;
    z-index: 99999 !important;
}

/* Prevent popper repositioning */
.dropdown-menu {
    transform: none !important;
}

/* =======================
   GestZone Brand Premium
   ======================= */

.brand-gest {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo-container {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(145deg, rgba(0, 255, 210, 0.22), rgba(0, 140, 255, 0.18)),
    linear-gradient(215deg, rgba(0,140,255,0.25), rgba(0,0,0,0.6));

  backdrop-filter: blur(6px);
  box-shadow:
    0 0 14px rgba(0, 140, 255, 0.45),
    inset 0 0 8px rgba(0, 255, 210, 0.25);

  transition: all 0.25s ease-in-out;
}

.brand-logo-container:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 0 22px rgba(0, 140, 255, 0.75),
    inset 0 0 10px rgba(0, 255, 210, 0.35);
}

.brand-logo {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-top: 2px;
}

.brand-name {
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: #e9f3ff;
  text-shadow:
     0 0 6px rgba(0,153,255,0.4),
     0 0 12px rgba(0,153,255,0.25);
}

.brand-tagline {
  font-size: 0.63rem;
  opacity: 0.75;
  color: #9ab6d6;
}

