:root {
  --primary: #00d2ff;
  --bg-color: #0b0f19;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #8b9bb4;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.app-container {
  display: flex;
  flex: 1;
  min-height: 0; /* allow flex children to scroll without overflowing body */
  width: 100vw;
}

.sidebar {
  width: 350px;
  background: rgba(15, 23, 42, 0.9);
  border-right: 1px solid var(--card-border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
}

.logo-area h1 {
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 800;
  background: linear-gradient(90deg, #fff, #8b9bb4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-area span {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input, .form-group textarea, .form-group select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  cursor: pointer;
}

.form-group select option {
  background: #0f172a;
  color: #fff;
  padding: 10px;
}

.action-btn {
  margin-top: auto;
  background: linear-gradient(135deg, var(--primary), #3a7bd5);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.export-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 20px;
  background: rgba(0,0,0,0.2);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}
.export-section label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.export-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.action-btn.sm-btn {
  padding: 0.6rem;
  font-size: 0.85rem;
  margin-top: 0;
  border-radius: 6px;
}
.action-btn.alt-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
  padding: 0.8rem;
}
.action-btn.alt-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

/* Branding Override */
#galaxy-footer {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: scale(0.825) !important;
  transform-origin: center bottom !important;
  margin: 40px auto 20px !important;
  z-index: 1000 !important;
}

/* Top Nav Link */
.top-nav-link {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  z-index: 20;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
  text-align: center;
}
.top-nav-link:hover {
  background: rgba(0, 210, 255, 0.2);
  border-color: rgba(0, 210, 255, 0.8);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.5);
  color: #fff;
  transform: translateY(-2px);
}
.top-nav-link span {
  transition: color 0.3s ease;
}
.top-nav-link:hover span {
  color: #fff !important;
}

.top-nav-link.large-btn {
  padding: 20px 45px;
  font-size: 1.4rem;
  top: 40px;
  right: 60px;
  background: rgba(0, 210, 255, 0.15);
  border-width: 2px;
}
.top-nav-link.large-btn span {
  font-size: 0.9rem !important;
  margin-top: 8px !important;
}


.about-nav-link {
  position: absolute;
  top: 30px;
  right: 320px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  z-index: 20;
  transition: all 0.2s;
}
.about-nav-link:hover {
  color: #00d2ff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .about-nav-link {
    right: auto;
    left: 40px;
    top: 30px;
  }
  .top-nav-link.large-btn {
    right: 40px;
    top: 20px;
    padding: 12px 25px;
    font-size: 1rem;
  }
  .top-nav-link.large-btn span {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .app-container {
    flex-direction: column;
    height: auto;
    overflow-x: hidden;
  }
  .sidebar {
    width: 100%;
    height: auto;
    padding: 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
  .preview-area {
    padding: 60px 20px;
    min-height: 100vh;
  }
  .tool-info-text {
    display: none !important;
  }
  .about-nav-link {
    top: auto;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    padding: 10px 24px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    z-index: 1000;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  }
  .top-nav-link.large-btn {
    position: fixed;
    bottom: 25px;
    right: 20px;
    top: auto;
    z-index: 1000;
    padding: 10px 20px;
    font-size: 0.9rem;
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.4);
  }
  .auth-top-left {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
  }
}

/* Embed Mode overrides */
body.embed-mode .sidebar, body.embed-mode .style-navigator, body.embed-mode #galaxy-footer, body.embed-mode .export-section, body.embed-mode .top-nav-link, body.embed-mode .tool-info-text {
  display: none !important;
}
body.embed-mode .preview-area {
  background: transparent !important;
}
body.embed-mode .preview-area::before {
  display: none !important;
}

/* PREVIEW AREA */
.preview-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 100px 40px;
  position: relative;
  background: radial-gradient(circle at center, #1a2235 0%, #0b0f19 100%);
  overflow-y: auto;
  overflow-x: hidden;
}

.style-navigator-v2 {
  margin-bottom: 40px;
}

.deal-card {
  margin-bottom: 60px; /* Space before export section */
}

/* Grid background pattern */
.preview-area::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Style Navigator */
.style-navigator {
  position: relative;
  margin-top: 30px;
  margin-bottom: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 600px;
  z-index: 10;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.nav-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.nav-btn:hover {
  color: var(--primary);
}
.nav-btn .icon {
  font-weight: 800;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.nav-btn:hover .icon {
  background: var(--primary);
  color: #000;
}
.active-style {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
  text-align: center;
}

/* Glassmorphic Deal Card */
.deal-card {
  position: relative;
  width: 450px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex !important;
  flex-direction: column !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1), 0 0 40px rgba(0, 210, 255, 0.2);
  perspective: 1000px;
  transition: transform 0.1s ease-out;
  height: fit-content !important;
  min-height: 450px !important;
  flex-shrink: 0;
  overflow: visible !important;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: var(--primary);
  filter: blur(80px);
  opacity: 0.15;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
  z-index: 0;
}

.card-content {
  /* translateZ removed — caused content to float outside card */
  display: flex;
  flex-direction: column;
  /* height: auto — let flex column stack and grow naturally */
  position: relative;
  z-index: 2;
}

.tag-badge {
  align-self: flex-start;
  background: rgba(0, 210, 255, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-block;
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  /* translateZ removed — was pushing image outside card in 3D context */
}

.product-image-container img {
  max-width: 110%;
  max-height: 110%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.product-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.specs-list {
  list-style: none;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.specs-list li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.specs-list li::before {
  content: '✓';
  color: var(--primary);
  margin-right: 8px;
  font-weight: 900;
  font-size: 1.1rem;
}

.price-container {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.old-price {
  font-size: 1.4rem;
  color: #ef4444;
  text-decoration: line-through;
  font-weight: 600;
  opacity: 0.8;
}

.new-price {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  text-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
}

.watermark {
  position: absolute;
  bottom: -10px;
  right: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.1);
  font-weight: 600;
  letter-spacing: 2px;
}

/* CARD STYLES */

/* 1. Cyberpunk */
.deal-card.style-cyberpunk {
  background: rgba(10, 10, 20, 0.8);
  border: 2px solid #ff00ff;
  border-radius: 0;
  box-shadow: 0 0 20px #ff00ff, inset 0 0 20px #ff00ff;
}
.deal-card.style-cyberpunk .product-image-container img {
  animation: glitch 3s infinite;
}

/* 2. Gold */
.deal-card.style-gold {
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(0,0,0,0.8));
  border: 1px solid gold;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

/* 3. Minimal */
.deal-card.style-minimal {
  background: #ffffff;
  color: #000;
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.deal-card.style-minimal .product-title { color: #000; text-shadow: none; }
.deal-card.style-minimal .form-group label { color: #333; }
.deal-card.style-minimal .specs-list li { color: #555; }
.deal-card.style-minimal .watermark { color: rgba(0,0,0,0.3); }

/* 4. Toxic */
.deal-card.style-toxic {
  background: rgba(0, 20, 0, 0.9);
  border: 2px dashed #00ff00;
  border-radius: 30px;
  box-shadow: 0 0 40px rgba(0, 255, 0, 0.4);
}
.deal-card.style-toxic .product-image-container img {
  animation: pulse-toxic 2s infinite;
}

/* 5. Lava */
.deal-card.style-lava {
  background: linear-gradient(to bottom, #4a0000, #000);
  border: 1px solid #ff4500;
  box-shadow: 0 20px 50px rgba(255, 69, 0, 0.5), inset 0 0 30px #ff0000;
}
.deal-card.style-lava .product-image-container img {
  animation: shake 4s ease-in-out infinite;
}

/* 6. Deep Sea */
.deal-card.style-deepsea {
  background: radial-gradient(circle at center, #001f3f, #000000);
  border: 1px solid #0074D9;
  border-radius: 40px 0 40px 0;
  box-shadow: 0 0 50px rgba(0, 116, 217, 0.3);
}

/* 7. Holographic */
.deal-card.style-holo {
  background: 
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.0)),
    linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  background-size: 100% 100%, 200% 200%;
  background-position: 0% 0%, -100% 100%;
  animation: holo-bg-shine 4s infinite linear;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.3);
  position: relative;
}
@keyframes holo-bg-shine {
  0% { background-position: 0% 0%, 200% -200%; }
  100% { background-position: 0% 0%, -100% 100%; }
}

/* 8. Retro Arcade */
.deal-card.style-retro {
  background: #000;
  border: 4px solid #ff0055;
  border-radius: 0;
  box-shadow: 8px 8px 0px #00ffff;
  font-family: 'Courier New', Courier, monospace;
}
.deal-card.style-retro .product-title {
  text-shadow: 2px 2px #00ffff;
}
.deal-card.style-retro .tag-badge {
  border-radius: 0;
}

/* 9. Diamond Frost */
.deal-card.style-frost {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  backdrop-filter: blur(30px) saturate(150%);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.5);
}

/* 10. Cosmic Purple */
.deal-card.style-cosmic {
  background: linear-gradient(135deg, #2b00ff, #8a2be2);
  border: 1px solid #d8bfd8;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(138, 43, 226, 0.6);
}
.deal-card.style-cosmic .product-image-container img { animation: float 4s ease-in-out infinite; filter: drop-shadow(0 0 20px rgba(216, 191, 216, 0.8)); }
.deal-card.style-cosmic .tag-badge { background: rgba(255,255,255,0.2); color: #fff; border-color: #fff; }

/* 11. Velvet Dawn */
.deal-card.style-velvet {
  background: linear-gradient(to right, #ff416c, #ff4b2b);
  border: none;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(255, 75, 43, 0.4);
}
.deal-card.style-velvet .product-title { text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.deal-card.style-velvet .tag-badge { background: #fff; color: #ff4b2b; }

/* 12. Crystal Clear */
.deal-card.style-crystal {
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
}
.deal-card.style-crystal .product-image-container img { filter: drop-shadow(0 10px 20px rgba(255,255,255,0.2)); }

/* 13. Sunset Mirage */
.deal-card.style-sunset {
  background: linear-gradient(180deg, #ff7e5f, #feb47b);
  border: 1px solid #fff;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(255, 126, 95, 0.5);
}
.deal-card.style-sunset .tag-badge { background: rgba(0,0,0,0.2); color: #fff; border: none; }

/* 14. Matrix Code */
.deal-card.style-matrix {
  background: #000;
  border: 1px solid #00ff00;
  border-radius: 0;
  box-shadow: 0 0 20px #00ff00;
  font-family: 'Courier New', monospace;
  color: #00ff00;
}
.deal-card.style-matrix .product-title { color: #00ff00; text-shadow: 0 0 5px #00ff00; }
.deal-card.style-matrix .specs-list li { color: #00bb00; }
.deal-card.style-matrix .specs-list li::before { color: #00ff00; }

/* 15. Glacial Ice */
.deal-card.style-glacial {
  background: linear-gradient(135deg, #e0eafc, #cfdef3);
  color: #1a2235;
  border: 2px solid #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(207, 222, 243, 0.8);
}
.deal-card.style-glacial .product-title { color: #1a2235; }
.deal-card.style-glacial .form-group label { color: #555; }
.deal-card.style-glacial .specs-list li { color: #333; }

/* 16. Royal Amethyst */
.deal-card.style-amethyst {
  background: radial-gradient(circle at top left, #4b134f, #c94b4b);
  border: 1px solid gold;
  border-radius: 10px 40px;
  box-shadow: 0 10px 30px rgba(75, 19, 79, 0.6);
}
.deal-card.style-amethyst .tag-badge { background: gold; color: #4b134f; border-color: gold; }

/* 17. E-Sports Pro */
.deal-card.style-esports {
  background: #111;
  border-left: 5px solid #ff003c;
  border-right: 5px solid #00f0ff;
  border-radius: 0;
  transform: skewX(-2deg);
}
.deal-card.style-esports .product-image-container { transform: skewX(2deg); }
.deal-card.style-esports .product-title { text-transform: uppercase; font-style: italic; }
.deal-card.style-esports .tag-badge { border-radius: 0; background: #ff003c; color: #fff; border: none; transform: skewX(2deg); }

/* 18. Autumn Leaves */
.deal-card.style-autumn {
  background: linear-gradient(135deg, #d38312, #a83279);
  border: 1px solid #f9d423;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(211, 131, 18, 0.4);
}

/* 19. Vaporwave */
.deal-card.style-vaporwave {
  background: linear-gradient(180deg, #ff71ce, #01cdfe);
  border: 2px solid #b967ff;
  border-radius: 0;
  box-shadow: 8px 8px 0px #fffb96;
}
.deal-card.style-vaporwave .product-title { font-family: 'Times New Roman', serif; text-shadow: 2px 2px #fffb96; color: #fff; }
.deal-card.style-vaporwave .tag-badge { background: #05ffa1; color: #000; border: none; border-radius: 0; }

/* Animations */
@keyframes glitch {
  0% { transform: translate(0) }
  20% { transform: translate(-2px, 2px) }
  40% { transform: translate(-2px, -2px) }
  60% { transform: translate(2px, 2px) }
  80% { transform: translate(2px, -2px) }
  100% { transform: translate(0) }
}
@keyframes pulse-toxic {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px #00ff00); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 30px #00ff00); }
  100% { transform: scale(1); filter: drop-shadow(0 0 10px #00ff00); }
}
@keyframes shake {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-5px) rotate(-1deg); }
  50% { transform: translateY(5px) rotate(1deg); }
  75% { transform: translateY(-5px) rotate(-1deg); }
}
@keyframes holo-shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}
/* AUTH & MODALS */
.hidden { display: none !important; }

.auth-floating {
  position: absolute;
  top: 30px;
  left: 40px;
  z-index: 100;
}

.user-profile {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Style Navigator V2 */
.style-navigator-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nav-arrow-v2 {
  background: none;
  border: none;
  color: #fff;
  font-size: 3.5rem; /* Double size */
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
  font-family: serif;
}

.nav-arrow-v2:hover {
  transform: scale(1.2);
}

.nav-label-v2 {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.prev-glow:hover {
  color: #00d2ff;
  text-shadow: 0 0 20px rgba(0, 210, 255, 0.8), 0 0 40px rgba(0, 210, 255, 0.4);
}

.next-glow:hover {
  color: #00f260;
  text-shadow: 0 0 20px rgba(0, 242, 96, 0.8), 0 0 40px rgba(0, 242, 96, 0.4);
}

.current-style-badge-v2 {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.sm-action-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.sm-action-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

/* Modal */
.modal {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #0f172a;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  width: 400px;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal-content h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 0.9rem;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: #fff;
}

.switch-form {
  margin-top: 20px;
  text-align: center;
}

.switch-form a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

/* Admin Dashboard Table */
.admin-container {
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  overflow: hidden;
}

.admin-table th, .admin-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-table th {
  background: rgba(255,255,255,0.05);
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
}

.badge-active { background: rgba(0, 242, 96, 0.2); color: #00f260; }
.badge-pending { background: rgba(255, 126, 95, 0.2); color: #ff7e5f; }

/* SIDEBAR LOCK */
.sidebar { position: relative; }
.sidebar-lock {
  position: absolute;
  top: 180px; left: 0; width: 100%; height: calc(100% - 180px);
  background: rgba(11, 15, 25, 0.6);
  backdrop-filter: blur(4px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: opacity 0.3s;
}
.lock-content {
  text-align: center;
  background: rgba(15, 23, 42, 0.9);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.lock-icon { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.lock-content p { font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); }

/* Landing Split View */
.landing-split {
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
  z-index: 10;
}
.landing-column {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  backdrop-filter: blur(10px);
}
.landing-column:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 210, 255, 0.15);
}
.landing-preview {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(0,0,0,0.2);
  border-radius: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.landing-column h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
}
.landing-column p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}
.landing-column .action-btn {
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .landing-split {
    flex-direction: column;
    padding: 20px;
  }
}


/* USAGE DISPLAY */
.usage-status {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}
.usage-bar-container {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.usage-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #00f260);
  width: 0%;
  transition: width 0.5s ease;
}

.profile-usage {
  font-size: 0.75rem;
  color: #00f260;
  margin-left: 10px;
  font-weight: 800;
}

/* NEW UI ENHANCEMENTS */
.auth-top-left {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-nav-link-left {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.top-nav-link-left:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.user-profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 15px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

#userEmail {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-usage {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 12px;
  display: flex;
  align-items: center;
}

/* Style Navigator V2 */
.style-navigator-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nav-arrow-v2 {
  background: none;
  border: none;
  color: #fff;
  font-size: 3.5rem; /* Double size */
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
  font-family: serif;
}

.nav-arrow-v2:hover {
  transform: scale(1.2);
}

.nav-label-v2 {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.prev-glow:hover {
  color: #00d2ff;
  text-shadow: 0 0 20px rgba(0, 210, 255, 0.8), 0 0 40px rgba(0, 210, 255, 0.4);
}

.next-glow:hover {
  color: #00f260;
  text-shadow: 0 0 20px rgba(0, 242, 96, 0.8), 0 0 40px rgba(0, 242, 96, 0.4);
}

.current-style-badge-v2 {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


/* Responsive / Mobile Friendly Overrides */
@media (max-width: 1100px) {
  .tool-info-text {
    display: none !important;
  }
}

@media (max-width: 850px) {
  body {
    overflow: auto !important;
  }
  .app-container {
    flex-direction: column;
    height: auto;
    overflow: auto;
  }
  .sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--card-border);
    padding: 1.5rem;
  }
  .preview-area {
    padding: 40px 15px;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  
  /* Reset absolute positions for mobile flow */
  #auth-ui {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .top-nav-link.large-btn {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    margin: 20px auto !important;
    display: block;
    width: fit-content;
  }

  .deal-card {
    transform: scale(0.9) !important;
    margin-bottom: 20px !important;
  }
  
  .style-navigator-v2 {
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
  }
}

@media (max-width: 500px) {
  .deal-card {
    transform: scale(0.75) !important;
    margin: -50px 0 !important;
  }
  
  .style-navigator-v2 {
    transform: scale(0.85);
  }
  
  .export-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sidebar {
    padding: 1rem;
  }

  .logo-area h1 {
    font-size: 1.1rem;
  }
}

/* ============================================================ */
/* NEW FEATURE STYLES                                           */
/* ============================================================ */

/* Pro badge */
.pro-badge {
  display: inline-block;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 50px;
  vertical-align: middle;
  letter-spacing: 0.5px;
  margin-left: 6px;
}

/* Feature-gated: hidden until user has plan */
.feature-gate.locked {
  opacity: 0.4;
  pointer-events: none;
  position: relative;
}
.feature-gate.locked::after {
  content: '?? Upgrade to unlock';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.5);
  border-radius: 8px;
  pointer-events: all;
  cursor: not-allowed;
}

/* Aspect Ratio toggle group */
.ratio-toggle-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ratio-btn {
  flex: 1;
  padding: 8px 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.ratio-btn.active, .ratio-btn:hover {
  background: rgba(0,210,255,0.15);
  border-color: var(--primary);
  color: var(--primary);
}

/* Card ratio variants */
.deal-card.ratio-portrait {
  width: 360px !important;
  min-height: 540px !important;
}
.deal-card.ratio-portrait .product-title { font-size: 1.5rem; }
.deal-card.ratio-portrait .new-price { font-size: 2.8rem; }
.deal-card.ratio-portrait .old-price { font-size: 1.2rem; }

.deal-card.ratio-story {
  width: 320px !important;
  min-height: 568px !important;
  padding: 2rem !important;
}
.deal-card.ratio-story .product-title { font-size: 1.3rem; }
.deal-card.ratio-story .new-price { font-size: 2.5rem; }
.deal-card.ratio-story .old-price { font-size: 1.1rem; }
.deal-card.ratio-story .specs-list li { font-size: 0.85rem; }

.deal-card.ratio-banner {
  width: 700px !important;
  min-height: 315px !important;
  padding: 2rem !important;
}
.deal-card.ratio-banner .card-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-areas: 
    "image tag"
    "image title"
    "image specs"
    "image price";
  gap: 10px 30px;
}
.deal-card.ratio-banner .product-image-container { grid-area: image; width: 100% !important; height: 100%; margin: 0 !important; }
.deal-card.ratio-banner .tag-badge { grid-area: tag; margin-bottom: 0; align-self: end; }
.deal-card.ratio-banner .product-title { grid-area: title; font-size: 1.6rem; margin-bottom: 0; }
.deal-card.ratio-banner .specs-list { grid-area: specs; }
.deal-card.ratio-banner .price-container { grid-area: price; margin-top: 10px; }

.deal-card * {
  word-break: break-word;
}

/* Watermark overlay (baked at export only) */
#gcgWatermarkEl {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  letter-spacing: 0.5px;
  pointer-events: none;
  z-index: 99;
  display: none;
}

/* ============================================================ */
/* 5 NEW CARD THEMES                                            */
/* ============================================================ */

/* Soft Pastel */
.deal-card.style-pastel {
  background: linear-gradient(135deg, #fce4ec, #f8bbd0, #e1bee7);
  border: 1px solid rgba(255,182,193,0.6);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(233,30,99,0.15);
}
.deal-card.style-pastel .product-title { color: #5d1049; text-shadow: none; }
.deal-card.style-pastel .specs-list li { color: #7b3f62; }
.deal-card.style-pastel .specs-list li::before { color: #e91e63; }
.deal-card.style-pastel .tag-badge { background: rgba(233,30,99,0.12); color: #c2185b; border-color: #e91e63; }
.deal-card.style-pastel .old-price { color: #ad1457; }
.deal-card.style-pastel .new-price { color: #880e4f; }
.deal-card.style-pastel .watermark { color: rgba(93,16,73,0.5); }

/* Minimalist Linen */
.deal-card.style-linen {
  background: #faf7f2;
  border: 1px solid #e8ddd0;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  backdrop-filter: none;
}
.deal-card.style-linen .product-title { color: #2c1810; text-shadow: none; font-weight: 900; }
.deal-card.style-linen .specs-list li { color: #5a4035; }
.deal-card.style-linen .specs-list li::before { color: #8b6557; }
.deal-card.style-linen .tag-badge { background: #f0e8df; color: #5a3d2b; border-color: #c5a88a; }
.deal-card.style-linen .old-price { color: #a0522d; }
.deal-card.style-linen .new-price { color: #3e2723; }
.deal-card.style-linen .watermark { color: rgba(44,24,16,0.4); }

/* Luxury Marble */
.deal-card.style-marble {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 40%, #fffde7 100%);
  border: 1px solid #e0c97f;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(200,160,40,0.2), inset 0 1px 0 rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
}
.deal-card.style-marble::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent 0px,
    transparent 80px,
    rgba(180,140,20,0.05) 80px,
    rgba(180,140,20,0.05) 82px
  );
  pointer-events: none;
}
.deal-card.style-marble .product-title { color: #1a1a1a; text-shadow: none; }
.deal-card.style-marble .specs-list li { color: #555; }
.deal-card.style-marble .specs-list li::before { color: #c8a028; }
.deal-card.style-marble .tag-badge { background: rgba(200,160,40,0.1); color: #8b6d00; border-color: #c8a028; }
.deal-card.style-marble .old-price { color: #a0522d; }
.deal-card.style-marble .new-price { color: #8b6d00; }

/* Neon Glow */
.deal-card.style-neon-glow {
  background: #000;
  border: 2px solid #39ff14;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(57,255,20,0.4), 0 0 80px rgba(57,255,20,0.15), inset 0 0 30px rgba(57,255,20,0.05);
}
.deal-card.style-neon-glow .product-title { color: #39ff14; text-shadow: 0 0 20px rgba(57,255,20,0.8); }
.deal-card.style-neon-glow .specs-list li { color: #b0f0b0; }
.deal-card.style-neon-glow .specs-list li::before { color: #39ff14; }
.deal-card.style-neon-glow .tag-badge { background: rgba(57,255,20,0.1); color: #39ff14; border-color: #39ff14; box-shadow: 0 0 10px rgba(57,255,20,0.4); }
.deal-card.style-neon-glow .old-price { color: #ff4444; }
.deal-card.style-neon-glow .new-price { color: #39ff14; text-shadow: 0 0 15px rgba(57,255,20,0.6); }
.deal-card.style-neon-glow .watermark { color: rgba(57,255,20,0.3); }

/* Natural Forest */
.deal-card.style-forest {
  background: linear-gradient(160deg, #1b4332, #2d6a4f, #1b4332);
  border: 1px solid #52b788;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(27,67,50,0.5);
}
.deal-card.style-forest .product-title { color: #d8f3dc; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.deal-card.style-forest .specs-list li { color: #b7e4c7; }
.deal-card.style-forest .specs-list li::before { color: #52b788; }
.deal-card.style-forest .tag-badge { background: rgba(82,183,136,0.15); color: #95d5b2; border-color: #52b788; }
.deal-card.style-forest .old-price { color: #f28b50; }
.deal-card.style-forest .new-price { color: #d8f3dc; }
.deal-card.style-forest .watermark { color: rgba(216,243,220,0.4); }

/* ============================================================ */
/* 10 NEW CARD THEMES (BATCH 2)                                 */
/* ============================================================ */

/* Neon Purple */
.deal-card.style-neon-purple {
  background: #0f0a1a;
  border: 2px solid #b026ff;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(176,38,255,0.4), 0 0 80px rgba(176,38,255,0.15), inset 0 0 30px rgba(176,38,255,0.05);
}
.deal-card.style-neon-purple .product-title { color: #d67fff; text-shadow: 0 0 20px rgba(176,38,255,0.8); }
.deal-card.style-neon-purple .specs-list li { color: #e6b3ff; }
.deal-card.style-neon-purple .specs-list li::before { color: #b026ff; }
.deal-card.style-neon-purple .tag-badge { background: rgba(176,38,255,0.15); color: #e6b3ff; border-color: #b026ff; box-shadow: 0 0 10px rgba(176,38,255,0.4); }
.deal-card.style-neon-purple .old-price { color: #ff4444; }
.deal-card.style-neon-purple .new-price { color: #d67fff; text-shadow: 0 0 15px rgba(176,38,255,0.6); }

/* Hacker Terminal */
.deal-card.style-hacker {
  background: #000;
  border: 1px solid #0f0;
  border-radius: 0;
  box-shadow: none;
  font-family: monospace !important;
}
.deal-card.style-hacker * { font-family: monospace !important; }
.deal-card.style-hacker .product-title { color: #0f0; text-shadow: none; }
.deal-card.style-hacker .specs-list li { color: #0a0; }
.deal-card.style-hacker .specs-list li::before { color: #0f0; content: '> '; }
.deal-card.style-hacker .tag-badge { background: #000; color: #0f0; border: 1px solid #0f0; border-radius: 0; text-transform: uppercase; }
.deal-card.style-hacker .old-price { color: #050; text-decoration: line-through; }
.deal-card.style-hacker .new-price { color: #0f0; }

/* Blood Moon */
.deal-card.style-blood {
  background: radial-gradient(circle at top right, #3a0000, #0a0000 70%);
  border: 1px solid #8b0000;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(139,0,0,0.5);
}
.deal-card.style-blood .product-title { color: #ff3333; text-shadow: 0 2px 10px rgba(255,0,0,0.4); }
.deal-card.style-blood .specs-list li { color: #ff9999; }
.deal-card.style-blood .specs-list li::before { color: #ff0000; }
.deal-card.style-blood .tag-badge { background: rgba(255,0,0,0.1); color: #ff3333; border-color: #cc0000; }
.deal-card.style-blood .old-price { color: #770000; }
.deal-card.style-blood .new-price { color: #ff1111; }

/* Ocean Wave */
.deal-card.style-ocean {
  background: linear-gradient(180deg, #0077b6, #03045e);
  border: 1px solid #00b4d8;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0,119,182,0.4);
}
.deal-card.style-ocean .product-title { color: #caf0f8; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.deal-card.style-ocean .specs-list li { color: #90e0ef; }
.deal-card.style-ocean .specs-list li::before { color: #00b4d8; }
.deal-card.style-ocean .tag-badge { background: rgba(0,180,216,0.2); color: #caf0f8; border-color: #00b4d8; }
.deal-card.style-ocean .old-price { color: #005f73; }
.deal-card.style-ocean .new-price { color: #caf0f8; }

/* Desert Sand */
.deal-card.style-sand {
  background: linear-gradient(135deg, #e9c46a, #f4a261);
  border: 1px solid #e76f51;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(231,111,81,0.2);
}
.deal-card.style-sand .product-title { color: #2a9d8f; text-shadow: none; font-weight: 900; }
.deal-card.style-sand .specs-list li { color: #264653; }
.deal-card.style-sand .specs-list li::before { color: #e76f51; }
.deal-card.style-sand .tag-badge { background: #e76f51; color: #fff; border-color: #e76f51; }
.deal-card.style-sand .old-price { color: #d4a373; }
.deal-card.style-sand .new-price { color: #264653; }

/* Emerald City */
.deal-card.style-emerald {
  background: #023020;
  border: 2px solid #50c878;
  border-radius: 4px;
  box-shadow: 0 0 25px rgba(80,200,120,0.3);
}
.deal-card.style-emerald .product-title { color: #50c878; text-shadow: 0 0 10px rgba(80,200,120,0.5); }
.deal-card.style-emerald .specs-list li { color: #98fb98; }
.deal-card.style-emerald .specs-list li::before { color: #50c878; }
.deal-card.style-emerald .tag-badge { background: rgba(80,200,120,0.15); color: #50c878; border-color: #50c878; }
.deal-card.style-emerald .old-price { color: #2e8b57; }
.deal-card.style-emerald .new-price { color: #00ff7f; }

/* Magma */
.deal-card.style-magma {
  background: linear-gradient(to bottom, #1a0000, #ff4500 150%);
  border: 1px solid #ff8c00;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(255,69,0,0.4);
}
.deal-card.style-magma .product-title { color: #ffa500; text-shadow: 0 2px 8px rgba(0,0,0,0.8); }
.deal-card.style-magma .specs-list li { color: #ffebcd; }
.deal-card.style-magma .specs-list li::before { color: #ff8c00; }
.deal-card.style-magma .tag-badge { background: #ff4500; color: #fff; border-color: #ff8c00; }
.deal-card.style-magma .old-price { color: #b22222; }
.deal-card.style-magma .new-price { color: #ffd700; }

/* Bubblegum */
.deal-card.style-bubblegum {
  background: linear-gradient(135deg, #ffb6c1, #ff69b4);
  border: 2px solid #ff1493;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(255,20,147,0.3);
}
.deal-card.style-bubblegum .product-title { color: #fff; text-shadow: 0 2px 5px rgba(255,20,147,0.5); }
.deal-card.style-bubblegum .specs-list li { color: #ffe4e1; }
.deal-card.style-bubblegum .specs-list li::before { color: #fff; }
.deal-card.style-bubblegum .tag-badge { background: #ff1493; color: #fff; border-color: #fff; border-radius: 20px; }
.deal-card.style-bubblegum .old-price { color: #c71585; }
.deal-card.style-bubblegum .new-price { color: #fff; }

/* Steel Plate */
.deal-card.style-steel {
  background: linear-gradient(135deg, #b0c4de, #778899, #2f4f4f);
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 0 10px 30px rgba(0,0,0,0.3);
}
.deal-card.style-steel .product-title { color: #f8f8ff; text-shadow: 1px 1px 2px #000; }
.deal-card.style-steel .specs-list li { color: #e6e6fa; text-shadow: 1px 1px 1px #000; }
.deal-card.style-steel .specs-list li::before { color: #00ffff; }
.deal-card.style-steel .tag-badge { background: rgba(0,0,0,0.6); color: #00ffff; border-color: #00ffff; }
.deal-card.style-steel .old-price { color: #a9a9a9; }
.deal-card.style-steel .new-price { color: #fff; text-shadow: 1px 1px 2px #000; }

/* Midnight Sky */
.deal-card.style-midnight {
  background: radial-gradient(ellipse at center, #191970 0%, #000000 100%);
  border: 1px solid #4169e1;
  border-radius: 18px;
  box-shadow: 0 15px 50px rgba(0,0,139,0.5);
}
.deal-card.style-midnight .product-title { color: #add8e6; text-shadow: 0 0 10px rgba(173,216,230,0.5); }
.deal-card.style-midnight .specs-list li { color: #b0c4de; }
.deal-card.style-midnight .specs-list li::before { color: #4169e1; }
.deal-card.style-midnight .tag-badge { background: rgba(65,105,225,0.3); color: #add8e6; border-color: #4169e1; }
.deal-card.style-midnight .old-price { color: #483d8b; }
.deal-card.style-midnight .new-price { color: #e0ffff; }

/* Guest Mode Locking — visual only, no blocking overlays */
body.is-guest .sidebar .form-group:not(.no-lock) {
  opacity: 0.5;
  cursor: not-allowed;
}
body.is-guest .sidebar .form-group:not(.no-lock) * {
  pointer-events: none !important;
  user-select: none;
}
body.is-guest #exportControls {
  opacity: 0.4;
  cursor: not-allowed;
}
body.is-guest #exportControls * {
  pointer-events: none !important;
}
body.is-guest .no-lock,
body.is-guest .no-lock * {
  pointer-events: auto !important;
  opacity: 1 !important;
  cursor: auto;
}
