/* ============================================================
   SELF AWARENESS - PREMDAKSHAK AURA CHECK IN AURAMETER
   Preserving PremDakshak UI/UX while integrating into AuraMeter
============================================================ */

/* RESET & BASE */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #030308;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
}

.font-devanagari {
  font-family: 'Noto Sans Devanagari', sans-serif;
}

/* ============================================================
   AURAMETER NAVIGATION (Minimal, not PremDakshak navbar)
============================================================ */
.aurameter-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 3, 8, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding: 14px 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFD700;
  font-weight: 700;
  font-size: 20px;
  transition: opacity 0.3s;
}

.nav-logo:hover {
  opacity: 0.8;
}

.om-symbol {
  font-size: 24px;
}

.brand-name {
  color: #fff;
  font-weight: 500;
}

.back-link {
  color: rgba(255, 215, 0, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s;
}

.back-link:hover {
  color: #FFD700;
}

/* ============================================================
   REGISTRATION SECTION
============================================================ */
.registration-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: #030308;
}

.cosmic-bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(157, 78, 221, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(76, 201, 240, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.registration-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
}

.registration-card {
  background: rgba(15, 17, 32, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.reg-icon {
  font-size: 56px;
  text-align: center;
  margin-bottom: 20px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.reg-title {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #FFF7AD 0%, #FFD700 45%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 8px;
}

.reg-subtitle {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 18px;
  color: rgba(255, 215, 0, 0.8);
  text-align: center;
  margin-bottom: 16px;
}

.reg-description {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: rgba(255, 215, 0, 0.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
}

.form-group input:focus {
  border-color: #FFD700;
  background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.btn-register {
  margin-top: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
}

.reg-error {
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #ff6b6b;
  font-size: 14px;
  line-height: 1.5;
}

/* ============================================================
   QUIZ SECTION (PremDakshak styling preserved)
============================================================ */
#quiz-section {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 100px;
  background: #030308;
}

.quiz-bg-glow {
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 650px;
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.08), rgba(239, 68, 68, 0.08), rgba(76, 201, 240, 0.08));
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  z-index: 0;
}

.quiz-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Page Header */
.quiz-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 50px;
  color: rgba(239, 68, 68, 0.9);
  font-size: 12px;
  font-weight: 600;
  font-family: monospace;
  margin-bottom: 24px;
}

.badge-icon {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.quiz-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  font-family: 'Cinzel', serif;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.title-gradient {
  background: linear-gradient(135deg, #FFF7AD 0%, #FFD700 45%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quiz-subtitle-hindi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 500;
  color: rgba(255, 215, 0, 0.9);
  line-height: 1.6;
}

/* View Mode Switcher */
.mode-switcher-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.mode-switcher {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  background: rgba(15, 17, 32, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mode-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.mode-btn:hover {
  color: #fff;
}

.mode-btn-active {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.mode-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Controls Card */
.controls-card {
  background: rgba(15, 17, 32, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 24px;
  padding: 32px 28px;
  margin-bottom: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Category Navigation */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.category-btn {
  padding: 10px 16px;
  background: rgba(3, 3, 8, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Noto Sans Devanagari', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.category-btn:hover {
  color: #fff;
  border-color: rgba(255, 215, 0, 0.3);
}

.category-active {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
  transform: scale(1.05);
}

/* Search Row */
.search-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background: rgba(3, 3, 8, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: all 0.3s;
}

.search-box input:focus {
  border-color: #FFD700;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.btn-reset {
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  color: rgba(239, 68, 68, 0.8);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-reset:hover {
  background: rgba(239, 68, 68, 0.2);
}

.btn-reset svg {
  width: 16px;
  height: 16px;
}

/* Progress Summary */
.progress-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(3, 3, 8, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
}

.summary-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.selected-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  align-items: center;
  justify-center;
  font-size: 20px;
  font-weight: 700;
  color: #FFD700;
  font-family: monospace;
  flex-shrink: 0;
}

.summary-title {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.summary-desc {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.btn-show-result {
  padding: 12px 24px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-show-result:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.btn-show-result svg {
  width: 16px;
  height: 16px;
}

/* Questions Grid */
.questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.question-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: rgba(15, 17, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.question-card:hover {
  background: rgba(21, 23, 43, 0.6);
  border-color: rgba(255, 215, 0, 0.4);
}

.question-card-selected {
  background: rgba(255, 149, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
}

.question-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.checkbox {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid rgba(156, 163, 175, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.checkbox-checked {
  background: #FFD700;
  border-color: #FFD700;
}

.checkbox-checked svg {
  width: 18px;
  height: 18px;
  color: #000;
  stroke-width: 3;
}

.question-text {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.question-text strong {
  color: #FFD700;
  font-weight: 700;
  margin-right: 6px;
  font-family: monospace;
}

/* Bottom Action */
.bottom-action {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
}

.btn-calculate-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border: none;
  border-radius: 16px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

.btn-calculate-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.5);
}

.btn-calculate-large svg {
  width: 20px;
  height: 20px;
}

/* Review View */
.review-card {
  background: rgba(15, 17, 32, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(76, 201, 240, 0.4);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.review-header-left {
  flex: 1;
}

.review-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(76, 201, 240, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.review-title {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.review-desc {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.review-stats {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.stat-box {
  padding: 14px 16px;
  background: rgba(3, 3, 8, 0.8);
  border-radius: 16px;
  text-align: center;
}

.stat-daily {
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.stat-total {
  border: 1px solid rgba(76, 201, 240, 0.2);
}

.stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-family: monospace;
  margin-bottom: 6px;
}

.stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: monospace;
}

.stat-daily .stat-value {
  color: #FFD700;
}

.stat-total .stat-value {
  color: #4cc9f0;
}

.review-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-back {
  padding: 10px 20px;
  background: rgba(3, 3, 8, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  color: rgba(255, 215, 0, 0.9);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-back:hover {
  border-color: #FFD700;
}

.review-action-buttons {
  display: flex;
  gap: 12px;
}

.btn-copy {
  padding: 10px 20px;
  background: rgba(76, 201, 240, 0.1);
  border: 1px solid rgba(76, 201, 240, 0.3);
  border-radius: 12px;
  color: rgba(76, 201, 240, 0.9);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-copy:hover {
  background: rgba(76, 201, 240, 0.2);
}

.btn-copy svg {
  width: 16px;
  height: 16px;
}

.selected-questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.selected-question-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: rgba(15, 17, 32, 0.6);
  border: 1px solid rgba(76, 201, 240, 0.4);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.selected-question-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.question-id-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(76, 201, 240, 0.1);
  border: 1px solid rgba(76, 201, 240, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #4cc9f0;
  font-family: monospace;
  flex-shrink: 0;
}

.selected-question-details {
  flex: 1;
}

.selected-question-text {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.4;
}

.selected-question-category {
  font-size: 11px;
  font-family: monospace;
  color: #FFD700;
}

.btn-remove {
  padding: 8px 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  color: rgba(239, 68, 68, 0.8);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-remove:hover {
  background: rgba(239, 68, 68, 0.2);
}

.btn-remove svg {
  width: 16px;
  height: 16px;
}

/* Selflessness Meter Section */
.selflessness-meter-section {
  margin-top: 60px;
  padding: 40px 32px;
  background: rgba(15, 17, 32, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.meter-header {
  text-align: center;
  margin-bottom: 32px;
}

.meter-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  font-family: 'Cinzel', serif;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.meter-icon {
  font-size: 1.2em;
}

.meter-gradient {
  background: linear-gradient(135deg, #FFF7AD 0%, #FFD700 45%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.meter-subtitle {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(12px, 2vw, 14px);
  color: rgba(255, 215, 0, 0.85);
  line-height: 1.6;
}

.meter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.meter-card {
  padding: 20px;
  background: rgba(3, 3, 8, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s;
}

.meter-card:hover {
  border-color: #FFD700;
  transform: translateY(-4px);
}

.meter-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.3s;
}

.meter-card:hover .meter-card-icon {
  transform: scale(1.1);
}

.meter-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 8px;
}

.meter-card-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* Positive Returns Section */
.positive-returns-section {
  margin-top: 40px;
  padding: 40px 32px;
  background: rgba(15, 17, 32, 0.7);
  border: 1px solid rgba(76, 201, 240, 0.3);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.returns-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.returns-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  font-family: 'Noto Sans Devanagari', sans-serif;
  color: #4cc9f0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.returns-icon {
  font-size: 1.2em;
}

.returns-subtitle {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(12px, 2vw, 14px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.returns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.returns-card {
  padding: 20px;
  background: rgba(3, 3, 8, 0.8);
  border: 1px solid rgba(76, 201, 240, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.returns-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.returns-card-number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(76, 201, 240, 0.1);
  border: 1px solid rgba(76, 201, 240, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #4cc9f0;
  font-family: monospace;
  flex-shrink: 0;
}

.returns-card-icon {
  font-size: 24px;
}

.returns-card-hindi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 10px;
}

.returns-card-english {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-style: italic;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.formula-banner {
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(76, 201, 240, 0.1), rgba(76, 201, 240, 0.1));
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 24px;
  text-align: center;
}

.formula-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.formula-hindi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.6;
}

.formula-english {
  font-size: clamp(12px, 2vw, 14px);
  font-family: monospace;
  color: rgba(255, 215, 0, 0.9);
  letter-spacing: 1px;
  line-height: 1.5;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(3, 3, 8, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.modal-close:hover {
  color: #fff;
  border-color: #FFD700;
}

/* Celebration Modal */
.celebration-modal {
  position: relative;
  width: 100%;
  max-width: 540px;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(15, 17, 32, 0.95), rgba(3, 3, 8, 0.95));
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.celebration-icon {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  background: rgba(255, 215, 0, 0.15);
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.celebration-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.celebration-title {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.celebration-message {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  background: rgba(3, 3, 8, 0.6);
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.celebration-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px 20px;
  background: rgba(3, 3, 8, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  font-family: monospace;
  margin-bottom: 24px;
}

.stat-mini-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Noto Sans Devanagari', sans-serif;
  margin-bottom: 6px;
}

.stat-mini-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #4cc9f0;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
}

.btn-celebration-result {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.btn-celebration-result:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.6);
}

.btn-celebration-result svg {
  width: 16px;
  height: 16px;
}

/* Result Modal */
.result-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px;
  background: rgba(15, 17, 32, 0.95);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.result-header {
  text-align: center;
  margin-bottom: 32px;
}

.result-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFD700;
}

.result-title {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.result-breakdown {
  padding: 24px;
  background: rgba(3, 3, 8, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  margin-bottom: 24px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-row:last-of-type {
  border-bottom: none;
  margin-bottom: 16px;
}

.breakdown-label {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.breakdown-value {
  font-size: 18px;
  font-weight: 700;
  color: #FFD700;
  font-family: monospace;
}

.result-cyan {
  color: #4cc9f0;
}

.result-total {
  padding: 16px 20px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 12px;
  text-align: center;
}

.total-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 215, 0, 0.9);
  font-family: 'Noto Sans Devanagari', sans-serif;
  margin-bottom: 8px;
}

.total-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #4cc9f0;
  font-family: monospace;
}

.result-links {
  margin-bottom: 24px;
}

.links-title {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.link-card {
  padding: 12px 16px;
  background: rgba(3, 3, 8, 0.8);
  border: 1px solid rgba(157, 78, 221, 0.3);
  border-radius: 12px;
  color: rgba(157, 78, 221, 0.9);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Noto Sans Devanagari', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.link-card:hover {
  color: #fff;
  border-color: #9d4edd;
  background: rgba(157, 78, 221, 0.1);
}

.link-card svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.premdakshak-message {
  padding: 16px 20px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  text-align: center;
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 12px;
  color: rgba(255, 215, 0, 0.9);
  line-height: 1.6;
  margin-bottom: 24px;
}

.premdakshak-message strong {
  color: #FFD700;
}

.btn-close-modal {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-close-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .quiz-container {
    padding: 0 16px;
  }

  .controls-card {
    padding: 24px 20px;
  }

  .progress-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-show-result {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 16px;
  }

  .quiz-title {
    font-size: 32px;
  }

  .mode-switcher {
    flex-direction: column;
    width: 100%;
  }

  .mode-btn {
    width: 100%;
    justify-content: center;
  }

  .category-nav {
    gap: 8px;
  }

  .category-btn {
    font-size: 11px;
    padding: 8px 12px;
  }

  .questions-grid {
    grid-template-columns: 1fr;
  }

  .review-header {
    flex-direction: column;
    align-items: stretch;
  }

  .review-stats {
    flex-direction: row;
    width: 100%;
  }

  .review-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .review-action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-copy,
  .btn-show-result {
    width: 100%;
    justify-content: center;
  }

  .selected-questions-grid {
    grid-template-columns: 1fr;
  }

  .meter-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .returns-grid {
    grid-template-columns: 1fr;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  .registration-card {
    padding: 32px 24px;
  }

  .celebration-modal {
    padding: 32px 24px;
  }

  .result-modal {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .quiz-header {
    margin-bottom: 40px;
  }

  .quiz-title {
    font-size: 28px;
  }

  .quiz-subtitle-hindi {
    font-size: 14px;
  }

  .mode-btn {
    font-size: 12px;
    padding: 10px 16px;
  }

  .summary-title {
    font-size: 14px;
  }

  .summary-desc {
    font-size: 11px;
  }

  .btn-calculate-large {
    padding: 14px 20px;
    font-size: 12px;
  }

  .question-text {
    font-size: 13px;
  }

  .meter-title {
    font-size: 20px;
  }

  .returns-title {
    font-size: 20px;
  }

  .formula-hindi {
    font-size: 13px;
  }

  .formula-english {
    font-size: 11px;
  }

  .celebration-title {
    font-size: 18px;
  }

  .result-title {
    font-size: 16px;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(3, 3, 8, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.6);
}

/* Loading State */
.loading {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 215, 0, 0.7);
  font-size: 14px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}
