.result-container {
    max-width: 900px;
    width: 100%;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--accent);
}

.result-info {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.result-info p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.result-info p:last-child {
    margin-bottom: 0;
}

.result-info strong {
    color: var(--text-primary);
    font-weight: 600;
}

.result-info a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.result-info a:hover {
    text-decoration: underline;
    filter: brightness(1.1);
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-text {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.result-text h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.result-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    word-wrap: break-word;
    font-size: 0.95rem;
}

.res-btn-group {
    justify-content: center;
}

.res-btn-group a {
    text-decoration: none;
}

/* Typing effect indicators */
.correct {
    color: var(--success);
}

.incorrect {
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
    border-radius: 2px;
}

/* Responsive design */
@media (max-width: 768px) {
    .result-container {
        padding: 2rem;
        margin: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .result-stats {
        grid-template-columns: 1fr;
    }
}

/* Subtle animations */
@keyframes fadeResult {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-container {
    animation: fadeResult 0.3s ease;
}