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

body {
  font-family: Arial, sans-serif;
  background: #0e0e13;
  color: white;
}

/* LOADER */
#loader {
  position: fixed;
  inset: 0;
  background: #0e0e13;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5000;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #222;
  border-top: 4px solid #ff2a2a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* TOPBAR */
.topbar {
  display: flex;
  align-items: center;
  background: #111;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 2000;
}

.logo {
  margin-left: 15px;
  font-size: 18px;
}

/* BURGER */
.burger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #15151c;
  padding: 20px;
  transition: 0.3s ease;
  z-index: 3000;
}

.sidebar.open {
  left: 0;
}

.sidebar h3 {
  margin-top: 25px;
  font-size: 12px;
  color: #888;
}

/* SIDEBAR LINKS */
.sidebar a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: #ccc;
  transition: all 0.25s ease;
  border-radius: 6px;
  padding-left: 10px;
}

/* HOVER GLOW */
.sidebar a:hover {
  color: #ffffff;
  background: rgba(255, 42, 42, 0.08);
  box-shadow: 0 0 12px rgba(255, 42, 42, 0.4);
}

/* ACTIVE CLICK EFFECT */
.sidebar a:active {
  box-shadow: 0 0 18px rgba(255, 42, 42, 0.7);
  transform: scale(0.98);
}

/* OVERLAY */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 2500;
}

#overlay.active {
  opacity: 1;
  visibility: visible;
}

/* LOGIN BUTTON */
.login-btn {
  background: #ff2a2a;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  color: white;
  margin-bottom: 15px;
}

.login-btn:hover {
  background: #ff4d4d;
}

/* HERO */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
}

.hero h2 {
  font-size: 40px;
}

.hero p {
  color: #aaa;
  margin-top: 10px;
}

/* PRODUCTS */
.products {
  padding: 40px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.product-card {
  background: #1b1b22;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(255,42,42,0.4);
}

.image-placeholder {
  height: 180px;
  background: linear-gradient(135deg, #222, #333);
}

.product-card h3 {
  margin: 15px 0 5px;
}

.product-card p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 15px;
}

.buy-btn {
  background: #ff2a2a;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.buy-btn:hover {
  background: #ff4d4d;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 28px;
  }
}