:root {
    --lagos-yellow: #FFD700;
    --lagos-white: #FFFFFF;
    --lagos-green: #008000;
    --lagos-red: #FF0000;
    --lagos-blue: #000080;
    --lagos-light-gray: #f8f9fa;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
}

.form_error,
.formError {
    font-size: 12px;
    color: red !important
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 128, 0.7), rgba(0, 0, 128, 0.7)), url('/images/lagos-hero-bg.jpg') no-repeat center center/cover;
    color: var(--lagos-white);
    padding: 150px 0 100px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 128, 0.5); */
}

.hero-content {
    position: relative;
    z-index: 1;
}



/* --- Header Image Section (Replaced Hero) --- */
.header-image-section {
    background-position: top;
    /* Adjusted to better show the abstract financial theme */
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
}

.header-image-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.header-image-section p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lagos-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--lagos-yellow);
    border-radius: 2px;
}

.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img-top {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    height: 200px;
    object-fit: cover;
}

.btn-primary {
    background-color: var(--lagos-blue);
    border-color: var(--lagos-blue);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 500;
    color: var(--lagos-blue);
    border-color: var(--lagos-blue);
}

.btn-outline-primary:hover {
    background-color: var(--lagos-blue);
    color: white;
}

.btn-google {
    background-color: #dd4b39;
    color: white;
    border-radius: 50px;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-facebook {
    background-color: #3b5998;
    color: white;
    border-radius: 50px;
    padding: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.btn-lasrra {
    background-color: var(--lagos-yellow);
    color: #000;
    border-radius: 50px;
    padding: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.social-login-btn i {
    margin-right: 10px;
}

.quiz-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.quiz-card:hover {
    transform: translateY(-5px);
}

.quiz-single-card {
    border: none;
    border-radius: 1rem;
    background-color: #fff;
}

.quiz-single-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-single-card .card-title a {
    transition: color 0.2s ease-in-out;
}

.quiz-single-card .card-title a:hover {
    color: var(--bs-primary) !important;
}

/* Styling for the new metadata badges */
.quiz-metadata-badges .badge {
    font-size: 0.8rem;
    padding: 0.5em 1em;
    font-weight: 500;
}

/* --- Responsive Styling --- */

/* For small screens (mobile-first approach) */
.quiz-single-image {
    height: 250px;
}

/* For large screens (992px and up) */
@media (min-width: 992px) {
    .quiz-single-image {
        height: 100%;
    }
}

.quiz-info {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.9rem;
}

.leaderboard-tab {
    cursor: pointer;
    padding: 12px 25px;
    background-color: var(--lagos-light-gray);
    border-radius: 50px;
    margin: 0 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.leaderboard-tab.active {
    background-color: var(--lagos-blue);
    color: white;
}

.leaderboard-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.leaderboard-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--lagos-yellow);
    color: var(--lagos-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.update-card,
.engaging-post {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.update-card h3,
.engaging-post h3 {
    color: var(--lagos-blue);
    margin-bottom: 15px;
}

.modal-content {
    border-radius: var(--border-radius);
    border: none;
}

.modal-header {
    border-bottom: none;
    padding: 20px 30px;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    background-color: var(--lagos-blue);
    color: white;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: none;
    padding: 20px 30px 30px;
}

.signup-step {
    display: none;
}

.signup-step.active {
    display: block;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--lagos-light-gray);
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-weight: bold;
}

.step.active {
    background-color: var(--lagos-blue);
    color: white;
}

.step.completed {
    background-color: var(--lagos-green);
    color: white;
}

.connector {
    height: 2px;
    background-color: var(--lagos-light-gray);
    flex-grow: 1;
    margin: 0 10px;
    align-self: center;
}

.connector.active {
    background-color: var(--lagos-blue);
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin: 0 15px;
}

.testimonial-card p {
    font-style: italic;
}

.testimonial-card .testimonial-author {
    margin-top: 20px;
    font-weight: bold;
    color: var(--lagos-blue);
}

.leaderboard-table {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-top: 30px;
}

.leaderboard-table table {
    width: 100%;
}

.leaderboard-table th {
    background-color: var(--lagos-blue);
    color: white;
    padding: 12px;
    text-align: left;
}

.leaderboard-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.leaderboard-table-container {
    max-height: 400px;
    overflow-y: auto;
}

.section-bg {
    background-color: var(--lagos-light-gray);
}

.updates-section {
    background-color: var(--lagos-white);
}

.update-card {
    background: linear-gradient(135deg, var(--lagos-white) 0%, var(--lagos-light-gray) 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin: 0 15px;
}

.prize-winner-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin: 0 15px;
    text-align: center;
}

.prize-winner-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.prize-winner-card .prize-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 10px auto;
}

/* Custom styles for Slick slider */
.slick-slider {
    position: relative;
    margin: 0 auto;
}

.slick-prev:before,
.slick-next:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 24px;
    color: var(--lagos-blue);
    opacity: 1;
}

.slick-prev:before {
    content: '\f053';
    /* Left arrow icon */
}

.slick-next:before {
    content: '\f054';
    /* Right arrow icon */
}

.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}

.slick-prev:hover,
.slick-next:hover {
    background: var(--lagos-blue);
    color: white;
}

.slick-prev:hover:before,
.slick-next:hover:before {
    color: white;
}

.slick-dots {
    bottom: -30px;
}

.slick-dots li button:before {
    font-size: 10px;
    color: var(--lagos-blue);
}

.slick-dots li.slick-active button:before {
    color: var(--lagos-blue);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 70px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .step-indicator {
        margin-bottom: 20px;
    }

    .step {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .slick-prev {
        left: -10px;
    }

    .slick-next {
        right: -10px;
    }

    .slick-dots {
        bottom: -20px;
    }
}



/* ==================== # Page modal ================== */
.verify-page-modal {
    background: linear-gradient(to right, rgba(41, 192, 41, 0.7), rgba(231, 235, 36, 0.8));
    box-sizing: border-box;

}

.verify-page-modal * {
    box-sizing: border-box;
}

.verify-page-modal .modal-content {
    background: #FFF;
    color: #161616;
    box-shadow: 2px 2px 4px 4px var(--lagos-blue);
    border-radius: 16px;
    max-width: 450px;
}

.verify-page-modal .modal-content .modal-header h4 {
    font-size: 18px;
}

.verify-page-modal .modal-title {
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 170%;
    text-align: center;
    letter-spacing: -0.02em;
    color: #000000;
}

.verify-page-modal .form-container {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    padding: 10px 20px;
}

.verify-page-modal .modal-title-info {
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    align-items: center;
    text-align: center;
    letter-spacing: -0.02em;
    color: #292828;
}

.verify-page-modal .text-link {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: -0.02em;
    color: var(--lagos-green);
    text-decoration: none;
    cursor: pointer;
}

.verify-page-modal .text-normal {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: -0.02em;
    color: #141B34;
}

.verify-page-modal .btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #FFF !important;
}

.verify-page-modal .sx-btn-alt {
    background-color: var(--lagos-blue);
    color: #FFF;
}

.digit6 {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.digit6 input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    border: 2px solid #ccc;
    border-radius: 10px;
    opacity: 0.4;
    padding: 1rem 1rem !important;
    transition: opacity 0.3s, box-shadow 0.3s;
}

/* For Chrome, Safari, Edge, and Opera */
.digit6 input::-webkit-outer-spin-button,
.digit6 input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* For Firefox */
.digit6 input {
    -moz-appearance: textfield;
}

.digit6 input.filled {
    opacity: 1;
    border: 1px solid var(--lagos-blue) !important;
    box-shadow: 0 0 5px 2px rgba(0, 123, 255, 0.5);
    /* Blue shade box-shadow */
}

.area-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 999999;
    left: 0px;
    top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, rgba(161, 160, 160, 0.6), rgba(140, 138, 138, 0.6));
    color: #FFF;
    font-size: 40px;
}

.area-overlay .message {
    font-size: 18px;
    font-weight: bold;
}

.block-overlay {
    position: fixed;
    top: 0;
    left: 0;
    /* background-color: rgba(255, 255, 255, 0.7); */
    background: linear-gradient(to right, rgba(233, 236, 89, 0.89), rgba(80, 28, 224, 0.8));
    /* semi-transparent */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    pointer-events: all;
    text-align: center;
    color: #030d61;
}

.block-overlay .fa-spinner {
    margin-bottom: 10px;
}


/* QUESTION PARTOICIPATION AREA */
/* --- Main Quiz Card --- */
body.question-ppa .quiz-card {
    background-color: var(--lagos-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: none;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* --- Header: Timer & Progress --- */
body.question-ppa .quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

body.question-ppa .timer {
    position: fixed;
    z-index: 9999;
    left: 0px;
    top: 0px;
    font-size: 0.9rem;
    color: var(--lagos-primary);
    background: linear-gradient(to left, rgba(14, 8, 39, 0.76), rgba(15, 10, 37, 0.76));
    color: #ffffff;
    padding: 3px 5px;
    border-radius: 5px;
}

body.question-ppa .progress-container {
    flex-grow: 1;
    margin: 0 1.5rem;
}

/* --- Question Navigation --- */
body.question-ppa .question-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

body.question-ppa .question-nav-item {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lagos-white);
    border: 1px solid #ced4da;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

body.question-ppa .question-nav-item:hover {
    background-color: var(--lagos-gray);
    transform: translateY(-2px);
}

body.question-ppa .question-nav-item.active {
    background-color: var(--lagos-primary) !important;
    color: var(--lagos-white);
    border-color: var(--lagos-primary);
    font-weight: 700;
}

body.question-ppa .question-nav-item.answered {
    background-color: var(--lagos-green);
    color: var(--lagos-white);
    border-color: var(--lagos-green);
}

body.question-ppa .question-nav-item.waiting {
    background-color: rgb(238, 199, 93);
    color: #000;
    border-color: var(--lagos-green);
}

body.question-ppa .question-nav-item.disabled {
    pointer-events: none;
    opacity: 0.6;
}

/* --- Question Container --- */
body.question-ppa .question-container {
    padding: 1.5rem;
}

body.question-ppa .question-container.active {
    display: block;
}

body.question-ppa .question-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--lagos-text);
    margin-bottom: 1.5rem;
}

/* Full clickable box */
body.question-ppa .form-check {
    display: block;
    padding: 1rem !important;
    margin-bottom: 1rem;
    background-color: var(--lagos-white);
    border-radius: var(--border-radius);
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* Hover style */
body.question-ppa .form-check:hover {
    border-color: var(--lagos-primary);
}

/* Hide native checkbox */
body.question-ppa .form-check-input {
    display: none;
}

/* Option text */
body.question-ppa .form-check-label {
    display: block;
    font-size: 1rem;
}

/* Style for when an option is selected */
body.question-ppa .options .form-check.selected {
    background-color: var(--lagos-light-green);
    border-color: var(--lagos-green);
    font-weight: 500;
}

/* Base style for review options */
body.question-ppa .options .form-check.review {
    border: 1px solid var(--border-color, #ccc);
    padding: 0.75rem;
    border-radius: var(--border-radius, 6px);
    position: relative;
    margin-bottom: 1rem;
    background-color: var(--lagos-white);
    font-weight: 400;
    display: flex;
    align-items: center;
    pointer-events: none;
}

/* User selected this option */
body.question-ppa .options .form-check.review.selected {
    background-color: #fff8e1;
    /* light yellow to indicate user's choice */
    border-color: #ffca28;
}

/* This option is the correct answer */
body.question-ppa .options .form-check.review.correct {
    background-color: #e8f5e9;
    /* light green */
    border-color: #4caf50;
    font-weight: 500;
}

/* Correct AND selected — success highlight */
body.question-ppa .options .form-check.review.selected.correct {
    background-color: #d0f0c0;
    /* brighter green */
    border-color: #388e3c;
}

/* Selected but wrong — danger highlight */
body.question-ppa .options .form-check.review.selected:not(.correct) {
    background-color: #ffebee;
    /* light red */
    border-color: #e53935;
}

/* Correct but not selected — still highlight correct answer */
body.question-ppa .options .form-check.review.correct:not(.selected) {
    background-color: #e0f2f1;
    border-color: #26a69a;
}

/* Add FA icon with pseudo-element for correct options */
body.question-ppa .options .form-check.review.correct::before {
    content: "\f00c";
    /* fa-check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #2e7d32;
    margin-right: 0.75rem;
}

/* Add FA icon with pseudo-element for wrong selection */
body.question-ppa .options .form-check.review.selected:not(.correct)::before {
    content: "\f00d";
    /* fa-times */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #c62828;
    margin-right: 0.75rem;
}

/* Prevent icon overlap with text inside the option */
body.question-ppa .options .form-check.review::before {
    display: inline-block;
    width: 1.25rem;
    text-align: center;
}


/* --- Navigation Buttons --- */
body.question-ppa .navigation-buttons {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
}

/* Add this alongside your existing styles */
body.question-ppa .quiz-review-card {
    border: none;
    border-radius: var(--border-radius, 0.5rem);
    box-shadow: var(--shadow-md, 0 .5rem 1rem rgba(0, 0, 0, .15));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    /* Ensures child elements respect the border radius */
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

body.question-ppa .quiz-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 61, 121, .17);
}

body.question-ppa .quiz-review-card .card-header {
    /* A subtle gradient using your primary color */
    background: linear-gradient(135deg, rgba(18, 18, 19, 0.8), var(--lagos-blue));
    border-bottom: none;
}

body.question-ppa .performance-summary {
    background: linear-gradient(135deg, var(--lagos-light-green), #fff);
    border: 1px solid var(--lagos-light-green);
    border-radius: var(--border-radius, 0.5rem);
    padding: 1rem;
}

body.question-ppa .detail-list li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

body.question-ppa .info-icon {
    color: var(--lagos-primary);
    font-size: 1.25rem;
    margin-right: 0.85rem;
    flex-shrink: 0;
    /* Prevents icon from shrinking */
    width: 24px;
    /* Explicit width for alignment */
    text-align: center;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-hero h1 {
    font-weight: 700;
    font-size: 3.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* --- Blog Card Styling --- */
.blog-card {
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card .card-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card .card-title a {
    color: var(--bs-gray-900);
    text-decoration: none;
}

.blog-card .card-title a:hover {
    color: var(--bs-primary);
}

.blog-card .card-text {
    color: var(--bs-gray-700);
}

.blog-card .card-footer {
    padding: 0 1.5rem 1.25rem;
    background-color: white;
    border-top: 0;
}

.blog-card .keyword-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3em 0.8em;
}

.blog-card .read-more-link {
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    color: var(--lagos-blue);
}

.blog-card .read-more-link i {
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more-link i {
    transform: translateX(4px);
}

.pagination-wrapper nav {
    display: inline-block;
}

.pagination-wrapper .pagination {
    gap: 6px;
    /* spacing between links */
}

.pagination-wrapper .page-link {
    font-size: 0.9rem;
    /* smaller font */
    padding: 0.4rem 0.75rem;
    /* tighter padding */
    border-radius: 6px;
    /* rounded corners */
}

.pagination-wrapper .page-link svg {
    width: 16px;
    /* smaller SVGs */
    height: 16px;
    vertical-align: middle;
    /* better alignment */
}

.pagination-wrapper .page-item.active .page-link {
    background-color: var(--lagos-blue);
    border-color: var(--lagos-blue);
    color: white;
}

.pagination-wrapper .page-item.disabled .page-link {
    opacity: 0.6;
}

.social-icon:hover {
    transform: translateY(-2px);
    color: var(--bs-primary) !important;
}

.copy-link:hover {
    color: var(--bs-primary) !important;
}



/* === Scoped Congratulations Styles === */
.congratulations-container {
    background: linear-gradient(135deg, #f0f4f8, #e2ebf0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    position: relative;
}

.congratulations-container-text {
    font-size: clamp(2rem, 7vw, 5rem);
    font-weight: 900;
    color: #2c5282;
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2);
    animation: congratulations-text-pop 1.2s ease-out forwards;
    margin: 0;
}

.congratulations-container-subtitle {
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 500;
    margin-top: 1rem;
    color: #444;
    opacity: 0;
    animation: congratulations-fade-in 2s ease forwards;
    animation-delay: 1.2s;
}

.congratulations-container-btn {
    margin-top: 2rem;
    padding: 0.9rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.congratulations-container-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* === Animations === */
@keyframes congratulations-text-pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

@keyframes congratulations-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes congratulations-float {
    0% {
        bottom: -120px;
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        bottom: 120vh;
        transform: rotate(360deg);
        opacity: 0;
    }
}

@keyframes congratulations-ribbon-fall {
    0% {
        top: -200px;
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        top: 110vh;
        transform: rotate(720deg);
        opacity: 0;
    }
}

@keyframes congratulations-ribbon-weave {
    0% {
        top: -200px;
        left: 20%;
        transform: rotate(0deg);
        opacity: 1;
    }

    50% {
        left: 40%;
        transform: rotate(180deg);
    }

    100% {
        top: 110vh;
        left: 30%;
        transform: rotate(360deg);
        opacity: 0;
    }
}

@keyframes congratulations-confetti-fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

/* === Balloons, ribbons, confetti === */
.congratulations-container-balloon {
    position: absolute;
    bottom: -120px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: inset -12px -18px 0 rgba(0, 0, 0, 0.12);
    filter: saturate(1.2);
    animation-name: congratulations-float;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.congratulations-container-balloon::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 50%;
    width: 3px;
    height: 90px;
    background: rgba(0, 0, 0, 0.25);
    transform: translateX(-50%);
    border-radius: 2px;
}

.congratulations-container-ribbon {
    position: absolute;
    width: 16px;
    height: 120px;
    border-radius: 6px;
    opacity: 0.85;
    filter: saturate(1.3);
}

.congratulations-container-confetti-piece {
    position: absolute;
    width: 10px;
    height: 14px;
    opacity: 0.9;
    border-radius: 2px;
    animation: congratulations-confetti-fall linear forwards;
}

.flashy-button {
    background-color: var(--lagos-yellow);
    color: black;
    border: 3px solid var(--lagos-red);
    border-radius: 0.75rem;
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    animation: flashy-pulse 1.5s infinite ease-in-out;
}

/* Flashy animation with color changes and blinking */
@keyframes flashy-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
        background-color: var(--lagos-yellow);
        color: black;
    }

    25% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
        background-color: var(--lagos-green);
        color: var(--lagos-white);
    }

    50% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(217, 15, 14, 0.7);
        background-color: var(--lagos-red);
        color: var(--lagos-white);
    }

    75% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(217, 15, 14, 0);
        background-color: var(--lagos-yellow);
        color: black;
    }
}