@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none !important;
}

.btn.quiz_btn {
    padding: 2px;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    /*background-image: url('../catalog/body_bg.jpg') !important;*/
    background-position: center !important;.quiz_box
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    min-height: 100vh;
}


/* Remove ALL overlays and backgrounds */

body::before,
body::after,
.quiz_box::before,
.quiz_box::after,
.modal::before,
.modal::after {
    display: none !important;
}

.quiz_box {
    border-radius: 1rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
}



header,
footer,
.form-control,
.input-group-text {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


.site_btn {
    background: linear-gradient(90deg, rgba(255, 107, 107, 1), rgba(45, 156, 219, 1), rgba(255, 107, 107, 1));
    background-size: 300% 100%;
    padding: 8px 20px;
    border: none;
    color: white;
    cursor: pointer;
}

.song_dtail p {
    margin-bottom: 5px;
}

/* Keyframes for seamless background movement */
@keyframes moveBg {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 0%;
    }
}

/* Animate background on hover */
.site_btn:hover {
    animation: moveBg 5s linear infinite;
}



.logo {
    max-width: 300px  !important;
    margin-left: 0 !important;
}

.btn.active {
    border: 2px solid #fff;
}

.btn {
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: moveGradient 2s linear infinite;
}

@keyframes moveGradient {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 0%;
    }
}

.btn_txt {
    background-color: #282c2d;
    padding: 10px 40px;
}



.logo-2 {
    max-width: 150px;
    height: auto;
    margin-bottom: 2rem;
}



.quick_subhed {
    font-size: 18px;
}

.quick_hed {
    font-size: 22px;
}

.sourse_btn {
    background: #FF6B6B;
    padding: 10px 20px;
}

.btn_grp {
    background-color: #2D9CDB;
    border-radius: 5px;
    padding: 10px 15px;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn_grp:hover {
    background-color: #2183b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 156, 219, 0.4);
    color: #fff;
}

.dropdown-toggle::after {
    display: none !important;
}

.share-dropdown {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    animation: fadeIn 0.3s ease;
    margin-top: 10px !important;
}

.share-dropdown .social-share-btn {
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
}

.share-dropdown .social-share-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.copy-link-section .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 5px;
}

.copy-link-section .form-control {
    background: transparent !important;
    border: none;
    color: #fff !important;
    font-size: 12px;
    padding: 5px 10px;
}

.copy-link-section .copy-btn {
    background: #2D9CDB;
    border: none;
    border-radius: 4px;
    padding: 5px 15px;
    transition: all 0.3s ease;
}

.copy-link-section .copy-btn:hover {
    background: #2183b9;
    transform: translateY(-2px);
}

.gradiant_heading {
    background: linear-gradient(110.31deg, #F9DC5C 22.2%, #FF6B6B 40.78%, #2D9CDB 59.36%);
    background-clip: text;
    color: transparent;
    font-family: "Fredoka", sans-serif;
    font-weight: 500;
    font-size: 84px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
}

.happy_img {
    max-width: 120px;
}

#w3review {
    border: 1px solid #F8F9FA;
    background: #1a1a1a;
    border-radius: 10px;
}

.winner {
    max-width: 30px;
}


/* --------table css--------- */

.leaderboard thead {
    background: #F9DC5C;
}

.leaderboard th {
    padding: 10px;
    text-align: center;
    font-size: 20px;
}

td {
    background: #2E2E2E;
    padding: 10px;
    color: #fff;
    text-align: center;
    font-size: 18px;
}

.bginput {
    background-color: #282c2d;
}

.over-flowbox {
    overflow-x: auto;
    width: 100%;
}

.leaderboard {
    min-width: 550px;
    width: 100%;
}

.testi_txt {
    background: #F9DC5C;
    padding: 20px;
}

.quot_img {
    max-width: 49px;
    position: absolute;
    top: -25px;
    left: 0;
}

.client_img {
    max-width: 65px;
    background: #2D9CDB;
}

.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 5px;
    background: #ccc !important;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.owl-dot.active,
.owl-dot:hover {
    background: #ff6b6b !important;
    /* Active dot color */
}


/* --------Responsive css--------- */

@media(max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    .happy_img {
        max-width: 60px;
    }



    .btn_txt {
        padding: 10px 30px;
    }

    .gradiant_heading {
        font-size: 25px;
        line-height: 100%;
    }

    .logo {
        max-width: 190px !important;
    }



    .answer-options .btn_txt {
        font-size: 14px;
        padding: 10px 15px;
    }

    .quiz_box {
        padding: 1.5rem;
    }

    .logo-2 {
        max-width: 120px;
        margin-bottom: 1.5rem;
    }
}


/* Update header layout */

header .row .col-md-4:first-child {
    display: none;
}

header .row .col-md-4.col-6 {
    text-align: left !important;
}


/* Quiz button specific hover */

.quiz_btn:hover {
    transform: scale(1.05);

}

.quiz_btn:hover .btn_txt {
    background-color: #1a1e1f;
    color: #fff;
}


/* Login button hover */

.btn.rounded-pill:hover .btn_txt {
    background-color: #1a1e1f;
    color: #fff;
}


/* Source button hover */

.sourse_btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}


/* Button group hover */

.btn_grp:hover {
    background-color: #2183b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 156, 219, 0.4);
}


/* Active state for quiz buttons */

.btn.active {
    border: 2px solid #fff;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.modal-content::-webkit-scrollbar-thumb {
    background: #F9DC5C;
    border-radius: 4px;
}

.score-box,
.leaderboard-preview {
    transition: all 0.3s ease;
}

.score-box:hover,
.leaderboard-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(249, 220, 92, 0.3);
}

.rating .fa-star {
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating .fa-star:hover {
    transform: scale(1.2);
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

.btn_grp {
    transition: all 0.3s ease;
}

.btn_grp:hover {
    background-color: #2183b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 156, 219, 0.4);
}

.social-share-btn {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.social-share-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 156, 219, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.share-icon:hover {
    transform: rotate(45deg);
    background: rgba(45, 156, 219, 0.2);
}

.share-section {
    transition: all 0.3s ease;
}

.share-section:hover {
    transform: translateY(-3px);
}

.share-dropdown {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    animation: fadeIn 0.3s ease;
}

.share-dropdown .social-share-btn {
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
}

.share-dropdown .social-share-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-song-btn {
    position: relative;
}

.share-song-btn:after {
    display: none !important;
}

.share-dropdown .form-control {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 12px;
}

.share-dropdown .form-control:focus {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu {
    border: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-top: 10px !important;
}

.share-icon {
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.share-icon:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn_grp {
    background-color: #2D9CDB;
    border-radius: 5px;
    padding: 10px 15px;
    color: #fff !important;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.btn_grp:hover {
    background-color: #2183b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 156, 219, 0.4);
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
}

h2 {
    font-size: calc(1.5rem + 1vw);
}

h3 {
    font-size: calc(1.2rem + 0.5vw);
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}


/* Form Elements */

.form-control {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control:focus {
    box-shadow: 0 0 0 2px rgba(45, 156, 219, 0.25) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-group-text {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}


/* Tables */

.table {
    margin-bottom: 1rem;
    color: white;
}

.table th {
    background: rgba(255, 255, 255, 0.1);
    border: none;
}

.table td {
    border-color: rgba(255, 255, 255, 0.1);
}


/* Modals */

.modal-content {
    background: transparent;
    border: none;
    border-radius: 1rem;
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}


/* Responsive Images */

img {
    max-width: 100%;
    height: auto;
}


/* Spacing Utilities */

.section-padding {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 2rem 0;
    }
}


/* Custom Scrollbar */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: #2D9CDB;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1E5B94;
}


/* Animations */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}


/* Mobile-specific styles */

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h2 {
        font-size: calc(1.2rem + 1vw);
    }

    h3 {
        font-size: calc(1rem + 0.5vw);
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }

    .modal-dialog {
        margin: 0.5rem;
    }

    .table {
        font-size: 0.85rem;
    }

    .table td,
    .table th {
        padding: 0.5rem;
    }
}


/* Fix for iOS input styles */

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.5rem !important;
}


/* Fix for button active states */

.btn:active {
    transform: scale(0.98);
}


/* Fix for modal scrolling on iOS */

.modal {
    -webkit-overflow-scrolling: touch;
}


/* Fix for sticky hover states on mobile */

@media (hover: hover) {
    .btn:hover {
        transform: translateY(-2px);
    }
}


/* Accessibility improvements */

.btn:focus,
.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 156, 219, 0.5) !important;
}


/* High contrast mode support */

@media (forced-colors: active) {

    .btn,
    .form-control,
    .modal-content {
        border: 2px solid ButtonText;
    }
}


/* Fix for iOS background-attachment */

@supports (-webkit-touch-callout: none) {
    body {
        background-attachment: scroll;
    }
}


.quiz_box {
    background: #2e2e2e00;
}

.question-image-container img {
    max-width: 150px;
    height: 150px;
}

.login_txt {
    color: #f9dc5c;
}

#myTab {
    justify-content: center;
    border: none;
    margin-bottom: 38px;
}

#myTab .nav-link {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 50px;
}


#myTab .nav-link.active {
    background: linear-gradient(90deg, rgba(255, 107, 107, 1), rgba(45, 156, 219, 1), rgba(255, 107, 107, 1));
    color: #000;
}


#myTab .nav-link:hover {
    background: linear-gradient(90deg, rgba(255, 107, 107, 1), rgba(45, 156, 219, 1), rgba(255, 107, 107, 1));
    background-size: 300% 100%;
    animation: moveBg 5s linear infinite;
}

.event_box .quiz_btn .btn_txt {
    padding: 0;
    min-height: 20px;
    font-size: 14px;
}

.event_box {
    background: #2e2e2ede;
    padding: 35px 15px;
}

.social-icon.icon2 {
    color: #fff;
    border: 2px solid;
    width: 50px;
    padding: 9px;
    border-radius: 50%;
}