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

:root {
  /* Hyper-Luxury Palette */
  --bg-dark: #000000;
  --bg-card: rgba(5, 10, 20, 0.6);
  --card-border: rgba(255, 215, 0, 0.25);
  --text-primary: #ffffff;
  --text-muted: #a0aec0;
  --gold-primary: #FFD700;
  --gold-light: #FFE55C;
  --gold-accent: #FFA500;
  
  /* Typography */
  --font-main: 'Inter', system-ui, sans-serif;
  --font-heading: 'Cinzel', serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 30%, rgba(30, 58, 138, 0.15), transparent 30%),
    radial-gradient(circle at 85% 70%, rgba(212, 175, 55, 0.08), transparent 30%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

.highlight {
  color: var(--gold-primary);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

/* Navigation */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-primary);
}

/* Search Bar */
.search-container {
  text-align: center;
  margin-bottom: 3rem;
}

.search-input {
  width: 100%;
  max-width: 600px;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 50px;
  border: 1px solid var(--gold-primary);
  background: rgba(0,0,0,0.5);
  color: white;
  outline: none;
  font-family: var(--font-main);
  transition: box-shadow 0.3s ease;
}

.search-input:focus {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Categories */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-primary);
  font-weight: 600;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px rgba(255, 215, 0, 0.2);
}

.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.5rem;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

/* Product Detail Page */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
}

.product-detail-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Footer */
footer {
  border-top: 1px solid var(--card-border);
  padding: 3rem 0;
  margin-top: 4rem;
  text-align: center;
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}
