* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0A0A0A;
  color: #fff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  transition: background 0.4s ease;
}

/* Loading screen */
#loading-screen {
  position: fixed;
  inset: 0;
  background: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader-logo {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #39FF14, #8A2BE2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.3; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.3; transform: scale(0.95); }
}

/* Password Gate */
#password-gate {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(138, 43, 226, 0.15), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(57, 255, 20, 0.1), transparent 50%),
              #0A0A0A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  animation: fadeInGate 0.8s ease forwards;
}

@keyframes fadeInGate {
  to { opacity: 1; }
}

.gate-container {
  text-align: center;
  padding: 2rem;
}

.gate-title {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(to right, #39FF14, #8A2BE2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.gate-subtitle {
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 2.5rem;
}

.gate-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 40px;
  padding: 1rem 1.5rem;
  width: 280px;
  max-width: 85vw;
  color: white;
  font-size: 1rem;
  text-align: center;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(5px);
  background: rgba(20,20,20,0.7);
}

.gate-input:focus {
  border-color: #39FF14;
  box-shadow: 0 0 20px rgba(57,255,20,0.2);
}

.gate-btn {
  margin-top: 1.2rem;
  border: none;
  border-radius: 40px;
  padding: 0.9rem 2.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: #0A0A0A;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #39FF14, #2ecc71);
  box-shadow: 0 0 25px rgba(57,255,20,0.3);
}

.gate-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 35px rgba(57,255,20,0.6);
}

.gate-error {
  color: #ff4d6d;
  font-size: 0.85rem;
  margin-top: 1rem;
  display: none;
}

/* Main site hidden initially */
#main-site {
  display: none;
}

/* Sticky navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(to right, #39FF14, #8A2BE2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-icon {
  position: relative;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
  transition: color 0.2s;
}

.cart-icon:hover {
  color: #39FF14;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #39FF14;
  color: #0A0A0A;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sections */
section {
  padding: 4rem 5%;
}

.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(138,43,226,0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(57,255,20,0.1) 0%, transparent 40%);
}

.hero-title {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -3px;
  background: linear-gradient(to bottom, #fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.btn-primary {
  background: #39FF14;
  color: #0A0A0A;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(57,255,20,0.25);
  align-self: flex-start;
  background: linear-gradient(135deg, #39FF14, #2ecc71);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(57,255,20,0.6);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.scroll-indicator::after {
  content: '';
  width: 4px;
  height: 10px;
  background: #39FF14;
  border-radius: 2px;
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(15px); }
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.product-card {
  background: #121212;
  border-radius: 24px;
  padding: 1.8rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.04);
  position: relative;
  box-shadow: 0 15px 30px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px rgba(57,255,20,0.1);
  border-color: rgba(57,255,20,0.2);
}

.badge-sale {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #39FF14;
  color: #0A0A0A;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  letter-spacing: 0.5px;
}

.product-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.5rem 0 0.2rem;
  letter-spacing: -0.5px;
}

.product-desc {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0.5rem 0 1rem;
}

.price-current {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.price-old {
  text-decoration: line-through;
  color: #666;
  font-size: 1rem;
}

.status-indicator {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39FF14;
  box-shadow: 0 0 8px #39FF14;
}

.out-of-stock .status-dot {
  background: #ff4d6d;
  box-shadow: 0 0 8px #ff4d6d;
}

.btn-cart {
  background: transparent;
  border: 1.5px solid #39FF14;
  color: #39FF14;
  padding: 0.8rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: auto;
}

.btn-cart:hover {
  background: #39FF14;
  color: #0A0A0A;
}

.btn-cart.out-of-stock-btn {
  border-color: #444;
  color: #555;
  background: transparent;
  cursor: not-allowed;
}

.btn-cart.out-of-stock-btn:hover {
  background: transparent;
  color: #555;
}

/* Cart panel */
.cart-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #121212;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid rgba(255,255,255,0.05);
  z-index: 200;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.cart-panel.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.close-cart {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #222;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cart-item-title {
  font-weight: 600;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-controls button {
  background: #2a2a2a;
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.cart-item-controls button:hover {
  background: #39FF14;
  color: #0A0A0A;
}

.cart-total {
  margin-top: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  border-top: 1px solid #333;
  padding-top: 1rem;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin: 1rem 0;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background: #1da851;
  box-shadow: 0 0 25px rgba(37,211,102,0.5);
}

.btn-whatsapp:disabled {
  background: #333;
  color: #777;
  cursor: not-allowed;
  box-shadow: none;
}

.mock-note {
  font-size: 0.7rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

.about-text {
  max-width: 600px;
  font-size: 1.2rem;
  color: #ccc;
  line-height: 1.6;
}

.divider {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 2rem 0;
}

footer {
  text-align: center;
  opacity: 0.5;
  font-size: 0.8rem;
  padding: 2rem;
}

@media (max-width: 600px) {
  .navbar {
    padding: 1rem 1.2rem;
  }
  .hero {
    min-height: 70vh;
  }
}