/* ==========================================
   SketchingReality - Flashy Modern Design
   ========================================== */

/* CSS Variables for easy theming */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-color: #ff6b6b;
  --accent-secondary: #4ecdc4;
  --dark-bg: #0f0f1a;
  --dark-surface: #1a1a2e;
  --dark-card: #16213e;
  --text-light: #ffffff;
  --text-muted: #a0a0b0;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 60px rgba(102, 126, 234, 0.3);
}

/* Accessibility - Screen reader only class */
.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;
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-secondary);
  outline-offset: 2px;
}

/* Global Dark Theme */
body.dark-theme {
  background: var(--dark-bg);
  color: var(--text-light);
}

/* ==========================================
   Hero Section - Full Impact
   ========================================== */

.hero-fullscreen {
  min-height: 100vh;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-fullscreen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(240, 147, 251, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

/* Animated background particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Glowing Title */
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 0 0 80px rgba(102, 126, 234, 0.5);
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from {
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
  }

  to {
    filter: drop-shadow(0 0 40px rgba(118, 75, 162, 0.5));
  }
}

.hero-tagline {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-subtagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   Interactive Sketch-to-Image Demo
   ========================================== */

.demo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 3rem auto;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.7s forwards;
}

.demo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-glow);
}

.demo-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.demo-card img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  display: block;
}

.demo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Arrow animation between cards */
.demo-arrow {
  font-size: 3rem;
  color: var(--accent-color);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* ==========================================
   Before/After Slider Component
   ========================================== */

.comparison-slider {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  cursor: ew-resize;
}

.comparison-slider img {
  width: 100%;
  display: block;
}

.comparison-slider .img-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.comparison-slider .img-before img {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  max-width: none;
}

.comparison-slider .slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: white;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
}

.comparison-slider .slider-handle::before {
  content: '◀ ▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: var(--dark-bg);
  padding: 10px 15px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.comparison-labels {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--dark-surface);
}

.comparison-labels span {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comparison-labels .label-sketch {
  color: var(--accent-color);
}

.comparison-labels .label-result {
  color: var(--accent-secondary);
}

/* ==========================================
   CTA Buttons - Glowing
   ========================================== */

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.9s forwards;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 30px rgba(102, 126, 234, 0.4);
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(102, 126, 234, 0.6);
}

.cta-btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.cta-btn-secondary:hover {
  background: var(--glass-bg);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* ==========================================
   Problem Section - Visual Contrast
   ========================================== */

.problem-section {
  background: var(--dark-surface);
  padding: 6rem 2rem;
  position: relative;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--primary-gradient);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Visual Comparison Cards */
.vs-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .vs-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.vs-card {
  background: var(--dark-card);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

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

.vs-card.bad {
  border-color: rgba(255, 107, 107, 0.3);
}

.vs-card.good {
  border-color: rgba(78, 205, 196, 0.3);
}

.vs-card img {
  border-radius: 12px;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 300px;
}

.vs-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.vs-card.bad h3 {
  color: var(--accent-color);
}

.vs-card.good h3 {
  color: var(--accent-secondary);
}

.vs-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.vs-divider {
  font-size: 2rem;
  color: var(--text-muted);
  font-weight: bold;
}

/* Triple Comparison Layout (Reference → Edge Map VS Sketch) */
.triple-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.comparison-item {
  background: var(--dark-card);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  flex: 0 0 auto;
  width: 320px;
  min-width: 260px;
}

.comparison-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.comparison-item.bad {
  border-color: rgba(255, 107, 107, 0.3);
}

.comparison-item.good {
  border-color: rgba(78, 205, 196, 0.3);
}

.comparison-item img {
  border-radius: 12px;
  margin-bottom: 1rem;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.comparison-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.comparison-item.bad h3 {
  color: var(--accent-color);
}

.comparison-item.good h3 {
  color: var(--accent-secondary);
}

.comparison-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.comparison-arrow {
  font-size: 2.5rem;
  color: var(--text-muted);
  opacity: 0.6;
  flex-shrink: 0;
}

.comparison-divider {
  font-size: 2rem;
  color: var(--accent-secondary);
  font-weight: bold;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 1000px) {
  .triple-comparison {
    gap: 1rem;
  }

  .comparison-item {
    width: 180px;
    min-width: 150px;
    padding: 1rem;
  }

  .comparison-item h3 {
    font-size: 0.9rem;
  }

  .comparison-arrow,
  .comparison-divider {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .triple-comparison {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .comparison-item {
    width: calc(50% - 1rem);
    min-width: 140px;
  }

  .comparison-arrow {
    display: none;
  }

  .comparison-divider {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================
   Results Grid - Hover Comparisons
   ========================================== */

.results-section {
  background: var(--dark-bg);
  padding: 6rem 0;
}

.results-section .container {
  max-width: 100%;
  padding: 0 1rem;
}

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

.result-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.4s ease;
}

.result-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-glow);
}

.result-card .image-stack {
  position: relative;
  aspect-ratio: 1;
}

.result-card .image-stack img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.result-card .image-stack .img-result {
  opacity: 0;
}

.result-card:hover .image-stack .img-sketch {
  opacity: 0;
}

.result-card:hover .image-stack .img-result {
  opacity: 1;
}

.result-card .card-info {
  padding: 1.5rem;
}

.result-card .prompt {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.result-card .hover-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.result-card .hover-hint::before {
  content: '✨ ';
}

/* Badge showing it's ours */
.result-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 5;
}

/* ==========================================
   Stats Section - Animated Numbers
   ========================================== */

.stats-section {
  background: var(--dark-surface);
  padding: 5rem 2rem;
}

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

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-sublabel {
  font-size: 0.85rem;
  color: var(--accent-secondary);
  margin-top: 0.3rem;
}

/* ==========================================
   Method Section - Clean Visual
   ========================================== */

.method-section {
  background: var(--dark-bg);
  padding: 6rem 2rem;
}

.method-visual {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.method-visual img {
  width: 100%;
  display: block;
}

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

.highlight-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

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

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.highlight-card h3 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

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

/* ==========================================
   Full Comparison Gallery - 8 columns now
   ========================================== */

.gallery-section {
  background: var(--dark-surface);
  padding: 6rem 0;
}

.gallery-section .container {
  max-width: 100%;
  padding: 0 1rem;
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--dark-card);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

@media (max-width: 1400px) {
  .comparison-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 800px) {
  .comparison-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .comparison-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.comparison-row .comp-item {
  text-align: center;
}

.comparison-row .comp-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.comparison-row .comp-item.ours img {
  border-color: var(--accent-secondary);
  box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.comparison-row .comp-item label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comparison-row .comp-item.ours label {
  color: var(--accent-secondary);
  font-weight: 600;
}

.comparison-row .prompt-label {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

/* ==========================================
   Citation Section
   ========================================== */

.citation-section {
  background: var(--dark-bg);
  padding: 5rem 2rem;
}

.citation-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--dark-card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--glass-border);
  position: relative;
}

.citation-box pre {
  margin: 0;
  white-space: pre-wrap;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.copy-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  transform: scale(1.05);
}

/* ==========================================
   Footer
   ========================================== */

.footer-dark {
  background: var(--dark-surface);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.footer-dark a {
  color: var(--text-muted);
  margin: 0 1rem;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-dark a:hover {
  color: var(--text-light);
}

/* ==========================================
   Scroll Animations
   ========================================== */

.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Responsive Adjustments
   ========================================== */

@media (max-width: 768px) {
  .demo-container {
    flex-direction: column;
  }

  .demo-arrow {
    transform: rotate(90deg);
  }

  .demo-card img {
    width: 240px;
    height: 240px;
  }
}

/* ==========================================
   Utility Classes
   ========================================== */

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

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

/* ==========================================
   Cycling Images in Hero Demo
   ========================================== */

.demo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-glow);
}

.demo-card .cycling-images {
  position: relative;
  width: 280px;
  height: 280px;
}

.demo-card .cycling-images .cycle-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.demo-card .cycling-images .cycle-img.active {
  opacity: 1;
}

.cycling-prompt {
  color: var(--text-muted);
  font-style: italic;
  font-size: 1rem;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.8s forwards;
  transition: opacity 0.5s ease;
}

.cycle-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.cycle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.cycle-dot.active {
  background: var(--accent-secondary);
  transform: scale(1.3);
}

/* ==========================================
   Dual-Seed Result Cards
   ========================================== */

.results-grid-dual {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1200px) {
  .results-grid-dual {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .results-grid-dual {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .results-grid-dual {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .results-grid-dual {
    grid-template-columns: 1fr;
  }
}

.result-card-dual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
  cursor: pointer;
}

.result-card-dual:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.dual-layout {
  padding: 0.75rem;
  position: relative;
}

/* Image container with cycling on hover */
.image-cycle-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
}

.image-cycle-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: rgba(255, 255, 255, 0.03);
}

.image-cycle-container img.sketch-img {
  opacity: 1;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.image-cycle-container img.result-img {
  border: 2px solid var(--accent-secondary);
  box-shadow: 0 0 15px rgba(78, 205, 196, 0.2);
}

/* On hover, hide all images except the active one */
.result-card-dual:hover .image-cycle-container img {
  opacity: 0;
}

.result-card-dual:hover .image-cycle-container img.active {
  opacity: 1;
}

/* Image label */
.image-label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  z-index: 5;
}

.result-card-dual:hover .image-label {
  background: var(--accent-secondary);
  color: var(--dark-bg);
}

.result-card-dual .card-info {
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.result-card-dual .card-info .prompt {
  color: var(--text-light);
  font-style: italic;
  font-size: 0.8rem;
  line-height: 1.3;
}