* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Hind Siliguri", "Poppins", "Segoe UI", Tahoma, Geneva, Verdana,
    sans-serif;
  font-style: normal;
}

body {
  background-color: #f5f7fa;
  display: flex;
  justify-content: center;
  padding: 20px;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 550px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  position: relative;
  padding-bottom: 80px;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #eaeaea;
}

/* .logo {
  font-size: 24px;
  font-weight: bold;
  color: #4a6cf7;
} */

.logo img{
  margin-top: 10px;
  width: 130px;
}

.subscribe-btn {
  background: linear-gradient(135deg, #4361ee, #7209b7);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.subscribe-btn:hover {
  background-color: #3a5bd9;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.points {
  background: linear-gradient(135deg, #4361ee, #7209b7);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 13px;
  color: white;
  font-weight: 300;
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
}

.profile-icon {
  position: relative;
  cursor: pointer;
}

.profile-icon i {
  margin-top: 5px;
  font-size: 25px;
}

.dropdown {
  position: absolute;
  top: 45px;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  width: 220px;
  padding: 12px 0;
  z-index: 1000;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.dropdown.active {
  display: block;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  padding: 14px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

/* Gradient hover effect */
.dropdown-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(67, 97, 238, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.dropdown-item:hover::before {
  left: 100%;
}

/* Separator with gradient */
.dropdown-item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(67, 97, 238, 0.3) 50%,
    transparent 100%
  );
}

/* Text styling */
.dropdown-item span {
  background: linear-gradient(135deg, #4361ee, #7209b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #4361ee;
  font-weight: 700;
  font-size: 15px;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* Icons with gradient */
.dropdown-item i {
  background: linear-gradient(135deg, #4361ee, #7209b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #4361ee;
  width: 20px;
  font-size: 16px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Phone number (no gradient) */
.dropdown-item:first-child span,
.dropdown-item:first-child i {
  background: none;
  -webkit-text-fill-color: #666;
  color: #666;
}

/* Unsubscribe button with pulse effect */
#unsubscribeBtn {
  margin-top: 4px;
}

#unsubscribeBtn span,
#unsubscribeBtn i {
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #ff4757;
}

#unsubscribeBtn:hover {
  animation: pulseRed 0.5s ease;
}

@keyframes pulseRed {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* Greeting Section */
.greeting {
  margin: 20px 0;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Banner Section */
.banner-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
  height: 150px; /* Added fixed height */
}

.banner-slider {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%; /* Added height */
}

/* Changed from .banner to .banner-slide for dynamic content */
.banner-slide {
  flex: 0 0 100%;
  height: 100%; /* Changed to 100% */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
  position: relative; /* Added for image positioning */
  overflow: hidden; /* Added for image containment */
}

/* Banner image styling */
.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers entire banner */
  position: absolute;
  top: 0;
  left: 0;
}

/* Banner title styling */
.banner-title {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 15px 25px;
  /* background: rgba(0, 0, 0, 0.6);  
  backdrop-filter: blur(5px);   */
  border-radius: 8px;
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Keep your existing gradient classes as fallback */
.banner-1 {
  background: linear-gradient(45deg, #4a6cf7, #8a63d2);
}

.banner-2 {
  background: linear-gradient(45deg, #ff9a9e, #fad0c4);
}

.banner-3 {
  background: linear-gradient(45deg, #a1c4fd, #c2e9fb);
}

.banner-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3; /* Added z-index to appear above content */
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s; /* Added transition */
}

.dot.active {
  background-color: white;
  transform: scale(1.2); /* Added scale effect for active dot */
}

/* Add navigation arrows for better UX */
.banner-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 3;
}

.banner-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.banner-nav-btn:hover {
  background: white;
  transform: scale(1.1);
}

/* --- Advertisement Container --- */
.advertisement-container {
  position: relative;
  height: 110px;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  background: #f5f7fb;
}

.advertisement-slider {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.advertisement-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  min-width: 100%;
  overflow: hidden;
}

.advertisement-slide > a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.advertisement-slide > a:hover {
  transform: translateY(-3px);
}

.ad-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.advertisement-slide:has(.ad-image) > a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.08) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 8;
  pointer-events: none;
}

.ad-title {
  position: relative;
  z-index: 11;
  pointer-events: none;
  text-align: center;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.3px;
  line-height: 1.2;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ad-title.gradient {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  backdrop-filter: blur(4px);
  border: none;
}

.ad-title.outline {
  background: none;
  backdrop-filter: none;
  border: none;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.8),
    2px 2px 2px rgba(0, 0, 0, 0.8);
  font-weight: 800;
  font-size: 18px;
}

.advertisement-slide > a .ad-title {
  margin: 0 auto;
  max-width: 90%;
}

.ad-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 40;
  pointer-events: auto;
}

.ad-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, opacity 0.2s;
  opacity: 0.95;
}

.ad-dot:hover {
  transform: scale(1.2);
}
.ad-dot.active {
  background: #ffffff;
  transform: scale(1.25);
}

.ad-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  z-index: 45;
  pointer-events: none;
}

.ad-nav .ad-nav-btn {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #222;
  border: 2px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ad-nav .ad-nav-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

@media (max-width: 480px) {
  .advertisement-container {
    height: 120px;
  }
  .ad-title {
    font-size: 15px;
    padding: 8px 12px;
  }
  .ad-nav .ad-nav-btn {
    width: 32px;
    height: 32px;
  }
  .ad-dot {
    width: 8px;
    height: 8px;
  }
}

.advertisement-slide > a,
.advertisement-slide > a * {
  cursor: pointer;
}

/* Popular & Trending Section */
.quiz-sections {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.quiz-section {
  flex: 1;
  background-color: #f8f9ff;
  border-radius: 10px;
  padding: 15px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.quiz-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-item {
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.quiz-item:hover {
  transform: translateY(-3px);
}

.quiz-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  /* background-color: #4a6cf7; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.quiz-details h3 {
  font-size: 14px;
  margin-bottom: 3px;
}

.quiz-details p {
  font-size: 12px;
  font-weight: 300;
  color: #666;
}

/* Categories Section */
.section-title-large {
  font-size: 18px;
  font-weight: 600;
  margin-top: 15px;
  padding-left: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.categories-container {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-container::-webkit-scrollbar {
  display: none;
}

.categories {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  width: max-content;
}

.category-item {
  flex: 0 0 auto;
  width: 90px;
  text-align: center;
}

.category-name {
  margin-top: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #380672;
  line-height: 1.3;
  width: 100%;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  padding: 2px;
}

.category-item:hover {
  transform: scale(1.05);
}

.category-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  font-size: 24px;
  color: #4a6cf7;
}

#freeQuizSlider .category-icon {
  border: 3px solid #9b048e;
}

#categoriesSlider .category-icon {
  border: 3px solid #9b048e;
}

.quiz-category-image {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  border-radius: 12px;
  padding: 8px;
}

.quiz-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.quiz-icon-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: white;
  font-size: 24px;
}

.nav-buttons {
  display: flex;
  gap: 5px;
}

.nav-btn {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #4361ee,
    #7209b7
  ); /* Gradient background */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white; /* White text on gradient */
  font-size: 12px;
  transition: all 0.3s ease;
  border: none;
}

.nav-btn:hover {
  background: linear-gradient(
    135deg,
    #3a56d4,
    #6308a0
  ); /* Darker gradient on hover */
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 0 3px 10px rgba(67, 97, 238, 0.3);
}

.nav-btn:active {
  transform: scale(0.95);
}

.nav-btn.hidden {
  display: none;
}

/* Free Quiz Section */
.free-quiz {
  margin-bottom: 20px;
}

/* Leaderboard Section */
.leaderboard-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0 30px;
  text-align: center;
}

.leaderboard-title {
  font-size: 32px;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.leaderboard-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 10%;
  width: 80%;
  height: 4px;
  background: linear-gradient(90deg, #4a6cf7, #8a63d2);
  border-radius: 2px;
}

.leaderboard-subtitle {
  color: #666;
  font-size: 16px;
  max-width: 80%;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 12px;
  background-color: #f8f9ff;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.leaderboard-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.rank {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 16px;
  position: relative;
  z-index: 2;
}

.rank-1 {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #333;
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.rank-2 {
  background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
  color: #333;
  box-shadow: 0 4px 8px rgba(192, 192, 192, 0.3);
}

.rank-3 {
  background: linear-gradient(135deg, #cd7f32, #a56a2b);
  color: white;
  box-shadow: 0 4px 8px rgba(205, 127, 50, 0.3);
}

.rank-other {
  background-color: #e6e9ff;
  color: #4a6cf7;
}

.user-info-leaderboard {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.msisdn {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 16px;
}

.points-badge {
  background: linear-gradient(135deg, #4361ee, #7209b7);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 3px 6px rgba(74, 108, 247, 0.2);
}

/* Top 3 Badges */
.top-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 20px;
  z-index: 2;
}

.top-1-badge {
  color: #ffd700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.top-2-badge {
  color: #c0c0c0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.top-3-badge {
  color: #cd7f32;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 450px;
  background-color: white;
  border-radius: 50px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  display: flex;
  justify-content: space-around;
}

.footer-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}

.footer-btn.active {
  background: linear-gradient(135deg, #4361ee, #7209b7);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.footer-btn i {
  font-size: 20px;
}

.footer-btn span {
  font-size: 12px;
}

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  display: none;
}

.popup {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  width: 300px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.popup h3 {
  margin-bottom: 15px;
  color: #333;
}

.popup p {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.5;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.popup-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.cancel-btn {
  background-color: #f0f0f0;
  color: #333;
}

.confirm-btn {
  background-color: #ff4d4f;
  color: white;
}

.redeem-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-title {
  color: #3a0ca3;
  font-weight: 700;
  margin-bottom: 5px;
  position: relative;
  display: inline-block;
}

.page-title:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60%;
  height: 4px;
  background: linear-gradient(to right, #4361ee, #7209b7);
  border-radius: 2px;
}

.page-subtitle {
  color: #6c757d;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.card-option {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  background: white;
  height: 100%;
  margin-bottom: 20px;
}

.card-option:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-option .card-body {
  padding: 25px 20px;
  text-align: center;
  position: relative;
}

.card-option .amount {
  font-size: 2rem;
  font-weight: 700;
  color: #3a0ca3;
  margin-bottom: 10px;
}

.card-option .amount span {
  font-size: 1rem;
  color: #6c757d;
}
.redeem-points {
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 13px;
  color: white;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
}

.card-option .redeem-points {
  color: #6c757d;
  margin-bottom: 20px;
  font-size: 1rem;
}

.card-option .redeem-points b {
  color: #f72585;
  font-size: 1.2rem;
}

.btn-redeem {
  background: linear-gradient(to right, #4361ee, #3f37c9);
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-redeem:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

.btn-redeem:active:not(:disabled) {
  transform: scale(0.98);
}

.btn-redeem:disabled {
  background: #ccc;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: #f72585;
  color: white;
  padding: 5px 30px;
  font-size: 0.8rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.coins-balance {
  background: linear-gradient(135deg, #4361ee, #7209b7);
  color: white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.coins-balance h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.coins-count {
  font-size: 1.8rem;
  font-weight: 700;
}

.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  max-width: 350px;
}

.notification {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  animation: slideIn 0.5s ease, fadeOut 0.5s ease 4.5s forwards;
  border-left: 4px solid #4cc9f0;
}

.notification.error {
  border-left-color: #f72585;
}

.notification-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  color: #4cc9f0;
}

.notification.error .notification-icon {
  color: #f72585;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.notification-message {
  color: #6c757d;
  font-size: 0.9rem;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(67, 97, 238, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
  }
}

.processing-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1060;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.processing-overlay.active {
  opacity: 1;
  visibility: visible;
}

.processing-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.processing-icon {
  font-size: 3rem;
  color: #4361ee;
  margin-bottom: 20px;
}

.progress-bar {
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  /* margin: 20px 0; */
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, #4361ee, #7209b7);
  width: 0%;
  transition: width 0.5s ease;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 15px 15px 85px 15px;
  }

  .quiz-sections {
    flex-direction: column;
  }

  footer {
    width: calc(100% - 60px);
    max-width: 400px;
  }

  .leaderboard-title {
    font-size: 28px;
  }
}

.support-container {
  padding: 20px 0;
}

.support-hero {
  text-align: center;
  margin-bottom: 30px;
  padding: 25px 20px;
  background: linear-gradient(135deg, #4361ee, #7209b7);
  border-radius: 15px;
  color: white;
}

.support-hero h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.support-hero p {
  font-size: 1rem;
  opacity: 0.9;
}

.support-section {
  margin-bottom: 30px;
}

.contact-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e1e5e9;
  margin-bottom: 25px;
}

.contact-card h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card h2 i {
  color: #667eea;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: #f8f9ff;
  margin: 0 -15px;
  padding: 15px 15px;
  border-radius: 10px;
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4361ee, #7209b7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-details h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
}

.contact-details p {
  margin: 4px 0 0 0;
  color: #666;
  font-size: 0.85rem;
}

.faq-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  border: 1px solid #e1e5e9;
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.faq-header h2 {
  color: #333;
  margin: 0;
  font-size: 1.3rem;
}

.faq-header i {
  color: #667eea;
  font-size: 1.3rem;
}

.faq-search {
  margin-bottom: 20px;
}

.search-box {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid #e1e5e9;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.search-box:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.faq-item {
  border: 1px solid #e1e5e9;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #667eea;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.1);
}

.faq-question {
  padding: 18px;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f8f9ff;
}

.faq-question h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  flex: 1;
  padding-right: 15px;
  line-height: 1.4;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background: #667eea;
  color: white;
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fafbff;
}

.faq-item.active .faq-answer {
  padding: 18px;
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.5;
  font-size: 0.9rem;
}
.no-results {
  text-align: center;
  padding: 30px 20px;
  color: #666;
}

.no-results i {
  font-size: 2.5rem;
  color: #ddd;
  margin-bottom: 10px;
}

.no-results h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
}

.no-results p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .contact-method {
    gap: 12px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

.gradient-text {
  background: linear-gradient(#4361ee, #7209b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: bold;
}

/* Quiz-Container */
.quiz-container {
  max-width: 800px;
  margin: 0 auto;
}

.quiz-header {
  background: linear-gradient(135deg, #4361ee, #7209b7);
  color: white;
  border-radius: 15px 15px 0 0;
  padding: 20px;
  text-align: center;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.quiz-box {
  background: #fff;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.quiz-progress {
  background: #f8f9fa;
  padding: 15px 20px;
  border-bottom: 1px solid #e9ecef;
}

.progress {
  height: 8px;
  border-radius: 10px;
  background: #e9ecef;
}

.progress-bar {
  background: linear-gradient(45deg, #4a6cf7, #8a63d2);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.timer-container {
  background: linear-gradient(135deg, #4361ee, #7209b7);
  padding: 15px 20px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.timer-label {
   color: white;
   font-size: 1.1rem;
   font-weight: 600;
   text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.timer {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e74c3c;
  background: #ffeaea;
  padding: 8px 15px;
  border-radius: 25px;
  border: 2px solid #ffcccc;
}

.timer.warning {
  background: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
}

.timer.danger {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.question-area {
  padding: 30px;
}

.question-content {
  margin-bottom: 30px;
}

.question-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.5;
  margin-bottom: 20px;
}

.question-media {
  text-align: center;
  margin-bottom: 20px;
}

.question-media img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.question-media video {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.options-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr;
}

.option-btn {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
}

.option-btn:hover {
  border-color: #4a6cf7;
  background: #f8faff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 108, 247, 0.1);
}

.option-btn:active {
  transform: translateY(0);
}

.option-letter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #4a5568;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.option-btn:hover .option-letter {
  background: #4a6cf7;
  border-color: #4a6cf7;
  color: white;
}

.option-text {
  flex: 1;
}

.option-image {
  max-width: 80px;
  max-height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.quiz-completed {
  text-align: center;
  padding: 50px 30px;
}

.completed-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 20px;
}

.score-display {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 10px;
}

.score-subtitle {
  color: #718096;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.score-text {
  color: #718096;
  font-size: 0.8rem;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .quiz-container {
    margin: 10px;
  }

  .question-area {
    padding: 20px;
  }

  .question-text {
    font-size: 1.1rem;
  }

  .option-btn {
    padding: 15px;
  }

  .options-grid {
    gap: 10px;
  }
}

.btn-cool {
  position: relative;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.btn-cool-primary {
  background: linear-gradient(135deg, #4361ee, #7209b7);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-cool-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
  color: white;
  text-decoration: none;
}

.btn-cool-primary:active {
  transform: translateY(-1px);
}

.btn-cool-outline {
  background: transparent;
  color: #667eea;
  border: 2px solid #7209b7;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.btn-cool-outline:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  text-decoration: none;
}

/* Ripple effect */
.btn-cool::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-cool:hover::before {
  width: 300px;
  height: 300px;
}

/* Icon animations */
.btn-cool i {
  transition: transform 0.3s ease;
}

.btn-cool:hover i {
  transform: translateX(3px);
}

/* Specific button styles */
.quiz-completed {
  text-align: center;
  padding: 0 30px;
}

.completed-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.score-display {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.score-subtitle {
  color: #718096;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Free category completion message */
.free-completion {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #10b981;
}

.premium-badge {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #000;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 15px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cool {
    padding: 12px 25px;
    font-size: 1rem;
    min-width: 200px;
  }
}
