:root {
  --primary-gold: #ffdf00;
  --bg-dark: #000000;
  --text-white: #ffffff;
  --text-cyan: #00ffff;
  --link-purple: #8A2BE2; 
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-gray: #a0a0a0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  color: var(--primary-gold);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-gold);
}

.cart-icon {
  position: relative;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary-gold);
  color: black;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
}

/* Footer */
footer {
  background: #050505;
  padding: 4rem 5% 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--text-white);
}

.footer-bottom {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-gray);
  font-size: 0.8rem;
}

/* Landing Page Specifics */
.landing-body {
  height: 100vh;
  background: url('../images/background.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 100px;
  text-align: center;
}

.welcome-text {
  color: var(--text-cyan);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

.sparkle-logo {
  font-size: 8rem;
  font-family: 'Pacifico', cursive;
  color: var(--primary-gold);
  margin-bottom: 5rem;
  text-shadow: 0 0 30px rgba(235, 196, 127, 0.3);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 20px rgba(235, 196, 127, 0.2); }
  to { text-shadow: 0 0 40px rgba(235, 196, 127, 0.6); }
}

.btn-container {
  display: flex;
  gap: 2rem;
}

.btn {
  background: var(--primary-gold);
  color: black;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(235, 196, 127, 0.2);
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(235, 196, 127, 0.4);
  background: white;
}

/* Glassmorphism Container */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-gold);
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: white;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary-gold);
  background: rgba(255, 255, 255, 0.15);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  border: 1px solid var(--primary-gold);
  padding: 1rem;
  background: black;
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: #111;
  border-radius: 10px;
}

.product-info {
  margin-top: 1rem;
  text-align: center;
}

.product-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-gold);
}

.product-price {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

/* Product Detail Page */
.detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 8rem 3rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.detail-image-container {
  background: var(--glass);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.detail-info h1 {
  color: var(--primary-gold);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.detail-info .price {
  font-size: 2rem;
  color: var(--text-white);
  margin: 1.5rem 0;
}

.detail-info .description {
  color: var(--text-gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.detail-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.quantity-select {
  padding: 0.8rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: white;
  border-radius: 8px;
}

.btn-primary {
  background: var(--primary-gold);
  color: black;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

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

.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--text-cyan);
  text-decoration: none;
}

/* Cart Page */
.cart-page-container {
  padding: 8rem 5% 4rem;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 70vh;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  overflow: hidden;
}

.cart-table th, .cart-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cart-table th {
  background: rgba(255,255,255,0.05);
  color: var(--primary-gold);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.cart-item-name {
  color: var(--text-white);
  font-weight: 600;
}

.cart-total-section {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.total-price {
  font-size: 1.5rem;
  color: var(--primary-gold);
}

.remove-btn {
  color: #ff4444;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
}

.empty-cart-msg {
  text-align: center;
  padding: 4rem;
  color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
  .sparkle-logo { font-size: 4rem; }
  .btn-container { flex-direction: column; gap: 1rem; }
  .detail-container { grid-template-columns: 1fr; gap: 2rem; padding: 6rem 1.5rem 2rem; }
  .cart-table { font-size: 0.9rem; }
  .cart-table th, .cart-table td { padding: 1rem 0.5rem; }
}
