/* Contestant Square Image Styles */
.contestant-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 30px;
}

/* Homepage Redesign Styles */
.shadow-hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
    transition:
        transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.3s ease;
}
.shadow-hover:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}
.transition-all {
    transition: all 0.3s ease;
}
.bg-light-primary {
    background-color: rgba(13, 110, 253, 0.04) !important;
}
.bg-light-danger {
    background-color: rgba(220, 53, 69, 0.06) !important;
}
.intro-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfc 100%);
    border: 1px solid rgba(0, 0, 0, 0.03);
}
.stage-card {
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    background: linear-gradient(to bottom, #ffffff, #fafbfe);
}
.z-index-1 {
    z-index: 1;
}
.fs-sm {
    font-size: 0.9rem;
}

@keyframes badge-shimmer {
    0% {
        background-position: 150% center;
    }
    50% {
        background-position: 0% center;
    }
    100% {
        background-position: 100% center;
    }
}

.winning-prize-badge {
    background: linear-gradient(
        90deg,
        #198754 0%,
        #46e8ad 25%,
        #198754 50%,
        #20c997 75%,
        #198754 100%
    );
    background-size: 200% auto;
    animation: badge-shimmer 3s linear infinite;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.2);
}
.tracking-wide {
    letter-spacing: 0.05em;
}

/* Glassmorphism Contestant Card (Profile Card) */
.contestant-glass-card {
    background: linear-gradient(160deg, #ffffff 0%, #ebf8df 100%);
    border-radius: 40px;
    box-shadow: 0 12px 35px rgba(94, 179, 36, 0.12); /* enhanced primary color shadow */
    border: 1px solid rgba(94, 179, 36, 0.25); /* primary color border */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.contestant-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(94, 179, 36, 0.2); /* stronger primary shadow on hover */
    border-color: rgba(94, 179, 36, 0.5);
}

.share-icon-btn {
    color: #333;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.share-icon-btn:hover {
    transform: scale(1.15);
}

.vote-glass-btn {
    background: linear-gradient(
        180deg,
        #ffc107 0%,
        #e0a800 100%
    ); /* secondary color */
    border: 1px solid #ffc107;
    color: #000 !important;
    box-shadow:
        0 4px 15px rgba(255, 193, 7, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}
.vote-glass-btn:hover {
    background: linear-gradient(180deg, #ffcd39 0%, #ffc107 100%);
    transform: translateY(-2px);
    border-color: #ffcd39;
    box-shadow:
        0 6px 20px rgba(255, 193, 7, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

.icon-glass-btn {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #ffffff;
    border: 1px solid rgba(94, 179, 36, 0.2); /* primary color outline */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    color: #5eb324; /* primary color */
    transition: all 0.3s ease;
}
.icon-glass-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 179, 36, 0.15); /* primary color hover shadow */
    background: #fcfcfc;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contestant Card Responsive Details */
.contestant-avatar {
    width: 150px;
    height: 150px;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.contestant-name {
    font-size: 1.5rem; /* h4 equivalent */
}
.contestant-stat-val {
    font-size: 1.25rem; /* fs-5 equivalent */
}
.contestant-stat-label {
    font-size: 0.95rem;
}
.contestant-icon {
    width: 22px;
    height: 22px;
}
.contestant-btn {
    font-size: 1rem;
}

@media (max-width: 575px) {
    .contestant-avatar {
        border-width: 2px !important;
        width: 80px;
        height: 80px;
    }
    .contestant-name {
        font-size: 0.95rem;
        margin-bottom: 0.5rem !important;
    }
    .contestant-stat-val {
        font-size: 0.95rem !important;
    }
    .contestant-stat-label {
        font-size: 0.75rem;
    }
    .contestant-icon {
        width: 16px;
        height: 16px;
    }
    .contestant-stats-container {
        margin-bottom: 0.5rem !important;
        padding-bottom: 0 !important;
        text-align: center;
    }
    .contestant-stat-block {
        display: block !important;
        padding: 0 !important;
        margin: 0.25rem 0 !important;
        width: 100%;
    }
    .contestant-btn {
        font-size: 0.85rem;
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        white-space: nowrap;
        min-height: 40px;
    }
    .contestant-glass-card {
        padding: 1rem !important;
        border-radius: 20px;
    }
}

/* --- Stacked Cards for Intro Banner --- */
.stacked-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 280px;
    z-index: 0;
    margin-top: 1rem;
    margin-bottom: 1.5rem !important;
}

.stacked-card {
    width: 200px;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    position: absolute;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    z-index: 1;
}

.stacked-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Default positions and rotations */
.stacked-card.card-1 {
    transform: translateX(-260px) translateY(25px) rotate(-15deg);
    z-index: 1;
}
.stacked-card.card-2 {
    transform: translateX(-130px) translateY(10px) rotate(-8deg);
    z-index: 2;
}
.stacked-card.card-3 {
    transform: translateX(0) scale(1.1);
    z-index: 3;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}
.stacked-card.card-4 {
    transform: translateX(130px) translateY(10px) rotate(8deg);
    z-index: 2;
}
.stacked-card.card-5 {
    transform: translateX(260px) translateY(25px) rotate(15deg);
    z-index: 1;
}

/* Hover effects */
.stacked-cards-container:hover .stacked-card.card-1 {
    transform: translateX(-290px) translateY(15px) rotate(-20deg);
}
.stacked-cards-container:hover .stacked-card.card-2 {
    transform: translateX(-160px) translateY(0px) rotate(-12deg);
}
.stacked-cards-container:hover .stacked-card.card-4 {
    transform: translateX(160px) translateY(0px) rotate(12deg);
}
.stacked-cards-container:hover .stacked-card.card-5 {
    transform: translateX(290px) translateY(15px) rotate(20deg);
}
.stacked-cards-container:hover .stacked-card.card-3 {
    transform: translateX(0) scale(1.15);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .stacked-cards-container {
        height: 140px;
    }
    .stacked-card {
        width: 90px;
        height: 110px;
    }
    .stacked-card.card-1 {
        transform: translateX(-110px) translateY(10px) rotate(-15deg);
    }
    .stacked-card.card-2 {
        transform: translateX(-55px) translateY(5px) rotate(-8deg);
    }
    .stacked-card.card-3 {
        transform: translateX(0) scale(1.1);
    }
    .stacked-card.card-4 {
        transform: translateX(55px) translateY(5px) rotate(8deg);
    }
    .stacked-card.card-5 {
        transform: translateX(110px) translateY(10px) rotate(15deg);
    }

    .stacked-cards-container:hover .stacked-card.card-1 {
        transform: translateX(-120px) translateY(5px) rotate(-20deg);
    }
    .stacked-cards-container:hover .stacked-card.card-2 {
        transform: translateX(-65px) translateY(0px) rotate(-12deg);
    }
    .stacked-cards-container:hover .stacked-card.card-4 {
        transform: translateX(65px) translateY(0px) rotate(12deg);
    }
    .stacked-cards-container:hover .stacked-card.card-5 {
        transform: translateX(120px) translateY(5px) rotate(20deg);
    }
}

/* --- Boxed Theme for Countdown Timer --- */
.countdown-style1 .countdown-active {
    background-color: #5eb324; /* Theme green */
    border-radius: 50px; /* Pill shape */
    padding: 15px 35px;
    box-shadow: 0 10px 25px rgba(94, 179, 36, 0.25);
}
.countdown-style1 .countdown-active li {
    color: #ffffff;
    padding: 0 32px;
}
/* Vertical dividers */
.countdown-style1 .countdown-active li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.15);
}
.countdown-style1 .countdown-active li span {
    display: block;
    font-size: 3rem;
    font-weight: 400; /* Regular weight like screenshot */
    line-height: 1.1;
    margin-bottom: 4px;
}
.countdown-style1 .countdown-active li span.time-label {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: capitalize;
    color: rgba(255, 255, 255, 0.85); /* Slightly dimmed text for labels */
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    .countdown-style1 .countdown-active {
        padding: 12px 20px;
        border-radius: 40px;
    }
    .countdown-style1 .countdown-active li {
        padding: 0 20px;
    }
    .countdown-style1 .countdown-active li span {
        font-size: 2.2rem;
    }
    .countdown-style1 .countdown-active li span.time-label {
        font-size: 0.9rem;
    }
    .countdown-style1 .countdown-active li:not(:last-child)::after {
        height: 30px;
    }
}
@media (max-width: 575px) {
    .countdown-style1 .countdown-active {
        padding: 12px 10px;
        border-radius: 25px;
    }
    .countdown-style1 .countdown-active li {
        padding: 0 12px;
    }
    .countdown-style1 .countdown-active li span {
        font-size: 1.6rem;
    }
    .countdown-style1 .countdown-active li span.time-label {
        font-size: 0.8rem;
    }
    .countdown-style1 .countdown-active li:not(:last-child)::after {
        height: 25px;
        width: 1px;
    }
}

/* --- Registration Page Custom Styling --- */
.register-page-wrapper {
    background-color: #f6efe8; /* Soft beige/yellowish background like inspiration */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.register-card-custom {
    background: transparent;
    border: none;
    border-radius: 40px;
    overflow: hidden;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    box-shadow: none; /* Container itself transparent, panels handle the look */
}

.register-left-panel {
    background-color: #f6efe8;
    padding: 2rem 5rem 3rem 1rem;
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-right-panel {
    flex: 1 1 50%;
    position: relative;
    padding: 1rem;
    background-color: #f6efe8;
}

.register-image-container {
    width: 100%;
    height: 100%;
    min-height: 600px;
    background: url("../images/slider-3.jpg") center/cover no-repeat;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.register-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.1) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    text-align: left;
}

/* Form Styles */
.register-heading {
    font-size: 2.8rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}

.register-subheading {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
}

.reg-custom-form .form-label {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.2rem;
    font-weight: 400;
}

.reg-custom-form .form-control,
.reg-custom-form .form-select {
    border-radius: 30px;
    padding: 0.65rem 1.25rem;
    border: none;
    background-color: #fcfcfc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
}

/* Fix for mobile/iOS placeholder visibility on inputs and readonly inputs */
.reg-custom-form .form-control::placeholder,
.reg-custom-form .form-select::placeholder {
    color: #99a1a8;
    opacity: 1;
}

.reg-custom-form .form-control[readonly] {
    opacity: 1;
    background-color: #fcfcfc;
}

.reg-custom-form .form-control[readonly]::placeholder {
    color: #99a1a8;
    opacity: 1;
    -webkit-text-fill-color: #99a1a8;
}

.reg-custom-form .register-input-group {
    margin-bottom: 0.6rem !important;
}

.reg-custom-form .form-control:focus,
.reg-custom-form .form-select:focus {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    outline: none;
    background-color: #ffffff;
}

/* Password Toggle Adjustment */
.reg-custom-form .password-toggle-btn {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.reg-custom-btn {
    background-color: #fedb58; /* Yellow submit button like inspiration */
    color: #111;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
    box-shadow: 0 8px 25px rgba(254, 219, 88, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.reg-custom-btn:hover {
    background-color: #ffcf33;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(254, 219, 88, 0.5);
}

.reg-custom-btn.disabled {
    background-color: #e0e0e0;
    color: #888;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.reg-info-floating {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 2rem;
    margin-top: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 400px;
}

.reg-dropify-wrapper .dropify-wrapper {
    border-radius: 20px;
    border: 2px dashed #e8e8e8;
    background-color: #fdfdfd;
    height: 120px !important;
}

.reg-dropify-wrapper p.fs-sm {
    margin-bottom: 0.2rem !important;
    font-size: 0.8rem;
}

.reg-dropify-wrapper .dropify-wrapper .dropify-message p {
    font-size: 1.1rem !important;
    margin-top: 5px;
}

.reg-dropify-wrapper .dropify-wrapper .dropify-message span.file-icon {
    font-size: 30px !important;
}

.reg-custom-form a {
    transition: all 0.2s ease;
}
.reg-custom-form a:hover {
    color: #111 !important;
    border-color: #111 !important;
}

@media (max-width: 991px) {
    .register-left-panel {
        padding: 2rem 1.5rem;
        flex: 1 1 100%;
        order: 1; /* Put form first on mobile */
    }
    .register-right-panel {
        flex: 1 1 100%;
        padding: 1rem;
        order: 3;
    }
    .register-mobile-info {
        order: 2;
        max-width: 100%;
    }
    .register-image-container {
        min-height: 400px;
    }
    .register-heading {
        font-size: 2.2rem;
    }
}

/* --- Wonder Hero Slider --- */
.wonder-hero-section {
    background-color: #ebf8df; /* Very light tint of #5EB324 for subtle background */
    border-radius: 0 0 40px 40px;
    padding-bottom: 50px; /* space for features bar */
    margin-bottom: 1.5rem; /* increased to give clear space for absolutely positioned bar */
    /* Removed overflow: hidden so the bottom bar isn't cut off */
}

.wonder-hero-slide {
    height: 600px;
}

.wonder-hero-content {
    padding-top: 2rem;
}

.wonder-hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #111;
    letter-spacing: -2px;
    line-height: 1.05;
    text-transform: uppercase;
}

.wonder-hero-subtitle {
    color: #333;
    max-width: 90%;
}

.wonder-hero-btn {
    background: linear-gradient(
        180deg,
        #ffc107 0%,
        #e0a800 100%
    ); /* Theme yellow */
    color: #000 !important;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border: 1px solid #ffc107;
    box-shadow:
        0 4px 15px rgba(255, 193, 7, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.wonder-hero-btn:hover {
    background: linear-gradient(180deg, #ffcd39 0%, #ffc107 100%);
    color: #000 !important;
    border-color: #ffcd39;
    box-shadow:
        0 6px 20px rgba(255, 193, 7, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.wonder-hero-img-container {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wonder-hero-main-img {
    height: 85%;
    max-height: 550px;
    object-fit: contain;
    transform: translateY(20px);
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

/* Floating Cards */
.wonder-floating-card {
    position: absolute;
    width: 220px;
    border-radius: 12px;
    padding: 12px;
    padding-bottom: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    z-index: 3;
}

.wonder-floating-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.wonder-card-pink {
    background-color: #d82b68; /* vibrant pinkish red */
    color: #fff;
    right: -20px;
    top: 50px;
    transform: rotate(2deg);
}

.wonder-card-blue {
    background-color: #1e5297; /* deep blue */
    color: #fff;
    right: -20px;
    bottom: 80px;
    transform: rotate(-2deg);
}

.wonder-floating-card .card-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.wonder-floating-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.wonder-floating-card .card-link {
    position: absolute;
    bottom: 15px;
    left: 12px;
    font-size: 0.8rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
}

.wonder-floating-card .card-link:hover {
    border-color: #fff;
    color: #fff;
}

/* Features Bar */
.wonder-features-bar {
    bottom: -30px;
    width: 95%; /* Increased width to prevent items from wrapping */
    max-width: 1300px;
}

.wonder-features-bar .feature-item {
    padding: 0 1rem; /* Slightly reduced horizontal padding */
    flex: 1;
    justify-content: center;
    white-space: nowrap; /* Keep text on a single line */
}

.wonder-features-bar .feature-item:not(:last-child) {
    border-right: 1px solid #eaeaea;
}

.wonder-features-bar .border-right-0 {
    border-right: none !important;
}

@media (max-width: 1199px) {
    /* Under XL size */
    .wonder-features-bar-mobile {
    }

    .reg-dropify-wrapper .dropify-wrapper .dropify-message p {
        font-size: 1.1rem !important;
        margin-top: 5px;
    }

    .reg-dropify-wrapper .dropify-wrapper .dropify-message span.file-icon {
        font-size: 30px !important;
    }

    .reg-custom-form a {
        transition: all 0.2s ease;
    }
    .reg-custom-form a:hover {
        color: #111 !important;
        border-color: #111 !important;
    }

    @media (max-width: 991px) {
        .register-left-panel {
            padding: 2rem 1.5rem;
            flex: 1 1 100%;
            order: 1; /* Put form first on mobile */
        }
        .register-right-panel {
            flex: 1 1 100%;
            padding: 1rem;
            order: 3;
        }
        .register-mobile-info {
            order: 2;
            max-width: 100%;
        }
        .register-image-container {
            min-height: 400px;
        }
        .register-heading {
            font-size: 2.2rem;
        }
    }

    /* --- Wonder Hero Slider --- */
    .wonder-hero-section {
        background-color: #ebf8df; /* Very light tint of #5EB324 for subtle background */
        border-radius: 0 0 40px 40px;
        padding-bottom: 50px; /* space for features bar */
        margin-bottom: 1.5rem; /* increased to give clear space for absolutely positioned bar */
        /* Removed overflow: hidden so the bottom bar isn't cut off */
    }

    .wonder-hero-slide {
        height: 600px;
    }

    .wonder-hero-content {
        padding-top: 2rem;
    }

    .wonder-hero-title {
        font-size: 4.5rem;
        font-weight: 900;
        color: #111;
        letter-spacing: -2px;
        line-height: 1.05;
        text-transform: uppercase;
    }

    .wonder-hero-subtitle {
        color: #333;
        max-width: 90%;
    }

    .wonder-hero-btn {
        background: linear-gradient(
            180deg,
            #ffc107 0%,
            #e0a800 100%
        ); /* Theme yellow */
        color: #000 !important;
        text-transform: uppercase;
        font-size: 0.95rem;
        letter-spacing: 1px;
        border: 1px solid #ffc107;
        box-shadow:
            0 4px 15px rgba(255, 193, 7, 0.2),
            inset 0 2px 4px rgba(255, 255, 255, 0.4);
        transition: all 0.3s ease;
    }

    .wonder-hero-btn:hover {
        background: linear-gradient(180deg, #ffcd39 0%, #ffc107 100%);
        color: #000 !important;
        border-color: #ffcd39;
        box-shadow:
            0 6px 20px rgba(255, 193, 7, 0.4),
            inset 0 2px 4px rgba(255, 255, 255, 0.6);
        transform: translateY(-2px);
    }

    .wonder-hero-img-container {
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wonder-hero-main-img {
        height: 85%;
        max-height: 550px;
        object-fit: contain;
        transform: translateY(20px);
        z-index: 2;
        position: relative;
        filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    }

    /* Floating Cards */
    .wonder-floating-card {
        position: absolute;
        width: 220px;
        border-radius: 12px;
        padding: 12px;
        padding-bottom: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease;
        z-index: 3;
    }

    .wonder-floating-card:hover {
        transform: translateY(-5px) scale(1.02);
    }

    .wonder-card-pink {
        background-color: #d82b68; /* vibrant pinkish red */
        color: #fff;
        right: -20px;
        top: 50px;
        transform: rotate(2deg);
    }

    .wonder-card-blue {
        background-color: #1e5297; /* deep blue */
        color: #fff;
        right: -20px;
        bottom: 80px;
        transform: rotate(-2deg);
    }

    .wonder-floating-card .card-img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .wonder-floating-card .card-title {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .wonder-floating-card .card-link {
        position: absolute;
        bottom: 15px;
        left: 12px;
        font-size: 0.8rem;
        color: #fff;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        padding-bottom: 2px;
    }

    .wonder-floating-card .card-link:hover {
        border-color: #fff;
        color: #fff;
    }

    /* Features Bar */
    .wonder-features-bar {
        bottom: -30px;
        width: 95%; /* Increased width to prevent items from wrapping */
        max-width: 1300px;
    }

    .wonder-features-bar .feature-item {
        padding: 0 1rem; /* Slightly reduced horizontal padding */
        flex: 1;
        justify-content: center;
        white-space: nowrap; /* Keep text on a single line */
    }

    .wonder-features-bar .feature-item:not(:last-child) {
        border-right: 1px solid #eaeaea;
    }

    .wonder-features-bar .border-right-0 {
        border-right: none !important;
    }

    @media (max-width: 1199px) {
        /* Under XL size */
        .wonder-features-bar-mobile {
            border-radius: 20px;
            margin-top: -20px; /* Pull into the slider a bit */
        }
    }

    @media (max-width: 991px) {
        .wonder-hero-slide {
            height: auto;
            padding: 0 0 0.4rem 0; /* removed top padding */
        }
        .wonder-hero-content {
            padding-top: 0;
        }
        .wonder-hero-title {
            font-size: 1.5rem; /* reduced from 3rem */
        }
        .wonder-hero-subtitle {
            margin: 0 auto 1.5rem;
            font-size: 1rem; /* added smaller font */
        }
        .wonder-hero-section {
            padding-bottom: 0;
            border-radius: 0 0 30px 30px;
        }
    }
    @media (max-width: 575px) {
        .wonder-hero-title {
            font-size: 1.8rem; /* reduced from 2.2rem */
        }
        .wonder-hero-subtitle {
            font-size: 0.95rem; /* added smaller font for extra small devices */
        }
    }

    /* --- Participant Page Redesign --- */
    .participant-top-bar {
        background-color: #143a42;
        padding: 1.5rem 0;
    }
    .participant-top-bar-title {
        color: #ffffff;
        font-size: 1.15rem;
        font-weight: 600;
        margin: 0;
    }

    .contestant-profile-img {
        object-fit: cover;
        aspect-ratio: 4 / 5;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        width: 100%;
    }

    @media (min-width: 992px) {
        .participant-details-col {
            padding-left: 3rem;
        }
    }

    .participant-name-title {
        color: #143a42;
        font-size: 2.2rem;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .participant-vote-btn {
        background-color: #ffc107;
        color: #111;
        border: none;
        padding: 0.8rem 2.5rem;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    }
    .participant-vote-btn:hover {
        background-color: #ffcd39;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
    }

    @keyframes vote-glow {
        0% {
            box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
        }
        50% {
            box-shadow:
                0 5px 15px rgba(255, 193, 7, 0.3),
                0 0 20px rgba(255, 193, 7, 0.8),
                0 0 30px rgba(255, 193, 7, 0.6);
        }
        100% {
            box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
        }
    }

    .glowing-btn-animation {
        animation: vote-glow 2s infinite;
    }

    .participant-stage-title {
        color: #143a42;
        font-size: 1.5rem;
        font-weight: 800;
    }

    .how-to-vote-section {
        background-color: #f6efe8; /* Updated to match screenshot background */
    }

    .how-to-vote-title {
        color: #143a42;
        font-size: 3.2rem;
        font-weight: 800;
        letter-spacing: -1.2px;
    }

    .how-to-subtitle {
        color: #6bbe31;
        font-size: 1.15rem;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .bank-details-box {
        background-color: transparent;
        border-left: 4px solid #6bbe31;
        padding: 0.2rem 0 0.2rem 1.2rem;
        margin: 1.8rem 0;
    }
    .bank-details-text {
        color: #111;
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .chat-whatsapp-btn {
        background-color: #20a049;
        color: #ffffff;
        border: none;
        padding: 0.8rem 2.2rem;
        font-size: 1.05rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    .chat-whatsapp-btn:hover {
        background-color: #1b8a3e;
        transform: translateY(-2px);
        color: #ffffff;
        box-shadow: 0 8px 15px rgba(32, 160, 73, 0.2);
    }

    .video-play-btn {
        width: 60px;
        height: 60px;
        background-color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        color: #111;
        transition: all 0.3s ease;
    }
    .video-play-btn i {
        font-size: 1.5rem;
        margin-left: 5px;
    }
    .video-play-btn:hover {
        transform: scale(1.1);
        color: #db1920;
    }

    /* --- Participant Artwork Section --- */
    .artwork-section {
        background-color: #fcfdfa; /* Very light tint of green/theme */
        border-top: 1px solid rgba(94, 179, 36, 0.1);
        border-bottom: 1px solid rgba(94, 179, 36, 0.1);
    }

    .artwork-display-card {
        background: #ffffff;
        padding: 1.5rem;
        border-radius: 25px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
        position: relative;
        transition: all 0.3s ease;
    }

    .artwork-display-card:hover {
        box-shadow: 0 20px 50px rgba(94, 179, 36, 0.08); /* Primary color shadow */
        transform: translateY(-5px);
    }

    .artwork-main-img {
        border-radius: 15px;
        max-height: 600px;
        width: 100%;
        object-fit: contain;
        object-position: center;
    }

    .participant-countdown .countdown-active {
        border-radius: 20px;
    }
    @media (max-width: 767px) {
        .participant-countdown .countdown-active {
            justify-content: center;
            width: 100%;
        }
    }

    /* --- Voting Modal Custom Styling --- */
    .custom-vote-modal .modal-content {
        border: none;
        border-radius: 24px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .custom-vote-modal .modal-header {
        background-color: #f9fbfc;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 1.5rem 2rem;
    }

    .custom-vote-modal .modal-title {
        color: #143a42;
        font-weight: 800;
        font-size: 1.3rem;
    }

    .custom-vote-modal .btn-close {
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 50%;
        padding: 0.8rem;
        transition: all 0.3s ease;
    }

    .custom-vote-modal .btn-close:hover {
        background-color: rgba(220, 53, 69, 0.1);
        color: #dc3545;
        transform: rotate(90deg);
    }

    .custom-vote-modal .modal-body {
        padding: 2rem;
    }

    .custom-vote-modal .lead-text {
        color: #555;
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .vote-custom-form .form-floating > label {
        color: #777;
        font-size: 0.95rem;
    }

    .vote-custom-form .form-control,
    .vote-custom-form .form-select {
        border-radius: 16px;
        border: 1px solid rgba(94, 179, 36, 0.3);
        padding: 1rem 1.2rem;
        height: calc(3.5rem + 2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
        transition: all 0.3s ease;
    }

    .vote-custom-form .form-control:focus,
    .vote-custom-form .form-select:focus {
        border-color: #5eb324;
        box-shadow: 0 0 0 0.25rem rgba(94, 179, 36, 0.15);
    }

    .vote-amount-display {
        background: rgba(94, 179, 36, 0.05);
        border-radius: 16px;
        padding: 1.2rem;
        margin: 1.5rem 0;
        border: 1px dashed rgba(94, 179, 36, 0.3);
    }

    .vote-amount-display .amount-value {
        color: #143a42;
        font-size: 2rem;
        font-weight: 800;
    }

    .btn-vote-primary {
        background: linear-gradient(135deg, #5eb324 0%, #4ca31c 100%);
        color: #ffffff !important;
        border: none;
        border-radius: 14px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        box-shadow: 0 8px 20px rgba(94, 179, 36, 0.3);
        transition: all 0.3s ease;
    }

    .btn-vote-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(94, 179, 36, 0.4);
        background: linear-gradient(135deg, #6bbe31 0%, #5eb324 100%);
    }

    .btn-vote-secondary {
        background-color: #ffffff;
        color: #5eb324;
        border: 2px solid #5eb324;
        border-radius: 14px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-vote-secondary:hover {
        background-color: rgba(94, 179, 36, 0.05);
        transform: translateY(-2px);
        color: #4ca31c;
    }

    .custom-vote-modal .modal-footer {
        background-color: #f9fbfc;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding: 1.5rem 2rem;
        justify-content: center;
    }

    .custom-vote-modal .modal-footer p {
        margin: 0;
        color: #143a42;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .bank-info-box {
        background: linear-gradient(145deg, #143a42 0%, #1a4a54 100%);
        color: #ffffff;
        border-radius: 16px;
        padding: 1.5rem;
        margin-top: 1.5rem;
        box-shadow: 0 10px 25px rgba(20, 58, 66, 0.2);
    }

    .bank-info-box .info-label {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 0.2rem;
    }

    .bank-info-box .info-value {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }
    .bank-info-box .info-value:last-child {
        margin-bottom: 0;
    }

    .receipt-instruction {
        background-color: rgba(255, 193, 7, 0.1);
        border-left: 4px solid #ffc107;
        padding: 1rem;
        border-radius: 0 12px 12px 0;
        margin-top: 1.5rem;
    }

    /* --- Registration Notice Custom Modal --- */
    .custom-notice-modal .modal-content {
        border: none;
        background-color: #ffffff;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    .custom-notice-modal .modal-header {
        background-color: #f9fbfc;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 1.5rem 2rem;
    }

    .custom-notice-modal .modal-title {
        color: #143a42;
        font-weight: 800;
        font-size: 1.25rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .custom-notice-modal .btn-close {
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 50%;
        padding: 0.8rem;
        transition: all 0.3s ease;
    }

    .custom-notice-modal .btn-close:hover {
        background-color: rgba(220, 53, 69, 0.1);
        color: #dc3545;
        transform: rotate(90deg);
    }

    .custom-notice-modal .modal-body {
        padding: 2.5rem 2rem;
    }

    .notice-stage-box {
        background-color: transparent;
    }

    /* Mobile Hero Images for Slides */
    .wonder-mobile-hero-img {
        width: 100%;
        height: 45vh;
        min-height: 280px;
        max-height: 500px;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
        display: block;
    }
}

/* Contestant Code Badge */
.contestant-code-badge {
    display: inline-block;
    background-color: #41b292;
    color: #ffffff;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px rgba(65, 178, 146, 0.15);
    text-transform: capitalize;
    letter-spacing: 0.2px;
}
