/* =============================================
   RUBIK'S CUBE TUTORIAL - CLEAN & SIMPLE STYLES
   Focused on clarity, understanding, and ease of use
   ============================================= */

/* =============================================
   VARIABLES & BASE STYLES
   ============================================= */
:root {
  /* Clean Color Palette */
  --white: #ffffff;
  --black: #222222;
  --primary: #3498db;
  --primary-dark: #2980b9;
  --secondary: #2ecc71;
  --accent: #e74c3c;
  --text-primary: #333333;
  --text-secondary: #555555;
  --text-light: #777777;
  --bg-primary: #f9f9f9;
  --bg-secondary: #ffffff;
  --bg-accent: #f0f8ff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.15);
  --transition: all 0.2s ease;

  /* Cube Colors - Standard Rubik's Cube */
  --cube-white: #ffffff;
  --cube-yellow: #ffd700;
  --cube-red: #ff0000;
  --cube-blue: #0000ff;
  --cube-green: #00ff00;
  --cube-orange: #ff8c00;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Progress Indicator Styles */
.progress-indicator {
  margin-top: 1rem;
  padding: 0 1rem;
}

.progress-bar {
  height: 8px;
  background-color: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Settings Bar Styles */
.settings-bar {
  background-color: var(--bg-secondary);
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.settings-left, .settings-right {
  display: flex;
  gap: 0.5rem;
}

.setting-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.setting-btn:hover {
  background-color: var(--bg-accent);
}

.setting-icon {
  font-size: 1.2rem;
}

.language-text {
  font-weight: 600;
  color: var(--primary);
}

/* Cube Simulator Modal */
.cube-simulator-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cube-simulator-modal.active {
  opacity: 1;
  pointer-events: all;
}

.cube-simulator-content {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cube-simulator-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.cube-simulator-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* 3D Cube Simulator */
.cube-simulator {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.cube-simulator-face {
  position: absolute;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  border: 2px solid #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* Dark Mode Variables - Enhanced */
:root {
  --dark-bg-primary: #121212;
  --dark-bg-secondary: #1e1e1e;
  --dark-bg-accent: #252526;
  --dark-bg-accent-2: #2d2d2d;
  --dark-text-primary: #e0e0e0;
  --dark-text-secondary: #a0a0a0;
  --dark-text-light: #707070;
  --dark-border-color: #333333;
  --dark-border-color-light: #444444;
  --dark-primary: #5887ff;
  --dark-secondary: #4cc9f0;
  --dark-accent: #f8961e;
}

body.dark-mode {
  --bg-primary: var(--dark-bg-primary);
  --bg-secondary: var(--dark-bg-secondary);
  --bg-accent: var(--dark-bg-accent);
  --bg-accent-2: var(--dark-bg-accent-2);
  --text-primary: var(--dark-text-primary);
  --text-secondary: var(--dark-text-secondary);
  --text-light: var(--dark-text-light);
  --border-color: var(--dark-border-color);
  --border-color-light: var(--dark-border-color-light);
  --primary: var(--dark-primary);
  --secondary: var(--dark-secondary);
  --accent: var(--dark-accent);
}

/* User Statistics Styles */
.user-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 0.8rem 1.2rem;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  min-width: 100px;
}

.stat-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.3rem;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Achievement System Styles */
.achievement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--bg-secondary);
  border-radius: 20px;
  border: 2px solid var(--border-color);
  margin: 0.3rem;
  box-shadow: var(--shadow-sm);
}

.achievement-badge.locked {
  opacity: 0.5;
  background-color: #f0f0f0;
}

.achievement-icon {
  font-size: 1.2rem;
}

.achievement-info {
  font-size: 0.9rem;
}

/* Video Tutorial Styles */
.video-tutorial {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
  border-radius: 8px;
  background-color: #000;
}

.video-tutorial iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Timer and Speedcubing Styles */
.timer-display {
  font-family: 'Courier New', monospace;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  background-color: var(--bg-secondary);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.timer-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.timer-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.timer-btn.start {
  background-color: var(--secondary);
  color: white;
}

.timer-btn.stop {
  background-color: var(--accent);
  color: white;
}

.timer-btn.reset {
  background-color: var(--text-light);
  color: var(--text-primary);
}

/* Enhanced Mobile Experience */
@media (max-width: 768px) {
  .user-stats {
    gap: 1rem;
  }

  .stat-item {
    min-width: 80px;
    padding: 0.6rem 1rem;
  }

  .step-visualization {
    flex-direction: column;
    align-items: stretch;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  /* Mobile App-like Navigation */
  nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: none;
    padding: 0.5rem 0;
  }

  nav ul {
    flex-direction: row;
    justify-content: space-around;
  }

  nav li {
    flex: 1;
    text-align: center;
  }

  nav a {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

/* =============================================
   LAYOUT COMPONENTS
   ============================================= */
/* Header - Clean and simple */
header {
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}

header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Navigation - Simple and clear */
nav {
  background-color: var(--bg-secondary);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 0.5rem;
}

nav li {
  margin: 0;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
  font-weight: 500;
  display: block;
}

nav a:hover {
  background-color: var(--primary);
  color: var(--white);
}

nav a.active {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
}

/* Main Content Layout */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Section Styling - Modern cards with depth */
section {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

section:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--primary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  position: relative;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

section h3 {
  color: var(--primary-dark);
  margin: 2rem 0 1rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  position: relative;
  padding-left: 1rem;
}

section h3::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.8rem;
}

section h4 {
  color: var(--primary);
  margin: 1.5rem 0 1rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  padding-left: 1rem;
}

section h4::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.2rem;
}

/* Typography - Clear and readable */
h3 {
  color: var(--primary-dark);
  margin: 1.5rem 0 1rem 0;
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

ul, ol {
  margin: 1rem 0;
  padding-left: 1.8rem;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

ul li, ol li {
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
}

/* =============================================
   SPECIAL COMPONENTS - CLEAN & UNDERSTANDABLE
   ============================================= */
/* Algorithm Boxes - Simple code blocks */
.algorithm {
  background-color: var(--bg-accent);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  padding: 1.2rem;
  margin: 1.2rem 0;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
}

.algorithm strong {
  color: var(--primary-dark);
}

/* Mnemonic Boxes - Simple memory aids */
.mnemonic {
  background-color: #e8f5e9;
  border-left: 3px solid var(--secondary);
  border-radius: 6px;
  padding: 1.2rem;
  margin: 1.2rem 0;
  font-style: italic;
}

.mnemonic strong {
  color: var(--secondary);
  font-style: normal;
}

/* Visual Step Boxes - Simple visual explanations */
.visual-step {
  background-color: var(--bg-accent);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.visual-step h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* Cube Diagram Container - Clean and simple */
.cube-diagram {
  text-align: center;
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: var(--bg-accent);
  border-radius: 8px;
}

.cube-diagram h3, .cube-diagram h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.cube-diagram p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
}

/* Cube Face Styling - Simple and clear */
.cube-face {
  display: inline-block;
  width: 100px;
  height: 100px;
  margin: 0.5rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
}

.cube-sticker {
  width: 30px;
  height: 30px;
  display: inline-block;
  margin: 2px;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 3D Cube Enhancements - Enhanced with better 3D effect */
.cube-3d-face {
  width: 120px;
  height: 120px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--bg-secondary);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  margin: 1rem auto;
}

.cube-3d-face:hover {
  transform: rotateY(20deg) rotateX(15deg) scale(1.02);
}

.cube-sticker-3d {
  width: 32px;
  height: 32px;
  display: inline-block;
  margin: 2px;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  z-index: 1;
}

.cube-sticker-3d:hover {
  transform: scale(1.15) translateZ(5px);
  z-index: 10;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Center sticker enhancement */
.center-sticker {
  border: 2px solid var(--border-color);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* Interactive Cube - Simple */
.interactive-cube {
  width: 150px;
  height: 150px;
  margin: 1.5rem auto;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
}

.interactive-cube:hover {
  transform: rotate(15deg);
}

/* Tooltip Styling - Simple */
.tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  border-radius: 6px;
  padding: 8px 10px;
  position: absolute;
  z-index: 1000;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 0.85rem;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* =============================================
   BUTTONS & NAVIGATION - ENHANCED
   ============================================= */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(1px);
}

.btn-secondary {
  background-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary:active {
  transform: translateY(1px);
}

.step-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =============================================
   FOOTER - SIMPLE
   ============================================= */
footer {
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

footer p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* =============================================
   RESPONSIVE DESIGN - SIMPLE
   ============================================= */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav li {
    margin: 0.3rem 0;
    width: 100%;
    text-align: center;
  }

  .step-navigation {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    padding: 0.8rem;
  }
}

/* =============================================
   CUBE COLOR CLASSES - SIMPLE
   ============================================= */
.white { background-color: var(--cube-white); border: 1px solid #ddd; }
.yellow { background-color: var(--cube-yellow); border: 1px solid #cccc00; }
.red { background-color: var(--cube-red); border: 1px solid #cc0000; }
.blue { background-color: var(--cube-blue); border: 1px solid #0000cc; }
.green { background-color: var(--cube-green); border: 1px solid #00cc00; }
.orange { background-color: var(--cube-orange); border: 1px solid #cc8400; }

/* =============================================
   NEW COMPONENT STYLES - SIMPLE
   ============================================= */
/* Cube Grid Layout - Simple */
.cube-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cube-item {
  text-align: center;
}

/* Cube Face Colors - Simple */
.cube-face-white {
  background: linear-gradient(135deg, #f8f8f8, #ffffff);
  border: 2px solid var(--border-color);
}

.cube-face-red {
  background: linear-gradient(135deg, #ffdddd, #ffaaaa);
  border: 2px solid var(--border-color);
}

.cube-face-yellow {
  background: linear-gradient(135deg, #ffffdd, #ffffaa);
  border: 2px solid var(--border-color);
}

.cube-face-green {
  background: linear-gradient(135deg, #ddffdd, #aaffaa);
  border: 2px solid var(--border-color);
}

.cube-face-blue {
  background: linear-gradient(135deg, #ddddff, #aaaaff);
  border: 2px solid var(--border-color);
}

.cube-face-orange {
  background: linear-gradient(135deg, #ffddcc, #ffaa88);
  border: 2px solid var(--border-color);
}

/* Cube Grid 3x3 - Simple */
.cube-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 8px;
}

/* Center Sticker - Simple */
.center-sticker {
  border: 2px solid var(--border-color);
}

/* Interactive Cube Container - Simple */
.interactive-cube-container {
  text-align: center;
}

/* Notation Grid - Simple */
.notation-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.notation-item {
  text-align: center;
}

.notation-face {
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-color);
}

.notation-letter {
  font-size: 1.8rem;
  font-weight: bold;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Direction Indicators - Simple */
.direction-clockwise {
  color: var(--secondary);
  margin-right: 0.2rem;
}

.direction-counter {
  color: var(--accent);
  margin-right: 0.2rem;
}

/* CTA Container - Simple */
.cta-container {
  text-align: center;
  margin: 2rem 0;
}

/* Large Button - Simple */
.btn-large {
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
}

/* Diagram Description - Simple */
.diagram-description {
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1rem;
  padding: 0.8rem;
  background-color: var(--bg-accent);
  border-radius: 6px;
}

/* Enhanced Visualization - Simple */
.enhanced-visualization {
  background-color: #fff8e1;
  border-left: 3px solid var(--secondary);
}

.cube-structure-explanation {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.structure-diagram {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.cube-part {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.5rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-color);
}

.center-piece {
  background-color: var(--primary);
  color: white;
}

.edge-piece {
  background-color: var(--secondary);
  color: white;
}

.corner-piece {
  background-color: var(--accent);
  color: white;
}

.structure-note {
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
  padding: 0.6rem;
  background-color: var(--bg-accent);
  border-radius: 6px;
}

/* Step Visualization Styles */
.step-visualization {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: var(--bg-accent);
  border-radius: 8px;
}

.step-card {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  min-width: 120px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
  border: 2px solid var(--border-color);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-number {
  background-color: var(--primary);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 0.5rem;
}

.step-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.step-arrow {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: bold;
}

/* Better mobile responsiveness */
@media (max-width: 600px) {
  .cube-grid {
    gap: 1rem;
  }

  .cube-3d-face {
    width: 90px;
    height: 90px;
  }

  .progress-indicator {
    font-size: 0.9rem;
  }

  .step-visualization {
    gap: 0.5rem;
  }

  .step-card {
    min-width: 100px;
    padding: 0.8rem;
  }
}
