/* Custom styles */
body {
    padding-bottom: 70px; /* Space for bottom navigation */
}

.option-btn.correct {
    background-color: #ffedd5;
    border-color: #2e742e;
    color: #4b790f;
    font-weight: bold;
}

.option-btn.wrong {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #b91c1c;
    font-weight: bold;
}

/* Animation for options */
.option-btn {
    transition: all 0.3s ease;
}

/* Ad placeholder */
.ad-placeholder {
    background-color: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    height: 5rem;
}

 .single-container {
            max-width: 550px !important;
            /* Increased width for better content display */
            padding: 2.5rem;
            background: linear-gradient(135deg, #faf8f8 0%, #9e9c97 100%);


            position: relative;
            overflow: hidden;
        }

        .single-container::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #ff6b6b, #ff8e53, #4A00E0, #8E2DE2);
            z-index: 2;
        }
/* Character spotlight styling */
.character-spotlight {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.9) 0%, rgba(255, 142, 83, 0.9) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.character-spotlight h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.4);
}

.character-spotlight p {
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.6;
}

/* Pro tip styling */
.pro-tip {
    background: linear-gradient(135deg, rgba(74, 0, 224, 0.9) 0%, rgba(142, 45, 226, 0.9) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pro-tip h3 {
    color: #FFD700;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
}

.pro-tip p {
    color: #ecf0f1;
    font-weight: 500;
    line-height: 1.6;
}

/* Character icon styling */
.w-16.h-16.rounded-full {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #3498db, #8e44ad);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .single-container {
        padding: 3rem;
    }
    
    .character-spotlight, .pro-tip {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .single-container {
        padding: 4rem;
    }
}

body {
  background-color: #fffef0 !important; /* light yellow */
  color: #333 !important;
}

.text-ff-orange {
  color: #f97316 !important;
}

.bg-ff-orange {
  background-color: #f97316 !important;
  color: white !important;
}

.bg-green-100 {
  background-color: #d1fae5 !important;
  color: lab(24.16% -23.14 5.22 / 0.842) !important;
}

header .bg-white {
  border: 2px solid #facc15 !important;
  color: #f59e0b !important;
}

a.bg-white {
  background-color: #ffffff !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06) !important;
  transition: transform 0.2s !important;
}
a.bg-white:hover {
  transform: scale(1.01) !important;
}

.container + .container {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background-color: white !important;
  border-top: 1px solid #e5e7eb !important;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05) !important;
  z-index: 50 !important;
}

.container + .container a {
  color: #6b7280 !important;
  font-size: 0.875rem !important;
  text-align: center !important;
  transition: color 0.2s !important;
}

.container + .container a:hover {
  color: #facc15 !important;
}

.container + .container a:nth-child(2) {
  color: #facc15 !important;
  font-weight: 600 !important;
}
/* Pop up for ads show in index page */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    opacity: 0;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 1000;
    pointer-events: none;
}

.popup-content {
    position: relative;
    height: auto;
    border: 1px solid #888;
    color: #fff;
    border-radius: 5px;
    margin: 0 auto;
    width: 600px;
    padding: 10px;
    position: absolute;
    pointer-events: auto;
    z-index: 1001;
}

.close-popup {
    outline: none;
    background-color: #ffffff;
    border: 1px solid #000;
    border-radius: 20%;
    color: #000;
    cursor: pointer;
    font-family: arial;
    font-size: 25px;
    font-weight: 700;
    height: 30px;
    line-height: 25px;
    margin-bottom: 10px;
    position: relative;
    text-align: center;
    width: 30px;
    z-index: 1003;
}


@media screen and (max-width: 640px) {
    .popup-content {
        width: 350px;
    }
}

@media screen and (max-width: 470px) {
    .popup-content {
        width: 100%;
    }
}

