/* ============================================================
   🐍 CodeKings Python Sanctum — Mirror IDE Theme (v1.3 Compact)
   ============================================================ */

/* Base container */
.mirror-ide {
  background: #0b0013;
  border: 1px solid #a6ff00;
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(166, 255, 0, 0.15);
  font-family: 'Fira Code', monospace;
  overflow: hidden;
}

/* Header bar */
.mirror-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

/* Language selector */
.mirror-lang {
  background: #0e1013;
  color: #a6ff00;
  border: 1px solid #a6ff00;
  border-radius: 6px;
  padding: 2px 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
}

/* EXP label */
.mirror-exp {
  color: #FFD700;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}

/* Editor box */
.mirror-editor {
  width: 100%;
  height: 110px;
  background: #000;
  color: #a6ff00;
  border: 1px solid #a6ff00;
  border-radius: 6px;
  padding: 0.5rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.mirror-editor:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 10px #FFD700;
}

/* Action bar */
.mirror-actions {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-start;
}

/* Run button */
.mirror-run {
  background: #a6ff00;
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.4rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.78rem;
  cursor: pointer;
  transition: 0.25s;
}

.mirror-run:hover {
  background: #d28fff;
  box-shadow: 0 0 8px rgba(210, 143, 255, 0.4);
}

/* Output area */
.mirror-output-area {
  margin-top: 0.6rem;
  background: #0b0013;
  border: 1px solid #6a00ff;
  border-radius: 6px;
  padding: 1rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* Output text */
.mirror-output {
  color: #a6ff00;
  font-size: 0.75rem;
  font-family: 'Fira Code', monospace;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-height: 45px;
  margin: 0;
  padding-right: 0.5rem;
  max-width: 100%;
  overflow-x: auto;
}

/* Hidden iframe preview */
.mirror-preview {
  display: none;
  width: 100%;
  min-height: 40px;
  border: none;
}

/* Lesson container adjustments */
.lesson-block h3 {
  color: #FFD700;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.lesson-block p {
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Popup styling (Jarvis feedback) */
.jarvis-popup {
  z-index: 99999 !important;
}

/* J.A.R.V.I.S. Feedback Container */
.jarvis-feedback {
  margin-top: 1rem;
  font-family: 'Fira Code', monospace;
}

.jarvis-feedback[style*="display: block"],
.jarvis-feedback[style*="display:block"] {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   🧭 CodeKings Lesson Navigation Button
   ============================================================ */

.lesson-nav {
  text-align: center;
  margin-top: 2rem;
}

.next-btn,
.prev-btn,
.continue-btn {
  display: inline-block;
  background: linear-gradient(90deg, #00ffee 0%, #a6ff00 100%);
  color: #0b0013;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.7rem;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  text-decoration: none;
  box-shadow:
    0 0 10px rgba(166, 255, 0, 0.4),
    inset 0 0 10px rgba(0, 0, 0, 0.4);
}

.next-btn:hover,
.prev-btn:hover,
.continue-btn:hover {
  background: linear-gradient(90deg, #FFD700 0%, #00ffee 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 0 15px #FFD700,
    0 0 25px rgba(255, 215, 0, 0.5);
}

.next-btn:active,
.prev-btn:active,
.continue-btn:active {
  transform: translateY(1px) scale(0.97);
  background: linear-gradient(90deg, #a6ff00 0%, #00ffee 100%);
  box-shadow:
    inset 0 0 6px rgba(0, 0, 0, 0.6),
    0 0 8px rgba(166, 255, 0, 0.4);
}

@keyframes navPulse {
  0%, 100% { box-shadow: 0 0 6px #00ffee, 0 0 12px #a6ff00; }
  50% { box-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700; }
}

.next-btn,
.prev-btn,
.continue-btn {
  animation: navPulse 4s infinite ease-in-out;
}

/* ============================================================
   📚 LESSON CONTENT STYLING
   ============================================================ */

/* Section dividers */
.lesson-hr {
  border: 1px solid rgba(255, 215, 0, 0.3);
  margin: 2rem 0;
}

/* Overview section */
.lesson-overview {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-left: 5px solid #FFD700;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
}

.lesson-overview h3 {
  color: #FFD700;
  margin-top: 0;
}

.lesson-overview p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.lesson-overview strong {
  color: #a6ff00;
}

/* Objectives box */
.objectives-box {
  background: rgba(166, 255, 0, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.objectives-box p {
  margin: 0;
  color: #FFD700;
  font-weight: bold;
}

.objectives-box ul {
  margin: 0.5rem 0;
  line-height: 2;
}

/* Info section (What is Python, etc.) */
.info-section {
  background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  border: 2px solid rgba(0, 255, 238, 0.3);
}

.info-section h3 {
  color: #00ffee;
  margin-top: 0;
}

.info-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.info-section strong {
  color: #a6ff00;
}

/* Feature cards grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.feature-card-green {
  background: rgba(166, 255, 0, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #a6ff00;
}

.feature-card-cyan {
  background: rgba(0, 255, 238, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #00ffee;
}

.feature-card-gold {
  background: rgba(255, 215, 0, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #FFD700;
}

.feature-card-green h4,
.feature-card-cyan h4,
.feature-card-gold h4 {
  margin-top: 0;
  font-size: 0.9rem;
}

.feature-card-green h4 { color: #a6ff00; }
.feature-card-cyan h4 { color: #00ffee; }
.feature-card-gold h4 { color: #FFD700; }

.feature-card-green p,
.feature-card-cyan p,
.feature-card-gold p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Application cards section */
.app-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.app-section h3 {
  color: #FFD700;
  margin-top: 0;
}

.app-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
}

.app-section strong {
  color: #a6ff00;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.app-card {
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid;
}

.app-card-ai {
  background: rgba(166, 255, 0, 0.08);
  border-color: rgba(166, 255, 0, 0.3);
}

.app-card-data {
  background: rgba(0, 255, 238, 0.08);
  border-color: rgba(0, 255, 238, 0.3);
}

.app-card-web {
  background: rgba(255, 215, 0, 0.08);
  border-color: rgba(255, 215, 0, 0.3);
}

.app-card-auto {
  background: rgba(210, 143, 255, 0.08);
  border-color: rgba(210, 143, 255, 0.3);
}

.app-card-game {
  background: rgba(255, 105, 180, 0.08);
  border-color: rgba(255, 105, 180, 0.3);
}

.app-card-sec {
  background: rgba(0, 255, 0, 0.08);
  border-color: rgba(0, 255, 0, 0.3);
}

.app-card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.app-card h4 {
  margin: 0.5rem 0;
  font-size: 0.85rem;
}

.app-card-ai h4 { color: #a6ff00; }
.app-card-data h4 { color: #00ffee; }
.app-card-web h4 { color: #FFD700; }
.app-card-auto h4 { color: #d28fff; }
.app-card-game h4 { color: #ff69b4; }
.app-card-sec h4 { color: #00ff00; }

.app-card p {
  margin: 0;
  font-size: 0.75rem;
  color: #b0b0b0;
}

/* Print function section */
.print-section {
  background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  border: 2px solid rgba(166, 255, 0, 0.5);
}

.print-section h3 {
  color: #a6ff00;
  margin-top: 0;
}

.print-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.print-section code {
  background: #000;
  color: #a6ff00;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 1.1rem;
}

/* Understanding box */
.understanding-box {
  background: rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #FFD700;
  margin-top: 1rem;
}

.understanding-box h4 {
  color: #FFD700;
  margin-top: 0;
  font-size: 1rem;
}

.understanding-box p {
  color: #e0e0e0;
  line-height: 1.7;
}

.understanding-box code {
  background: #000;
  color: #a6ff00;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Code example box */
.code-example-box {
  background: #1a1a1a;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #333;
  margin-top: 1rem;
}

.code-example-box pre {
  background: #1a1a1a;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #333;
  margin: 0;
}

.code-example-box code {
  color: #a6ff00;
}

/* Output display */
.output-display {
  background: rgba(166, 255, 0, 0.1);
  padding: 0.8rem;
  border-radius: 6px;
  margin-top: 1rem;
  border-left: 3px solid #a6ff00;
}

.output-display p {
  margin: 0;
  color: #e0e0e0;
  font-size: 0.9rem;
}

.output-display strong {
  color: #a6ff00;
}

.output-display code {
  background: #000;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Pro tip box */
.protip-box {
  background: rgba(255, 215, 0, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border: 1px dashed #FFD700;
}

.protip-box p {
  margin: 0;
  color: #FFD700;
  font-weight: bold;
}

.protip-box p:last-child {
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 0.9rem;
  font-weight: normal;
  margin-top: 0.5rem;
}

.protip-box code {
  background: #000;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ============================================================
   🎯 STEP SECTIONS
   ============================================================ */

/* Step container - Green */
.step-green {
  background: linear-gradient(135deg, #1e3a5f 0%, #2a1a4f 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 3px solid #a6ff00;
  box-shadow: 0 0 20px rgba(166, 255, 0, 0.3);
}

/* Step container - Cyan */
.step-cyan {
  background: linear-gradient(135deg, #1e3a5f 0%, #2a1a4f 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 3px solid #00ffee;
  box-shadow: 0 0 20px rgba(0, 255, 238, 0.3);
}

/* Step container - Gold */
.step-gold {
  background: linear-gradient(135deg, #1e3a5f 0%, #2a1a4f 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 3px solid #FFD700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Step container - Purple (Challenge) */
.step-purple {
  background: linear-gradient(135deg, #4a1942 0%, #1a0933 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 3px solid #d28fff;
  box-shadow: 0 0 25px rgba(210, 143, 255, 0.4);
}

/* Step header */
.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-badge-green {
  background: #a6ff00;
  color: #000;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
}

.step-badge-cyan {
  background: #00ffee;
  color: #000;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
}

.step-badge-gold {
  background: #FFD700;
  color: #000;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
}

.step-badge-purple {
  background: #d28fff;
  color: #000;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
}

.step-header h3 {
  margin: 0;
}

.step-green .step-header h3 { color: #a6ff00; }
.step-cyan .step-header h3 { color: #00ffee; }
.step-gold .step-header h3 { color: #FFD700; }
.step-purple .step-header h3 { color: #d28fff; }

/* Mission description box */
.mission-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #FFD700;
  margin-bottom: 1rem;
}

.mission-box p {
  margin: 0;
  color: #e0e0e0;
  line-height: 1.7;
}

.mission-box strong {
  color: #FFD700;
}

.mission-box code {
  background: #000;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Challenge mission box */
.challenge-mission-box {
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #ff69b4;
  margin-bottom: 1rem;
}

.challenge-mission-box p {
  margin: 0 0 0.5rem 0;
  color: #ff69b4;
  font-weight: bold;
}

.challenge-mission-box ul {
  margin: 0;
  color: #e0e0e0;
  line-height: 1.8;
  font-size: 0.9rem;
}

.challenge-mission-box code {
  background: #000;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Code to type box */
.code-to-type-green {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid #a6ff00;
  margin-bottom: 1rem;
}

.code-to-type-cyan {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid #00ffee;
  margin-bottom: 1rem;
}

.code-to-type-gold {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid #FFD700;
  margin-bottom: 1rem;
}

.code-to-type-green pre,
.code-to-type-cyan pre,
.code-to-type-gold pre {
  margin: 0;
  font-family: 'Fira Code', monospace;
  line-height: 1.6;
}

.code-to-type-green code { color: #a6ff00; }
.code-to-type-cyan code { color: #00ffee; }
.code-to-type-gold code { color: #FFD700; }

/* Try it yourself prompt */
.try-prompt {
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.try-prompt strong {
  color: #00ffee;
}

/* What just happened box */
.what-happened-green {
  background: rgba(166, 255, 0, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border-left: 3px solid #a6ff00;
}

.what-happened-cyan {
  background: rgba(0, 255, 238, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border-left: 3px solid #00ffee;
}

.what-happened-gold {
  background: rgba(255, 215, 0, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border-left: 3px solid #FFD700;
}

.what-happened-green p:first-child,
.what-happened-cyan p:first-child,
.what-happened-gold p:first-child {
  margin: 0 0 0.5rem 0;
  font-weight: bold;
}

.what-happened-green p:first-child { color: #a6ff00; }
.what-happened-cyan p:first-child { color: #00ffee; }
.what-happened-gold p:first-child { color: #FFD700; }

.what-happened-green ul,
.what-happened-cyan ul,
.what-happened-gold ul {
  margin: 0;
  color: #e0e0e0;
  line-height: 1.8;
  font-size: 0.9rem;
}

.what-happened-green code,
.what-happened-cyan code,
.what-happened-gold code {
  background: #000;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Challenge hint box */
.challenge-hint {
  background: rgba(210, 143, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border: 1px dashed #d28fff;
}

.challenge-hint p {
  margin: 0;
  color: #d28fff;
  font-size: 0.9rem;
}

.challenge-hint strong {
  font-weight: bold;
}

/* ============================================================
   📚 KEY TAKEAWAYS & WRAP-UP
   ============================================================ */

/* Takeaways section */
.takeaways-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 2px solid rgba(166, 255, 0, 0.5);
}

.takeaways-section h3 {
  color: #a6ff00;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.takeaways-grid {
  display: grid;
  gap: 1rem;
}

.takeaway-green {
  background: rgba(166, 255, 0, 0.08);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #a6ff00;
}

.takeaway-cyan {
  background: rgba(0, 255, 238, 0.08);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #00ffee;
}

.takeaway-gold {
  background: rgba(255, 215, 0, 0.08);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #FFD700;
}

.takeaway-purple {
  background: rgba(210, 143, 255, 0.08);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #d28fff;
}

.takeaway-pink {
  background: rgba(255, 105, 180, 0.08);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #ff69b4;
}

.takeaway-green p,
.takeaway-cyan p,
.takeaway-gold p,
.takeaway-purple p,
.takeaway-pink p {
  margin: 0;
  color: #e0e0e0;
  line-height: 1.7;
}

.takeaway-green strong { color: #a6ff00; }
.takeaway-cyan strong { color: #00ffee; }
.takeaway-gold strong { color: #FFD700; }
.takeaway-purple strong { color: #d28fff; }
.takeaway-pink strong { color: #ff69b4; }

.takeaway-green code,
.takeaway-cyan code,
.takeaway-gold code,
.takeaway-purple code,
.takeaway-pink code {
  background: #000;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Common mistakes section */
.mistakes-section {
  background: linear-gradient(135deg, #3d1f1f 0%, #1f1010 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 2px solid rgba(255, 69, 69, 0.5);
}

.mistakes-section h3 {
  color: #ff4545;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mistakes-grid {
  display: grid;
  gap: 1rem;
}

.mistake-card {
  background: rgba(255, 69, 69, 0.1);
  padding: 1rem;
  border-radius: 8px;
}

.mistake-wrong {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mistake-correct {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 0.8rem;
}

.badge-wrong {
  background: #ff4545;
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.badge-correct {
  background: #00ff00;
  color: #000;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.mistake-content {
  flex: 1;
}

.mistake-content p {
  margin: 0 0 0.5rem 0;
  color: #ff8888;
  font-weight: bold;
}

.mistake-content code {
  background: #000;
  padding: 0.5rem;
  display: block;
  border-radius: 4px;
  font-size: 0.85rem;
}

.mistake-wrong code {
  color: #ff6b6b;
}

.mistake-correct code {
  color: #a6ff00;
}

/* Next steps section */
.nextsteps-section {
  background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 3px solid #a6ff00;
  text-align: center;
  box-shadow: 0 0 30px rgba(166, 255, 0, 0.2);
}

.nextsteps-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.nextsteps-section h3 {
  color: #a6ff00;
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
}

.nextsteps-section p {
  color: #e0e0e0;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

.nextsteps-section strong {
  color: #FFD700;
}

.nextsteps-preview {
  background: rgba(255, 215, 0, 0.1);
  padding: 1rem;
  border-radius: 8px;
  max-width: 500px;
  margin: 0 auto;
}

.nextsteps-preview p {
  margin: 0;
  color: #FFD700;
  font-weight: bold;
  font-size: 0.9rem;
}
.operators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.op-card {
  padding: 1.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.05);
  transition: 0.2s ease;
}

.op-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
}

.op-card h4 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #8cf3ff;
}

.op-card p {
  margin: 0;
  font-family: monospace;
  font-size: 1rem;
  color: #e0e0e0;
}

/* Colour accents (same as screenshot style) */
.op-add { border-left: 4px solid #a5ff6b; }
.op-sub { border-left: 4px solid #47e7ff; }
.op-mul { border-left: 4px solid #ffd84f; }
.op-div { border-left: 4px solid #a78bff; }
.op-exp { border-left: 4px solid #ff9955; }
.op-floor { border-left: 4px solid #64b5ff; }
.op-mod { border-left: 4px solid #ff648c; }
