body {
    background-color: #f8f9fa;
    margin-bottom: 60px;
}

.streak-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
}

.streak-container .streak {
    text-align: center;
}

.streak-container .streak-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #0d6efd;
}

.streak-container .streak-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.current-streak, .best-streak {
    text-align: center;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}

.streak-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #0d6efd;
}

.best-streak .streak-number {
    color: #198754;
}

.streak-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    min-height: 200px;
    max-height: 800px;
    overflow: hidden;
}

.image-container img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 800px;
    object-fit: contain;
}

.choice-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.choice-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 500;
}

.choice-buttons .btn i {
    margin-right: 0.5rem;
}

.result-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    width: auto;
    min-width: 200px;
}

.result-container .card {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    background-color: rgba(255, 255, 255, 0.98);
}

.result-container .card-body {
    padding: 16px 24px;
}

.result-container .result-text {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.result-container.animate__animated {
    animation-duration: 0.5s;
}

.result-container .text-success {
    color: #28a745 !important;
}

.result-container .text-danger {
    color: #dc3545 !important;
}

.result-container .card.correct {
    border-left: 4px solid #198754;
}

.result-container .card.incorrect {
    border-left: 4px solid #dc3545;
}

.result-thumbnail img {
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stats-container {
    margin-top: 1.5rem;
}

.stat {
    margin-bottom: 1rem;
}

.stat-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 4px;
    border-radius: 0;
    background-color: #f0f0f0;
}

.progress-bar {
    transition: width 0.5s ease;
}

.stat-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.human-label {
    color: #0d6efd;
}

.ai-label {
    color: #dc3545;
}

/* Previous Result Display */
.previous-result {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.previous-result.show {
    opacity: 1;
}

.previous-result .alert {
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.previous-result .alert.correct {
    border-left: 4px solid #198754;
}

.previous-result .alert.incorrect {
    border-left: 4px solid #dc3545;
}

.previous-result .result-text {
    font-weight: 500;
}

.previous-result .stats-pill {
    background: rgba(0,0,0,0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

.previous-result .human-percent {
    color: #0d6efd;
}

.previous-result .ai-percent {
    color: #dc3545;
}

/* Ad Container */
.ad-container {
    margin-top: 2rem;
}

.ad-placeholder {
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 4px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate__animated {
    animation-duration: 0.5s;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

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

/* Completion Screen Styles */
.completion-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    overflow: hidden;
    position: relative;
}

.completion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #6610f2, #6f42c1);
}

.completion-header {
    position: relative;
}

.stats-summary .stat-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-summary .stat-card:hover {
    transform: translateY(-5px);
}

.stats-summary .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.stats-summary .stat-card.trophy::before {
    background: linear-gradient(90deg, #ffd700, #ffa500);
}

.stats-summary .stat-card.answers::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.stats-summary .stat-card.accuracy::before {
    background: linear-gradient(90deg, #007bff, #6610f2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .choice-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .choice-buttons .btn {
        width: 100%;
        min-width: 100px;
    }
}
