/* ======== CSS Reset ======== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ======== Root Variables ======== */
:root {
  --bg: #0b0b0f;
  --panel: #0f0f16;
  --purple: #5b2ecc;
  --gold: #d4af37;
  --muted: #9aa0a6;
  --glass: rgba(255, 255, 255, 0.03);
  --card-glow: 0 10px 30px rgba(91, 46, 204, 0.12);
  --max-width: 1200px;
}

/* ======== Base Styles ======== */
html, body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: url("https://i.postimg.cc/x195ZCkR/banner.png") center/cover no-repeat fixed;
  color: #e6e6e6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* ======== Custom Scrollbar ======== */
body {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: var(--purple) var(--panel);
}

::-webkit-scrollbar {
  width: 20px;
  height: 20px;
}

::-webkit-scrollbar-track {
  background: var(--panel);
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: #3b1aa4;
}

::-webkit-scrollbar-button {
  display: none;
}

/* ======== Body Overlay ======== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

/* ======== Site Wrapper ======== */
.site {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px;
}

/* ======== Particles ======== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* ======== Header ======== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(11, 11, 15, 0.6), rgba(11, 11, 15, 0.35));
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 20px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo {
  margin-left: 25px;
  width: 100px;
  height: 100px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(22, 22, 22, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.brand h1 {
  margin: 0;
  font-family: "Bungee", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(212, 175, 55, 0.12);
}

nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

nav a:hover {
  color: #fff;
  background: linear-gradient(90deg, rgba(91, 46, 204, 0.06), rgba(212, 175, 55, 0.03));
}

.cta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-right: 25px;
}

/* ======== Buttons ======== */
.btn {
  background: var(--purple);
  border: none;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-family: "Orbitron", sans-serif;
  box-shadow: var(--card-glow);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(91, 46, 204, 0.2);
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-family: "Exo 2", sans-serif;
}

.ip-btn {
  background: linear-gradient(90deg, var(--gold), #e7c86b);
  color: #0b0b0f;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.12);
  font-family: "Orbitron", sans-serif;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.ip-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(212, 175, 55, 0.2);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* ======== Hero Section ======== */
.hero-with-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 36px 0 0;
}

.banner-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card {
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(14px) brightness(0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  padding: 28px;
  overflow: hidden;
}

.hero-title {
  font-family: "Orbitron", sans-serif;
  font-size: 36px;
  margin: 0 0 8px;
  color: var(--gold);
  letter-spacing: 1px;
}

.hero-sub {
  margin: 0 0 28px;
  color: var(--muted);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.banner-image {
  width: 100%;
  height: 42%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.8s ease;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.status .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status.online .dot {
  background: #43d97a;
  box-shadow: 0 4px 12px rgba(67, 217, 122, 0.12);
}

.status.offline .dot {
  background: #e34b4b;
}

/* ======== VIP Cards & Store ======== */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(14px) brightness(0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--card-glow);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}

.card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.card img {
  width: 50px;
  height: auto;
}

.price {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--gold);
  margin-top: 10px;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  color: var(--muted);
  font-weight: 600;
}

.card .buy {
  background: linear-gradient(90deg, var(--purple), #3b1aa4);
  border: none;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-family: "Orbitron", sans-serif;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.card .buy:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(91, 46, 204, 0.2);
}

.tagvip {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin-top: auto;
  align-self: center;
  image-rendering: pixelated;
  transform: scale(3);
}

/* ======== About Section ======== */
.about {
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(14px) brightness(0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  padding: 18px;
  border-radius: 12px;
}

.about li {
  margin-left: 20px;
}

/* ======== Footer ======== */
footer {
  margin-top: 28px;
  padding: 20px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(14px) brightness(0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-radius: 12px;
}

.socials a {
  margin-right: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

/* ======== Modal ======== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.modal {
  background: linear-gradient(180deg, #0f0f16, #0a0a0d);
  padding: 20px;
  border-radius: 12px;
  width: min(420px, 94%);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.modal h3 {
  margin: 0 0 8px;
  color: var(--gold);
}

.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}

/* ======== Form Elements ======== */
.select {
  width: 100%;
  max-width: 260px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  color: #fff;
  font-family: "Exo 2", sans-serif;
}

/* ======== Tooltip ======== */
.tooltip {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  background: #111;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--gold);
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.tooltip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}

/* ======== Responsive Design ======== */
@media (min-width: 880px) {
  .hero-with-banner {
    grid-template-columns: 2fr 1fr;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 879px) {
  .grid {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }
}
