body {
box-sizing: border-box;
 font-family: 'Poppins', sans-serif;
background: radial-gradient(circle at 10% 20%, rgba(23, 32, 49, .8), transparent 40%), radial-gradient(circle at 90% 30%, rgba(35, 45, 65, .7), transparent 50%), radial-gradient(circle at 50% 80%, rgba(23, 32, 49, .6), transparent 60%), radial-gradient(circle at 30% 50%, rgba(45, 55, 75, .7), transparent 70%), radial-gradient(circle at 70% 10%, rgba(23, 32, 49, .8), transparent 80%);
color: #e0e6ed;
margin: 0;
padding: 0px;
min-height: 100%;
}
.container {
max-width: 450px !important;
margin: 0 auto;
padding: 10px;
padding-top: 0px;
background: #172031;

box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.coins{
  cursor: pointer;
}
.header {
text-align: center;
margin-bottom: 0px;
}
.ads-placement-cover {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo {
font-size: 2.2rem;
font-weight: 800;
margin-bottom: 8px;
/*background: linear-gradient(45deg, #00d4ff, #0099cc);*/
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.tagline {
font-size: 0.9rem;
opacity: 0.7;
margin-bottom: 20px;
color: #9ca3af;
}

.quiz-card {
   max-width: 100%;
    width: 100%;
    background-color: #3b4559;
    display: block;
    margin: 40px auto;
    position: relative;
    border-radius: 16px;
    padding: 30px 10px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    margin-top: 60px;
}
#optionsContainer .option{
        background-color: #172031;
    width: 100%;
    height: 100%;
    padding: 10px;
    border-radius: 6px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    border: none;
}

.question-counter {
text-align: center;
font-size: 0.9rem;
opacity: 0.8;
margin-bottom: 20px;
margin-top: 20px;
}

.progress-bar {
width: 100%;
height: 6px;
background: rgba(255, 255, 255, 0.2);
border-radius: 3px;
margin-bottom: 30px;
overflow: hidden;
}

.progress-fill {
height: 100%;
background: linear-gradient(90deg, #ffd700, #ffed4e);
border-radius: 3px;
transition: width 0.5s ease;
width: 0%;
}

.question {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 25px;
line-height: 1.4;
text-align: center;
}

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

.option {
background: linear-gradient(145deg, #1e1e2e, #2a2a3e);
border: 2px solid rgba(75, 85, 99, 0.3);
color: #e0e6ed;
padding: 18px 20px;
border-radius: 16px;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.95rem;
font-weight: 500;
text-align: center;
position: relative;
overflow: hidden;
min-height: 55px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.option:hover {
background: linear-gradient(145deg, #2a2a3e, #3a3a4e);
border-color: rgba(0, 212, 255, 0.4);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 212, 255, 0.2);
}

.option.selected {
background: linear-gradient(145deg, #ff6b35, #ff8c42);
border-color: #ff6b35;
color: #ffffff;
box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 0 20px rgba(255, 107, 53, 0.3);
}

.option.correct {
background: linear-gradient(145deg, #10b981, #059669);
border-color: #10b981;
color: #ffffff;
box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.option.wrong {
background: linear-gradient(145deg, #ef4444, #dc2626);
border-color: #ef4444;
color: #ffffff;
box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.option::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
transition: left 0.5s ease;
}

.option:hover::before {
left: 100%;
}

.next-btn {
background: linear-gradient(45deg, #ffd700, #ffed4e);
color: #333;
border: none;
padding: 15px 40px;
border-radius: 25px;
font-size: 1.1rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
display: block;
margin: 0 auto;
opacity: 0.5;
pointer-events: none;
}

.next-btn.active {
opacity: 1;
pointer-events: auto;
}

.next-btn:hover.active {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.score-display {
text-align: center;
font-size: 1.2rem;
margin-bottom: 20px;
}

.score-number {
font-size: 2rem;
font-weight: bold;
color: #ffd700;
}

.result-card {
text-align: center;
}

.result-title {
font-size: 2rem;
font-weight: bold;
margin-bottom: 20px;
color: #ffd700;
}

.result-message {
font-size: 1.2rem;
margin-bottom: 30px;
opacity: 0.9;
}

.restart-btn {
background: linear-gradient(45deg, #667eea, #764ba2);
color: #fff;
border: 2px solid rgba(255, 255, 255, 0.3);
padding: 15px 40px;
border-radius: 25px;
font-size: 1.1rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
}

.restart-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.fun-fact-card {
background: linear-gradient(145deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
border: 1px solid rgba(16, 185, 129, 0.2);
border-radius: 16px;
padding: 20px;
margin-bottom: 25px;
position: relative;
}

.fun-fact-label {
color: #10b981;
font-size: 0.8rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 8px;
}

.fun-fact-text {
color: #d1d5db;
font-size: 0.85rem;
line-height: 1.4;
}

.bottom-section {
background: linear-gradient(145deg, rgba(26, 26, 46, 0.6), rgba(22, 33, 62, 0.4));
border: 1px solid rgba(0, 212, 255, 0.1);
border-radius: 20px;
padding: 25px;
margin-top: 20px;
}

.bottom-title {
color: #00d4ff;
font-size: 1.1rem;
font-weight: 700;
margin-bottom: 15px;
text-align: center;
}

.bullet-points {
list-style: none;
padding: 0;
margin: 0;
}

.bullet-points li {
color: #9ca3af;
font-size: 0.9rem;
margin-bottom: 8px;
padding-left: 20px;
position: relative;
}

.bullet-points li::before {
content: '•';
color: #00d4ff;
font-weight: bold;
position: absolute;
left: 0;
}

.stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
margin-top: 30px;
}

.stat-item {
background: linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.6));
border: 1px solid rgba(0, 212, 255, 0.1);
padding: 20px;
border-radius: 16px;
text-align: center;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
font-size: 1.8rem;
font-weight: bold;
color: #ffd700;
}

.stat-label {
font-size: 0.9rem;
opacity: 0.8;
margin-top: 5px;
}
.ads-container {
    width: 100%;
    max-width: 100%;
    margin: 2px auto;
    margin-top: 0px;
    padding-top: 0px;
    text-align: center;
    position: relative;
}
.ads {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.ads-label {
    font-size: 12px;
    color: #f0e7e7;
    margin-top: 5px;
    text-transform: uppercase;
}
.ads-label {
    margin-top: 5px;
    text-align: center;
    margin-bottom: 10px;
}

/*----Question counter -------------*/

#questionCounter {
    max-width: 150px;
    width: 100%;
    border-radius: 50px;
    padding: 5px;
    border: 4px solid #3b4559;
    display: block;
    margin: 0 auto;
    text-align: center;
    position: absolute;
    top: -23px;
    background-color: #172031;
    left: 50%;
    right: 50%;
    transform: translate(-50%,-50%);
    z-index: 999;
}

/*------- End ----------------------*/
body .margin-top-20px{
  margin-top: 20px;
}
/*------ Bttom Section -------------------------*/

/* Featured Section */
.bottom-content{
  margin-top: 15px;
}
.bottom-content .featured-section {
    background: #3b4559;
    padding: 20px;
    border-radius: 10px;
    margin: 5px 0;
}

.bottom-content .featured-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: center;
}

.bottom-content .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 15px;
    gap: 15px;
    margin-top: 15px;
}

.bottom-content .feature-item {
    background: #172031;
    padding: 15px;
    border-radius: 8px;
    color: #fff;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.bottom-content .feature-item h5 {
    margin-bottom: 8px;
    color: #fff;
}

.bottom-content .feature-item p {
    font-size: 0.9rem;
    color: #a09e9e;
    margin: 0;
}

/* How To Play Section */
.bottom-content .how-to-play {
    background: #3b4559;
    padding: 20px;
    border-radius: 10px;
}

.bottom-content .how-to-play h3 {
    color: #fff;
    margin-bottom: 15px;
}

.bottom-content .play-steps {
    padding-left: 20px;
}

.bottom-content .play-steps li {
    margin-bottom: 10px;
    color: #fff;
}

/* Fact Box */
.bottom-content .fact_box {
    background-color: #3b4559;
    padding: 15px;
    border-radius: 16px;
    text-align: center;
}

.bottom-content .fact_box h5 {
    font-size: 18px;
    font-weight: 600;
}

/* Quiz Rules */
.bottom-content .quiz_rules {
    padding-top: 40px;
    width: 100%;
}

.bottom-content .quiz_rules h3 {
    font-size: 20px;
    font-weight: 600;
    border-bottom: 2px solid;
    display: block;
    margin: 0 auto;
    width: fit-content;
    padding-bottom: 10px;
}
.hide-index{
    z-index: -1;
    opacity: 0;
}
/* Responsive */
@media (max-width: 768px) {
    .bottom-content .features-grid {
        grid-template-columns: 1fr;
    }

    .bottom-content .featured-section,
    .bottom-content .how-to-play {
        padding: 15px;
    }
}


/*----- Result--model----*/
.show_modal {
    width: 100%;
    height: 90vh;
    position: absolute;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center
}

.show_modal .modal_body {
    max-width: 380px;
    position: absolute;
    display: block;
    margin: 0 auto;
    background-color: #fff;
    width: 100%;
    top: 30%;
    border-radius: 8px;
    padding: 10px
}

.show_modal .modal_body .close_modal_btn {
    position: absolute;
    right: 10px;
    color: #000;
    font-size: 24px
}

.show_modal .modal_body .modal_content img {
    animation: flip 3s infinite;
    margin: 20px auto 5px;
    display: block
}

.show_modal .modal_body .modal_content h3 {
    text-align: center;
    color: #172031;
    font-size: 20px
}

.show_modal .modal_body .modal_content h3 b {
    font-size: 22px;
    color: #ffb540;
}

@keyframes flip {
    0% {
        transform: rotateY(0deg)
    }

    50% {
        transform: rotateY(180deg)
    }

    to {
        transform: rotateY(1turn)
    }
}


/**-------- Popup close ---------------*/

/* Overlay background */
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  /* Popup box */
  .popup-box {
    background: #111827;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 40px;
    width: 90%;
    max-width: 480px;
    text-align: center;
    color: #fff;
    position: relative;
    animation: fadeIn 0.4s ease-in-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }

  /* Close button */
  .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
  }

  .popup-box img {
    animation: flip 3s infinite;
    margin: 20px auto 5px;
    display: block
  }

  .popup-box h2 {
    margin: 10px 0;
  }

  .popup-box .new-reward {
    color: #ffb540;
    font-size: 18px;
    font-weight: 600;
  }

  .popup-box .get-coins {
    font-size: 26px;
    font-weight: 700;
  }

  .popup-box p {
    color: #9ca3af;
    margin-bottom: 25px;
  }

  
  .claim-button {
    background-color: #ffb540;
    box-shadow: 0 10px 50px -20px rgba(255,181,64,.9),0 20px 60px -30px rgba(0,0,0,.9);
    font-weight: 700;
    color: #000;
    border-radius: 1.5rem;
    border: none;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

  .claim-button:hover {
    background: #ffb540;
  }
.quiz-wrapper h3,.quiz-wrapper h2{
  color:#ffb540;
}
/* Result Container */
.result-container {
  padding: 2px;
  background: #1a2332;
  border-radius: 12px;
  
  margin: 10px auto;
  margin-top: 10px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* Result Box */
.result-container .result_box {
  text-align: center;
  background: #2a3446;
  padding: 25px 20px;
  border-radius: 16px;
  margin-bottom: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.result-container .result_box:hover {
  transform: translateY(-5px);
}

.result-container .winner_img {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 15px;
  border-radius: 12px;
}

.result-container .result_box h3 {
  font-size: 20px;
  margin: 10px 0;
  color: #ffd700;
  font-weight: 600;
}

.result-container .coin_set {
  color: #00d4ff;
  font-weight: 700;
}

/* Button */
.result-container .play_now_btn {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #1a1a1a;
  border: none;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}

.result-container .play_now_btn:hover {
  background: linear-gradient(45deg, #ffed4e, #ffd700);
  transform: scale(1.05);
}

/* Quiz Rules */
.result-container .quiz_rules {
  background: #2a3446;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.result-container .quiz_rules h3 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #00d4ff;
  margin-bottom: 15px;
  border-bottom: 2px solid #00d4ff;
  display: inline-block;
  padding-bottom: 5px;
}

.result-container .quiz_rules_set {
  list-style-type: disc;
  margin: 0 auto;
  max-width: 600px;
  padding-left: 20px;
  color: #e0e6ed;
  line-height: 1.6;
}

.result-container .quiz_rules_set li {
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 600px) {
  .result-container {
    padding: 15px;
  }

  .result-container .winner_img {
    max-width: 150px;
  }

  .result-container .result_box h3 {
    font-size: 18px;
  }

  .result-container .quiz_rules h3 {
    font-size: 18px;
  }
}





/*-------End ----------**/


/*----- End ------*/

/*-------------- End -----------------------*/

@media (max-width: 480px) {
.container {
    padding: 0 10px;
    padding-top: 0px;
}

.quiz-card {
    padding: 5px;
    margin-bottom: 10px;
}

.logo {
    font-size: 1.8rem;
}

.question {
    font-size: 1.1rem;
}

.option {
    padding: 12px 15px;
    font-size: 0.9rem;
    min-height: 45px;
}

.options {
    gap: 10px;
}

.score-display {
    font-size: 1.1rem;
}

.score-number {
    font-size: 1.8rem;
}
}


/* --- Quiz category css -----------------*/
.quiz-category {
  /* Sidebar */
  .sidebar {
    position: absolute;
    left: -10px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    transition: left 0.3s ease;
    z-index: 1000;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    display: none;
  }

  .sidebar.open {
    left: -10px;
    display: block;
  }

  .sidebar-header {
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sidebar-header h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 5px;
  }

  .sidebar-header p {
    color: #a0a0a0;
    font-size: 14px;
  }

  .sidebar-menu {
    padding: 20px 0;
  }

  .menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
  }

  .menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #667eea;
  }

  .menu-item-icon {
    font-size: 24px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
  }

  .menu-item-text {
    font-size: 16px;
  }

  .sidebar-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sidebar-footer .menu-item {
    padding: 10px;
  }

  /* Overlay */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Top Bar */
  .top-bar {
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
   margin-bottom: 15px;
    z-index: 100;
  }

  .menu-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
  }

  .logo {
    color: white;
    font-size: 28px;
    font-weight: bold;
   -webkit-text-fill-color:#ffb540;
    letter-spacing: 1px;
    margin: 0px;
    color: #ffb540;
  }

  .coins {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 20px;
    border-radius: 25px;
    border: 2px solid #ffb540;
    color: white;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  /* Category Bar */
  .category-bar {
    
    padding: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   
    z-index: 99;
  }

  .arrow {
   
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  }

  .category-scroll {
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    
  }

  .category-scroll::-webkit-scrollbar {
    display: none;
  }

  .category-tabs {
    display: flex;
    gap: 10px;
    padding: 0 5px;
  }

  .tab {
    background: #f0f0f0;
    border: none;
    padding: 5px 5px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: #555;
  }

  .tab:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
  }

  .tab.active {
    background: #ffb540;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  }

  /* Quiz List */
  .quiz-list {
    padding: 10px;
    max-width: 100%;
    margin: 0 auto;
  }
  span#coin-count {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }
  span#coin-count img{
    width: 15px;
    height: auto;
  }
  .quiz-card {
    background: transparent;
    border: 1px solid hsla(0, 0%, 68%, .6);
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
  }

  .quiz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: #ffb540;
  }

  .quiz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  }

  .quiz-card-icon {
    width: 80px;
    height: 80px;
    
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  }

  .details {
    flex: 1;
  }

  .category {
    color: #ffb540;
    font-size: 10px;
    line-height: 22px;
    font-weight: 600;
    margin-bottom: 0px;
    text-transform: uppercase;
    
  }

  .details h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
  }

  .entry-fee {
    font-size: 13px;
    background: hsla(0,0%,50%,.259);
    display: flex;
    padding: 2px 7px;
    margin-top: 7px;
    border-radius: 50px;
    align-items: center;
    max-width: -moz-fit-content;
    max-width: fit-content;
    gap: 5px;
  }

  .play-btn {
    background: #ffb540;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    flex-shrink: 0;
    position: relative;
  }
svg.play_icon{
    position: absolute;
    left: 34%;
}
  .play-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  }

  /* Responsive */
  @media (max-width: 768px) {
    .logo {
      font-size: 22px;
    }

    .coins {
      padding: 8px 15px;
      font-size: 16px;
    }

    .quiz-card {
      flex-direction: row;
      text-align: center;
    }

    .quiz-card::before {
      width: 100%;
      height: 5px;
    }

    .quiz-card-icon {
      width: 70px;
      height: 70px;
      font-size: 35px;
    }

    .play-btn {
      width: 50px;
      height: 50px;
      font-size: 20px;
    }
  }
}

.quiz-category{
    position: relative;
}


.close-sidebar-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 28px;
  font-weight: bold;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}
button#closeSidebar {
    position: absolute;
    top: 20px;
    right: 10px;
}
.quiz-card {
  cursor: pointer;
}
/*----------------   End ---------------*/


/*----------- Quiz play game -----------------*/

 .quiz-wrapper {
  background: #1e293b;
  border-radius: 10px;
  width: 450px;
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
  padding: 20px;
  position: relative;
}

#play-quiz-wrapper .quiz-wrapper h2 {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 6px;
}

#play-quiz-wrapper .quiz-wrapper h3 {
  font-size: 14px;
  font-weight: normal;
  color: #d1d5db;
  margin: 0 0 15px;
}

/* Score circles */
#play-quiz-wrapper .scoreboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#play-quiz-wrapper .score-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
}

#play-quiz-wrapper .correct {
  background: #16a34a;
}

#play-quiz-wrapper .wrong {
  background: #dc2626;
}

/* Timer */
#play-quiz-wrapper .timer {
  border: 4px solid #f59e0b;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  line-height: 62px;
  color: #fbbf24;
  font-weight: bold;
  font-size: 18px;
  margin: 10px auto;
}

#play-quiz-wrapper .question-box {
  background: #334155;
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
}

#play-quiz-wrapper .question-count {
  background: #111827;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  color: #fff;
  margin-bottom: 10px;
}

#play-quiz-wrapper .question-text {
  font-size: 16px;
  margin-bottom: 15px;
}

#play-quiz-wrapper .options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#play-quiz-wrapper .option {
  background: #1e293b;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: 0.2s;
}

#play-quiz-wrapper .option:hover {
  background: #475569;
}

#play-quiz-wrapper .option.correct {
  background: #16a34a !important;
}

#play-quiz-wrapper .option.wrong {
  background: #dc2626 !important;
}

#play-quiz-wrapper .score-text {
  margin-top: 15px;
  color: #fbbf24;
  font-weight: bold;
}

#play-quiz-wrapper .close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  color: #fff;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}


#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.35);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* === Hidden state after load === */
#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
}
.ads-label {
    font-size: 12px;
    color: #fff;
    margin-top: 5px;
    text-transform: uppercase;
}
/* === Spinner === */
.loader {
  width: 45px;
  height: 45px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #fbbf24; /* yellow accent */
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



@media (max-width: 768px) {
    .popup-box {
        padding: 9px;
        width: 97%;
    }
}



/*-------------- End -----------------*/