# 🏍️ Ultimate Quiz: Test Your 2025 Motorcycle Knowledge

Passionate about motorcycles? Put your knowledge to the test with our ultimate interactive quiz! Speed, brands, history... 6 revealing questions!

---

import ArticleScript from '@/components/ArticleScript';
import ArticleStyle from '@/components/ArticleStyle';


{/* Hero Section Premium */}
<div className="article-container" style={{textAlign: 'center', padding: '40px 20px'}}>
    <div style={{display: 'inline-block', background: 'linear-gradient(135deg, #ef4444 0%, #dc2626 100%)', padding: '8px 20px', borderRadius: '20px', marginBottom: '20px'}}>
        <span style={{color: 'white', fontWeight: '700', fontSize: '0.9em'}}>🔥 ULTIMATE QUIZ</span>
    </div>
    
    <h1 style={{fontSize: '2.5em', lineHeight: '1.2', marginBottom: '20px', background: 'linear-gradient(135deg, #ffffff 0%, #94a3b8 100%)', WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent', backgroundClip: 'text'}}>
        Ultimate Motorcycle Knowledge Quiz
    </h1>
    
    <p style={{fontSize: '1.2em', color: '#cbd5e1', maxWidth: '700px', margin: '0 auto 30px', lineHeight: '1.6'}}>
        Welcome, two-wheeler enthusiast! <strong style={{color: '#ef4444'}}>6 questions</strong> about iconic models, speed records, and motorcycle history. Are you a true expert?
    </p>
    
    {/* Image removed: broken link (wp-content) */}
    
    <div style={{display: 'flex', gap: '15px', justifyContent: 'center', flexWrap: 'wrap', marginTop: '30px'}}>
        <div style={{background: 'rgba(255,255,255,0.05)', padding: '15px 25px', borderRadius: '12px', border: '1px solid rgba(255,255,255,0.1)'}}>
            <div style={{fontSize: '2em', marginBottom: '5px'}}>⚡</div>
            <div style={{fontSize: '0.9em', color: '#94a3b8'}}>1 min chrono</div>
        </div>
        <div style={{background: 'rgba(255,255,255,0.05)', padding: '15px 25px', borderRadius: '12px', border: '1px solid rgba(255,255,255,0.1)'}}>
            <div style={{fontSize: '2em', marginBottom: '5px'}}>🏍️</div>
            <div style={{fontSize: '0.9em', color: '#94a3b8'}}>Legendary Bikes</div>
        </div>
        <div style={{background: 'rgba(255,255,255,0.05)', padding: '15px 25px', borderRadius: '12px', border: '1px solid rgba(255,255,255,0.1)'}}>
            <div style={{fontSize: '2em', marginBottom: '5px'}}>🏆</div>
            <div style={{fontSize: '0.9em', color: '#94a3b8'}}>Expert Challenge</div>
        </div>
    </div>
    
    <button id="start-quiz-ultime-moto" style={{background: 'linear-gradient(135deg, #ef4444, #dc2626)', color: 'white', border: 'none', padding: '18px 50px', borderRadius: '50px', fontSize: '1.3em', fontWeight: '700', cursor: 'pointer', boxShadow: '0 10px 30px rgba(239, 68, 68, 0.4)', marginTop: '40px', transition: 'all 0.3s'}}>
        🚀 START QUIZ
    </button>
</div>

{/* Progress Bar */}
<div id="quiz-progress-container-ultime-moto" style={{position: 'sticky', top: '0', zIndex: '100', background: 'rgba(2, 6, 23, 0.95)', backdropFilter: 'blur(10px)', padding: '15px 20px', borderBottom: '1px solid rgba(255,255,255,0.1)', display: 'none'}}>
    <div style={{maxWidth: '800px', margin: '0 auto'}}>
        <div style={{display: 'flex', justifyContent: 'space-between', marginBottom: '8px'}}>
            <span style={{fontSize: '0.9em', color: '#94a3b8'}} id="quiz-progress-text-ultime-moto">Question 1/6</span>
            <span style={{fontSize: '0.9em', color: '#ef4444', fontWeight: '600'}} id="quiz-timer-ultime-moto">0:00</span>
        </div>
        <div style={{height: '6px', background: 'rgba(255,255,255,0.1)', borderRadius: '10px', overflow: 'hidden'}}>
            <div id="quiz-progress-bar-ultime-moto" style={{height: '100%', width: '16.66%', background: 'linear-gradient(90deg, #ef4444, #dc2626)', transition: 'width 0.3s ease', borderRadius: '10px'}}></div>
        </div>
    </div>
</div>

{/* Quiz Container */}
<div id="quiz-container-ultime-moto" style={{display: 'none', maxWidth: '800px', margin: '40px auto', padding: '0 20px'}}>
    <div style={{background: 'rgba(255,255,255,0.02)', border: '1px solid rgba(255,255,255,0.1)', borderRadius: '20px', padding: '40px', marginBottom: '20px'}}>
        <div style={{display: 'flex', alignItems: 'center', gap: '15px', marginBottom: '15px'}}>
            <div id="quiz-badge-ultime-moto" style={{background: 'linear-gradient(135deg, #ef4444, #dc2626)', minWidth: '50px', height: '50px', borderRadius: '12px', display: 'flex', alignItems: 'center', justifyContent: 'center', fontSize: '1.5em', fontWeight: '800', color: 'white', flexShrink: '0'}}>1</div>
            <div id="quiz-category-ultime-moto" style={{textTransform: 'uppercase', fontSize: '0.85em', letterSpacing: '1.5px', color: '#ef4444', background: 'rgba(239, 68, 68, 0.1)', padding: '6px 15px', borderRadius: '20px'}}></div>
        </div>
        
        <h3 id="quiz-quest-ultime-moto" style={{fontSize: '1.4em', margin: '25px 0', lineHeight: '1.5', color: '#e2e8f0'}}></h3>
        
        <div id="quiz-image-ultime-moto" style={{margin: '25px 0', textAlign: 'center'}}></div>
        
        <div id="quiz-options-ultime-moto" style={{display: 'grid', gap: '12px', marginTop: '30px'}}></div>
        
        <div style={{textAlign: 'right', marginTop: '30px'}}>
            <button id="next-quiz-ultime-moto" style={{background: 'linear-gradient(135deg, #ef4444, #dc2626)', color: 'white', border: 'none', padding: '15px 40px', borderRadius: '12px', fontSize: '1.1em', fontWeight: '700', cursor: 'pointer', transition: 'all 0.3s'}}>Next →</button>
        </div>
        
        <div style={{textAlign: 'center', marginTop: '30px', paddingTop: '20px', borderTop: '1px solid rgba(255,255,255,0.1)'}}>
            <span style={{fontSize: '1.1em', color: '#94a3b8'}}>Score : </span>
            <span id="quiz-points-ultime-moto" style={{fontSize: '1.3em', fontWeight: '700', color: '#ef4444'}}>0</span>
        </div>
    </div>
</div>

{/* Results Panel */}
<div id="quiz-result-ultime-moto" style={{display: 'none', maxWidth: '800px', margin: '60px auto', padding: '0 20px'}}>
    <div style={{background: 'linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1))', border: '2px solid rgba(239, 68, 68, 0.3)', borderRadius: '24px', padding: '50px 40px', textAlign: 'center'}}>
        <div style={{fontSize: '4em', marginBottom: '20px'}} id="quiz-emoji-ultime-moto">🎉</div>
        <h2 style={{fontSize: '2.2em', marginBottom: '15px'}}>Final Result</h2>
        <div id="quiz-final-score-ultime-moto" style={{fontSize: '3.5em', fontWeight: '800', background: 'linear-gradient(135deg, #ef4444, #dc2626)', WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent', backgroundClip: 'text', marginBottom: '20px'}}></div>
        <p id="quiz-result-text-ultime-moto" style={{fontSize: '1.2em', color: '#cbd5e1', marginBottom: '10px'}}></p>
        <div id="quiz-profile-ultime-moto" style={{display: 'inline-block', background: 'rgba(239, 68, 68, 0.2)', padding: '12px 30px', borderRadius: '20px', marginTop: '20px'}}>
            <span style={{color: '#ef4444', fontWeight: '700', fontSize: '1.1em'}} id="quiz-profile-badge-ultime-moto"></span>
        </div>

        <div style={{display: 'flex', gap: '15px', justifyContent: 'center', marginTop: '40px', flexWrap: 'wrap'}}>
            <button id="reset-quiz-ultime-moto" style={{background: 'linear-gradient(135deg, #ef4444, #dc2626)', color: 'white', border: 'none', padding: '16px 35px', borderRadius: '12px', fontSize: '1.05em', fontWeight: '700', cursor: 'pointer'}}>
                🔄 Restart
            </button>
            <a href="/dashboard" style={{background: 'rgba(255,255,255,0.05)', color: 'white', border: '2px solid rgba(255,255,255,0.2)', padding: '16px 35px', borderRadius: '12px', fontSize: '1.05em', fontWeight: '600', textDecoration: 'none', display: 'inline-block'}}>
                📊 My Profile
            </a>
        </div>
    </div>
</div>

{/* Content Section */}
<div className="article-container" style={{maxWidth: '800px', margin: '60px auto', padding: '0 20px'}}>
    <div style={{background: 'rgba(255,255,255,0.02)', border: '1px solid rgba(255,255,255,0.1)', borderRadius: '20px', padding: '40px'}}>
        <h2 style={{display: 'flex', alignItems: 'center', gap: '15px', marginBottom: '20px'}}>
            <span style={{fontSize: '2em'}}>🏍️</span>
            Test your ultimate knowledge
        </h2>
        <p style={{lineHeight: '1.8', color: '#cbd5e1'}}>
            From the Yamaha R1 to the Suzuki Hayabusa, via Harley-Davidson and Ducati legends, this quiz explores the fascinating world of motorcycles. Are you a true enthusiast capable of answering these 6 technical and historical questions?
        </p>
    </div>
</div>

{/* Social Sharing */}
<div className="action-buttons-grid" style={{maxWidth: '800px', margin: '40px auto', padding: '0 20px'}}>
    <a href="#" id="share-whatsapp-ultime-moto" className="btn-share-whatsapp" style={{background: 'linear-gradient(135deg, #25D366, #128C7E)', color: 'white', padding: '20px', borderRadius: '16px', textDecoration: 'none', display: 'flex', alignItems: 'center', justifyContent: 'center', gap: '12px', fontWeight: '700', fontSize: '1.1em', transition: 'transform 0.2s'}}>
        📱 Share on WhatsApp
    </a>
</div>


<ArticleStyle content={`

/* Fix text overflow in results */
#quiz-result-ultime-moto,
#quiz-result-ultime-moto p,
h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}
li, #quiz-options-ultime-moto label {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-container { padding: 20px 10px; }
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.5em; }
    p { font-size: 1em; }

    #quiz-options-ultime-moto label {
        padding: 12px;
        font-size: 0.95em;
    }
    
    button, a, #start-quiz-ultime-moto {
        width: 100%;
        padding: 18px 20px;
        box-sizing: border-box;
        margin-bottom: 10px;
        display: block;
        text-align: center;
        white-space: normal;
    }
    
    /* Image responsiveness */
    #quiz-image-ultime-moto img {
        width: 100%;
        height: auto;
    }
}

`} />

<ArticleScript content={`
window.initQuizUltime = function() {
    if (window.initQuizUltimeDone) return;
    const startBtn = document.getElementById('start-quiz-ultime-moto');
    if (!startBtn) return;
    
    window.initQuizUltimeDone = true;

    const questionsUltimeMoto = [
        { category: 'Speed', question: 'What is the theoretical top speed of the Yamaha YZF-R1?', options: ['200 km/h', '250 km/h', '300 km/h', '280 km/h'], answer: '300 km/h', image: 'https://2roue.com/wp-content/uploads/2025/06/Capture-dynamique-dune-Yamaha-YZF-R1-bleue-et-blanche-en-pleine-action-sur-un-circuit-son-pilote-incline-dans-un-virage-illustrant-parfaitement-la-vitesse-et-lagilite-de-cette-sportive-emblematique.webp' },
        { category: 'Brands', question: 'Which Japanese company manufactures the legendary Ninja series?', options: ['Honda', 'Yamaha', 'Kawasaki', 'Suzuki'], answer: 'Kawasaki', image: 'https://2roue.com/wp-content/uploads/2025/06/Une-Kawasaki-Ninja-vert-vif-avec-ses-lignes-acerees-et-son-design-aerodynamique-mise-en-valeur-sous-des-projecteurs-brillants-dans-un-salon-de-la-moto-symbolisant-puissance-et-innovation.webp' },
        { category: 'History', question: 'What is the oldest motorcycle manufacturer in the world still in operation?', options: ['Harley-Davidson', 'Indian Motorcycle', 'Royal Enfield', 'Triumph'], answer: 'Royal Enfield', image: 'https://2roue.com/wp-content/uploads/2025/06/Une-moto-ancienne-rouge-possiblement-une-Indian-des-annees-40-patinee-par-le-temps-et-couverte-de-poussiere-evoquant-la-riche-histoire-et-le-charme-intemporel-des-deux-roues-classiques.webp' },
        { category: 'Technique', question: 'What type of engine is most often associated with Harley-Davidson motorcycles?', options: ['Inline 4-cylinder', 'Boxer Engine', 'V-Twin Engine', 'Single Cylinder'], answer: 'V-Twin Engine', image: 'https://2roue.com/wp-content/uploads/2025/06/Gros-plan-detaille-et-eclatant-du-moteur-V-Twin-chrome-et-noir-dune-Harley-Davidson-mettant-en-lumiere-lingenierie-robuste-et-le-coeur-emblematique-de-ces-motos-americaines.webp' },
        { category: 'Records', question: 'Which motorcycle holds the land speed record for a production motorcycle?', options: ['Kawasaki ZX-14R', 'BMW S1000RR', 'Suzuki Hayabusa', 'Ducati Panigale V4'], answer: 'Suzuki Hayabusa', image: 'https://2roue.com/wp-content/uploads/2025/06/Una-Suzuki-Hayabusa-en-pleine-acceleration-sur-une-route-ouverte-capturee-avec-un-flou-de-mouvement-qui-accentue-sa-vitesse-fulgurante-et-sa-puissance-legendaire.webp' },
        { category: 'Models', question: 'Which manufacturer is known for its "Diavel" and "Monster" motorcycles?', options: ['MV Agusta', 'Aprilia', 'Ducati', 'KTM'], answer: 'Ducati', image: 'https://2roue.com/wp-content/uploads/2025/06/Une-Ducati-Monster-rouge-reconnaissable-a-son-cadre-treillis-et-son-design-minimaliste-garee-sous-la-lumiere-doree-du-soleil-incarnant-lelegance-et-le-caractere-sportif-italien.webp' }
    ];

    let currentQuestionIndexUltimeMoto = 0;
    let scoreUltimeMoto = 0;
    let startTimeUltimeMoto = Date.now();
    let timerIntervalUltimeMoto = null;

    function startTimerUltimeMoto() {
        if (timerIntervalUltimeMoto) clearInterval(timerIntervalUltimeMoto);
        startTimeUltimeMoto = Date.now();
        timerIntervalUltimeMoto = setInterval(updateTimerUltimeMoto, 1000);
    }

    function updateTimerUltimeMoto() {
        const elapsed = Math.floor((Date.now() - startTimeUltimeMoto) / 1000);
        const minutes = Math.floor(elapsed / 60);
        const seconds = elapsed % 60;
        const timerEl = document.getElementById('quiz-timer-ultime-moto');
        if (timerEl) {
            timerEl.textContent = minutes + ':' + (seconds < 10 ? '0' : '') + seconds;
        }
    }

    function updateProgressUltimeMoto() {
        const progressText = document.getElementById('quiz-progress-text-ultime-moto');
        const progressBar = document.getElementById('quiz-progress-bar-ultime-moto');
        const progressContainer = document.getElementById('quiz-progress-container-ultime-moto');
        const badge = document.getElementById('quiz-badge-ultime-moto');
        
        if (progressText) progressText.textContent = 'Question ' + (currentQuestionIndexUltimeMoto + 1) + '/6';
        if (progressBar) progressBar.style.width = ((currentQuestionIndexUltimeMoto + 1) / 6 * 100) + '%';
        if (progressContainer) progressContainer.style.display = 'block';
        if (badge) badge.textContent = (currentQuestionIndexUltimeMoto + 1);
    }

    function startQuiz() {
        if (startBtn) startBtn.style.display = 'none';
        const quizContainer = document.getElementById('quiz-container-ultime-moto');
        if (quizContainer) quizContainer.style.display = 'block';
        
        currentQuestionIndexUltimeMoto = 0;
        scoreUltimeMoto = 0;
        startTimerUltimeMoto();
        showQuestionUltimeMoto();
        
        quizContainer.scrollIntoView({ behavior: 'smooth' });
    }

    function showQuestionUltimeMoto() {
        const question = questionsUltimeMoto[currentQuestionIndexUltimeMoto];
        const categoryEl = document.getElementById('quiz-category-ultime-moto');
        const questEl = document.getElementById('quiz-quest-ultime-moto');
        const imageEl = document.getElementById('quiz-image-ultime-moto');
        const optionsEl = document.getElementById('quiz-options-ultime-moto');
        const pointsEl = document.getElementById('quiz-points-ultime-moto');
        const nextBtn = document.getElementById('next-quiz-ultime-moto');
        
        if (categoryEl) categoryEl.textContent = question.category;
        if (questEl) questEl.textContent = question.question;
        if (pointsEl) pointsEl.textContent = scoreUltimeMoto;
        
        // Add image
        if (imageEl && question.image) {
            imageEl.innerHTML = '<img src="' + question.image + '" alt="' + question.category + '" style="width: 100%; max-width: 600px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.3);" />';
        }
        
        // Generate options
        if (optionsEl) {
            optionsEl.innerHTML = '';
            question.options.forEach((opt, idx) => {
                const label = document.createElement('label');
                label.style.cssText = 'display: flex; align-items: center; gap: 15px; padding: 18px; background: rgba(255,255,255,0.03); border: 2px solid rgba(255,255,255,0.1); border-radius: 12px; cursor: pointer; transition: all 0.2s;';
                label.innerHTML = '<input type="radio" name="quiz-option-ultime-moto" value="' + opt + '" style="width: 20px; height: 20px; accent-color: #ef4444;" /><span style="font-size: 1.05em;">' + opt + '</span>';
                optionsEl.appendChild(label);
            });
        }
        
        // Update button text
        if (nextBtn) {
            nextBtn.onclick = answerQuizUltimeMoto;
            if (currentQuestionIndexUltimeMoto === questionsUltimeMoto.length - 1) {
                nextBtn.textContent = '✅ Finish';
                nextBtn.style.background = 'linear-gradient(135deg, #22c55e, #16a34a)';
            } else {
                nextBtn.textContent = 'Next →';
                nextBtn.style.background = 'linear-gradient(135deg, #ef4444, #dc2626)';
            }
        }
        
        updateProgressUltimeMoto();
    }

    function answerQuizUltimeMoto() {
        const selected = document.querySelector('input[name="quiz-option-ultime-moto"]:checked');
        if (!selected) {
            alert('Please select an answer');
            return;
        }
        
        const question = questionsUltimeMoto[currentQuestionIndexUltimeMoto];
        if (selected.value === question.answer) {
            scoreUltimeMoto++;
        }
        
        currentQuestionIndexUltimeMoto++;
        
        if (currentQuestionIndexUltimeMoto < questionsUltimeMoto.length) {
            showQuestionUltimeMoto();
        } else {
            endQuizUltimeMoto();
        }
    }

    function endQuizUltimeMoto() {
        if (timerIntervalUltimeMoto) clearInterval(timerIntervalUltimeMoto);
        
        const quizContainer = document.getElementById('quiz-container-ultime-moto');
        const resultDiv = document.getElementById('quiz-result-ultime-moto');
        const scoreEl = document.getElementById('quiz-final-score-ultime-moto');
        const textEl = document.getElementById('quiz-result-text-ultime-moto');
        const profileEl = document.getElementById('quiz-profile-badge-ultime-moto');
        const emojiEl = document.getElementById('quiz-emoji-ultime-moto');
        const progressContainer = document.getElementById('quiz-progress-container-ultime-moto');
        
        if (quizContainer) quizContainer.style.display = 'none';
        if (progressContainer) progressContainer.style.display = 'none';
        
        // Profiling
        let pilotProfile = "Beginner";
        let emoji = "📚";
        let message = "";
        
        if (scoreUltimeMoto === 6) {
            pilotProfile = "Absolute Expert";
            emoji = "🏆";
            message = "Perfect! You know motorcycles inside out!";
        } else if (scoreUltimeMoto >= 5) {
            pilotProfile = "Confirmed Enthusiast";
            emoji = "🔥";
            message = "Excellent! You are a real connoisseur!";
        } else if (scoreUltimeMoto >= 3) {
            pilotProfile = "Enlightened Amateur";
            emoji = "👍";
            message = "Not bad! You have good basics!";
        } else {
            pilotProfile = "Beginner";
            emoji = "📚";
            message = "Keep learning, the motorcycle world is fascinating!";
        }
        
        try {
            if (typeof window.save2RoueQuizResult === 'function') {
                window.save2RoueQuizResult(scoreUltimeMoto, 6, 'Ultimate Moto Quiz', pilotProfile);
            }
        } catch(e) { console.error(e); }
        
        if (scoreEl) scoreEl.textContent = scoreUltimeMoto + '/6';
        if (textEl) textEl.textContent = message;
        if (profileEl) profileEl.textContent = '🎖️ ' + pilotProfile;
        if (emojiEl) emojiEl.textContent = emoji;
        
        // Update share link
        const shareBtn = document.getElementById('share-whatsapp-ultime-moto');
        if (shareBtn) {
            const shareText = encodeURIComponent('I got ' + scoreUltimeMoto + '/6 on the Ultimate Moto Quiz on 2roue.com! 🏍️');
            shareBtn.href = 'https://wa.me/?text=' + shareText;
        }
        
        if (resultDiv) {
            resultDiv.style.display = 'block';
            resultDiv.scrollIntoView({ behavior: 'smooth', block: 'center' });
        }
    }

    if (startBtn) startBtn.onclick = startQuiz;
    
    const nextBtn = document.getElementById('next-quiz-ultime-moto');
    if (nextBtn) nextBtn.onclick = answerQuizUltimeMoto;

    const resetBtn = document.getElementById('reset-quiz-ultime-moto');
    if (resetBtn) {
        resetBtn.onclick = function() {
            document.getElementById('quiz-result-ultime-moto').style.display = 'none';
            document.getElementById('start-quiz-ultime-moto').style.display = 'inline-block';
            window.scrollTo({ top: 0, behavior: 'smooth' });
        };
    }
};

if (document.readyState === 'loading') {
    document.addEventListener('DOMContentLoaded', window.initQuizUltime);
} else {
    window.initQuizUltime();
}
setTimeout(function() {
    if(!window.initQuizUltimeDone && window.initQuizUltime) window.initQuizUltime();
}, 500);

window.startTimerUltimeMoto = function() {}; // Fallback
window.startQuizUltimeMoto = function() {}; // Fallback
window.restartQuizUltimeMoto = function() {}; // Fallback
`} />

