:root {
  --bg: #0c0c12;
  --sec-bg: #12121a;
  --card-bg: rgba(26, 26, 40, 0.7);
  --neon-cyan: #00f0ff;
  --neon-blue: #1e90ff;
  --neon-purple: #8b5cf6;
  --neon-pink: #c084fc;
  --neon-green: #00ff9f;
  --text-main: #ffffff;
  --text-muted: #a0a0b5;
  --font-heading: 'Outfit', 'Montserrat', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --glass-border: rgba(0, 240, 255, 0.2);
}

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

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

/* Gradients & Glows */
.text-gradient {
  background: linear-gradient(to right, var(--neon-cyan), var(--neon-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-sec {
  background: linear-gradient(to right, var(--neon-purple), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glow-btn {
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-blue));
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.glow-btn:hover {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.8);
  transform: scale(1.05);
}

.glow-btn.sec {
  background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.glow-btn.sec:hover {
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.8);
}

.glow-btn.outline {
  background: transparent;
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.glow-btn.outline:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

/* Sidebar Navigation */
.mobile-header {
  display: none;
  background: rgba(18, 18, 26, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hamburger {
  background: none;
  border: none;
  color: var(--neon-cyan);
  font-size: 1.8rem;
  cursor: pointer;
}

.sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  background: rgba(18, 18, 26, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  gap: 20px;
  z-index: 999;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

.nav-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid transparent;
}

.nav-icon:hover, .nav-icon.active {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
  transform: scale(1.1);
}

.nav-tooltip {
  position: absolute;
  left: 60px;
  background: rgba(0, 0, 0, 0.8);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
}

.nav-icon:hover .nav-tooltip {
  opacity: 1;
  left: 55px;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--neon-green);
  color: #000;
  font-size: 0.7rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--neon-green);
}

/* Layout */
.main-content {
  margin-left: 110px;
  padding: 30px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Snow Effect */
.snow-container {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(4px 4px at 100px 50px, #fff, transparent),
    radial-gradient(6px 6px at 200px 150px, #fff, transparent),
    radial-gradient(3px 3px at 300px 250px, #fff, transparent),
    radial-gradient(4px 4px at 400px 350px, #fff, transparent),
    radial-gradient(6px 6px at 500px 100px, #fff, transparent),
    radial-gradient(3px 3px at 600px 200px, #fff, transparent),
    radial-gradient(4px 4px at 700px 300px, #fff, transparent),
    radial-gradient(6px 6px at 800px 400px, #fff, transparent),
    radial-gradient(3px 3px at 900px 50px, #fff, transparent);
  background-size: 1000px 1000px;
  animation: snowAnim 20s linear infinite;
  opacity: 0.3;
}

@keyframes snowAnim {
  0% { background-position: 0px 0px; }
  100% { background-position: 100px 1000px; }
}

/* Hero Section */
.hero {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 50px;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('images/photo-1551028150-64b9f398f678.png') center/cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(12,12,18,0.95) 0%, rgba(12,12,18,0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(0,240,255,0.3);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

/* Sections */
section {
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 2.2rem;
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 15px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
  transform: translateY(-10px);
}

.product-img-wrapper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 300px;
  margin-bottom: 15px;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.1);
}

.badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--neon-purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px var(--neon-purple);
  z-index: 2;
}

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

.product-category {
  font-size: 0.8rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  margin-bottom: 15px;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon-green);
}

.product-rating {
  color: #ffb400;
  font-size: 0.9rem;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.product-actions button, .product-actions a {
  flex: 1;
  text-align: center;
}

/* Filters */
.filters {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-main);
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Footer */
footer {
  margin-top: auto;
  padding: 40px 0 20px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

/* Collection Cards */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.collection-card {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.05);
}

.collection-card img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: 0.5s;
}

.collection-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(12,12,18,0.9) 0%, transparent 60%);
  z-index: -1;
}

.collection-card:hover img {
  transform: scale(1.1);
}

.collection-card:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.collection-info h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}

.collection-info p {
  color: var(--neon-cyan);
  font-weight: 600;
}

/* Product Details */
.product-details-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
}

.pd-images img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.pd-info h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.pd-price {
  font-size: 2rem;
  color: var(--neon-green);
  font-weight: 800;
  margin-bottom: 20px;
}

.pd-description {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.pd-options {
  margin-bottom: 30px;
}

.pd-options h4 {
  margin-bottom: 10px;
}

.size-btns {
  display: flex;
  gap: 10px;
}

.size-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.size-btn:hover, .size-btn.active {
  background: var(--neon-cyan);
  color: #000;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

/* Cart Page */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
}

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

.cart-table th {
  background: rgba(0,0,0,0.3);
  color: var(--neon-cyan);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-item img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.3);
  padding: 5px 10px;
  border-radius: 15px;
  width: max-content;
}

.qty-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.remove-btn {
  background: rgba(255,0,0,0.2);
  color: #ff4d4d;
  border: 1px solid #ff4d4d;
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.remove-btn:hover {
  background: #ff4d4d;
  color: #fff;
  box-shadow: 0 0 10px #ff4d4d;
}

.cart-summary {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  width: 100%;
  max-width: 400px;
  margin-left: auto;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.summary-total {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--neon-green);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
  margin-top: 15px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--neon-cyan);
}

.form-control {
  width: 100%;
  padding: 15px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  color: #fff;
  font-family: var(--font-body);
  transition: 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .product-details-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar {
    left: -100px;
  }
  .sidebar.active {
    left: 20px;
  }
  .mobile-header {
    display: flex;
  }
  .main-content {
    margin-left: 0;
    padding: 90px 20px 30px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero {
    min-height: 400px;
    padding: 30px;
  }
  .cart-table th {
    display: none;
  }
  .cart-table td {
    display: block;
    text-align: right;
  }
  .cart-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    color: var(--neon-cyan);
  }
  .cart-item {
    justify-content: flex-end;
  }
}