:root {
  --jungle-purple: #7f1d8d;
  --jungle-gold: #f7b948;
  --jungle-green: #2f855a;
  --jungle-dark: #1a202c;
  --jungle-sand: #d9a066;
  --jungle-cream: #fef3c7;
  --accent-teal: #319795;
  --accent-orange: #f97316;
  --surface: rgba(16, 24, 32, 0.85);
  --text-light: #f9fafb;
  --text-muted: #cbd5f5;
  --border: rgba(255, 255, 255, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-image: url('../../background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-light);
  font-family: "Rajdhani", sans-serif;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 0;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--jungle-gold), var(--accent-orange));
  color: #111;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3), inset 0 2px 8px rgba(255, 255, 255, 0.6);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 22px rgba(0, 0, 0, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.7);
}

.btn:active {
  transform: translateY(0) scale(0.99);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.4);
}

.btn-primary {
  background: linear-gradient(135deg, var(--jungle-gold), var(--accent-orange));
  color: #111;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-teal), #63b3ed);
  color: #06242b;
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  border: 1px solid var(--border);
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  box-shadow: none;
}

.btn-xl {
  padding: 1rem 2.75rem;
  font-size: 1.25rem;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.btn-icon {
  border: none;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-light);
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 26, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  backdrop-filter: blur(4px);
  transition: opacity 0.25s ease;
}

.gate-overlay.dismissed {
  opacity: 0;
}

.gate-card {
  max-width: 420px;
  background: rgba(24, 16, 42, 0.95);
  padding: 2.5rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
}

.gate-card img {
  width: 160px;
  margin: 0 auto 1.5rem;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.gate-card h1 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gate-card p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.gate-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.splash-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(127, 29, 141, 0.9), rgba(31, 13, 42, 0.95));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 900;
  backdrop-filter: blur(8px);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.splash-logo {
  width: min(800px, 90%);
  max-width: 900px;
  height: auto;
  border: none;
  outline: none;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.6));
  margin-bottom: 2.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 6, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo {
  width: 100px;
  height: auto;
  border: none;
  outline: none;
  box-shadow: none;
}

.primary-nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.primary-nav a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.primary-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.cart-toggle {
  position: relative;
  border: none;
  background: linear-gradient(135deg, var(--accent-teal), #63b3ed);
  color: #041822;
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-weight: 700;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: rgba(18, 20, 32, 0.96);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 60;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: grid;
  gap: 1rem;
}

.text-muted {
  color: var(--text-muted);
}

.cart-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-notes {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.cart-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cart-summary {
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem 1.75rem;
  display: grid;
  gap: 0.75rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cart-note a {
  color: #8fffd4;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cart-note a:hover {
  color: #5bffce;
}

.cart-discounts {
  display: grid;
  gap: 0.5rem;
}

.discount-line {
  font-size: 0.9rem;
  font-weight: 600;
  color: #8fffd4;
}

.promo-section {
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.promo-input {
  flex: 1;
  padding: 0.65rem 1rem;
  background: rgba(4, 10, 22, 0.9);
  border: 1px solid rgba(127, 255, 212, 0.3);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.promo-input:focus {
  outline: none;
  border-color: rgba(127, 255, 212, 0.7);
}

.promo-section .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.summary-total {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  font-size: 1.25rem;
  color: #8fffd4;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  padding: 2.25rem;
  min-height: 380px;
}

.hero-art img {
  max-width: 800px;
  width: 100%;
  height: auto;
  border: none;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

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

  .hero-art {
    padding: 1rem;
    min-height: auto;
    order: 2;
  }

  .hero-art img {
    max-height: 180px;
  }

  .hero-copy {
    order: 1;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    margin-bottom: 0.75rem;
  }

  .hero-copy p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

.hero-copy h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero-copy p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.section {
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 1;
}

#main-content {
  position: relative;
  z-index: 1;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 65%);
  opacity: 0.8;
  pointer-events: none;
}

.section-alt {
  background: rgba(255, 255, 255, 0.05);
}

.section-header {
  max-width: 960px;
  margin: 0 auto 2.5rem;
  text-align: center;
  display: grid;
  gap: 0.75rem;
}

.section-header h2 {
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-header p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 680px;
}

.card-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.strain-card {
  background: rgba(16, 24, 32, 0.9);
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.strain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.4);
}

.strain-card h3 {
  margin: 0;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.strain-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(127, 255, 212, 0.16);
  color: #9ae6b4;
}

.strain-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.mix-match-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
}

.mix-match-sidebar {
  background: rgba(6, 12, 28, 0.92);
  border-radius: 30px;
  padding: 2rem;
  border: 1px solid rgba(111, 214, 255, 0.22);
  box-shadow: 0 28px 58px rgba(4, 8, 18, 0.5);
  display: grid;
  gap: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.mix-match-main {
  min-width: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-progress {
  display: grid;
  gap: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(127, 255, 212, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(127, 255, 212, 0.8), rgba(111, 214, 255, 0.8));
  border-radius: 999px;
  transition: width 0.3s ease;
  width: 0%;
}

.progress-text {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.progress-text.ready {
  color: #8fffd4;
}

.selected-items {
  display: grid;
  gap: 0.75rem;
  max-height: 400px;
  overflow-y: auto;
}

.selected-item {
  background: rgba(4, 10, 22, 0.8);
  border-radius: 12px;
  padding: 0.75rem;
  border: 1px solid rgba(127, 255, 212, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.selected-item-info {
  display: grid;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.selected-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selected-item-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.selected-item-controls {
  display: flex;
  gap: 0.5rem;
}

.btn-icon-small {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: none;
  background: rgba(127, 255, 212, 0.2);
  color: var(--text-light);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  font-size: 1rem;
}

.btn-icon-small:hover {
  background: rgba(127, 255, 212, 0.35);
}

.sidebar-actions {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-actions .btn {
  width: 100%;
}

.mix-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(127, 255, 212, 0.9), rgba(111, 214, 255, 0.9));
  color: #05252c;
  font-size: 0.8rem;
  font-weight: 700;
}

.mix-match-panel {
  display: grid;
  gap: 1.5rem;
}

.mix-match-panel p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-height: 3.25rem;
}

.selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(127, 255, 212, 0.28), rgba(111, 214, 255, 0.25));
  border: 1px solid rgba(127, 255, 212, 0.35);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.mix-match-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mix-match-card {
  background: rgba(8, 13, 28, 0.88);
  border-radius: 22px;
  border: 1px solid rgba(111, 214, 255, 0.2);
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, cursor 0.2s ease;
  cursor: pointer;
}

.mix-match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.mix-match-card.active {
  transform: translateY(-4px);
  border-color: rgba(127, 255, 212, 0.6);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.4);
}

.mix-thumb {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.mix-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mix-card-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 10, 22, 0.8);
  border-radius: 14px;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(127, 255, 212, 0.2);
}

.mix-card-button {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, rgba(127, 255, 212, 0.55), rgba(111, 214, 255, 0.65));
  color: #05252c;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mix-card-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(112, 214, 255, 0.35);
}

.mix-count {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.mix-match-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.mix-match-readout {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(173, 216, 230, 0.85);
}

#mix-match-total.ready {
  color: #5bffce;
}

.parent-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.parent-card {
  background: rgba(15, 23, 42, 0.82);
  border-radius: 22px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0.75rem;
}


.clone-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.clone-card {
  background: rgba(9, 16, 32, 0.9);
  border-radius: 24px;
  padding: 1.9rem;
  border: 1px solid rgba(111, 214, 255, 0.22);
  box-shadow: 0 22px 45px rgba(4, 8, 18, 0.45);
  display: grid;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.clone-card h3,
.clone-card p,
.clone-card img,
.clone-meta {
  pointer-events: none;
  user-select: none;
}

.clone-pack-select,
.clone-add-btn,
.clone-actions,
.clone-selector {
  pointer-events: auto !important;
  cursor: pointer;
}

.clone-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% -40%;
  height: 120%;
  background: radial-gradient(circle, rgba(127, 255, 212, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.clone-card:hover::after {
  opacity: 1;
}

.clone-card h3 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clone-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.clone-thumb {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 18px;
  margin: 0.75rem 0 0.5rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.clone-meta {
  display: flex;
  justify-content: flex-start;
}

.clone-selector {
  margin: 1rem 0;
}

.clone-pack-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(4, 10, 22, 0.9);
  border: 1px solid rgba(127, 255, 212, 0.3);
  border-radius: 12px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237fffd4' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  pointer-events: auto;
  z-index: 10;
  position: relative;
}

.clone-actions {
  z-index: 10;
  position: relative;
  pointer-events: auto;
}

.clone-add-btn {
  z-index: 10;
  position: relative;
  pointer-events: auto;
  cursor: pointer;
}

.clone-pack-select:hover {
  border-color: rgba(127, 255, 212, 0.5);
  box-shadow: 0 4px 12px rgba(127, 255, 212, 0.15);
}

.clone-pack-select:focus {
  outline: none;
  border-color: rgba(127, 255, 212, 0.7);
  box-shadow: 0 0 0 3px rgba(127, 255, 212, 0.2);
}

.clone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.clone-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  width: 100%;
}

.clone-note {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  background: rgba(8, 14, 32, 0.85);
  border-radius: 22px;
  border: 1px solid rgba(127, 255, 212, 0.25);
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--text-muted);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.clone-note strong {
  color: #8fffd4;
}

.clone-mix-builder {
  margin-top: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
}

.clone-mix-sidebar {
  background: rgba(6, 12, 28, 0.92);
  border-radius: 30px;
  padding: 2rem;
  border: 1px solid rgba(111, 214, 255, 0.22);
  box-shadow: 0 28px 58px rgba(4, 8, 18, 0.5);
  display: grid;
  gap: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.clone-mix-main {
  min-width: 0;
}

.clone-mix-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.clone-mix-header h3 {
  margin: 0;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.clone-mix-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.clone-mix-option {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(10, 18, 36, 0.85);
  border: 1px solid rgba(127, 255, 212, 0.25);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.clone-mix-option:hover {
  border-color: rgba(127, 255, 212, 0.5);
}

.clone-mix-option input {
  accent-color: #5bffce;
}

.clone-mix-option span {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.clone-mix-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.clone-mix-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.clone-mix-terminal .mix-match-card {
  border-color: rgba(127, 255, 212, 0.18);
}

#clone-mix-grid .mix-match-card {
  grid-template-rows: auto;
}


#clone-mix-total.ready {
  color: #5bffce;
}

.parent-card h3 {
  margin: 0;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.parent-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.site-footer {
  background: rgba(10, 13, 24, 0.9);
  padding: 3.5rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
}

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

.site-footer h3 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.35rem;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.65rem 1rem;
  color: var(--text-light);
}

.footer-meta {
  text-align: center;
  color: var(--text-muted);
  margin: 0;
  font-size: 0.85rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.8);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 400;
}

.modal.open {
  display: flex;
}

.modal-dialog {
  background: rgba(16, 24, 32, 0.94);
  border-radius: 26px;
  max-width: 520px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.modal-content {
  display: grid;
  gap: 1rem;
}

.modal-lineage {
  color: var(--text-muted);
  margin: 0;
}

.modal-parents {
  display: grid;
  gap: 0.75rem;
}

.modal-parent-card {
  background: rgba(127, 255, 212, 0.08);
  border: 1px solid rgba(127, 255, 212, 0.25);
  border-radius: 16px;
  padding: 0.75rem 1rem;
}

.modal-parent-card h4 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.modal-parent-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #c6f6d5;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .brand {
    font-size: 1.1rem;
  }

  .brand-logo {
    width: 60px;
  }

  .primary-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }

  .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .primary-nav a {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    white-space: nowrap;
  }

  .cart-toggle {
    order: 2;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
  }

  .cart-label {
    display: none;
  }

  .hero {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  .hero-art {
    padding: 1rem;
    min-height: auto;
  }

  .hero-art img {
    max-width: 100%;
    max-height: 200px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .hero-copy p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .mix-match-container {
    grid-template-columns: 1fr;
  }
  
  .mix-match-sidebar {
    position: static;
  }
  
  .clone-mix-builder {
    grid-template-columns: 1fr;
  }
  
  .clone-mix-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .gate-card {
    margin: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .hero {
    padding: 1rem 1rem 1.5rem;
    gap: 1rem;
  }

  .hero-art {
    padding: 0.5rem;
    min-height: 0;
  }

  .hero-art img {
    max-height: 150px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .hero-copy p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .header-inner {
    padding: 0.5rem 1rem;
  }

  .brand {
    font-size: 0.9rem;
    gap: 0.5rem;
  }

  .brand-logo {
    width: 50px;
  }

  .brand-wordmark {
    display: none;
  }

  .primary-nav {
    gap: 0.4rem;
  }

  .primary-nav a {
    font-size: 0.7rem;
    padding: 0.35rem 0.5rem;
  }

  .cart-toggle {
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .modal-dialog {
    padding: 1.75rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .section {
    padding: 2rem 1rem;
  }

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

