/* Vedic Math Game - Golden & Green Theme */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Tiro+Devanagari+Hindi&family=Playfair+Display:wght@400;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  --gold-primary: #d4a017;
  --gold-light: #f5d060;
  --gold-dark: #8b6914;
  --gold-bg: #1a1200;
  --gold-card: #221a00;
  --gold-border: #c8960c;
  --green-primary: #00c853;
  --green-light: #69f0ae;
  --green-dark: #007c3a;
  --green-accent: #b9f6ca;
  --text-light: #fff8e1;
  --text-dim: #c8a84b;
  --shadow-gold: 0 0 20px rgba(212,160,23,0.4);
  --shadow-green: 0 0 20px rgba(0,200,83,0.3);
}

/* Main Container */
.vmg-container {
  background: linear-gradient(135deg, #1a1200 0%, #0d0a00 40%, #001a08 100%);
  min-height: 100vh;
  font-family: 'Rajdhani', sans-serif;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.vmg-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(212,160,23,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0,200,83,0.06) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a017' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Header */
.vmg-header {
  text-align: center;
  padding: 40px 20px 30px;
  position: relative;
}

.vmg-header-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, #f5d060, #d4a017, #f5d060, #00c853);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  letter-spacing: 2px;
  margin-bottom: 8px;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 8px rgba(212,160,23,0.6)); }
  100% { filter: drop-shadow(0 0 20px rgba(245,208,96,0.9)); }
}

.vmg-header-subtitle {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 1.4rem;
  color: var(--green-light);
  margin-bottom: 6px;
}

.vmg-header-tagline {
  color: var(--text-dim);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.vmg-ornament {
  color: var(--gold-primary);
  font-size: 1.4rem;
  margin: 0 10px;
  animation: spin 8s linear infinite;
  display: inline-block;
}

/* Score Bar */
.vmg-score-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 14px 20px;
  background: rgba(212,160,23,0.08);
  border-top: 1px solid rgba(212,160,23,0.2);
  border-bottom: 1px solid rgba(212,160,23,0.2);
  flex-wrap: wrap;
}

.vmg-score-item {
  text-align: center;
  min-width: 80px;
}

.vmg-score-value {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.6rem;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.vmg-score-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Navigation */
.vmg-nav {
  display: flex;
  gap: 10px;
  padding: 20px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) transparent;
  justify-content: center;
  flex-wrap: wrap;
}

.vmg-nav-btn {
  padding: 8px 16px;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.3);
  color: var(--text-dim);
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s;
  white-space: nowrap;
}

.vmg-nav-btn:hover, .vmg-nav-btn.active {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  border-color: var(--gold-light);
  color: #000;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.vmg-nav-btn.upsutra-btn:hover, .vmg-nav-btn.upsutra-btn.active {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  border-color: var(--green-light);
  color: #000;
  box-shadow: var(--shadow-green);
}

/* Main Layout */
.vmg-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: 70vh;
}

@media (max-width: 768px) {
  .vmg-main { grid-template-columns: 1fr; }
}

/* Sidebar */
.vmg-sidebar {
  background: rgba(0,0,0,0.3);
  border-right: 1px solid rgba(212,160,23,0.15);
  padding: 20px 0;
  overflow-y: auto;
  max-height: 80vh;
}

.vmg-sidebar-section {
  margin-bottom: 8px;
}

.vmg-sidebar-heading {
  padding: 10px 20px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-primary);
  border-bottom: 1px solid rgba(212,160,23,0.15);
  margin-bottom: 6px;
}

.vmg-sutra-item {
  padding: 10px 20px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.25s;
  position: relative;
}

.vmg-sutra-item:hover {
  background: rgba(212,160,23,0.08);
  border-left-color: var(--gold-primary);
}

.vmg-sutra-item.active {
  background: rgba(212,160,23,0.12);
  border-left-color: var(--gold-light);
}

.vmg-sutra-item.upsutra:hover {
  background: rgba(0,200,83,0.08);
  border-left-color: var(--green-primary);
}

.vmg-sutra-item.upsutra.active {
  background: rgba(0,200,83,0.12);
  border-left-color: var(--green-light);
}

.vmg-sutra-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.65rem;
  color: var(--gold-primary);
  display: block;
}

.vmg-sutra-name {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.3;
}

.vmg-sutra-hindi {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 0.78rem;
  color: var(--text-dim);
  display: block;
}

.vmg-upsutra-number {
  color: var(--green-primary);
}

/* Content Area */
.vmg-content {
  padding: 30px;
  overflow-y: auto;
  max-height: 80vh;
}

/* Sutra Card */
.vmg-sutra-card {
  display: none;
  animation: fadeIn 0.4s ease;
}

.vmg-sutra-card.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.vmg-card-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.vmg-card-number-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  color: #000;
  box-shadow: var(--shadow-gold);
}

.vmg-card-number-badge.upsutra {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  box-shadow: var(--shadow-green);
}

.vmg-card-title-area { flex: 1; }

.vmg-card-sutra-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 4px;
  line-height: 1.3;
}

.vmg-card-sutra-name.upsutra { color: var(--green-light); }

.vmg-card-hindi {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 1.1rem;
  color: var(--text-dim);
  display: block;
  margin-bottom: 4px;
}

.vmg-card-meaning {
  font-size: 0.9rem;
  color: var(--green-accent);
  font-style: italic;
}

/* Tabs */
.vmg-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.vmg-tab {
  padding: 10px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,160,23,0.2);
  color: var(--text-dim);
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.25s;
}

.vmg-tab:hover { color: var(--gold-light); border-color: var(--gold-primary); }

.vmg-tab.active {
  background: rgba(212,160,23,0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  border-bottom-color: transparent;
}

/* Tab Content */
.vmg-tab-content {
  display: none;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 0 8px 8px 8px;
  padding: 24px;
  min-height: 300px;
}

.vmg-tab-content.active { display: block; animation: fadeIn 0.3s ease; }

/* Concept Box */
.vmg-concept-box {
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.vmg-concept-header {
  background: linear-gradient(90deg, rgba(212,160,23,0.2), rgba(0,200,83,0.1));
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vmg-concept-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.9rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.vmg-lang-toggle {
  display: flex;
  gap: 4px;
}

.vmg-lang-btn {
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(212,160,23,0.3);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.78rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  transition: all 0.2s;
}

.vmg-lang-btn.active {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-primary);
}

.vmg-concept-body {
  padding: 20px;
}

.vmg-concept-text-en, .vmg-concept-text-hi {
  display: none;
  line-height: 1.8;
  font-size: 0.95rem;
}

.vmg-concept-text-hi {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 1.05rem;
}

.vmg-concept-text-en.show, .vmg-concept-text-hi.show { display: block; animation: fadeIn 0.3s ease; }

/* Steps */
.vmg-steps-container { margin-top: 16px; }

.vmg-step {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(212,160,23,0.1);
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

.vmg-step.revealed {
  opacity: 1;
  transform: translateX(0);
}

.vmg-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  font-family: 'Rajdhani', sans-serif;
}

.vmg-step-content { flex: 1; }

.vmg-step-title {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.vmg-step-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
}

.vmg-step-desc .hi {
  font-family: 'Tiro Devanagari Hindi', serif;
  color: var(--green-accent);
  display: block;
  margin-top: 4px;
}

.vmg-reveal-btn {
  margin-top: 16px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: var(--shadow-gold);
}

.vmg-reveal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212,160,23,0.5);
}

/* Example Section */
.vmg-example-box {
  background: rgba(0,200,83,0.05);
  border: 1px solid rgba(0,200,83,0.2);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}

.vmg-example-title {
  color: var(--green-light);
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vmg-example-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,200,83,0.3);
}

.vmg-math-display {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: 8px;
  padding: 16px 20px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.vmg-solution-steps {
  counter-reset: sol-step;
}

.vmg-sol-step {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  align-items: flex-start;
  font-size: 0.9rem;
}

.vmg-sol-step::before {
  counter-increment: sol-step;
  content: counter(sol-step);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,200,83,0.2);
  border: 1px solid var(--green-primary);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.vmg-sol-step .en { color: var(--text-light); }
.vmg-sol-step .hi { font-family: 'Tiro Devanagari Hindi', serif; color: var(--green-accent); font-size: 0.88rem; }

.vmg-answer-display {
  background: linear-gradient(90deg, rgba(212,160,23,0.15), rgba(0,200,83,0.1));
  border: 1px solid var(--gold-primary);
  border-radius: 8px;
  padding: 14px 20px;
  text-align: center;
  font-family: 'Cinzel Decorative', serif;
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-top: 14px;
}

/* Quiz Section */
.vmg-quiz-box {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.vmg-quiz-level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.vmg-quiz-level.beginner {
  background: rgba(0,200,83,0.15);
  border: 1px solid var(--green-primary);
  color: var(--green-light);
}

.vmg-quiz-level.intermediate {
  background: rgba(212,160,23,0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
}

.vmg-quiz-level.advanced {
  background: rgba(255,60,60,0.1);
  border: 1px solid #ff4444;
  color: #ff8888;
}

.vmg-quiz-question {
  font-size: 1.5rem;
  color: var(--text-light);
  font-family: 'Playfair Display', serif;
  text-align: center;
  padding: 20px;
  background: rgba(212,160,23,0.05);
  border-radius: 8px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.vmg-quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .vmg-quiz-options { grid-template-columns: 1fr; }
}

.vmg-option-btn {
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(212,160,23,0.2);
  color: var(--text-light);
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.25s;
  text-align: center;
}

.vmg-option-btn:hover:not(:disabled) {
  background: rgba(212,160,23,0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.vmg-option-btn.correct {
  background: rgba(0,200,83,0.2) !important;
  border-color: var(--green-primary) !important;
  color: var(--green-light) !important;
  animation: pulse-green 0.5s ease;
}

.vmg-option-btn.wrong {
  background: rgba(255,60,60,0.15) !important;
  border-color: #ff4444 !important;
  color: #ff8888 !important;
  animation: shake 0.4s ease;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 10px rgba(0,200,83,0.3); }
  50% { box-shadow: 0 0 30px rgba(0,200,83,0.7); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* Input Quiz */
.vmg-input-group {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.vmg-answer-input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(212,160,23,0.3);
  border-radius: 8px;
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  text-align: center;
  outline: none;
  transition: all 0.25s;
}

.vmg-answer-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212,160,23,0.2);
}

.vmg-submit-btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: var(--shadow-gold);
}

.vmg-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,160,23,0.5);
}

.vmg-feedback {
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 14px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.vmg-feedback.correct-fb {
  background: rgba(0,200,83,0.15);
  border: 1px solid var(--green-primary);
  color: var(--green-light);
  display: block;
}

.vmg-feedback.wrong-fb {
  background: rgba(255,60,60,0.1);
  border: 1px solid #ff4444;
  color: #ff8888;
  display: block;
}

.vmg-next-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--green-dark));
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 16px;
  transition: all 0.3s;
  display: none;
}

.vmg-next-btn.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.vmg-next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,160,23,0.4);
}

/* Brain Exercise */
.vmg-brain-exercise {
  background: linear-gradient(135deg, rgba(212,160,23,0.05), rgba(0,200,83,0.05));
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.vmg-brain-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.75rem;
  color: var(--gold-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vmg-brain-title::before, .vmg-brain-title::after {
  content: '◆';
  color: var(--green-primary);
  font-size: 0.6rem;
}

.vmg-timer-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4rem;
  color: var(--gold-light);
  margin: 0 auto 20px;
  position: relative;
  background: rgba(212,160,23,0.05);
  transition: all 0.5s;
}

.vmg-timer-circle.warning {
  border-color: #ff4444;
  color: #ff8888;
  animation: timerPulse 0.5s ease infinite alternate;
}

@keyframes timerPulse {
  0% { box-shadow: 0 0 10px rgba(255,68,68,0.3); }
  100% { box-shadow: 0 0 25px rgba(255,68,68,0.6); }
}

/* Progress Bar */
.vmg-progress-bar {
  height: 4px;
  background: rgba(212,160,23,0.15);
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}

.vmg-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--green-primary));
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* Level Badge */
.vmg-level-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.vmg-level-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(212,160,23,0.3);
  transition: all 0.3s;
}

.vmg-level-dot.active { background: var(--gold-primary); box-shadow: var(--shadow-gold); }
.vmg-level-dot.green.active { background: var(--green-primary); box-shadow: var(--shadow-green); }

/* Toast Notification */
.vmg-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #221a00, #001508);
  border: 1px solid var(--gold-primary);
  border-radius: 10px;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-gold);
  max-width: 300px;
}

.vmg-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Achievements */
.vmg-achievement {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 4px;
  transition: all 0.3s;
}

.vmg-achievement.earned {
  background: rgba(212,160,23,0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

/* Responsive */
@media (max-width: 768px) {
  .vmg-content { padding: 16px; }
  .vmg-quiz-question { font-size: 1.2rem; }
  .vmg-math-display { font-size: 1.1rem; }
  .vmg-card-sutra-name { font-size: 1.1rem; }
}

/* Scrollbar */
.vmg-container ::-webkit-scrollbar { width: 6px; height: 6px; }
.vmg-container ::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); }
.vmg-container ::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
.vmg-container ::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }

/* Decorative elements */
.vmg-mandala {
  position: absolute;
  opacity: 0.03;
  font-size: 20rem;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  pointer-events: none;
  animation: spin 60s linear infinite;
}

@keyframes spin { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }

.vmg-streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(212,160,23,0.2), rgba(245,208,96,0.1));
  border: 1px solid var(--gold-primary);
  border-radius: 20px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.75rem;
  color: var(--gold-light);
  animation: streakGlow 2s ease-in-out infinite alternate;
}

@keyframes streakGlow {
  0% { box-shadow: 0 0 5px rgba(212,160,23,0.2); }
  100% { box-shadow: 0 0 15px rgba(212,160,23,0.5); }
}

.vmg-completion-banner {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, rgba(212,160,23,0.1), rgba(0,200,83,0.1));
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  margin-top: 20px;
  display: none;
}

.vmg-completion-banner.show { display: block; animation: fadeIn 0.5s ease; }

.vmg-completion-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--gold-light), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
