﻿:root {
  --bg-deep: #0b0b12;
  --bg-mid: #0f1a2b;
  --bg-accent: #113c3c;
  --text: #eef4ff;
  --muted: #a9b6d3;
  --brand: #20e0a5;
  --brand-strong: #2af5b2;
  --stroke: rgba(255, 255, 255, 0.12);
  --card: rgba(16, 24, 42, 0.82);
  --shadow: 0 30px 60px rgba(4, 10, 24, 0.55);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #12324b 0%, #0b101d 40%, #07070d 100%);
  color: var(--text);
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  position: relative;
  overflow-x: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.35;
  pointer-events: none;
}

.orb-1 {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, #20e0a5 0%, rgba(32, 224, 165, 0) 70%);
  animation: floatOrb 16s ease-in-out infinite;
}

.orb-2 {
  width: 520px;
  height: 520px;
  right: -200px;
  top: 160px;
  background: radial-gradient(circle, #3a7dff 0%, rgba(58, 125, 255, 0) 70%);
  animation: floatOrb 22s ease-in-out infinite reverse;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.1;
  pointer-events: none;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(6, 10, 18, 0.72);
}

.brand {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.admin-btn:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 32px 96px;
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
  animation: fadeUp 0.8s ease both;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 50px);
  margin: 0 0 12px;
}

.subtitle {
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.6;
}

.input-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(6, 12, 24, 0.72);
  max-width: 420px;
}

.input-icon {
  width: 24px;
  height: 24px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.input-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.input-box input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  outline: none;
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.panel-card {
  background: linear-gradient(140deg, rgba(26, 36, 60, 0.9), rgba(9, 14, 26, 0.95));
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.panel-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 6px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
}

.section-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slider-wrapper {
  position: relative;
  padding: 0 72px;
}

.slider {
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  padding: 24px 0 36px;
  scrollbar-width: none;
  scroll-padding: 0 72px;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slider-track {
  display: flex;
  gap: 24px;
  scroll-snap-type: x mandatory;
  justify-content: center;
  width: max-content;
  margin: 0 auto;
  padding: 12px 36px;
}

.card {
  min-width: 280px;
  max-width: 320px;
  flex: 0 0 auto;
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(2, 6, 16, 0.4);
  scroll-snap-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  transform: translateZ(0);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.card.highlight {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 34px rgba(2, 6, 16, 0.35);
}

.card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.in {
  background: rgba(23, 92, 64, 0.7);
  color: #93ffd5;
}

.out {
  background: rgba(120, 26, 26, 0.6);
  color: #ffb3b3;
}

.card h3 {
  margin: 16px 0 10px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card h3 i {
  color: var(--brand);
  font-size: 16px;
}

.product-media {
  width: 100%;
  height: 130px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(32, 224, 165, 0.18), rgba(58, 125, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 40px;
  color: var(--brand);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.25);
}

.card-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.price {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 700;
}

.card button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.card button:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.card button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.card.selected {
  border-color: rgba(32, 224, 165, 0.85);
  box-shadow: 0 22px 40px rgba(32, 224, 165, 0.15);
  transform: scale(1.06);
  animation: popSelect 0.35s ease;
  z-index: 1;
}

.card.selected:hover {
  transform: scale(1.06);
}

.card.selected button {
  border-color: var(--brand);
  color: var(--brand);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 10, 18, 0.9);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nav-btn:hover {
  border-color: var(--brand);
  transform: translateY(-50%) scale(1.05);
}

.nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.nav-btn.left {
  left: 8px;
}

.nav-btn.right {
  right: 8px;
}

.nav-btn svg {
  width: 22px;
  height: 22px;
}

.nav-btn i {
  font-size: 22px;
}

.checkout {
  margin-top: 56px;
  padding: 28px 32px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 22, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.summary-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-subtitle {
  margin: 0;
  color: var(--muted);
}

.summary-selected,
.summary-price {
  margin: 8px 0 0;
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.continue-btn {
  padding: 14px 36px;
  font-size: 16px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(110deg, var(--brand), var(--brand-strong));
  color: #042017;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 18px 30px rgba(32, 224, 165, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

.continue-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatOrb {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(24px);
  }
}

@keyframes popSelect {
  0% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.09);
  }
  100% {
    transform: scale(1.06);
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .nav-btn.left,
  .nav-btn.right {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 18px 20px;
  }

  .page {
    padding: 40px 20px 80px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout {
    flex-direction: column;
    align-items: flex-start;
  }

  .continue-btn {
    width: 100%;
  }

  .slider-wrapper {
    padding: 0 28px;
  }

  .slider {
    scroll-padding: 0 28px;
  }
}
