/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  display: none;
}

/* Firefox */
html {
  scrollbar-width: none;
}

/* Internet Explorer / old Edge */
html {
  -ms-overflow-style: none;
}

::-moz-selection {
  background-color: #a94442;
  color: #fff;
}

::selection {
  background-color: #a94442;
  color: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  font-family: "Inter", system-ui, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 1.6;
  background: radial-gradient(circle at top, #eef1ff, #cfd6ff);
  color: #333;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}
p {
  font-weight: 400;
}
button,
.btn {
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

.ssp-hero {
  background-color: #fff;
  height:100vh;
}
.ssp-hero-content{
  position:relative;
  top:10%;
}

header {
  background: linear-gradient(135deg, #4d1616, #9b2b2b);
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transform: translateZ(0);
}

img.logo {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  /* margin-bottom: 12px; */
}

nav {
  background: #4d1616;
  padding: 10px;
  text-align: center;
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25); */
}

@media (max-width: 600px) {
  .ssp-hero h1 {
    font-size: 28px;
  }

  .ssp-bar {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 10px;
  }

  .ssp-primary-btn,
  .ssp-secondary-btn {
    display: block;
    margin: 10px auto;
  }

  .ssp-subjects {
    padding: 15px;
  }
}
#progressFill {
  width: 30%;
  height: 100%;
  background: green;
  border-radius: 10px;
  max-width: 100%;
  /* display:flex; */
}
.ssp-bar {
  width: 100%;
  height: 10px;
  background: #ddd;
  border-radius: 10px;
}

.ssp-search {
  padding: 20px;
  text-align: center;
  background: #fff;
}

.ssp-search input {
  width: 90%;
  max-width: 500px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

nav a {
  color: #fff;
  margin: 0 18px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;

  display: inline-block;
  background-image: linear-gradient(#ff0, #ff0);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition:
    color 0.3s,
    background-size 0.4s;
}

nav a:hover {
  background-size: 100% 2px;
  color: #ff0;
}

.ssp-hero {
  padding: 70px 20px;
  text-align: center;
  /* background: linear-gradient(135deg, #fff5f5, #f2d6d6, #c97a7a); */
  color: #4d1616;
}

.ssp-hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.ssp-hero p {
  font-size: 1em;
  opacity: 0.9;
  margin-bottom: 25px;
}

.ssp-primary-btn {
  padding: 14px 26px;
  background: #4d1616;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  margin: 10px;
  text-decoration: none;
}

.ssp-secondary-btn {
  padding: 14px 26px;
  border: 1px solid #4d1616;
  color: #4d1616;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}
/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}
.hamburger span {
  height: 3px;
  width: 24px;
  background: #fff;
  margin: 2px 0;
  border-radius: 2px;
}

/* Mobile menu */
.mobile-menu {
  display: none;

  /* height: 50vh;
  width: 100%; */
  flex-direction: column;
  background: #4d1616;
}

.mobile-menu a {
  padding: 14px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 850px) {
  .nav-links a {
    display: none;
  }
  nav .logo {
    position: absolute;
    left: 20px;
  }
  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
  }

  #mobileMenu.show {
    display: flex;
  }
}

.jee-btn {
  display: inline-block;
  padding: 8px 17px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #7a0000, maroon);
  border-radius: 8px;

  margin: 10px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

/* hover effects */
.jee-btn:hover {
  background-color: #ff0;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
}

.container {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.card {
  margin: 8px;
  background: linear-gradient(145deg, #ffffff, #e6e9ff);
  padding: 25px;
  border-radius: 8px;
  box-shadow:
    12px 12px 25px rgba(0, 0, 0, 0.15),
    -12px -12px 25px rgba(255, 255, 255, 0.7);
  margin-bottom: 35px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-1px) scale(1.005);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.25);
}

/* exam count */

/* White section background */
.ssp-countdown-wrap {
  background: #ffffff;
  padding: 18px 14px;
}

/* Card */
.ssp-countdown-card {
  max-width: 1050px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Top row */
.ssp-countdown-top {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ssp-pill {
  display: inline-block;
  margin: 0 0 6px 0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #7a0f26;
  background: rgba(122, 15, 38, 0.08);
}

.ssp-title {
  margin: 0;
  font-size: 22px;
  color: #111;
  font-weight: 800;
}

/* Mini info */
.ssp-mini {
  text-align: right;
}

.ssp-mini-label {
  margin: 2px 0 4px 0;
  font-size: 12px;
  color: #666;
}

.ssp-mini-value {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

/* Timer grid */
.ssp-timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}

.ssp-box {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ssp-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #7a0f26, #b3123a);
}

.ssp-box span {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: #111;
  line-height: 1;
}

.ssp-box small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #666;
  font-weight: 700;
}

/* Motivation */
.ssp-motivation {
  margin: 14px 0 0 0;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* Badge */
.ssp-badge {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(122, 15, 38, 0.08);
  border: 1px solid rgba(122, 15, 38, 0.18);
  color: #7a0f26;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
}

.ssp-badge.show {
  display: block;
}

/* Subtle blink for last 48 hours: only the top gradient bar blinks */
.last-48h .ssp-box::before {
  animation: sspBlink 1.8s infinite;
}

@keyframes sspBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .ssp-mini {
    text-align: left;
  }
  .ssp-timer {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
  .ssp-title {
    font-size: 20px;
  }
  .ssp-box span {
    font-size: 30px;
  }
}
/*ssp AI Floting  */
.ssp-ai-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #7a0000, maroon);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  text-decoration: none;
  z-index: 9999;
  overflow: hidden;

  /* Combined animations */
  animation:
    pulseGlow 2s infinite,
    floatUpDown 3s ease-in-out infinite;
}

/* Soft floating (attention without irritation) */
@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Pulse glow (slower = professional) */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(179, 18, 58, 0.6);
  }
  70% {
    box-shadow: 0 0 20px 8px rgba(179, 18, 58, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(179, 18, 58, 0.6);
  }
}

/* Shine sweep animation */
.ssp-ai-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  animation: shineSweep 4s infinite;
}

@keyframes shineSweep {
  0% {
    left: -75%;
  }
  50% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}

/* Text blink replaced with subtle emphasis */
.ssp-ai-btn span {
  opacity: 0.95;
}

.ssp-ai-btn:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .ssp-ai-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* end of ssp ai floting */

h2 {
  color: #4d1616;
  margin-bottom: 15px;
}

.books {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  perspective: 1000px;
}

.book {
  background: linear-gradient(145deg, #fdfdff, #e0e4ff);
  border-radius: 14px;
  padding: 25px;
  text-align: center;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.18);
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.book:hover {
  transform: rotateY(10deg) rotateX(5deg) scale(1.05);
}

.book h3 {
  margin: 15px 0 10px;
  color: #4d1616;
}

footer {
  background: linear-gradient(135deg, #4d1616, #931a1a);
  color: #fff;
  text-align: center;
  padding: 18px;
  margin-top: 40px;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.3);
}

#loginBtn {
  position: relative;
  padding: 12px 28px;
  background: maroon;
  color: #fff;
  border: 1px solid #000;
  border-radius: 15px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

/* hidden background layer */
#loginBtn::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: #ff0;
  transition: 0.35s;
  z-index: -1;
}

/* hover effect */
#loginBtn:hover::before {
  bottom: 0;
}

#loginBtn:hover {
  color: #000;
}

/* RESPONSIVE + INTERACTIVE DESIGN */
@media (max-width: 900px) {
  nav {
    flex-direction: column;
    gap: 12px;
  }

  nav div {
    flex-wrap: wrap;
    justify-content: center;
  }

  .container {
    padding: 25px 15px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .books {
    grid-template-columns: 1fr;
  }

  .book {
    transform: none !important;
  }
}
/* BUTTON INTERACTION */
button,
a {
  transition: all 0.3s ease;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

a:hover {
  opacity: 0.85;
}

/* SLIDER TOUCH FRIENDLY */
.slider img {
  width: 100%;
  height: auto;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-box {
  background: #fff;
  padding: 25px;
  width: 320px;
  border-radius: 12px;
  position: relative;
}

.modal-box h2 {
  text-align: center;
}

.modal-box input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
}

.modal-box button {
  width: 100%;
  padding: 10px;
  background: #4d1616;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.modal-box span {
  color: #4d1616;
  cursor: pointer;
}

.closeBtn {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  color: #333;
  font-size: 18px;
}
a {
  color: #fff;
}

/* reel btn */
.ssp-float-reels {
  --a1: #7a0f26;
  --a2: #b3123a;

  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 15px;
  border-radius: 999px;

  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.3px;

  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 15px 50px rgba(179, 18, 58, 0.35);

  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Icon bubble */
.ssp-float-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 18px;
}

/* Glow pulse */
.ssp-float-reels::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7a0000, maroon);
  z-index: -1;
  filter: blur(14px);
  opacity: 0.6;
  animation: sspGlow 2s ease-in-out infinite;
}

/* Ping ripple */
.ssp-float-ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: sspPing 2.4s ease-out infinite;
  opacity: 0;
}

/* Floating bounce */
.ssp-float-reels {
  animation: sspFloat 3s ease-in-out infinite;
}

.ssp-float-reels:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(179, 18, 58, 0.45);
}

.ssp-float-reels:active {
  transform: scale(0.95);
}

/* Animations */
@keyframes sspFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

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

@keyframes sspPing {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Mobile adjust */
@media (max-width: 520px) {
  .ssp-float-reels {
    left: 14px;
    bottom: 16px;
    padding: 8px 15px;
  }
  .ssp-float-icon {
    width: 32px;
    height: 32px;
  }
}

/* =========================
   FULL WIDTH SLIDER (CLEAN)
========================= */
.ssp-slider-wrap {
  background: #f4f6fb;
  padding: 30px 0;
}

.ssp-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ssp-track {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
  transform: translateX(0px);
  transition: transform 650ms ease; /* ✅ smooth slide */
  will-change: transform;
}

.ssp-slide {
  flex: 0 0 100%;
  display: block;
  background: #000; /* optional */
}

.ssp-slide img {
  width: 100%;
  height: clamp(220px, 32vw, 460px);
  object-fit: contain; /* ✅ image nahi kate */
  display: block;
  background: #000;
}
/* =========================
   SECTION INTRO CARDS
========================= */
.ssp-sections {
  background: #ffffff;
  padding: 24px 14px 10px;
}

.ssp-sections-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
}

.ssp-section-card {
  background: linear-gradient(145deg, #ffffff, #f2f4ff);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.ssp-section-card h3 {
  margin: 0 0 6px;
  color: #4d1616;
  font-size: 18px;
}

.ssp-section-card p {
  margin: 0 0 12px;
  color: #333;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.9;
}

.ssp-viewall {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7a0000, maroon);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
}

.ssp-viewall:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/*new badge*/
.new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  background: #e60023;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  letter-spacing: 0.8px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(230, 0, 35, 0.35);
  animation:
    pulseBadge 1.5s infinite,
    floatBadge 2s ease-in-out infinite;
  user-select: none;
}

@keyframes pulseBadge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(230, 0, 35, 0.45);
  }
  70% {
    transform: scale(1.06);
    box-shadow: 0 0 0 12px rgba(230, 0, 35, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(230, 0, 35, 0);
  }
}

@keyframes floatBadge {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -3px;
  }
}

@media (max-width: 900px) {
  .ssp-sections-inner {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 520px) {
  .ssp-sections-inner {
    grid-template-columns: 1fr;
  }
}

/* =========================
   GLOBAL POLISH (SAFE)
========================= */

/* Smooth font rendering */
body {
  -webkit-font-smoothing: antialiased;
}

/* Consistent button feel */
button,
.btn {
  transition: all 0.25s ease;
}

button:hover {
  transform: translateY(-2px);
}

/* =========================
   NAVBAR REDESIGN 
========================= */

nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(77, 22, 22, 0.92);
  backdrop-filter: blur(10px);
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LEFT LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* LINKS */
nav a {
  font-size: 14px;
  padding: 6px 0;
  position: relative;
}

/* CLEAN UNDERLINE */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #ff0;
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

/* RIGHT SIDE */
nav div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BUTTON FIX */
#loginBtn,
#logoutBtn,
#uploadBtn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
}

/* USER NAME */
#userName {
  font-size: 13px;
  opacity: 0.9;
}

/* =========================
   MOBILE MENU FIX
========================= */

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #4d1616;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: navDrop 0.25s ease;
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   SMALL UI IMPROVEMENTS
========================= */

/* Cards subtle upgrade */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

/* Section cards uniform feel */
.ssp-section-card {
  transition: 0.25s ease;
}

.ssp-section-card:hover {
  transform: translateY(-4px);
}

/* Buttons more consistent */
.ssp-viewall,
.jee-btn {
  transition: all 0.25s ease;
}

/* AI button less aggressive */
.ssp-ai-btn {
  animation: floatUpDown 3s ease-in-out infinite;
}

/* live promo  */
.live-box {
  position: fixed;
  /* bottom: 20px; */
  right: 20px;
  background: #000;
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.5s ease-in-out;
  z-index: 9999;
}

.live-box button {
  margin-top: 10px;
  padding: 8px 12px;
  border: none;
  background: #fff;
  color: #000;
  cursor: pointer;
  border-radius: 5px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  cursor: pointer;
  font-size: 14px;
}

/* subject selector overlap */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  position: relative;
  max-width: 500px;
  width: 90%;
  animation: fadeIn 0.3s ease;
}

.popup img {
  width: 90%;
  border-radius: 12px;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  color: #000;
  font-size: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/*qod popup  */
/* Overlay */
.qod-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
  overflow-y: auto;

  z-index: 999999;
  animation: fadeIn 0.4s ease;
}

/* Modal */
.qod-modal {
  width: 100%;
  max-width: 430px;

  background: #111;
  border: 1px solid #5a1a1a;
  border-radius: 22px;

  padding: 26px;
  position: relative;

  color: white;
  text-align: center;

  box-shadow: 0 0 35px rgba(128, 0, 0, 0.35);

  animation: popup 0.45s ease;

  /* IMPORTANT FIX */
  max-height: 95vh;
  overflow-y: auto;

  /* Smooth scrolling */
  scrollbar-width: thin;
  scrollbar-color: #7a1d1d transparent;
}

/* Custom Scrollbar */
.qod-modal::-webkit-scrollbar {
  width: 6px;
}

.qod-modal::-webkit-scrollbar-thumb {
  background: #7a1d1d;
  border-radius: 20px;
}

/* Heading */
.qod-modal h2 {
  font-size: clamp(24px, 5vw, 30px);
  margin-bottom: 16px;
  color: #ffb3b3;
  line-height: 1.3;
}

/* Question */
.question {
  font-size: clamp(15px, 3vw, 18px);
  line-height: 1.7;
  margin-bottom: 24px;
  color: #f2f2f2;
}

/* Options */
.options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Buttons */
.options button {
  width: 100%;

  background: #1b1b1b;
  border: 1px solid #6a1d1d;

  color: white;
  font-size: clamp(14px, 3vw, 16px);

  padding: 15px 16px;
  border-radius: 14px;

  cursor: pointer;

  transition: 0.3s ease;
}

.options button:hover {
  background: #611717;
  transform: translateY(-2px);
}

/* Result */
.result {
  margin-top: 22px;
  min-height: 40px;
}

/* Correct */
.correct {
  color: #4dff88;
  font-size: clamp(18px, 4vw, 21px);
  font-weight: bold;

  animation: bounce 0.5s ease;
}

/* Wrong */
.wrong {
  color: #ff5c5c;
  font-size: clamp(18px, 4vw, 21px);
  font-weight: bold;

  animation: shake 0.5s ease;
}

/* Explanation */
.explanation {
  margin-top: 16px;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid #a52a2a;

  padding: 15px;
  border-radius: 14px;

  text-align: left;

  font-size: clamp(13px, 3vw, 15px);
  line-height: 1.7;

  color: #ddd;

  animation: fadeUp 0.45s ease;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;

  width: 38px;
  height: 38px;

  border: none;
  border-radius: 50%;

  background: #631616;
  color: white;

  font-size: 16px;
  cursor: pointer;

  transition: 0.3s ease;
}

.close-btn:hover {
  background: #8b0000;
  transform: rotate(90deg);
}

/* Mobile Optimization */
@media (max-width: 480px) {
  .qod-overlay {
    padding: 14px;
    align-items: flex-start;
  }

  .qod-modal {
    margin-top: 20px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .options button {
    padding: 14px;
  }

  .close-btn {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}

/* Animations */

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

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

@keyframes bounce {
  0% {
    transform: scale(0.7);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

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

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

/* end of qod */

/* COMPACT SSP CURRENT AFFAIRS BANNER */

.sspca-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #160404 0%, #3a0909 50%, #571111 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(120, 0, 0, 0.12); */
}

/* subtle glow */

.sspca-wrap::before {
  content: "";

  position: absolute;

  width: 260px;
  height: 260px;

  background: radial-gradient(rgba(255, 120, 120, 0.12), transparent 70%);

  right: -80px;
  top: -80px;
}

/* animated line */

.sspca-wrap::after {
  content: "";

  position: absolute;

  width: 120%;
  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.16),
    transparent
  );

  left: -10%;
  bottom: 40px;

  animation: sspcaLine 5s linear infinite;
}

@keyframes sspcaLine {
  0% {
    transform: translateX(-100px);
  }

  100% {
    transform: translateX(100px);
  }
}

/* LEFT */

.sspca-left {
  flex: 1;
  z-index: 2;
}

.sspca-tag {
  display: inline-block;

  padding: 7px 14px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);

  color: #ffdada;

  font-size: 11px;
  font-weight: 600;

  margin-bottom: 12px;

  letter-spacing: 0.5px;
}

.sspca-title {
  color: white;

  font-size: 2.2rem;
  font-weight: 800;

  line-height: 1.1;

  margin-bottom: 10px;
}

.sspca-title span {
  color: #ffb4b4;
}

.sspca-desc {
  color: #efd4d4;

  font-size: 14px;
  line-height: 1.6;

  max-width: 620px;

  margin-bottom: 18px;
}

/* BUTTONS */

.sspca-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sspca-mainbtn,
.sspca-secondbtn {
  text-decoration: none;

  padding: 11px 22px;

  border-radius: 12px;

  font-size: 13px;
  font-weight: 700;

  transition: 0.3s;
}

.sspca-mainbtn {
  background: white;
  color: #4d0d0d;
}

.sspca-mainbtn:hover {
  transform: translateY(-2px);
}

.sspca-secondbtn {
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.08);

  color: white;
}

.sspca-secondbtn:hover {
  background: rgba(255, 255, 255, 0.13);
}

/* RIGHT */

.sspca-right {
  width: 220px;
  min-width: 220px;

  z-index: 2;
}

.sspca-card {
  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 18px;

  padding: 18px;
}

.sspca-card h3 {
  color: white;

  font-size: 17px;

  margin-bottom: 10px;
}

.sspca-item {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 8px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sspca-item:last-child {
  border-bottom: none;
}

.sspca-item span {
  color: #f0d2d2;
  font-size: 13px;
}

.sspca-item b {
  color: white;
}

/* MOBILE */

@media (max-width: 900px) {
  .sspca-wrap {
    flex-direction: column;
    align-items: flex-start;

    /* padding: 24px;
    gap: 20px; */
  }

  .sspca-title {
    font-size: 1.9rem;
  }

  .sspca-right {
    width: 100%;
    min-width: 100%;
  }
  .sspca-card {
    display: none;
  }
}

@media (max-width: 520px) {
  .sspca-wrap {
    padding: 20px;
    /* max-width: 90%; */
    /* border-radius: 18px; */
  }

  .sspca-title {
    font-size: 1.65rem;
  }

  .sspca-desc {
    font-size: 13px;
  }

  .sspca-btns {
    width: 100%;
  }

  .sspca-mainbtn,
  .sspca-secondbtn {
    flex: 1;
    text-align: center;
    padding: 11px 14px;
  }

  .sspca-card {
    /* padding: 16px; */
    display: none;
  }
}

/* end of ssp ca  */
