(function() {
const testQuestions = [
{ section: "Grammar (A1)", q: 'Complete the sentence: "She _____ a student at the local university."', options: ["is", "are", "am", "be"], correct: 0 },
{ section: "Grammar (A1)", q: 'Choose the correct past simple form: "They _____ to Paris last summer."', options: ["go", "went", "goed", "gone"], correct: 1 },
{ section: "Grammar (A2)", q: 'Fill in the blank: "This car is _____ than the one we had before."', options: ["fast", "fastest", "faster", "more fast"], correct: 2 },
{ section: "Grammar (B1)", q: 'Select the correct form: "I have already _____ my homework."', options: ["finish", "finishing", "finishes", "finished"], correct: 3 },
{ section: "Grammar (B1)", q: 'Complete the first conditional sentence: "If it rains tomorrow, we _____ at home."', options: ["will stay", "stayed", "would stay", "stay"], correct: 0 },
{ section: "Grammar (B2)", q: 'Choose the correct third conditional form: "If I had known about the traffic, I _____ a different route."', options: ["will take", "would have taken", "would take", "had taken"], correct: 1 },
{ section: "Grammar (B2)", q: 'Fill in the relative pronoun: "The woman _____ lives next door is a famous musician."', options: ["which", "whom", "who", "whose"], correct: 2 },
{ section: "Grammar (C1)", q: 'Select the correct inverted structure: "Rarely _____ such a breathtaking performance."', options: ["I have seen", "have seen I", "did I saw", "have I seen"], correct: 3 },
{ section: "Grammar (C1)", q: 'Complete the cleft sentence: "It was not until midnight _____ the final report."', options: ["that he finished", "when he finished", "until he finished", "did he finish"], correct: 0 },
{ section: "Grammar (C1)", q: 'Choose the correct advanced modal/conditional omission: "Should you require any further assistance, please _____ hesitate to contact us."', options: ["will not", "do not", "shall not", "cannot"], correct: 1 },
{ section: "Vocabulary (A1)", q: "Which word describes a long, yellow fruit that monkeys love to eat?", options: ["Apple", "Carrot", "Banana", "Potato"], correct: 2 },
{ section: "Vocabulary (A2)", q: "Can you please _____ the television? It is too loud.", options: ["turn on", "turn up", "turn round", "turn down"], correct: 3 },
{ section: "Vocabulary (A2)", q: "I feel very _____ before my big job interview tomorrow.", options: ["nervous", "brave", "lazy", "noisy"], correct: 0 },
{ section: "Vocabulary (B1)", q: "It is important to _____ energy by switching off lights when you leave a room.", options: ["consume", "conserve", "destroy", "produce"], correct: 1 },
{ section: "Vocabulary (B1)", q: "She managed to _____ her fear of public speaking by practicing in front of a mirror.", options: ["surrender to", "succumb to", "overcome", "underestimate"], correct: 2 },
{ section: "Vocabulary (B2)", q: "The tech company's sudden release of the new device caused a massive _____ in sales.", options: ["decline", "plateau", "deficit", "surge"], correct: 3 },
{ section: "Vocabulary (B2)", q: "His arrogant and dismissive remarks completely _____ the professional atmosphere of the board meeting.", options: ["undermined", "bolstered", "cultivated", "reinforced"], correct: 0 },
{ section: "Vocabulary (C1)", q: "The politician gave a deliberately vague response in an attempt to _____ the core issue of the scandal.", options: ["clarify", "obfuscate", "illuminate", "exemplify"], correct: 1 },
{ section: "Vocabulary (C1)", q: "Her _____ commitment to the long-term conservation project earned her the respect of international environmentalists.", options: ["fickle", "sporadic", "unflinching", "tentative"], correct: 2 },
{ section: "Vocabulary (C1)", q: "The ancient diary contained several _____ entries that left modern researchers guessing about the author's true motives.", options: ["lucid", "explicit", "tangible", "cryptic"], correct: 3 },
{ section: "Reading (A1)", passage: 'Sign reads: "STORE CLOSED ON MONDAYS. OPEN TUESDAY TO SUNDAY, 9 AM - 6 PM."', q: "On which day is the store closed?", options: ["Monday", "Tuesday", "Wednesday", "Sunday"], correct: 0 },
{ section: "Reading (A2)", passage: 'Email snippet: "Hi Anna, can we move our meeting from 3:00 PM to 4:00 PM today? Something came up at work."', q: "What does the sender want to change?", options: ["The meeting day", "The meeting time", "The meeting location", "The meeting topic"], correct: 1 },
{ section: "Reading (A2)", passage: 'Notice: "Complimentary Wi-Fi is available for all hotel guests in the main lobby area."', q: "Where can guests access the free Wi-Fi?", options: ["In their private rooms", "By the outdoor pool", "In the main lobby", "At the restaurant"], correct: 2 },