@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg: #050914;
  --panel: rgba(11, 22, 42, 0.78);
  --panel-2: rgba(15, 31, 58, 0.86);
  --text: #f5f9ff;
  --muted: #9eabc0;
  --blue: #168cff;
  --blue-2: #58b7ff;
  --line: rgba(88, 183, 255, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 10%, rgba(22,140,255,.18), transparent 32%),
    radial-gradient(circle at 15% 55%, rgba(22,140,255,.10), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image:
    linear-gradient(rgba(88,183,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,183,255,.14) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 20, .72);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Orbitron, sans-serif;
  font-weight: 800;
  letter-spacing: .7px;
}

.brand img { width: 42px; height: 42px; image-rendering: auto; border-radius: 9px; }
.brand span span { color: var(--blue-2); }

.navbar nav { display: flex; gap: 28px; }
.navbar nav a { color: var(--muted); transition: .2s; }
.navbar nav a:hover { color: var(--text); }

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 26px;
  cursor: pointer;
}

.hero {
  max-width: 1200px;
  min-height: 650px;
  margin: auto;
  padding: 90px 6%;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

h1, h2, h3 { font-family: Orbitron, sans-serif; }

h1 {
  font-size: clamp(46px, 7vw, 82px);
  line-height: .98;
  margin-bottom: 24px;
}

h1 span {
  background: linear-gradient(90deg, #fff, var(--blue-2));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  color: var(--muted);
  max-width: 580px;
  line-height: 1.8;
  font-size: 16px;
}

.hero-buttons { display: flex; gap: 14px; margin-top: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border-radius: 10px;
  font-weight: 700;
  transition: .2s;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), #075ac7);
  box-shadow: 0 12px 35px rgba(22,140,255,.24);
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.hero-logo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
}

.hero-logo img {
  width: min(330px, 75%);
  position: relative;
  z-index: 2;
  border-radius: 35px;
  box-shadow: 0 0 70px rgba(22,140,255,.28);
  animation: float 4s ease-in-out infinite;
}

.logo-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(88,183,255,.25);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(22,140,255,.12);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.shop-section, .server-section { max-width: 1200px; margin: auto; padding: 100px 6%; }
.section-heading { text-align: center; margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.section-heading > p:last-child { color: var(--muted); }

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.tab {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 11px 20px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 600;
}

.tab.active, .tab:hover {
  color: white;
  background: rgba(22,140,255,.16);
  border-color: rgba(88,183,255,.45);
}

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--panel-2), rgba(7,13,27,.72));
  transition: .25s;
  position: relative;
  overflow: hidden;
}

.product::before {
  content: '';
  position: absolute;
  inset: -80px;
  background: radial-gradient(circle, rgba(22,140,255,.13), transparent 45%);
  opacity: 0;
  transition: .25s;
}

.product:hover { transform: translateY(-7px); border-color: rgba(88,183,255,.45); }
.product:hover::before { opacity: 1; }
.product > * { position: relative; }

.product-icon {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(22,140,255,.1);
  border: 1px solid var(--line);
  font-size: 39px;
  margin-bottom: 20px;
}

.product h3 { font-size: 20px; margin-bottom: 9px; }
.product p { color: var(--muted); font-size: 14px; line-height: 1.7; min-height: 72px; }

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  gap: 10px;
}

.price { font-size: 21px; font-weight: 800; }
.view-btn {
  border: 1px solid var(--line);
  color: white;
  background: rgba(22,140,255,.12);
  border-radius: 8px;
  padding: 9px 13px;
  cursor: pointer;
}

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.info-icon { font-size: 32px; margin-bottom: 18px; }
.info-card h3 { margin-bottom: 10px; font-size: 18px; }
.info-card p { color: var(--muted); line-height: 1.7; font-size: 14px; }

.discord-section {
  max-width: 1100px;
  margin: 40px auto 100px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(100deg, rgba(22,140,255,.14), rgba(255,255,255,.025));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.discord-section h2 { margin-bottom: 10px; }
.discord-section p:last-of-type { color: var(--muted); }

footer {
  border-top: 1px solid var(--line);
  padding: 30px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.footer-brand { color: white; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}
.modal.hidden { display: none; }
.modal-box {
  width: min(520px, 100%);
  padding: 30px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #081225;
  position: relative;
}
.close {
  position: absolute;
  right: 15px; top: 10px;
  border: 0; background: transparent; color: var(--muted);
  font-size: 30px; cursor: pointer;
}
.modal-box h2 { margin-bottom: 12px; }
.modal-box p { color: var(--muted); line-height: 1.8; }
.modal-price { font-size: 26px; font-weight: 800; margin: 20px 0; }

@media (max-width: 850px) {
  .navbar nav { display: none; }
  .menu-btn { display: block; }
  .navbar.nav-open nav {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    padding: 20px 6%;
    background: rgba(5,9,20,.97);
    border-bottom: 1px solid var(--line);
  }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-text { margin: auto; }
  .hero-buttons { justify-content: center; }
  .hero-logo { min-height: 300px; }
  .products, .info-cards { grid-template-columns: 1fr 1fr; }
  .discord-section { margin-left: 6%; margin-right: 6%; }
}

@media (max-width: 560px) {
  .hero { padding-top: 55px; }
  .hero-buttons { flex-direction: column; }
  .products, .info-cards { grid-template-columns: 1fr; }
  .discord-section, footer { flex-direction: column; text-align: center; }
  .category-tabs { flex-wrap: wrap; }
}
