* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Tahoma, Arial, sans-serif;
}

body {
  font-family: Tahoma, Arial, sans-serif;
  background: #050507;
  color: #fff;
  min-height: 100vh;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)),
              url("../assets/banner.webp") center/cover no-repeat; /* عدلناها هنا */
  z-index: -1;
}

/* Navbar */
.navbar {
  width: 100%;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.18);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  letter-spacing: 2px;
}

.logo {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 10px;
}

.brand span {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

nav a {
  padding: 10px 16px;
  border-radius: 12px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a:hover,
nav a.active {
  background: rgba(168, 85, 247, 0.18);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.18);
}

/* Server Status */
.server-status {
  position: relative;
}

#statusBtn {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 700;
}

#statusBtn:hover {
  background: rgba(168, 85, 247, 0.28);
}

.status-menu {
  display: none;
  position: absolute;
  top: 54px;
  left: 0;
  width: 230px;
  background: rgba(15, 15, 20, 0.96);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.status-menu.show {
  display: block;
}

.status-menu p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.status-menu p:last-child {
  margin-bottom: 0;
}

/* Buttons */
.btn {
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: #7e22ce;
  color: #fff;
}

.btn.primary:hover {
  background: #9333ea;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Home */
.hero {
  width: 100%;
  max-width: 1280px;
  min-height: calc(100vh - 90px);
  margin: 0 auto;
  padding: 60px 24px 30px;
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  position: relative;
  z-index: 2;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 26px;
  padding: 14px;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-avatar {
  width: 100%;
  height: 500px; 
  display: block; 
  object-fit: cover; 
  border-radius: 20px;
  border: 1px solid rgba(166, 77, 255, 0.18);
  box-shadow: 
    0 0 0 1px rgba(166, 77, 255, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 35px rgba(128, 0, 255, 0.12);
}

.hero-text {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(120, 40, 200, 0.18);
  border: 1px solid rgba(166, 77, 255, 0.22);
  color: #e9d7ff;
  font-size: 13px;
  font-weight: 600;
}

.hero-text h1 {
  margin: 0 0 16px;
  font-size: 58px;
  line-height: 1.02;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.9;
  max-width: 700px;
}

.hero-desc {
  max-width: 680px;
  margin: 0 0 22px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.hero-mini-info {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-mini-info span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(166, 77, 255, 0.14);
  color: #d8c6ff;
  font-size: 12px;
}

.hero-panels {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px;
}

.info-panel {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 20, 28, 0.82), rgba(10, 10, 14, 0.9));
  border: 1px solid rgba(166, 77, 255, 0.16);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}

.info-panel h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.info-panel p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.8;
}

.info-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(166, 77, 255, 0.1);
}

.info-line span {
  color: #bda8ef;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.info-line code {
  color: #ffffff;
  font-size: 13px;
  direction: ltr;
  text-align: left;
  background: transparent;
  word-break: break-word;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, #7b2cff, #a855f7);
  color: #ffffff;
  font-weight: 700;
  transition: 0.25s ease;
}

.panel-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(123, 44, 255, 0.28);
}

/* Map */
.map-section {
  max-width: 1200px;
  margin: 10px auto 0;
  padding: 0 24px 30px;
  position: relative;
  z-index: 2;
}

.map-box {
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(20, 20, 30, 0.8), rgba(10, 10, 15, 0.9));
  border: 1px solid rgba(166, 77, 255, 0.2);
  backdrop-filter: blur(14px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(128, 0, 255, 0.1);
}

.map-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.map-content h2 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #fff;
}

.map-content p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 22px;
}

.map-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Shared Pages */
.stats,
.page,
.two-columns {
  max-width: 1200px;
  margin: auto;
  padding: 30px 24px 60px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card,
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(12px);
}

.stat-card h3 {
  font-size: 30px;
  color: #d8b4fe;
  margin-bottom: 8px;
}

.stat-card p,
.card p,
.rules li {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}

.page-title {
  font-size: 34px;
  margin-bottom: 22px;
}

.card h2,
.card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rules {
  padding-right: 18px;
}

/* Weapons */
.weapon-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 22px;
  padding: 18px 14px;
  backdrop-filter: blur(12px);
  text-align: center;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: 0.3s;
}

.weapon-card img {
  width: 100%;
  max-width: 170px;
  height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 14px;
}

.weapon-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.weapon-card .price {
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-weight: 700;
}

.weapon-card .price.price-white {
  color: rgba(255, 255, 255, 0.95);
}

.weapon-card .price.price-red {
  color: #ff4d4d;
  text-shadow: 0 0 10px rgba(255, 77, 77, 0.35);
}

.weapon-card .xp {
  color: #d8b4fe;
  font-size: 0.9rem;
}

.weapon-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.15);
}

/* Vehicles */
.vehicle-categories-nav {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-btn {
  min-width: 88px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(181, 108, 255, 0.18);
  background: rgba(18, 18, 30, 0.76);
  color: #ececff;
  cursor: pointer;
  transition: 0.25s ease;
  font-size: 0.8rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.cat-btn:hover,
.cat-btn.active {
  background: linear-gradient(135deg, rgba(166, 77, 255, 0.95), rgba(117, 36, 202, 0.95));
  color: #fff;
  border-color: rgba(214, 176, 255, 0.35);
  box-shadow: 0 0 16px rgba(166, 77, 255, 0.2);
}

.vehicles-page {
  max-width: 1200px;
  margin: auto;
  padding: 10px 24px 60px;
}

.vehicle-category {
  margin-bottom: 32px;
}

.category-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(166, 77, 255, 0.1);
  border: 1px solid rgba(166, 77, 255, 0.22);
  color: #dab8ff;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(166, 77, 255, 0.06);
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.vehicle-card {
  background: linear-gradient(180deg, rgba(18, 18, 32, 0.96), rgba(10, 10, 20, 0.93));
  border: 1px solid rgba(166, 77, 255, 0.15);
  border-radius: 18px;
  overflow: hidden;
  transition: 0.25s ease;
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255,255,255,0.015);
}

.vehicle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(181, 108, 255, 0.32);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(166, 77, 255, 0.1);
}

.vehicle-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: #0a0a12;
  border-bottom: 1px solid rgba(166, 77, 255, 0.12);
}

.vehicle-info {
  padding: 12px;
  text-align: center;
}

.vehicle-info h3,
.vehicle-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 8px;
}

.vehicle-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.xp {
  font-size: 0.8rem;
  color: #d8d8e8;
  font-weight: 700;
}

.xp span {
  color: #c170ff;
  font-weight: 900;
  text-shadow: 0 0 8px rgba(193, 112, 255, 0.22);
}

.price {
  font-size: 0.76rem;
  color: #a7a7bf;
}

.empty-box {
  margin-top: 10px;
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px dashed rgba(166, 77, 255, 0.16);
  background: rgba(255,255,255,0.02);
  color: #7d7d96;
  font-size: 0.7rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  color: #9d9db2;
  border-top: 1px solid rgba(166, 77, 255, 0.08);
  background: rgba(8, 8, 18, 0.4);
  backdrop-filter: blur(6px);
  font-size: 0.82rem;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hide {
  opacity: 0;
  visibility: hidden;
}

.loading-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/banner.webp") center/cover no-repeat; /* وعدلناها هنا */
  filter: blur(22px) brightness(0.35);
  transform: scale(1.08);
}

.loader-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.loading-image {
  width: 420px;
  max-width: 90%;
  animation: float 2.5s ease-in-out infinite;
}

.loader-bar {
  width: 300px;
  max-width: 80%;
  height: 8px;
  margin: 25px auto 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.loader-bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #7e22ce, #a855f7);
  animation: load 3s forwards;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes load {
  from { width: 0%; }
  to { width: 100%; }
}

/* Responsive */
@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 340px 1fr;
    gap: 28px;
  }

  .hero-text h1 {
    font-size: 48px;
  }
}

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 40px;
  }

  .hero-card {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-text {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-panels {
    grid-template-columns: 1fr;
  }

  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-columns,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 42px;
  }
}

@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
  }

  nav {
    justify-content: center;
  }

  .grid-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 32px 18px 20px;
    gap: 24px;
  }

  .hero-text h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .page-title {
    font-size: 28px;
  }

  .hero-avatar {
    height: 360px;
  }

  .info-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-section {
    padding: 0 18px 24px;
  }

  .map-box {
    padding: 22px;
  }

  .map-content h2 {
    font-size: 26px;
  }

  .loading-image {
    width: 320px;
  }

  .loader-bar {
    width: 220px;
  }

  .weapon-card h3 {
    font-size: 0.95rem;
  }
}

.vehicles-page,
.vehicle-category,
.vehicles-grid,
.grid-cards {
  direction: rtl;
}

.vehicle-category,
.page-title,
.category-title {
  text-align: right;
}

.vehicle-card,
.card {
  text-align: right;
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
  gap: 14px;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
  gap: 20px;
}
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jobs-list h2 {
  margin-bottom: 10px;
}

.job-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.job-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.job-item .xp {
  color: #f4b000;
  font-weight: 700;
}

.job-details {
  min-height: 300px;
}

.details-content {
  line-height: 1.9;
  color: #ddd;
}

.details-content h3 {
  color: #fff;
  margin-bottom: 10px;
}

.job-item.active {
  background: rgba(140, 0, 255, 0.25);
  border: 1px solid rgba(140, 0, 255, 0.8);
  animation: glowPulse 1.8s infinite ease-in-out;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 5px rgba(140, 0, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(140, 0, 255, 0.9);
  }
  100% {
    box-shadow: 0 0 5px rgba(140, 0, 255, 0.4);
  }
}
.filter-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
  justify-content: center;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.filter-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  color: #fff;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(90deg, #7e22ce, #a855f7);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

.filter-btn.vip-btn {
  border-color: rgba(234, 179, 8, 0.4);
}
.filter-btn.vip-btn.active {
  background: linear-gradient(90deg, #ca8a04, #eab308);
  box-shadow: 0 5px 15px rgba(234, 179, 8, 0.4);
}

.vehicle-card {
  background: rgba(20, 20, 28, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 22px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 180px;
}

.vehicle-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.2);
}

.vehicle-card h3 {
  font-size: 24px;
  margin: 15px 0 8px;
  color: #fff;
  z-index: 2;
}

.vehicle-card .year {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  z-index: 2;
}

.level-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #fca5a5;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  z-index: 2;
}

.vip-card {
  border-color: rgba(234, 179, 8, 0.3);
  background: linear-gradient(145deg, rgba(30, 25, 10, 0.8), rgba(15, 15, 20, 0.9));
}

.vip-card:hover {
  border-color: rgba(234, 179, 8, 0.8);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(234, 179, 8, 0.25);
}

.vip-card .vip-level {
  background: rgba(234, 179, 8, 0.2);
  border-color: rgba(234, 179, 8, 0.5);
  color: #fef08a;
}

.vip-card .vip-text {
  color: #eab308;
  font-weight: bold;
}

.card-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, rgba(0,0,0,0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}
.vip-card .card-glow {
  background: radial-gradient(circle, rgba(234,179,8,0.1) 0%, rgba(0,0,0,0) 70%);
}
.vehicle-card:hover .card-glow {
  opacity: 1;
}

.vehicle-card.hide {
  display: none;
}

.vehicle-card.show {
  animation: fadeInScale 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(15px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}





.search-box {
  max-width: 500px;
  margin: 0 auto 30px;
  position: relative;
}
#searchInput {
  width: 100%;
  padding: 16px 20px 16px 50px;
  background: rgba(20, 20, 28, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}
#searchInput:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
  background: rgba(30, 30, 40, 0.9);
}
#searchInput::placeholder { color: rgba(255, 255, 255, 0.4); }
.search-icon {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: rgba(168, 85, 247, 0.8);
  font-size: 18px;
  pointer-events: none;
}

.filter-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  justify-content: center;
}
.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover { background: rgba(168, 85, 247, 0.15); color: #fff; transform: translateY(-2px); }
.filter-btn.active {
  background: linear-gradient(90deg, #7e22ce, #a855f7);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}
.filter-btn.vip-btn { border-color: rgba(234, 179, 8, 0.4); }
.filter-btn.vip-btn.active { background: linear-gradient(90deg, #ca8a04, #eab308); box-shadow: 0 5px 15px rgba(234, 179, 8, 0.4); }

.sub-filter-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  height: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
.sub-filter-menu.active {
  opacity: 1;
  visibility: visible;
  height: auto;
  transform: translateY(0);
}
.sub-filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sub-filter-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.sub-filter-btn.active {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
  color: #d8b4fe;
}

.vehicle-card {
  background: rgba(20, 20, 28, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 22px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 180px;
}
.vehicle-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.2);
}
.vehicle-card h3 { font-size: 24px; margin: 15px 0 8px; color: #fff; z-index: 2; }
.vehicle-card .year { color: rgba(255, 255, 255, 0.6); font-size: 16px; z-index: 2; }
.level-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #fca5a5;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  z-index: 2;
}
.vip-card { border-color: rgba(234, 179, 8, 0.3); background: linear-gradient(145deg, rgba(30, 25, 10, 0.8), rgba(15, 15, 20, 0.9)); }
.vip-card:hover { border-color: rgba(234, 179, 8, 0.8); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(234, 179, 8, 0.25); }
.vip-card .vip-level { background: rgba(234, 179, 8, 0.2); border-color: rgba(234, 179, 8, 0.5); color: #fef08a; }
.vip-card .vip-text { color: #eab308; font-weight: bold; }
.card-glow {
  position: absolute; width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, rgba(0,0,0,0) 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.4s ease; z-index: 1; pointer-events: none;
}
.vip-card .card-glow { background: radial-gradient(circle, rgba(234,179,8,0.1) 0%, rgba(0,0,0,0) 70%); }
.vehicle-card:hover .card-glow { opacity: 1; }

.vehicle-card.hide { display: none; }
.vehicle-card.show { animation: fadeInScale 0.4s forwards; }
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.9) translateY(15px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}


.vip-showcase {
  max-width: 1000px;
  margin: 0 auto 50px;
  position: relative;
  perspective: 1200px; 
  padding: 20px 0;
}

.slider-3d-container {
  width: 100%;
  height: 350px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 30px;
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
}

.slider-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-item {
  position: absolute;
  width: 450px;
  height: auto;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
  opacity: 0;
  filter: blur(4px) brightness(0.5);
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-item img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
}

.slide-item.active {
  opacity: 1;
  transform: translateX(0) scale(1) translateZ(50px);
  filter: blur(0) brightness(1.2) drop-shadow(0 0 20px rgba(168, 85, 247, 0.4));
  z-index: 10;
}

.slide-item.prev {
  opacity: 0.6;
  transform: translateX(-35%) scale(0.7) translateZ(-100px) rotateY(15deg);
  z-index: 5;
}

.slide-item.next {
  opacity: 0.6;
  transform: translateX(35%) scale(0.7) translateZ(-100px) rotateY(-15deg);
  z-index: 5;
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 20px auto 0;
  padding: 0 20px;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
  transform: scale(1.1);
}

.slider-info {
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.slider-info h3 {
  font-size: 28px;
  margin-bottom: 5px;
  color: #fff;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.slider-info p {
  margin: 0;
}







.vehicle-card {
  will-change: transform;
  backface-visibility: hidden;
}



.vehicle-card {
  overflow: visible; 
  padding-top: 15px;
  cursor: pointer; 
}

.vehicle-card .car-img {
  width: 145%;
  max-width: none;
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
  margin-top: 20px;
  z-index: 3;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.6));
  
  clip-path: inset(0 36% 0 0); 
  
  transform: translateX(10%); 
  transform-origin: 32% 50%;
}

.vehicle-card:hover .car-img {
  transform: scale(1.2) translateY(-15px) translateX(8%);
  filter: drop-shadow(0 25px 20px rgba(168, 85, 247, 0.4));
}

.vehicle-card h3, .vehicle-card .year, .vehicle-card .price {
  position: relative;
  z-index: 4;
}

.level-badge {
  z-index: 20 !important; 
}

.vehicle-card .price {
  color: #10b981; 
  font-size: 18px;
  font-weight: bold;
  margin-top: 8px;
}


.modal {
  display: none; 
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(15px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: linear-gradient(180deg, rgba(30, 30, 40, 0.9), rgba(15, 15, 20, 0.95));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 24px;
  padding: 30px;
  max-width: 700px;
  width: 90%;
  position: relative;
  transform: scale(0.8) translateY(30px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(168, 85, 247, 0.15);
}

.modal.show .modal-content {
  transform: scale(1) translateY(0);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: 0.3s;
  z-index: 10;
}

.close-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

.modal-img-container {
  width: 100%;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}


.modal-img-container img {
  width: 145%;
  max-width: none;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 20px 20px rgba(0,0,0,0.6));
  

  clip-path: inset(0 36% 0 0);


  transform: translateX(10%); 
  

  transform-origin: 32% 50%;
}


.modal-img-container:hover img {

  transform: scale(1.4) translateX(10%);
}

.zoom-hint {
  position: absolute;
  bottom: 15px;
  background: rgba(0,0,0,0.6);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  pointer-events: none;
  opacity: 0.8;
}

.modal-info {
  text-align: center;
  margin-top: 25px;
}

.modal-info h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #fff;
}

.modal-price {
  color: #10b981;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.4); 
  letter-spacing: 1px;
}

.modal-badges {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.modal-badges span {
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 16px;
}

.badge {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #fca5a5;
}

.year-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ccc;
}
/* ===== Smuggling ===== */

.price.red {
  color: #ff4d4d;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.smuggle-info ul {
  padding-right: 18px;
  line-height: 2;
}

.warning {
  color: #ff4d4d;
  font-weight: bold;
}
.footer {
  margin-top: 80px;
  padding: 30px 20px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(10,10,20,0.4),
    rgba(10,10,20,0.9)
  );
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(168,85,247,0.2);
  position: relative;
  overflow: hidden;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-text {
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
}

.glow-text {
  color: #a855f7;
  font-weight: bold;
  position: relative;
  text-shadow:
    0 0 5px rgba(168,85,247,0.6),
    0 0 10px rgba(168,85,247,0.6),
    0 0 20px rgba(168,85,247,0.4);
  animation: glowPulse 2s infinite ease-in-out;
}

@keyframes glowPulse {
  0% {
    text-shadow:
      0 0 5px rgba(168,85,247,0.4),
      0 0 10px rgba(168,85,247,0.4);
  }
  50% {
    text-shadow:
      0 0 10px rgba(168,85,247,0.9),
      0 0 25px rgba(168,85,247,0.8),
      0 0 40px rgba(168,85,247,0.6);
  }
  100% {
    text-shadow:
      0 0 5px rgba(168,85,247,0.4),
      0 0 10px rgba(168,85,247,0.4);
  }
}

.footer-line {
  margin: 15px auto 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  animation: lineMove 3s infinite;
}

@keyframes lineMove {
  0% { opacity: 0.2; transform: scaleX(0.5); }
  50% { opacity: 1; transform: scaleX(1.2); }
  100% { opacity: 0.2; transform: scaleX(0.5); }
}
.btn.main-site {
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.btn.main-site:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 25px rgba(124,58,237,0.5);
}

.btn.main-site::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
}

.btn.main-site:hover::before {
  left: 120%;
  transition: 0.8s;
}
.faq-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(168,85,247,0.4);
  z-index: 9999;
  transition: 0.3s;
}

.faq-button:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(168,85,247,0.6);
}

.faq-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 340px;
  max-width: calc(100vw - 40px);
  background: rgba(15,15,25,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: 18px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.3s;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.faq-box.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(168,85,247,0.18);
  color: #fff;
  font-weight: bold;
}

.faq-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.faq-content {
  padding: 12px;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  padding: 14px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: right;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.faq-question:hover {
  color: #d8b4fe;
}

.faq-icon {
  font-size: 18px;
  color: #c084fc;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-right: 10px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 6px;
}

.faq-answer p {
  color: #ccc;
  font-size: 13px;
  line-height: 1.8;
  padding-bottom: 0;
}

.faq-answer a {
  color: #c084fc;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 6px 14px;
}

.faq-answer {
  overflow-y: auto;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.warning-box .faq-question {
  color: #ff4d4d;
}

.warning-box .faq-answer {
  color: #ffb3b3;
}

.warning-box {
  border-top: 1px solid rgba(255,0,0,0.2);
}
.map-section {
  text-align: center;
  padding: 60px 20px;
}

.map-section h2 {
  color: #fff;
  margin-bottom: 20px;
}

.map-container {
  max-width: 900px;
  margin: auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(168,85,247,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: 0.3s;
}

.map-container img {
  width: 100%;
  display: block;
}

.map-container:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(168,85,247,0.4);
}
.faq-map-preview {
  position: relative;
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(168,85,247,0.18);
  background: rgba(255,255,255,0.03);
}

.faq-map-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.faq-map-preview:hover img {
  transform: scale(1.03);
}

.faq-map-hint {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(10,10,20,0.72);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}

.map-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 10, 0.82);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.map-modal.show {
  display: flex;
}

.map-modal-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(168,85,247,0.2);
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
  background: rgba(15,15,25,0.95);
}

.map-modal-content img {
  display: block;
  width: 100%;
  height: auto;
}

.map-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(10,10,20,0.72);
  color: #fff;
  font-size: 18px;
}
.connect-link {
  color: #c084fc;
  text-decoration: none;
  font-family: monospace;
}

.connect-link:hover {
  text-decoration: underline;
  color: #e9d5ff;
}