@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;700&display=swap');


.hidden {
    display: none !important;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1e293b;
    color: #e2e8f0;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
}

.hero-section {
    padding-top: 5%;
    background-color: #1e293b;
    color: #e2e8f0;
}

.start-button {
    transition: all 0.3s ease;
}

.start-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.robot-animation {
    width: 300px;
    height: auto;
}

.card {
    background-color: #0f172a;
    border: none;
    color: #e2e8f0;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 1rem;
    color: #e2e8f0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.bouncing-icon {
animation: bounce 1.5s infinite;
}

/* Quiz Page Specific Styles */
.quiz-header {
    font-family: 'Orbitron', sans-serif;
    color: #38bdf8;
}

#timer {
    font-size: 1.2rem;
    background-color: #2563eb;
    color: #e2e8f0;
    border-radius: 5px;
    display: inline-block;
}

#question-text {
    font-family: 'Orbitron', sans-serif;
    color: #e2e8f0;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
/* Default style for answer options */
.answer-option {
    background-color: #2563eb; /* Default blue */
    color: #e2e8f0;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* Hover effect for answer options */
.answer-option:hover {
    background-color: #1e40af; /* Darker blue for hover */
}

/* Highlight selected answer */
.answer-option.selected {
    background-color: #38bdf8; /* Lighter blue for selected */
    color: #1e293b; /* Dark text for contrast */
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}


.quiz-navigation {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.nav-btn,
.primary-btn {
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-btn {
    background-color: #475569;
    color: #e2e8f0;
}

.nav-btn:hover {
    background-color: #64748b;
}

.primary-btn {
    background-color: #2563eb;
    color: #e2e8f0;
}

.primary-btn:hover {
    background-color: #1e40af;
    transform: scale(1.05);
}

/* Result summary styles */
.result-summary {
    margin-top: 20px;
}

.result-summary p {
    font-size: 1.5rem;
}

/* Prize announcement styles */
.prize-announcement {
    margin-top: 40px;
}

.prize-announcement h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.prize-announcement .prize-image {
    max-width: 200px;
    height: auto;
    border: 5px solid #2563eb;
    border-radius: 10px;
    margin: 20px auto;
}

.prize-announcement p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Social share buttons */
.social-share button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-share button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

#share-facebook {
    background-color: #3b5998;
    color: white;
}

#share-twitter {
    background-color: #1da1f2;
    color: white;
}

/* Retake quiz button */
#retake-quiz {
    background-color: #2563eb;
    color: #e2e8f0;
    font-size: 1.2rem;
    padding: 10px 30px;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#retake-quiz:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Prize container adjustments for mobile */
@media (max-width: 768px) {
    .prize-announcement {
        text-align: center;
    }
    
    .prize-announcement .prize-image {
        max-width: 150px;
    }
}
