/* =========================================
   CURRENT-AFFAIRS.CSS - Specific Styles
========================================= */

.back-btn{
  border:none; cursor:pointer; padding:12px 20px; border-radius:16px;
  background:rgba(255,255,255,.08); color:#fff; font-weight:700;
  transition:.3s ease; border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px; display: inline-block;
}
.back-btn:hover{ background:rgba(255,255,255,.15); transform:translateY(-3px); }

/* =========================================
   INTRO SECTION
========================================= */
.intro-section {
  text-align: center;
  padding: 40px 20px;
}
.badge{
  display:inline-block; padding:10px 18px; border-radius:999px;
  background:rgba(20, 184, 166, 0.15); color:#2dd4bf;
  margin-bottom:20px; font-weight:700; font-size: 0.9rem;
}
.intro-section h1 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #14b8a6, #3b82f6);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.intro-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* =========================================
   QUIZ BOX
========================================= */
.stats-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:15px; margin-bottom:24px;
}
.stat-card{
  padding:20px; border-radius:24px; background:var(--card-bg-solid);
  border:1px solid var(--border-glass); text-align:center; box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
.stat-card span{ font-size:28px; }
.stat-card h3{ margin-top:10px; font-size:28px; font-weight: 800; color: #fff; }
.stat-card p{ margin-top:5px; color:var(--text-muted); font-size: 0.85rem; text-transform: uppercase; font-weight: 700; }

/* PROGRESS */
.progress-wrapper{
  width:100%; height:12px; border-radius:999px; overflow:hidden;
  background:rgba(255,255,255,.05); margin-bottom:30px; box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
/* Teal Gradient for Progress */
.progress-bar{
  width:0%; height:100%; border-radius:999px; background:linear-gradient(90deg, #14b8a6, #3b82f6); transition:.4s ease;
}

/* QUESTION CARD */
.question-card{
  padding:34px; border-radius:30px; background:var(--card-bg-grad);
  border:1px solid var(--border-glass); margin-bottom:30px; position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.question-count{ color:#14b8a6; margin-bottom:16px; font-weight:800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;}
#qText{ font-size:30px; line-height:1.6; font-weight: 800; color: #fff; }

/* SHARE BUTTON FOR QUESTIONS */
.question-share-btn {
  position: absolute; top: 25px; right: 25px;
  background: rgba(20, 184, 166, 0.15); border: 1px solid rgba(20, 184, 166, 0.3);
  color: #14b8a6; border-radius: 50%; width: 45px; height: 45px;
  display: flex; justify-content: center; align-items: center; cursor: pointer; transition: 0.3s;
}
.question-share-btn:hover { background: #14b8a6; color: #fff; transform: translateY(-3px) scale(1.1); box-shadow: 0 0 15px rgba(20, 184, 166, 0.5); border-color: #14b8a6; }

/* OPTIONS */
.options-grid{ display:grid; gap:16px; }
.option{
  padding:22px; border-radius:22px; background:var(--card-bg-solid);
  border:1px solid var(--border-glass); cursor:pointer; transition:.25s ease;
  font-size:18px; font-weight:700; line-height:1.5; color: #e5e7eb;
}
.option:hover{ transform:translateY(-4px); border-color:rgba(20, 184, 166, 0.5); background: rgba(30, 41, 59, 0.9); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.option.correct{ background:rgba(16, 185, 129, 0.15); border-color:#10b981; color: #10b981; box-shadow: inset 0 0 15px rgba(16, 185, 129, 0.2); }
.option.wrong{ background:rgba(239, 68, 68, 0.15); border-color:#ef4444; color: #ef4444; box-shadow: inset 0 0 15px rgba(239, 68, 68, 0.2); }

/* NEXT BUTTON (Teal Theme) */
.quiz-buttons{ display:flex; justify-content:flex-end; margin-top:30px; }
.next-btn{
  border:none; cursor:pointer; padding:16px 32px; border-radius:18px; color:#fff;
  font-size:17px; font-weight:800; background:linear-gradient(135deg, #14b8a6, #3b82f6);
  transition:.3s ease; box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}
.next-btn:hover{ transform:translateY(-4px); box-shadow: 0 12px 25px rgba(20, 184, 166, 0.5); }

/* =========================================
   REVIEW SECTION
========================================= */
.review-title{ font-size:30px; font-weight:900; margin-bottom:24px; text-align: center; color: #fff; text-shadow: 0 0 15px rgba(255,255,255,0.2); }
.result-box{
  padding:26px; border-radius:24px; background:var(--card-bg-grad);
  border:1px solid var(--border-glass); margin-bottom:20px; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.result-box h3{ margin-bottom:16px; line-height:1.6; font-size: 1.2rem; color: #fff;}
.result-box p{ margin-top:12px; line-height:1.6; font-weight: 700; font-size: 0.95rem; }
.correct-answer{ color:#10b981; }
.wrong-answer{ color:#ef4444; }

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */
@media(max-width:600px){
  .stats-grid{ grid-template-columns:1fr; }
  #qText{ font-size:24px; }
  .option { font-size: 16px; padding: 18px; }
  .question-share-btn { top: 15px; right: 15px; width: 40px; height: 40px; }
}
