{
  "lessons": {
    "categories": {
      "fundamentals": "Fundamentals",
      "e4-openings": "1.e4 Openings",
      "d4-openings": "1.d4 Openings",
      "flank-openings": "Flank Openings",
      "defenses-e4": "Defenses vs 1.e4",
      "defenses-d4": "Defenses vs 1.d4",
      "gambits": "Gambits",
      "traps": "Traps"
    },
    "difficulty": {
      "beginner": "Beginner",
      "intermediate": "Intermediate",
      "advanced": "Advanced"
    },
    "ui": {
      "hints": "Hints",
      "hintOf": "Hint {{current}}/{{total}}",
      "nextHint": "Next Hint",
      "showAnswer": "Show Answer",
      "coach": "Coach",
      "narrator": "Narrator",
      "tapToContinue": "Tap to continue",
      "seeOnBoard": "See on board →",
      "understood": "Got it",
      "tryAgainMessage": "That's not the right move. Try again!",
      "correctMessage": "Well done!",
      "branchAvailable": "Variation available!",
      "branchSubtitle": "Explore a variation or continue the main line",
      "continueMainLine": "Continue Main Line",
      "mainLineDescription": "Follow the standard opening development",
      "returnToMain": "Return to Main Line",
      "lessonComplete": "Lesson Complete!",
      "branchComplete": "Variation Complete!",
      "returnToBranch": "Return to Branch",
      "mainLine": "Main",
      "perfect": "Perfect!",
      "correct": "Correct",
      "mistakes": "Mistakes",
      "accuracy": "Accuracy",
      "hintsUsedCount": "{{count}} hints used",
      "replay": "Replay",
      "nextLesson": "Next Lesson",
      "backToLessons": "Back to Lessons",
      "moves": "moves",
      "min": "min",
      "tapHintForMore": "Tap 💡 for next hint",
      "tapHintOnError": "Tap 💡 for a hint",
      "yourTurn": "Your turn!",
      "startLesson": "Start",
      "moveProgress": "Move",
      "notFound": "Lesson not found"
    },
    "italianGame": {
      "title": "Italian Game",
      "description": "Learn the classic Italian Game opening as White",
      "intro": "Welcome to the Italian Game! This classic opening develops the bishop to c4, targeting Black's vulnerable f7 square. You'll learn to build a strong center and launch powerful attacks!",
      "hint1_e4": "Start by controlling the center",
      "hint2_e4": "The king's pawn is your best friend",
      "hint3_e4": "Play e4 — control the center and open lines for your bishop and queen",
      "afterE4": "Great start! You've claimed the center.",
      "blackE5": "Black responds symmetrically with e5.",
      "hint1_Nf3": "Develop a piece while attacking",
      "hint2_Nf3": "Your knight can attack the e5 pawn",
      "hint3_Nf3": "Play Nf3 — develop the knight while attacking the e5 pawn",
      "afterNf3": "Perfect! You're developing with a threat.",
      "blackNc6": "Black defends the pawn with Nc6.",
      "hint1_Bc4": "The weak point in Black's position is f7",
      "hint2_Bc4": "Your bishop can aim at that weakness",
      "hint3_Bc4": "Play Bc4 — aim the bishop at f7, Black's weakest point",
      "afterBc4": "Excellent! This is the Italian Game! Your bishop eyes f7.",
      "branchPrompt": "Black can respond in different ways here",
      "blackBc5": "Black mirrors your development with Bc5. This is the Giuoco Piano!",
      "hint1_c3": "Prepare to build a strong center",
      "hint2_c3": "A pawn move to support d4",
      "hint3_c3": "Play c3 — prepare d4 to build a strong pawn center",
      "afterC3": "Well done! You're preparing d4.",
      "blackNf6": "Black develops the knight to attack e4.",
      "hint1_d4": "Time to strike in the center!",
      "hint2_d4": "Challenge Black's central pawn",
      "hint3_d4": "Play d4 — strike in the center while your pieces are ready",
      "afterD4": "Perfect! You've established a strong center.",
      "conclusion": "Congratulations! You've completed the Italian Game. Your pieces are well developed and you control the center.",
      "branches": {
        "giuocoPiano": {
          "name": "Giuoco Piano",
          "description": "The quiet game - a solid and classical approach",
          "blackBc5": "Black plays Bc5, entering the Giuoco Piano.",
          "hint1_c3": "Prepare for a pawn center",
          "hint2_c3": "Support a future d4 push",
          "hint3_c3": "Play c3 — prepare the powerful d4 central push",
          "afterC3": "Excellent! You're ready for d4."
        },
        "twoKnights": {
          "name": "Two Knights Defense",
          "description": "A sharper response from Black",
          "blackNf6": "Black plays Nf6, entering the Two Knights Defense!",
          "hint1_Ng5": "Attack the weak f7 square aggressively",
          "hint2_Ng5": "Your knight can join the attack on f7",
          "hint3_Ng5": "Play Ng5 — double attack on f7 with your knight and bishop",
          "afterNg5": "Bold! This leads to sharp play. White threatens Nxf7 (the Fried Liver Attack).",
          "branchPrompt": "Black must respond to the threat. Explore a variation?",
          "blackD5": "Black defends with d5.",
          "conclusion": "Well done! You've learned the Two Knights Defense attack."
        },
        "friedLiver": {
          "name": "Fried Liver Attack",
          "description": "A famous knight sacrifice on f7",
          "blackD5": "Black plays d5, the most common defense.",
          "hint1_exd5": "Capture the pawn",
          "hint2_exd5": "Capture the pawn to open lines for your pieces",
          "hint3_exd5": "Play exd5 — open lines and set up the knight sacrifice",
          "afterExd5": "Good! Now Black has a critical decision.",
          "blackNxd5": "Black recaptures with the knight - a mistake in the Fried Liver!",
          "hint1_Nxf7": "Sacrifice the knight to expose Black's king",
          "hint2_Nxf7": "The knight sacrifice is devastating",
          "hint3_Nxf7": "Play Nxf7 — sacrifice the knight to expose Black's king with a devastating fork",
          "afterNxf7": "The Fried Liver Attack! Black's king is exposed.",
          "conclusion": "Excellent! The Fried Liver leads to a powerful attack. Black's king is in serious danger."
        },
        "traxler": {
          "name": "Traxler Counterattack",
          "description": "Black's daring counterattack with Bc5!?",
          "blackBc5": "Black plays Bc5!? - The Traxler Counterattack! Black ignores the threat!",
          "hint1_Nxf7": "Accept the sacrifice and attack",
          "hint2_Nxf7": "Your knight can capture a key pawn and fork two major pieces",
          "hint3_Nxf7": "Play Nxf7 — capture the pawn while forking Black's queen and rook",
          "afterNxf7": "You've taken the pawn, but Black has a counterattack!",
          "blackBxf2": "Black strikes back with Bxf2+! The king must move.",
          "hint1_Kf1": "Move the king to safety",
          "hint2_Kf1": "Step the king aside to dodge the check without losing material",
          "hint3_Kf1": "Play Kf1 — sidestep the check while keeping your extra material",
          "afterKf1": "The position is sharp and double-edged.",
          "conclusion": "The Traxler leads to wild tactical play. Both sides must be careful!"
        }
      },
      "analysis": {
        "centralControl": "The e4 and d4 squares are key for White's central control",
        "nf3Pressure": "The knight attacks the e5 pawn",
        "developWithThreat": "Develop pieces while creating threats",
        "bc4Target": "The bishop aims at the weak f7 square",
        "f7Weak": "f7 is only defended by the king - a classic weakness!",
        "ng5DoubleAttack": "Both knight and bishop attack f7!",
        "bc4AlsoTargets": "The bishop joins the attack on f7",
        "f7OnlyKingDefends": "Only the king protects f7",
        "forkKingQueen": "The knight attacks the king!",
        "queenUnderAttack": "The knight also attacks the queen!",
        "materialAdvantage": "White wins material with this fork",
        "traxlerCounterThreat": "Black threatens Bxf2+ - a counter-sacrifice!"
      }
    },
    "scholarsMateAttack": {
      "title": "Scholar's Mate",
      "description": "Learn the 4-move checkmate against careless opponents",
      "intro": "Welcome to Scholar's Mate! This 4-move checkmate teaches you the power of coordinating your queen and bishop against f7. It only works if your opponent makes mistakes, but the attacking ideas are essential to understand!",
      "hint1_e4": "Start by controlling the center",
      "hint2_e4": "Open the diagonal for your bishop",
      "hint3_e4": "Play e4 — control the center and open the diagonal for your bishop",
      "afterE4": "Good! You control the center and open lines.",
      "blackE5": "Black responds symmetrically.",
      "hint1_Bc4": "Target the weak f7 square",
      "hint2_Bc4": "Develop your bishop to c4",
      "hint3_Bc4": "Play Bc4 — target f7, which is only defended by the king",
      "afterBc4": "Your bishop aims at f7, the weakest point at the start of the game!",
      "blackNc6": "Black develops the knight.",
      "hint1_Qh5": "Create a double threat",
      "hint2_Qh5": "Threaten f7 and e5 at the same time",
      "hint3_Qh5": "Play Qh5 — threaten both Qxf7# and Qxe5 at the same time",
      "afterQh5": "You threaten Qxf7# and Qxe5. This is Scholar's Mate!",
      "blackNf6": "Fatal mistake! Black tries to chase your queen but forgets about f7...",
      "hint1_Qxf7": "It's checkmate!",
      "hint2_Qxf7": "Capture the f7 pawn with your queen",
      "hint3_Qxf7": "Play Qxf7# — deliver checkmate on the undefended f7 square",
      "checkmate": "CHECKMATE! The king cannot escape.",
      "conclusion": "Congratulations! You executed Scholar's Mate. Warning: good players know how to defend with g6 or Qe7, which blocks both threats. Use this trap wisely!",
      "analysis": {
        "f7WeakPoint": "f7 is Black's weakest point - only defended by the king",
        "attackPlan": "Our plan: attack f7 with bishop and queen",
        "bishopTargetsF7": "The bishop now targets the weak f7 square",
        "f7OnlyKingDefends": "Remember: only Black's king defends f7",
        "queenThreatsF7": "The queen threatens Qxf7 checkmate!",
        "queenThreatsE5": "The queen also threatens the e5 pawn",
        "doubleAttack": "f7 and e5 are both under attack - Black cannot defend both",
        "f7StillUndefended": "f7 is still undefended!",
        "mateInOne": "Checkmate in one move - Qxf7#",
        "queenDeliversMate": "The queen delivers checkmate on f7",
        "kingTrapped": "The king is trapped - no escape squares"
      }
    },
    "ruyLopez": {
      "title": "Ruy Lopez",
      "description": "Master the Spanish Opening as White",
      "intro": "Welcome to the Ruy Lopez! Named after a 16th-century Spanish priest, this legendary opening puts pressure on Black's e5 pawn through Bb5. You'll learn deep strategic ideas that have been refined over centuries!",
      "hint1_e4": "Start by controlling the center",
      "hint2_e4": "A central pawn move opens the game",
      "hint3_e4": "Play e4 — claim central space and open lines for your pieces",
      "blackE5": "Black responds symmetrically.",
      "hint1_Nf3": "Develop and attack the e5 pawn",
      "hint2_Nf3": "A knight can develop with a threat to the center",
      "hint3_Nf3": "Play Nf3 — develop the knight while threatening the e5 pawn",
      "afterNf3": "Good! Your knight threatens e5.",
      "blackNc6": "Black defends e5 with the knight.",
      "hint1_Bb5": "This is the signature move of the Ruy Lopez",
      "hint2_Bb5": "Put pressure on the defending knight",
      "hint3_Bb5": "Play Bb5 — put indirect pressure on e5 through the c6 knight",
      "afterBb5": "This is the Ruy Lopez! You put indirect pressure on e5.",
      "branchPrompt": "Black has several popular responses. Explore a variation?",
      "blackA6": "Black kicks the bishop - this is the Morphy Defense.",
      "hint1_Ba4": "Retreat the bishop while keeping the pressure",
      "hint2_Ba4": "The bishop can retreat while keeping pressure on the knight",
      "hint3_Ba4": "Play Ba4 — retreat while maintaining pressure on the c6 knight",
      "afterBa4": "Good! The bishop maintains pressure on c6.",
      "blackNf6": "Black develops and attacks e4.",
      "hint1_O-O": "Get your king to safety",
      "hint2_O-O": "Castling also activates the rook",
      "hint3_O-O": "Castle — secure your king and activate the rook for central play",
      "afterO-O": "Excellent! Your king is safe.",
      "blackBe7": "Black also prepares to castle.",
      "hint1_Re1": "Support the e4 pawn",
      "hint2_Re1": "A rook can support your central pawn",
      "hint3_Re1": "Play Re1 — support the e4 pawn and control the open e-file",
      "afterRe1": "Perfect! The rook supports e4 and controls the e-file.",
      "conclusion": "Well done! You've reached a classic Ruy Lopez position. You have harmonious development and control of the center.",
      "berlin": {
        "name": "Berlin Defense",
        "description": "The Berlin Wall - very solid",
        "intro": "The Berlin Defense is famous for its solidity. Kramnik used it to beat Kasparov in 2000.",
        "hint1_O-O": "Castle before Black takes e4",
        "hint2_O-O": "Get your king to safety first",
        "hint3_O-O": "Castle — get your king to safety before Black captures on e4",
        "afterO-O": "Well played!",
        "blackNxe4": "Black takes the e4 pawn!",
        "hint1_d4": "Counter-attack in the center",
        "hint2_d4": "Open the game and gain time",
        "hint3_d4": "Play d4 — counter-attack in the center and open lines for your pieces",
        "afterD4": "Excellent! You counter-attack vigorously.",
        "conclusion": "This is the main line of the Berlin. The game becomes very technical and endgames are frequent."
      },
      "morphy": {
        "name": "Morphy Defense",
        "description": "The most popular response",
        "intro": "The Morphy Defense (3...a6) is the most played response. It forces the bishop to make a decision.",
        "hint1_Ba4": "Keep the pressure on c6",
        "hint2_Ba4": "Don't take the knight just yet",
        "hint3_Ba4": "Play Ba4 — maintain the pin on c6 without exchanging pieces",
        "afterBa4": "Good! You maintain the tension.",
        "blackNf6": "Black counter-attacks e4.",
        "hint1_O-O": "Secure your king",
        "hint2_O-O": "Castling prepares rook activity on the center",
        "hint3_O-O": "Castle — secure the king and prepare rook activity on the e-file",
        "afterO-O": "Perfect!",
        "blackBe7": "Black develops the bishop.",
        "hint1_Re1": "Support e4 and prepare the center",
        "hint2_Re1": "A rook belongs on the most important open file",
        "hint3_Re1": "Play Re1 — support e4 and prepare to control the open e-file",
        "afterRe1": "Excellent!",
        "conclusion": "This is the tabiya position of the Morphy Defense. From here, you can play c3 and d4 to build an ideal center."
      },
      "exchange": {
        "name": "Exchange Variation",
        "description": "A simple and direct approach",
        "intro": "In the Exchange Variation, White captures the knight immediately. This simplifies the position and gives White a long-term structural advantage.",
        "hint1_Bxc6": "Take the knight to damage Black's pawn structure",
        "hint2_Bxc6": "Capturing the knight damages the enemy pawn structure",
        "hint3_Bxc6": "Play Bxc6 — damage Black's pawn structure by creating doubled c-pawns",
        "afterBxc6": "Good! You've given Black doubled pawns on the c-file.",
        "blackDxc6": "Black recaptures with the d-pawn, keeping the center but doubling the c-pawns.",
        "hint1_O-O": "Get your king to safety",
        "hint2_O-O": "Castle and prepare to exploit the structural advantage",
        "hint3_O-O": "Castle — get your king safe and prepare to exploit the structural advantage",
        "afterO-O": "Well played!",
        "conclusion": "In the Exchange Variation, you have a better pawn structure. Your plan is to trade pieces and exploit the endgame advantage. Bobby Fischer used this line with great success!"
      },
      "open": {
        "name": "Open Ruy Lopez",
        "description": "Sharp and tactical play",
        "intro": "Black takes the e4 pawn! The Open Ruy Lopez leads to sharp, tactical positions. You need to react energetically.",
        "hint1_d4": "Strike back in the center immediately",
        "hint2_d4": "Open lines for your pieces",
        "hint3_d4": "Play d4 — counter-attack in the center to seize the initiative",
        "afterD4": "Excellent! You're fighting for the center.",
        "blackB5": "Black pushes the bishop back to gain space on the queenside.",
        "hint1_Bb3": "Retreat the bishop to a safe diagonal",
        "hint2_Bb3": "The bishop can retreat while keeping an active diagonal",
        "hint3_Bb3": "Play Bb3 — retreat the bishop to a safe square while keeping the a2-g8 diagonal",
        "afterBb3": "Good! The bishop is safe and still active.",
        "blackD5": "Black reinforces the center. The position is very dynamic!",
        "hint1_dxe5": "Capture to open the position",
        "hint2_dxe5": "Capture in the center to gain a pawn and open lines",
        "hint3_dxe5": "Play dxe5 — win a pawn and open lines for your pieces",
        "afterDxe5": "Well done! You have an extra pawn and active pieces.",
        "conclusion": "The Open Ruy Lopez leads to complex middlegames with chances for both sides. White has active pieces and Black has a strong center."
      },
      "branchPrompt5w": "After castling, Black can take the e4 pawn! Explore the Open Ruy Lopez?",
      "analysis": {
        "centralControl": "Control the center with e4",
        "nf3Pressure": "The knight attacks the e5 pawn",
        "bb5Pin": "The bishop puts pressure on the c6 knight",
        "c6Knight": "The knight on c6 defends e5",
        "pawnTaken": "Black captures the e4 pawn",
        "re1Support": "The rook supports the e4 pawn"
      }
    },
    "londonSystem": {
      "title": "London System",
      "description": "A solid and reliable opening system for White",
      "intro": "Welcome to the London System! This reliable opening builds a solid pyramid with d4, Bf4, and e3, giving you a safe and flexible position. You can use it against almost any Black defense — let's master this universal weapon!",
      "hint1_d4": "Start with the queen's pawn",
      "hint2_d4": "A central pawn move controls key squares",
      "hint3_d4": "Play d4 — control the center and prepare the London bishop move",
      "blackD5": "Black contests the center.",
      "hint1_Bf4": "This is the key move of the London",
      "hint2_Bf4": "Develop the bishop before e3",
      "hint3_Bf4": "Play Bf4 — develop the bishop to its ideal square before closing it in with e3",
      "afterBf4": "This is the trademark of the London System! The bishop is active on the active diagonal.",
      "blackNf6": "Black develops the kingside knight.",
      "hint1_e3": "Solidify your structure",
      "hint2_e3": "A small pawn move protects the bishop and prepares development",
      "hint3_e3": "Play e3 — solidify the center and protect the Bf4",
      "afterE3": "Good! Your structure is rock solid.",
      "blackC5": "Black attacks your center.",
      "hint1_c3": "Reinforce d4",
      "hint2_c3": "A pawn move reinforces your center and prepares knight development",
      "hint3_c3": "Play c3 — reinforce d4 to create an unbreakable center",
      "afterC3": "Perfect! d4 is now very well protected.",
      "blackNc6": "Black continues development.",
      "hint1_Nf3": "Develop the kingside knight",
      "hint2_Nf3": "The knight on f3 defends d4 and e5",
      "hint3_Nf3": "Play Nf3 — develop the knight to defend d4 and control e5",
      "afterNf3": "Excellent development!",
      "blackE6": "Black prepares bishop development.",
      "hint1_Bd3": "Complete minor piece development",
      "hint2_Bd3": "The bishop on d3 targets h7",
      "hint3_Bd3": "Play Bd3 — aim the bishop at the h7 pawn for kingside pressure",
      "afterBd3": "Your bishop is on an excellent attacking diagonal.",
      "blackBe7": "Black prepares to castle.",
      "hint1_Nbd2": "Develop the last knight",
      "hint2_Nbd2": "The knight can go to e5 or f1-g3",
      "hint3_Nbd2": "Play Nbd2 — develop the last minor piece with routes to e5 or g3",
      "afterNbd2": "Perfect!",
      "conclusion": "Well done! You have a classic London position. You can now castle, then play h3 and g4 for a kingside attack, or play Qc2 and Re1.",
      "branchPoints": {
        "bf5": "Black can try Bf5 to challenge your bishop!",
        "c5": "Black attacks the center with c5. How to respond?",
        "antiKid": "Black can play differently from the start. Explore the anti-KID variation!"
      },
      "branches": {
        "bf5Response": {
          "name": "Bf5 Response",
          "description": "When Black challenges your bishop",
          "intro": "Black develops the bishop to f5 before playing e6. This challenges your London bishop directly!",
          "hint1_e3": "Solidify your position first",
          "hint2_e3": "A small pawn move protects the bishop and prepares development",
          "hint3_e3": "Play e3 — solidify the structure and protect your bishop",
          "afterE3": "Good! Your structure is solid.",
          "blackE6": "Black reinforces the center.",
          "hint1_c4": "Challenge Black's center and bishop",
          "hint2_c4": "A pawn push challenges the center and restricts the enemy bishop",
          "hint3_c4": "Play c4 — challenge Black's center and restrict the f5 bishop",
          "afterC4": "Excellent! You put pressure on d5 and the bishop has fewer squares.",
          "blackBxb1": "Black takes the knight on b1. The bishop had no good retreat!",
          "hint1_Rxb1": "Recapture with the rook",
          "hint2_Rxb1": "The rook will be active on the b-file",
          "hint3_Rxb1": "Play Rxb1 — recapture with the rook to gain activity on the b-file",
          "conclusion": "You've won the bishop pair and have the open b-file. Your position is slightly better."
        },
        "c5Counter": {
          "name": "c5 Counter",
          "description": "Black attacks the center early",
          "intro": "Black attacks d4 immediately with c5. You need to reinforce your center.",
          "hint1_c3": "Reinforce the d4 pawn",
          "hint2_c3": "A pawn move reinforces the center solidly",
          "hint3_c3": "Play c3 — reinforce d4 to hold the center against Black's pressure",
          "afterC3": "Perfect! Your center is rock solid.",
          "blackNc6": "Black develops and increases pressure on d4.",
          "hint1_Nd2": "Develop the knight flexibly",
          "hint2_Nd2": "From d2, the knight can go to f3 or b3",
          "hint3_Nd2": "Play Nd2 — develop flexibly with options to reroute to f3 or b3",
          "conclusion": "You have a stable position with a well-protected center. The knight on d2 keeps your options open."
        },
        "antiKid": {
          "name": "Anti-KID",
          "description": "Against the King's Indian setup",
          "intro": "Black plays Nf6 instead of d5. This often leads to a King's Indian setup, but the London still works!",
          "hint1_Bf4": "Develop the bishop first!",
          "hint2_Bf4": "This is still the London plan",
          "hint3_Bf4": "Play Bf4 — the London bishop comes out before e3, as always",
          "afterBf4": "Excellent! The London works against everything.",
          "blackG6": "Black prepares Bg7.",
          "hint1_e3": "Solidify the structure",
          "hint2_e3": "A small pawn move prepares bishop development",
          "hint3_e3": "Play e3 — solidify the center and prepare bishop development",
          "afterE3": "Perfect!",
          "blackBg7": "The bishop develops in fianchetto.",
          "hint1_Nf3": "Natural development",
          "hint2_Nf3": "A knight move controls a key central square",
          "hint3_Nf3": "Play Nf3 — develop naturally while supporting the d4 pawn",
          "afterNf3": "Good development!",
          "blackOO": "Black castles.",
          "hint1_Be2": "Prepare to castle",
          "hint2_Be2": "Develop the bishop to a safe, flexible square",
          "hint3_Be2": "Play Be2 — complete development and prepare to castle kingside",
          "afterBe2": "You're ready to castle.",
          "blackD6": "Black plays solidly.",
          "hint1_OO": "Get your king to safety",
          "hint2_OO": "Castle and connect the rooks",
          "hint3_OO": "Castle — connect the rooks and secure the king",
          "conclusion": "You have a solid London position against the King's Indian setup."
        }
      },
      "analysis": {
        "centralControl": "Control the center with d4",
        "bf4Diagonal": "The bishop controls the h2-b8 diagonal",
        "solidStructure": "A rock-solid pawn structure",
        "bd3Attack": "The bishop targets the h7 pawn",
        "knightRoute": "The knight can jump to e5"
      }
    },
    "sicilianNajdorf": {
      "title": "Sicilian Najdorf",
      "description": "The fighting defense against 1.e4",
      "intro": "Welcome to the Sicilian Najdorf! Named after Argentine grandmaster Miguel Najdorf, this is one of the most combative defenses in chess. A weapon of choice for Fischer, Kasparov, and many world champions, it offers Black dynamic play and sharp counterattacks!",
      "hint1_c5": "Play the Sicilian to unbalance the position",
      "hint2_c5": "The c-pawn attacks d4 and creates asymmetry",
      "hint3_c5": "Play c5 — create an asymmetric fight and contest the d4 square",
      "afterC5": "Excellent! The Sicilian is the most fighting response to 1.e4.",
      "whiteNf3": "White develops the kingside knight.",
      "hint1_d6": "Prepare the central push e5",
      "hint2_d6": "A pawn move can support the center and prepare a future advance",
      "hint3_d6": "Play d6 — support the center and prepare a future e5 advance",
      "afterD6": "Good! You're preparing natural development.",
      "whiteD4": "White strikes in the center. This is the Open Sicilian.",
      "hint1_cxd4": "Exchange to open the c-file",
      "hint2_cxd4": "Capture the d4 pawn with the c-pawn",
      "hint3_cxd4": "Play cxd4 — open the c-file for your rook's future use",
      "afterCxd4": "Perfect! You've opened the c-file for your rook.",
      "whiteNxd4": "White recaptures with the knight.",
      "hint1_Nf6": "Develop and attack e4",
      "hint2_Nf6": "The knight attacks the e4 pawn",
      "hint3_Nf6": "Play Nf6 — develop the knight while putting pressure on e4",
      "afterNf6": "Excellent! You're putting pressure on e4.",
      "whiteNc3": "White defends e4.",
      "hint1_a6": "This is the signature Najdorf move!",
      "hint2_a6": "A prophylactic pawn move prevents bishop incursions and prepares expansion",
      "hint3_a6": "Play a6 — the Najdorf move, preventing Bb5 and preparing b5 expansion",
      "afterA6": "Here's the Najdorf! This little pawn move has deep implications.",
      "branchPrompt": "White has several responses. Which variation do you want to explore?",
      "whiteBe3": "White plays Be3 - this is the English Attack.",
      "hint1_e5": "Take the center with e5",
      "hint2_e5": "A central pawn push gains space and threatens the knight",
      "hint3_e5": "Play e5 — seize central space and force the knight to retreat",
      "afterE5": "Excellent reaction! The knight must retreat.",
      "conclusion": "Well done! You've reached an important theoretical position in the Najdorf. Black has active play and many plans: b5, Be7 followed by Be6 and Qc7.",
      "analysis": {
        "c5Asymmetry": "The c5 pawn creates an asymmetric structure.",
        "c5AttacksD4": "The c5 pawn attacks the d4 square",
        "asymmetricStructure": "Black's c5 pawn creates an unbalanced position",
        "d6ControlsE5": "The d6 pawn controls the e5 square",
        "d6PreparesE5": "d6 prepares the future ...e5 advance",
        "openCFile": "The c-file is now open for Black's rook",
        "cFileForRook": "Black will place a rook on c8 for pressure",
        "nf6AttacksE4": "The knight on f6 attacks White's e4 pawn",
        "e4UnderPressure": "The e4 pawn is under attack",
        "a6BlocksB5": "a6 prevents White's bishop from going to b5",
        "a6PreparesExpansion": "a6 prepares the queenside expansion with ...b5"
      },
      "englishAttack": {
        "name": "English Attack",
        "description": "6.Be3 - The most popular approach",
        "intro": "The English Attack with Be3, f3, Qd2 and O-O-O is the most feared modern response.",
        "hint1_e5": "Gain space in the center",
        "hint2_e5": "A central pawn advance is the most dynamic response",
        "hint3_e5": "Play e5 — gain central space and kick the d4 knight",
        "afterE5": "Excellent! You're kicking the knight.",
        "whiteNb3": "The knight retreats to a stable square.",
        "hint1_Be7": "Develop the bishop and prepare castling",
        "hint2_Be7": "Develop the bishop to a flexible square that prepares castling",
        "hint3_Be7": "Play Be7 — develop the bishop and prepare kingside castling",
        "afterBe7": "Good! You're ready to castle.",
        "whiteF3": "White prepares the Be3-Qd2 battery and queenside castling.",
        "hint1_Be6": "Develop the bishop and prepare Qc7",
        "hint2_Be6": "The bishop controls key squares",
        "hint3_Be6": "Play Be6 — develop actively and prepare Qc7 for queenside play",
        "afterBe6": "Excellent development!",
        "whiteQd2": "White aligns queen and bishop for queenside castling.",
        "hint1_OO": "Castle to safety",
        "hint2_OO": "Kingside castling is prudent",
        "hint3_OO": "Castle — get the king to safety before the middlegame battle begins",
        "afterOO": "Perfect! Your king is safe.",
        "conclusion": "This is the English Attack tabiya. White will castle queenside and attack with g4-g5. Black counterattacks with b5-b4 or Qc7 and Rfc8."
      },
      "bg5Line": {
        "name": "6.Bg5 Line",
        "description": "The sharp classical continuation",
        "intro": "6.Bg5 is the classical continuation, leading to very tactical play.",
        "hint1_e6": "Reinforce the structure and free the bishop",
        "hint2_e6": "A small pawn move keeps the structure solid and flexible",
        "hint3_e6": "Play e6 — reinforce the center and keep a flexible structure",
        "afterE6": "Good move! You maintain a solid structure.",
        "whiteF4": "White plays aggressively in the center.",
        "hint1_Be7": "Develop and prepare castling",
        "hint2_Be7": "Develop the bishop to a safe square",
        "hint3_Be7": "Play Be7 — develop the bishop and prepare to castle kingside",
        "afterBe7": "You're almost ready to castle.",
        "whiteQf3": "The queen targets f7 and supports e4.",
        "hint1_Qc7": "Protect e5 and prepare counterplay",
        "hint2_Qc7": "Your queen can protect the center and prepare counterplay",
        "hint3_Qc7": "Play Qc7 — protect the center and prepare queenside counterplay",
        "afterQc7": "Excellent position for the queen!",
        "conclusion": "You're in an important theoretical position. Black has several plans: O-O followed by b5, or the famous Poisoned Pawn with Qxb2."
      },
      "sozin": {
        "name": "Sozin Attack",
        "description": "6.Bc4 - Targeting f7",
        "intro": "White plays Bc4, targeting the f7 pawn directly. This is the Sozin Attack, a sharp and aggressive approach.",
        "hint1_e6": "Reinforce the center and protect f7",
        "hint2_e6": "A small pawn move solidifies the center",
        "hint3_e6": "Play e6 — protect f7 and reinforce the central structure",
        "afterE6": "Good! You've reinforced your structure.",
        "whiteBb3": "White retreats the bishop to keep targeting f7.",
        "hint1_b5": "Gain space on the queenside",
        "hint2_b5": "A queenside pawn push prepares bishop development and creates threats",
        "hint3_b5": "Play b5 — expand on the queenside and prepare Bb7 development",
        "afterB5": "Excellent! You're taking over the queenside.",
        "whiteOO": "White castles kingside.",
        "hint1_Be7": "Develop and prepare to castle",
        "hint2_Be7": "Develop the bishop to a flexible, solid square",
        "hint3_Be7": "Play Be7 — develop the bishop and prepare to castle safely",
        "afterBe7": "Good! You're ready to castle.",
        "conclusion": "This is the Sozin tabiya. Black has active queenside play with Bb7 and plans like Qc7, Nbd7, and O-O. The position is sharp with chances for both sides."
      }
    },
    "frenchDefense": {
      "title": "French Defense",
      "description": "A solid counterattacking defense",
      "intro": "Welcome to the French Defense! With 1...e6, Black builds a solid pawn chain and prepares to strike back at the center with d5. You'll learn to handle tense pawn structures and launch powerful counterattacks on the queenside!",
      "hint1_e6": "Prepare d5 to contest the center",
      "hint2_e6": "A small pawn move supports the central push",
      "hint3_e6": "Play e6 — prepare the d5 counter-strike against White's center",
      "afterE6": "Good start! You're preparing the central counterattack.",
      "whiteD4": "White reinforces the center.",
      "hint1_d5": "Challenge the white center",
      "hint2_d5": "Push a central pawn to challenge the opponent",
      "hint3_d5": "Play d5 — challenge e4 and create central tension",
      "afterD5": "This is the typical French structure!",
      "branchPrompt": "White has several responses. Which variation do you want to explore?",
      "whiteE5": "White advances - this is the Advance variation.",
      "hint1_c5": "Attack the base of the pawn chain",
      "hint2_c5": "A pawn move undermines the white center",
      "hint3_c5": "Play c5 — attack the base of White's pawn chain at d4",
      "afterC5": "Excellent! You're attacking the base of the pawn chain.",
      "whiteC3": "White reinforces d4.",
      "hint1_Nc6": "Develop and attack d4",
      "hint2_Nc6": "The knight increases pressure on d4",
      "hint3_Nc6": "Play Nc6 — develop the knight and increase pressure on d4",
      "afterNc6": "Good! The pressure on d4 increases.",
      "whiteNf3": "White develops the knight.",
      "hint1_Bd7": "Prepare the queen and connect the pieces",
      "hint2_Bd7": "The bishop frees the queen",
      "hint3_Bd7": "Play Bd7 — free the queen and connect the pieces harmoniously",
      "afterBd7": "Well played! The bishop develops harmoniously.",
      "whiteBe2": "White prepares castling.",
      "hint1_Nge7": "The knight aims for f5",
      "hint2_Nge7": "Your remaining knight can aim for key outposts on the kingside",
      "hint3_Nge7": "Play Nge7 — the knight heads to f5 to attack the e5 pawn",
      "afterNge7": "Perfect! The knight is heading to f5.",
      "conclusion": "Well done! You have a solid French position. Your plan is cxd4 followed by Nf5 to attack the e5 pawn. The structure gives you excellent long-term play.",
      "winawer": {
        "name": "Winawer Variation",
        "description": "Aggressive and dynamic",
        "intro": "The Winawer is the sharpest variation. Black pins the knight and creates imbalances.",
        "hint1_Bb4": "Pin the knight and threaten the structure",
        "hint2_Bb4": "The bishop attacks c3 indirectly",
        "hint3_Bb4": "Play Bb4 — pin the knight and threaten to double White's pawns",
        "afterBb4": "This is the Winawer! One of the most complex variations.",
        "whiteE5": "White advances to gain space.",
        "hint1_c5": "Counterattack immediately in the center",
        "hint2_c5": "A pawn move undermines the pawn chain",
        "hint3_c5": "Play c5 — undermine the d4 base of White's pawn chain",
        "afterC5": "Excellent! You're contesting the center.",
        "branchPrompt": "White has several aggressive options. Explore a variation?",
        "whiteA3": "White asks the bishop to make a decision.",
        "hint1_Bxc3": "Exchange and double White's pawns",
        "hint2_Bxc3": "Take the knight!",
        "hint3_Bxc3": "Play Bxc3+ — capture with check and saddle White with doubled pawns",
        "afterBxc3": "Good! White has doubled pawns.",
        "conclusion": "This is the Winawer tabiya. White has the bishop pair, Black has better structure. The play is very tactical."
      },
      "poisonedPawn": {
        "name": "Poisoned Pawn Variation",
        "description": "Black captures the b2 pawn with the queen",
        "whiteA3": "White plays a3, challenging the bishop.",
        "hint1_Bxc3": "Exchange the bishop for the knight",
        "hint2_Bxc3": "Double White's pawns",
        "hint3_Bxc3": "Play Bxc3+ — exchange and double White's pawns for a structural edge",
        "afterBxc3": "Good! Now the position gets sharp.",
        "whiteBxc3": "White recaptures with the pawn.",
        "hint1_Qc7": "Put pressure on the e5 pawn",
        "hint2_Qc7": "The queen targets e5",
        "hint3_Qc7": "Play Qc7 — target the e5 pawn and prepare the Poisoned Pawn variation",
        "afterQc7": "This threatens Qxe5. The Poisoned Pawn variation begins!",
        "conclusion": "The Poisoned Pawn is extremely complex. Black can capture on b2 but White gets a massive attack."
      },
      "armenian": {
        "name": "Armenian Variation",
        "description": "White plays Qg4 immediately",
        "whiteQg4": "White attacks g7 immediately with Qg4!",
        "hint1_Ne7": "Develop the knight to prepare defense",
        "hint2_Ne7": "A knight move prepares to jump forward or push the queen away",
        "hint3_Ne7": "Play Ne7 — prepare to jump to f5 to challenge White's attacking queen",
        "afterNe7": "Good! The knight is ready to jump to f5 or support h5.",
        "conclusion": "The Armenian Variation is less common. White sacrifices time for attacking chances on the kingside."
      },
      "classical": {
        "name": "Classical Variation",
        "description": "Solid and positional",
        "intro": "The Classical variation leads to positional play. Black maintains a solid structure.",
        "hint1_Nf6": "Develop and attack e4",
        "hint2_Nf6": "The knight puts pressure on e4",
        "hint3_Nf6": "Play Nf6 — develop the knight while putting pressure on e4",
        "afterNf6": "This is the Classical variation!",
        "whiteBg5": "White pins the knight.",
        "hint1_Be7": "Prepare castling and unpin the knight",
        "hint2_Be7": "Develop the bishop to break the pin",
        "hint3_Be7": "Play Be7 — break the pin and prepare to castle kingside",
        "afterBe7": "Good! You're ready to castle.",
        "whiteE5": "White closes the center.",
        "hint1_Nfd7": "Retreat the knight to d7",
        "hint2_Nfd7": "The knight prepares c5 and stays flexible for rerouting",
        "hint3_Nfd7": "Play Nfd7 — reroute the knight to prepare c5 and support future regrouping",
        "afterNfd7": "Perfect! The knight has good prospects.",
        "conclusion": "This is the classical position. Black will play c5 to attack the center, and can maneuver with the knight to f8-g6 or b6."
      },
      "analysis": {
        "pawnChainIdea": "Black prepares a solid pawn structure with e6, supporting the d5 advance",
        "centralTension": "The d5 pawn attacks White's e4 pawn, creating central tension",
        "lightSquaredBishop": "The light-squared bishop on c8 is trapped behind the pawn chain - a typical French problem",
        "whitePawnChain": "White's e5-d4 pawn chain gains space but has a fixed target at its base",
        "completePawnChain": "White completes the pawn chain e5-d4-c3 - Black must attack it at the base",
        "attackBaseOfChain": "c5 attacks d4, the base of White's pawn chain - the key strategic idea",
        "spaceAdvantage": "White's e5 pawn claims space but creates a target",
        "counterattackD4": "Attack the base! c5 targets d4, undermining White's center"
      }
    },
    "caroKann": {
      "title": "Caro-Kann Defense",
      "description": "The solid fortress against 1.e4",
      "intro": "Welcome to the Caro-Kann Defense! Unlike the French Defense, this opening supports d5 with c6, keeping the light-squared bishop free for active development. You'll learn a rock-solid defense with excellent long-term prospects!",
      "hint1_c6": "Prepare d5 with the support of the c-pawn",
      "hint2_c6": "A pawn move supports the center without blocking bishop development",
      "hint3_c6": "Play c6 — prepare d5 while keeping the light-squared bishop free",
      "afterC6": "This is the Caro-Kann! The c-pawn supports d5.",
      "whiteD4": "White occupies the center.",
      "hint1_d5": "Attack the white center",
      "hint2_d5": "Challenge e4 now",
      "hint3_d5": "Play d5 — challenge White's center directly",
      "afterD5": "Excellent! You're contesting the center.",
      "branchPrompt": "White has several responses. Which variation do you want to explore?",
      "whiteNc3": "White defends e4 with the knight.",
      "hint1_dxe4": "Exchange and simplify",
      "hint2_dxe4": "Capture the e4 pawn",
      "hint3_dxe4": "Play dxe4 — exchange to simplify and prepare active bishop development",
      "afterDxe4": "Good! The exchanges lead to a clear position.",
      "whiteNxe4": "White recaptures the pawn.",
      "hint1_Bf5": "Develop the bishop before e6",
      "hint2_Bf5": "Your bishop should get active before the pawn chain locks it in",
      "hint3_Bf5": "Play Bf5 — develop the bishop actively before it gets locked behind e6",
      "afterBf5": "Excellent! This is the Classical variation. The bishop is very well placed.",
      "whiteNg3": "White attacks the bishop.",
      "hint1_Bg6": "Retreat the bishop safely",
      "hint2_Bg6": "The bishop can retreat while staying on an active diagonal",
      "hint3_Bg6": "Play Bg6 — retreat the bishop while keeping it on an active diagonal",
      "afterBg6": "Good! The bishop controls important squares.",
      "whiteH4": "White threatens h5.",
      "hint1_h6": "Stop h5 and create an escape square",
      "hint2_h6": "A pawn move prevents the enemy advance and secures the bishop",
      "hint3_h6": "Play h6 — prevent h5 and secure the bishop's position on g6",
      "afterH6": "Perfect! You prevent h5.",
      "whiteNf3": "White develops the knight.",
      "hint1_Nd7": "Prepare minor piece development",
      "hint2_Nd7": "A knight can develop to support the other knight's entry",
      "hint3_Nd7": "Play Nd7 — develop the knight to support Ngf6 and complete minor piece development",
      "afterNd7": "Excellent development!",
      "conclusion": "Well done! You have a classic Caro-Kann position. Your bishop is active, your pieces are developing harmoniously. Continue with Ngf6, e6 and Be7.",
      "advance": {
        "name": "Advance Variation",
        "description": "White gains space",
        "intro": "The Advance variation gives White more space, but Black has excellent play against the white center.",
        "hint1_Bf5": "Develop the bishop BEFORE playing e6",
        "hint2_Bf5": "This is the key move - the bishop gets out before being locked in",
        "hint3_Bf5": "Play Bf5 — develop the bishop actively before e6 locks it in",
        "afterBf5": "Excellent! The bishop is active - this is the difference from the French.",
        "branchPrompt": "White has different plans now. Explore a variation?",
        "whiteNf3": "White develops.",
        "hint1_e6": "Solidify the structure",
        "hint2_e6": "A small pawn move prepares counterplay and bishop development",
        "hint3_e6": "Play e6 — solidify the center and prepare Be7 development",
        "afterE6": "Good! The structure is solid.",
        "conclusion": "This is the typical Advance position. Black will play c5 to attack the pawn chain, followed by Nc6 and Be7."
      },
      "shortVariation": {
        "name": "Short Variation",
        "description": "White plays c4 early",
        "whiteC4": "White plays c4 immediately, attacking the d5 pawn.",
        "hint1_e6": "Reinforce the d5 pawn",
        "hint2_e6": "A small pawn move solidifies the center",
        "hint3_e6": "Play e6 — reinforce d5 to hold the center firmly",
        "afterE6": "Good! Your center is solid.",
        "conclusion": "The Short Variation leads to positions similar to the main lines but with different nuances."
      },
      "vanDerWiel": {
        "name": "Van der Wiel Attack",
        "description": "White develops aggressively with Nc3",
        "whiteNc3": "White plays Nc3, preparing f3 and g4!",
        "hint1_e6": "Maintain a solid position",
        "hint2_e6": "A small pawn move keeps your structure intact",
        "hint3_e6": "Play e6 — maintain a solid center against White's aggressive setup",
        "afterE6": "Solid! You're ready for whatever White throws at you.",
        "conclusion": "The Van der Wiel Attack is aggressive. Black must play carefully but has good counterplay."
      },
      "karpov": {
        "name": "Karpov Variation",
        "description": "The modern flexible system",
        "intro": "The Karpov variation with Nd7 is very flexible. It was popularized by world champion Anatoly Karpov.",
        "hint1_dxe4": "Capture the pawn first",
        "hint2_dxe4": "Exchange to free your game",
        "hint3_dxe4": "Play dxe4 — exchange to free your position and prepare Nd7",
        "afterDxe4": "Well played!",
        "whiteNxe4": "White recaptures.",
        "hint1_Nd7": "Develop to d7 - this is the Karpov variation!",
        "hint2_Nd7": "The knight prepares a favorable exchange",
        "hint3_Nd7": "Play Nd7 — the flexible Karpov move, preparing to exchange knights favorably",
        "afterNd7": "This is the Karpov variation! Very flexible.",
        "whiteNf3": "White continues development.",
        "hint1_Ngf6": "Develop the second knight",
        "hint2_Ngf6": "Attack the e4 knight",
        "hint3_Ngf6": "Play Ngf6 — develop the second knight and force exchanges on e4",
        "afterNgf6": "Excellent! The knights will be exchanged.",
        "conclusion": "The Karpov variation often leads to exchanges on f6 and a healthy structure for Black. Continue with e6, Be7 and O-O."
      },
      "analysis": {
        "prepareD5": "c6 prepares to support d5, challenging the center",
        "centralChallenge": "d5 directly attacks White's e4 pawn",
        "activeBishop": "The bishop is active on the b1-h7 diagonal",
        "notLikeFrench": "Unlike the French Defense, the bishop is not locked behind the pawns",
        "bishopOutsidePawnChain": "The bishop developed BEFORE e6, staying outside the pawn chain",
        "solidStructure": "A rock-solid pawn structure with excellent stability",
        "solidPosition": "Solid pawn structure - the hallmark of the Caro-Kann",
        "activeLightBishop": "Active light-squared bishop - the key advantage over the French"
      }
    },
    "scotchGame": {
      "title": "Scotch Game",
      "description": "A direct central approach after 1.e4 e5",
      "intro": "Welcome to the Scotch Game! This ambitious opening strikes at the center immediately with 3.d4, leading to open and tactical positions. A favorite of Garry Kasparov, it rewards active and creative play!",
      "hint1_e4": "Control the center with your king's pawn",
      "hint2_e4": "Open lines for your bishop and queen",
      "hint3_e4": "Play e4 — claim central space and open diagonals for your pieces",
      "afterE4": "Excellent start! You've claimed central space.",
      "blackE5": "Black responds symmetrically, fighting for the center.",
      "hint1_Nf3": "Attack the e5 pawn while developing",
      "hint2_Nf3": "A knight can develop while attacking the center",
      "hint3_Nf3": "Play Nf3 — develop with a direct threat to the e5 pawn",
      "afterNf3": "Good! You're developing with a threat.",
      "blackNc6": "Black defends the pawn with the knight.",
      "hint1_d4": "Strike at the center immediately!",
      "hint2_d4": "This is the defining move of the Scotch Game",
      "hint3_d4": "Play d4 — the Scotch Game move, challenging Black's center immediately",
      "afterD4": "This is the Scotch Game! You're challenging Black's central pawn.",
      "blackExd4": "Black captures the pawn.",
      "hint1_Nxd4": "Recapture with the knight to control the center",
      "hint2_Nxd4": "Recapture with a piece to dominate the center",
      "hint3_Nxd4": "Play Nxd4 — recapture with the knight to dominate the center",
      "afterNxd4": "Perfect! Your knight is centralized on a strong square.",
      "blackBc5": "Black develops the bishop aggressively, targeting d4.",
      "hint1_Be3": "Protect the knight and develop a piece",
      "hint2_Be3": "The bishop defends d4 while developing",
      "hint3_Be3": "Play Be3 — defend the knight while developing a piece",
      "afterBe3": "Well done! You've defended the knight and completed another developing move.",
      "blackQf6": "Black brings the queen out early, attacking d4.",
      "hint1_c3": "Support your knight and prepare Qd2",
      "hint2_c3": "A pawn move reinforces the central knight and prepares coordination",
      "hint3_c3": "Play c3 — reinforce the d4 knight and prepare Qd2",
      "afterC3": "Excellent! Your knight is rock solid now.",
      "blackNge7": "Black develops the knight, preparing to castle.",
      "hint1_Bc4": "Target the weak f7 square",
      "hint2_Bc4": "The bishop aims at Black's vulnerable point",
      "hint3_Bc4": "Play Bc4 — target f7, Black's weakest point in the position",
      "afterBc4": "Perfect! Your bishop joins the attack on f7.",
      "conclusion": "Congratulations! You've completed the Scotch Game. You have excellent piece activity and pressure on f7. Common plans include O-O, Qd2, and f4.",
      "branchPrompt": "Black has different responses here. Would you like to explore a variation?",
      "branches": {
        "classical": {
          "name": "Classical Variation",
          "description": "Black plays Bc5 and Qf6 for active piece play",
          "intro": "In the Classical Variation, Black develops actively with Bc5 and Qf6. White must defend carefully while maintaining the initiative.",
          "hint1_Be3": "Defend the knight while developing",
          "hint2_Be3": "A bishop can develop while defending your central knight",
          "hint3_Be3": "Play Be3 — defend the centralized knight while completing development",
          "afterBe3": "Excellent! Your bishop defends and develops.",
          "blackQf6": "Black's queen joins the attack on d4.",
          "hint1_c3": "Reinforce the knight's position",
          "hint2_c3": "A pawn move makes the center unassailable",
          "hint3_c3": "Play c3 — make the d4 knight unassailable",
          "afterC3": "Perfect! Your center is rock solid.",
          "blackNge7": "Black develops the knight to a flexible square.",
          "hint1_Bc4": "Aim at the f7 weakness",
          "hint2_Bc4": "The bishop targets Black's most vulnerable point",
          "hint3_Bc4": "Play Bc4 — aim the bishop at the vulnerable f7 square",
          "afterBc4": "Excellent! You're creating threats on f7.",
          "conclusion": "You've reached a key position in the Classical Variation. White has excellent piece coordination and can castle, then build an attack with moves like Qd2 and f4."
        },
        "fourKnights": {
          "name": "Four Knights Variation",
          "description": "Black develops Nf6 for a more positional approach",
          "intro": "The Four Knights Variation arises when Black plays Nf6. This leads to a more strategic battle where White must play energetically.",
          "hint1_Nxc6": "Exchange the knights to damage Black's structure",
          "hint2_Nxc6": "Exchanging knights can damage Black's pawn structure",
          "hint3_Nxc6": "Play Nxc6 — exchange to damage Black's pawn structure",
          "afterNxc6": "Good! You've damaged Black's pawn structure.",
          "blackBxc6": "Black recaptures, accepting doubled pawns.",
          "hint1_e5": "Push the pawn to gain space and attack the knight",
          "hint2_e5": "A pawn push can gain space and attack a piece",
          "hint3_e5": "Play e5 — gain space and attack the f6 knight",
          "afterE5": "Excellent! You've gained central space.",
          "blackQe7": "Black defends the knight with the queen.",
          "hint1_Qe2": "Support the e5 pawn and prepare development",
          "hint2_Qe2": "The queen supports the center and prepares development",
          "hint3_Qe2": "Play Qe2 — support the e5 pawn and prepare development",
          "afterQe2": "Perfect! Your queen supports e5.",
          "blackNd5": "Black places the knight on the strong d5 square.",
          "conclusion": "You've reached a typical Four Knights Scotch position. White has a space advantage but Black's knight on d5 is strong. Continue with c4, Nc3, and Bd2."
        },
        "mieses": {
          "name": "Mieses Variation",
          "description": "White plays Nxc6 early for a structural advantage",
          "intro": "The Mieses Variation involves an early Nxc6, doubling Black's pawns. This gives White a long-term structural edge.",
          "hint1_Nxc6": "Exchange to damage Black's structure",
          "hint2_Nxc6": "The doubled c-pawns will be a long-term weakness",
          "hint3_Nxc6": "Play Nxc6 — double Black's c-pawns for a lasting structural edge",
          "afterNxc6": "Good capture! Black's structure is compromised.",
          "blackQf6": "Black develops the queen with an attack on f2.",
          "hint1_Qd2": "Develop the queen to a safe square",
          "hint2_Qd2": "The queen prepares queenside castling and bishop development",
          "hint3_Qd2": "Play Qd2 — prepare queenside castling and bishop development",
          "afterQd2": "Well played! Your queen is well placed.",
          "blackDxc6": "Black recaptures to maintain material.",
          "hint1_Nc3": "Develop the knight and control d5",
          "hint2_Nc3": "The knight heads toward the d5 outpost",
          "hint3_Nc3": "Play Nc3 — develop the knight toward the d5 outpost",
          "afterNc3": "Excellent! Your knight eyes the d5 square.",
          "conclusion": "You've completed the Mieses Variation. White has a better pawn structure and can aim for the d5 outpost. Continue with Be3, O-O-O, and Nd5."
        }
      },
      "analysis": {
        "centralControl": "The e4 and d4 squares are key for White's central control",
        "d4Challenge": "d4 challenges Black's e5 pawn and opens the center",
        "knightCentralized": "The knight on d4 is powerfully centralized, controlling key squares",
        "bc4AttackF7": "The bishop on c4 targets f7, Black's weakest point",
        "attackingIdeas": "White has excellent attacking chances with pressure on f7 and a strong center"
      }
    },
    "scandinavianDefense": {
      "title": "Scandinavian Defense",
      "description": "Challenge White's center immediately with 1...d5",
      "intro": "Welcome to the Scandinavian Defense! This ancient opening immediately challenges White's center with 1...d5. Black accepts a slightly exposed queen in exchange for rapid development and clear piece play!",
      "hint1_d5": "Strike at White's center right away!",
      "hint2_d5": "Attack the e4 pawn immediately",
      "hint3_d5": "Play d5 — directly challenge White's e4 pawn from the start",
      "afterD5": "Excellent! This is the Scandinavian Defense - a direct challenge to e4.",
      "whiteExd5": "White captures the pawn. Now you must decide how to recapture.",
      "hint1_Qxd5": "Recapture with the queen for immediate development",
      "hint2_Qxd5": "The queen retrieves the pawn and develops",
      "hint3_Qxd5": "Play Qxd5 — recapture with the queen for immediate piece activity",
      "afterQxd5": "Good! Your queen is actively placed, though it will need to move again.",
      "whiteNc3": "White attacks your queen while developing.",
      "hint1_Qa5": "Move the queen to a safe and active square",
      "hint2_Qa5": "Move the queen to an active square where it stays safe",
      "hint3_Qa5": "Play Qa5 — move the queen to safety while pinning the c3 knight",
      "afterQa5": "Perfect! The queen is safe and pins the knight to the king.",
      "whiteD4": "White builds a strong center.",
      "hint1_Nf6": "Develop the knight and attack e4",
      "hint2_Nf6": "A natural knight move develops toward the center",
      "hint3_Nf6": "Play Nf6 — develop naturally while pressuring d4 and e4",
      "afterNf6": "Excellent! You're developing naturally and putting pressure on d4.",
      "whiteNf3": "White completes kingside development.",
      "hint1_Bf5": "Develop the bishop to an active square",
      "hint2_Bf5": "The bishop should be developed actively before closing the position",
      "hint3_Bf5": "Play Bf5 — activate the bishop before closing the position with e6",
      "afterBf5": "Well done! This is the key idea - get the bishop out before e6.",
      "whiteBc4": "White develops aggressively, targeting f7.",
      "hint1_e6": "Solidify your center and prepare Be7",
      "hint2_e6": "A small pawn move protects the center and prepares bishop development",
      "hint3_e6": "Play e6 — solidify the center and prepare to develop the dark-squared bishop",
      "afterE6": "Good! Your position is solid and well-coordinated.",
      "whiteBd2": "White prepares to connect the rooks.",
      "hint1_c6": "Create a solid pawn chain and prepare Nbd7",
      "hint2_c6": "A pawn move reinforces your center",
      "hint3_c6": "Play c6 — create a solid pawn chain and prepare Nbd7",
      "afterC6": "Perfect! You've established a solid Scandinavian structure.",
      "conclusion": "Congratulations! You've completed the main line of the Scandinavian Defense. Your pieces are well developed and your structure is solid. Continue with Nbd7, Be7, and castle.",
      "branchPromptModern": "The Modern variation with 2...Nf6 is also popular. Would you like to try it?",
      "branchPromptQd6": "The Qd6 variation offers a different approach. Explore it?",
      "modern": {
        "name": "Modern Variation",
        "description": "Recapture with the knight instead of the queen",
        "hint1_Nf6": "Attack the pawn while developing",
        "hint2_Nf6": "The knight threatens to win back the pawn",
        "hint3_Nf6": "Play Nf6 — attack d5 while developing the knight",
        "afterNf6": "This is the Modern Scandinavian! The knight attacks d5.",
        "whiteD4": "White defends the extra pawn.",
        "hint1_Nxd5": "Recapture the pawn with your knight",
        "hint2_Nxd5": "Recapture to recover the material",
        "hint3_Nxd5": "Play Nxd5 — recapture the pawn with a centralized knight",
        "afterNxd5": "Good! You've won back the pawn with a centralized knight.",
        "whiteC4": "White attacks your knight.",
        "hint1_Nb6": "Retreat the knight to a safe square",
        "hint2_Nb6": "The knight retreats to a stable square",
        "hint3_Nb6": "Play Nb6 — retreat to a stable square out of the pawn's reach",
        "afterNb6": "Well played! The knight is stable on b6.",
        "whiteNf3": "White continues development.",
        "hint1_g6": "Fianchetto your bishop for dynamic play",
        "hint2_g6": "A pawn move prepares a fianchetto on a powerful diagonal",
        "hint3_g6": "Play g6 — prepare the fianchetto for a powerful long diagonal bishop",
        "afterG6": "Excellent! You're preparing a fianchetto.",
        "whiteNc3": "White completes minor piece development.",
        "hint1_Bg7": "Complete the fianchetto",
        "hint2_Bg7": "The bishop will be powerful on the long diagonal",
        "hint3_Bg7": "Play Bg7 — complete the fianchetto and dominate the long diagonal",
        "afterBg7": "Perfect! Your bishop dominates the long diagonal.",
        "conclusion": "You've completed the Modern Scandinavian with the fianchetto setup. This is a favorite of many grandmasters. Continue with O-O, Nc6, and c5."
      },
      "qd6": {
        "name": "Qd6 Variation",
        "description": "The queen retreats to d6 instead of a5",
        "hint1_Qd6": "Keep the queen more centralized",
        "hint2_Qd6": "The queen can go to a central square instead",
        "hint3_Qd6": "Play Qd6 — keep the queen centralized and out of the knight's reach",
        "afterQd6": "This is the Qd6 variation - less common but solid.",
        "whiteD4": "White builds the center.",
        "hint1_Nf6": "Develop naturally toward the center",
        "hint2_Nf6": "The knight develops with tempo on White's position",
        "hint3_Nf6": "Play Nf6 — develop the knight to contest the center",
        "afterNf6": "Good development! You're contesting the center.",
        "whiteNf3": "White continues development.",
        "hint1_a6": "Prevent Nb5 and prepare b5",
        "hint2_a6": "A useful prophylactic pawn move",
        "hint3_a6": "Play a6 — prevent Nb5 and prepare queenside expansion with b5",
        "afterA6": "Well played! You've stopped Nb5 and prepared queenside expansion.",
        "whiteBe2": "White prepares to castle.",
        "hint1_Nc6": "Develop the knight and pressure d4",
        "hint2_Nc6": "The knight attacks the d4 pawn",
        "hint3_Nc6": "Play Nc6 — develop the knight and increase pressure on d4",
        "afterNc6": "Perfect! You're increasing pressure on the center.",
        "conclusion": "You've learned the Qd6 variation. Black has solid development and pressure on d4. Continue with Bf5, e6, and O-O-O or Be7 and O-O."
      },
      "analysis": {
        "centralChallenge": "d5 immediately challenges White's e4 pawn",
        "queenExposed": "The queen is exposed in the center and will be attacked",
        "safeQueenPosition": "The queen is safe on a5",
        "diagonalControl": "The queen controls the a5-e1 diagonal, pinning the c3 knight",
        "earlyBishopDevelopment": "Key idea: develop the bishop BEFORE playing e6",
        "solidStructure": "A solid pawn structure supporting the center"
      }
    },
    "kingsGambit": {
      "title": "King's Gambit",
      "description": "The romantic gambit: sacrifice a pawn for rapid attack",
      "intro": "Welcome to the King's Gambit! This daring opening sacrifices the f-pawn for rapid development and a ferocious attack along open lines. A favorite of the great romantic players, it still packs a punch today!",
      "hint1_e4": "Begin with the classic king's pawn opening",
      "hint2_e4": "A central pawn move opens lines for your pieces",
      "hint3_e4": "Play e4 — control the center and open lines for the attack",
      "afterE4": "Good start! The e4 pawn controls the center.",
      "blackE5": "Black contests the center symmetrically.",
      "hint1_f4": "Offer the gambit pawn!",
      "hint2_f4": "Sacrifice a pawn to open lines and accelerate development",
      "hint3_f4": "Play f4 — sacrifice a pawn to open the f-file and accelerate development",
      "afterF4": "This is the King's Gambit! You're offering a pawn for attacking chances.",
      "branchPrompt": "Black can accept, decline, or counter-gambit. Which do you want to explore?",
      "blackExf4": "Black accepts the gambit, taking the f4 pawn.",
      "hint1_Nf3": "Develop with an attack and prevent Qh4+",
      "hint2_Nf3": "A knight move blocks the check and prepares central play",
      "hint3_Nf3": "Play Nf3 — develop while preventing the dangerous Qh4+ check",
      "afterNf3": "Perfect! You've prevented Qh4+ and are ready to attack.",
      "blackG5": "Black tries to hold the pawn with g5 - risky but ambitious!",
      "hint1_h4": "Challenge Black's pawn chain immediately",
      "hint2_h4": "A pawn push undermines the opponent's pawn chain",
      "hint3_h4": "Play h4 — attack the base of Black's g5 pawn chain",
      "afterH4": "Excellent! You're attacking the base of Black's pawn chain.",
      "blackG4": "Black pushes forward, attacking your knight.",
      "hint1_Ne5": "Jump to the powerful e5 outpost",
      "hint2_Ne5": "A knight jump to a dominant central outpost threatens multiple weaknesses",
      "hint3_Ne5": "Play Ne5 — jump to a dominant outpost attacking f7 and d7",
      "afterNe5": "This is the Kieseritzky Gambit! Your knight is powerfully placed.",
      "conclusion": "Congratulations! You've learned the main line of the King's Gambit. White has excellent attacking chances with Bc4, d4, and O-O. The open f-file will be crucial!",
      "analysis": {
        "gambitIdea": "The King's Gambit! Sacrifice the f-pawn for rapid development and open lines.",
        "openFFile": "The f-file will open for your rook to attack the f7 weakness.",
        "preventQh4": "Nf3 defends against the dangerous Qh4+ check.",
        "prepareD4": "Now you can prepare d4 to free your dark-squared bishop.",
        "knightOutpost": "The knight on e5 is powerfully placed in the center.",
        "attackF7D7": "From e5, the knight attacks the weak f7 and d7 squares.",
        "bishopTargetsF7": "The bishop aims at f7, the weakest point in Black's position.",
        "f7Weakness": "f7 is only defended by the king - a classic target!",
        "rookOnFFile": "Your rook now has access to the open f-file.",
        "fFileAttack": "The f-file is your highway to attack Black's kingside.",
        "centralControl": "You control the center with your pawns on d4 and e4.",
        "bishopActivation": "d4 opens the diagonal for your dark-squared bishop.",
        "classicSetup": "This is the classical attacking setup with pieces coordinating beautifully."
      },
      "branches": {
        "accepted": {
          "name": "Accepted: Bc4 Line",
          "description": "The classic bishop development after acceptance",
          "blackExf4": "Black accepts the gambit pawn.",
          "hint1_Nf3": "Develop and stop Qh4+",
          "hint2_Nf3": "A natural knight development is the main continuation",
          "hint3_Nf3": "Play Nf3 — prevent Qh4+ and prepare central development",
          "afterNf3": "Good! You've secured against the queen check.",
          "blackG5": "Black tries to hold the pawn aggressively.",
          "hint1_Bc4": "Develop with tempo, targeting f7",
          "hint2_Bc4": "Your bishop can target Black's weakest point near the king",
          "hint3_Bc4": "Play Bc4 — aim at f7 while developing with tempo",
          "afterBc4": "Excellent! Your bishop joins the attack on f7.",
          "blackBg7": "Black develops and protects the king.",
          "hint1_OO": "Castle and open the f-file for attack!",
          "hint2_OO": "Castling brings your rook into the game",
          "hint3_OO": "Castle — open the f-file for the rook and launch the attack",
          "afterOO": "Perfect! The rook joins the attack on the f-file.",
          "blackD6": "Black solidifies the position.",
          "hint1_d4": "Take full control of the center",
          "hint2_d4": "A central pawn push opens lines and creates threats",
          "hint3_d4": "Play d4 — seize full control of the center and free the bishop",
          "afterD4": "Excellent! You have a powerful center and open lines.",
          "conclusion": "You've completed the classic Bc4 line. White has excellent compensation: rapid development, control of f-file, and attacking chances on the kingside."
        },
        "declined": {
          "name": "Declined: Classical",
          "description": "Black refuses the gambit with Bc5",
          "blackBc5": "Black declines the gambit, developing instead.",
          "hint1_Nf3": "Develop naturally and maintain tension",
          "hint2_Nf3": "A knight move prepares central play and castling",
          "hint3_Nf3": "Play Nf3 — develop naturally while maintaining central tension",
          "afterNf3": "Good! You maintain the tension in the center.",
          "blackD6": "Black solidifies the e5 pawn.",
          "hint1_Nc3": "Develop the knight toward the center",
          "hint2_Nc3": "A knight move supports the center and prepares for action",
          "hint3_Nc3": "Play Nc3 — develop the knight to support e4 and prepare for action",
          "afterNc3": "Well played! Your development is harmonious.",
          "blackNf6": "Black develops the kingside knight.",
          "hint1_Bc4": "Aim at f7 while developing",
          "hint2_Bc4": "Your bishop can target Black's weakest point near the king",
          "hint3_Bc4": "Play Bc4 — target f7 and prepare for an eventual f5 push",
          "afterBc4": "Excellent! Your bishop targets the f7 weakness.",
          "blackNc6": "Black completes minor piece development.",
          "hint1_d3": "Support e4 and prepare for f5",
          "hint2_d3": "A solid pawn move keeps your options open",
          "hint3_d3": "Play d3 — support e4 and keep your options open for f5",
          "afterD3": "Good! Your position is solid.",
          "conclusion": "When Black declines the gambit, the game becomes more positional. White can still play for f5 eventually or castle and build on the center."
        },
        "falkbeer": {
          "name": "Falkbeer Counter-Gambit",
          "description": "Black counter-attacks with d5!",
          "blackD5": "Black plays d5 - the Falkbeer Counter-Gambit! A bold reply.",
          "hint1_exd5": "Accept the counter-gambit",
          "hint2_exd5": "Accept the counter-gambit by capturing the pawn",
          "hint3_exd5": "Play exd5 — accept the counter-gambit and keep an extra pawn",
          "afterExd5": "Good! You've accepted Black's gambit.",
          "blackE4": "Black pushes forward aggressively!",
          "hint1_d3": "Challenge the advanced pawn immediately",
          "hint2_d3": "A pawn push attacks the advanced enemy pawn",
          "hint3_d3": "Play d3 — challenge Black's advanced e4 pawn immediately",
          "afterD3": "Well played! You're challenging Black's pawn chain.",
          "blackNf6": "Black develops with tempo on d5.",
          "hint1_dxe4": "Win the pawn back",
          "hint2_dxe4": "Capture and restore material equality",
          "hint3_dxe4": "Play dxe4 — restore material equality and simplify the position",
          "afterDxe4": "Good! Material is equal now.",
          "blackNxe4": "Black recaptures with the knight.",
          "hint1_Nf3": "Develop and prepare Bd3",
          "hint2_Nf3": "Natural development is key",
          "hint3_Nf3": "Play Nf3 — develop naturally and prepare Bd3 for harmonious play",
          "afterNf3": "Excellent! You're developing smoothly.",
          "blackBc5": "Black develops aggressively.",
          "conclusion": "The Falkbeer Counter-Gambit leads to sharp, double-edged play. White keeps the extra d5 pawn while Black has active pieces. Continue with Bd3 and O-O."
        }
      }
    },
    "evansGambit": {
      "title": "Evans Gambit",
      "description": "A spectacular pawn sacrifice in the Italian Game",
      "intro": "Welcome to the Evans Gambit! Invented by Welsh sea captain William Davies Evans, this brilliant pawn sacrifice arises from the Italian Game. White gives up the b4 pawn to gain rapid development and launch a devastating attack!",
      "hint1_e4": "Start with the king's pawn",
      "hint2_e4": "Control the center and open diagonals",
      "hint3_e4": "Play e4 — control the center and open lines for your pieces",
      "afterE4": "Good start! You're claiming the center.",
      "blackE5": "Black responds symmetrically.",
      "hint1_Nf3": "Develop with an attack on e5",
      "hint2_Nf3": "The knight attacks the e5 pawn",
      "hint3_Nf3": "Play Nf3 — develop with a threat to the e5 pawn",
      "afterNf3": "Excellent! You're developing with tempo.",
      "blackNc6": "Black defends the e5 pawn.",
      "hint1_Bc4": "Target the f7 weakness",
      "hint2_Bc4": "The Italian bishop aims at f7",
      "hint3_Bc4": "Play Bc4 — aim at the f7 weakness to set up the Evans Gambit",
      "afterBc4": "This is the Italian Game! Your bishop eyes f7.",
      "blackBc5": "Black mirrors your development. This is the Giuoco Piano position.",
      "hint1_b4": "Sacrifice the pawn for rapid development!",
      "hint2_b4": "This is the Evans Gambit - a pawn for the attack!",
      "hint3_b4": "Play b4 — sacrifice a pawn to gain time and a rapid attack",
      "afterB4": "The Evans Gambit! You're sacrificing a pawn for a massive lead in development.",
      "branchPrompt_4w": "Black can accept or decline the gambit. Explore a variation?",
      "blackBxb4": "Black accepts the gambit, taking the pawn.",
      "hint1_c3": "Gain time by attacking the bishop",
      "hint2_c3": "A pawn move prepares a powerful central push",
      "hint3_c3": "Play c3 — attack the bishop and prepare the powerful d4 push",
      "afterC3": "Excellent! You gain time and prepare d4.",
      "branchPrompt_5w": "Black can retreat to different squares. Explore alternatives?",
      "blackBa5": "Black retreats, keeping the bishop active.",
      "hint1_d4": "Strike in the center while your opponent is off-balance",
      "hint2_d4": "A central pawn push opens the position for your pieces",
      "hint3_d4": "Play d4 — strike in the center with a huge development advantage",
      "afterD4": "Perfect! You have a powerful pawn center.",
      "blackExd4": "Black captures to relieve the pressure.",
      "hint1_OO": "Castle and bring the rook into play!",
      "hint2_OO": "Castling completes development and activates the rook",
      "hint3_OO": "Castle — activate the f1 rook and complete your development",
      "afterOO": "Excellent! Your rook is ready for action on f1 or d1.",
      "conclusion": "Congratulations! You've learned the Evans Gambit. White has sacrificed a pawn but has tremendous compensation: rapid development, open lines, and attacking chances. Continue with cxd4, Qb3, and Ba3.",
      "branches": {
        "accepted": {
          "name": "Main Line Accepted",
          "description": "Black accepts and plays d6 for defense",
          "blackD6": "Black plays d6 to solidify the position.",
          "hint1_cxd4": "Recapture and build the center",
          "hint2_cxd4": "Taking opens lines for your pieces",
          "hint3_cxd4": "Play cxd4 — recapture to build a powerful two-pawn center",
          "afterCxd4": "Good! You have a powerful pawn duo in the center.",
          "blackBb6": "Black retreats the bishop to a safe diagonal.",
          "conclusion": "You've reached the main line of the Evans Gambit Accepted. White has a strong center and excellent piece activity. Plans include Nc3, Qb3, Ba3, and Rad1."
        },
        "declined": {
          "name": "Declined Variation",
          "description": "Black declines with Bb6",
          "blackBb6": "Black declines the gambit, keeping a solid position.",
          "hint1_a4": "Gain space on the queenside",
          "hint2_a4": "A pawn push creates threats against the enemy bishop",
          "hint3_a4": "Play a4 — gain queenside space and threaten to trap the bishop",
          "afterA4": "Well played! You're expanding on the queenside.",
          "blackA6": "Black prevents a5.",
          "hint1_Nc3": "Develop the knight to a natural square",
          "hint2_Nc3": "A knight move prepares a strong central jump",
          "hint3_Nc3": "Play Nc3 — develop the knight and prepare the Nd5 jump",
          "afterNc3": "Good! Your knight eyes the d5 square.",
          "blackNf6": "Black develops the kingside.",
          "hint1_Nd5": "Jump to the dominant outpost!",
          "hint2_Nd5": "The knight can leap to a dominant central square",
          "hint3_Nd5": "Play Nd5 — jump to a dominant central outpost",
          "afterNd5": "Excellent! Your knight dominates the center.",
          "blackNxd5": "Black is forced to exchange.",
          "hint1_exd5": "Recapture and open the e-file",
          "hint2_exd5": "Taking with the pawn opens lines",
          "hint3_exd5": "Play exd5 — recapture to open the e-file and advance the passed pawn",
          "afterExd5": "Good! You have open lines and an advanced pawn.",
          "blackNd4": "Black seeks activity with the knight.",
          "conclusion": "The Declined Variation leads to a strategic battle. White has more space and the d5 pawn creates pressure. Continue with c3 and d4."
        },
        "compromised": {
          "name": "Compromised Defense",
          "description": "Black returns the bishop to c5",
          "blackBc5": "Black plays Bc5, returning the bishop to challenge d4.",
          "hint1_d4": "Push through with the central break!",
          "hint2_d4": "A central pawn push is the key move - don't delay!",
          "hint3_d4": "Play d4 — break through in the center while ahead in development",
          "afterD4": "Excellent! You're striking at the center immediately.",
          "blackExd4": "Black captures the central pawn.",
          "hint1_cxd4": "Build a massive pawn center",
          "hint2_cxd4": "Recapture to control the center",
          "hint3_cxd4": "Play cxd4 — build a massive pawn duo on d4 and e4",
          "afterCxd4": "Good! Your pawns on d4 and e4 are very strong.",
          "blackBb6": "Black retreats the bishop.",
          "hint1_Nc3": "Complete development and dominate",
          "hint2_Nc3": "The knight supports e4 and eyes d5",
          "hint3_Nc3": "Play Nc3 — develop the last minor piece and support the powerful center",
          "afterNc3": "Perfect! Your position is overwhelming.",
          "conclusion": "The Compromised Defense gives White a dream position. You have a massive center, rapid development, and attacking chances. Plans include O-O, Qb3, and Bg5."
        }
      },
      "analysis": {
        "gambitIdea": "The pawn attacks the bishop, offering a sacrifice for rapid development",
        "tempoGain": "White gains time while Black must move the bishop again",
        "prepareD4": "c3 prepares the powerful d4 central push",
        "bishopAttacked": "The bishop on b4 is under attack and must retreat",
        "powerfulCenter": "White has a powerful pawn duo controlling the center",
        "centerPressure": "The d4 pawn puts pressure on Black's position",
        "developmentLead": "White has a significant lead in development as compensation",
        "f7Attack": "The bishop on c4 targets the weak f7 square",
        "f7Weak": "f7 is only defended by the king - a classic weakness",
        "kingsideAttack": "The f1 rook is ready to join the attack on the kingside",
        "strongCenter": "White controls the center with powerful pawns on d4 and e4",
        "pieceActivity": "All of White's pieces are actively placed for an attack",
        "massiveCenter": "White's pawns on d4 and e4 dominate the center"
      }
    },
    "philidorDefense": {
      "title": "Philidor Defense",
      "description": "A solid pawn structure defense against 1.e4",
      "intro": "Welcome to the Philidor Defense! Named after François-André Philidor, who famously said 'pawns are the soul of chess,' this solid opening prioritizes a strong pawn structure and piece harmony. Let's explore this flexible defense together!",
      "hint1_e5": "Contest the center with your king's pawn",
      "hint2_e5": "A central pawn move fights for space",
      "hint3_e5": "Play e5 — contest the center with the king's pawn",
      "afterE5": "Good! You're contesting the center.",
      "whiteNf3": "White develops and attacks e5.",
      "hint1_d6": "Defend the e5 pawn solidly",
      "hint2_d6": "A solid pawn move is the hallmark of this defense",
      "hint3_d6": "Play d6 — solidly defend e5, the hallmark of the Philidor",
      "afterD6": "This is the Philidor Defense! A solid and reliable choice.",
      "whiteD4": "White strikes at the center.",
      "branchPrompt": "You can exchange pawns or maintain the tension. Which approach?",
      "hint1_Nf6": "Develop the knight and maintain tension",
      "hint2_Nf6": "A knight move attacks the center while keeping options open",
      "hint3_Nf6": "Play Nf6 — develop the knight while maintaining central tension",
      "afterNf6": "Good! You're developing while keeping the tension.",
      "variationPrompt": "There are different systems to continue. Which would you like to explore?",
      "whiteNc3": "White develops the knight to support e4.",
      "hint1_Nbd7": "Develop the knight and prepare the Hanham setup",
      "hint2_Nbd7": "A flexible knight move keeps several plans available",
      "hint3_Nbd7": "Play Nbd7 — set up the Hanham formation and keep flexible plans",
      "afterNbd7": "Excellent! This is the Hanham formation setup.",
      "whiteBc4": "White develops aggressively, targeting f7.",
      "hint1_Be7": "Develop and prepare to castle",
      "hint2_Be7": "Develop the bishop to a solid, flexible square",
      "hint3_Be7": "Play Be7 — develop the bishop and prepare to castle kingside",
      "afterBe7": "Good development! You're ready to castle.",
      "whiteOO": "White castles to safety.",
      "hint1_OO": "Castle to safety as well!",
      "hint2_OO": "Get your king safe and connect the rooks",
      "hint3_OO": "Castle — secure the king and connect the rooks",
      "afterOO": "Perfect! Both sides have castled.",
      "conclusion": "Congratulations! You've completed the Philidor Defense. Your position is solid with a strong pawn structure. Plans include c6, Qc7, and Re8 followed by Bf8 to reposition the bishop.",
      "hanham": {
        "name": "Hanham Variation",
        "description": "A compact and flexible defensive setup",
        "intro": "The Hanham Variation is the most popular system in the Philidor. Black builds a fortress-like structure before deciding on the next plan.",
        "hint1_Nbd7": "The Hanham knight goes to d7",
        "hint2_Nbd7": "This allows flexibility for future plans",
        "hint3_Nbd7": "Play Nbd7 — begin the compact Hanham setup with flexible plans",
        "afterNbd7": "Good! You're setting up the Hanham structure.",
        "whiteBc4": "White aims at f7.",
        "hint1_Be7": "Solid development toward castling",
        "hint2_Be7": "The bishop prepares to castle",
        "hint3_Be7": "Play Be7 — develop toward castling and complete the kingside setup",
        "afterBe7": "Excellent! You're almost ready to castle.",
        "whiteOO": "White castles.",
        "hint1_OO": "Follow suit and castle!",
        "hint2_OO": "King safety is paramount",
        "hint3_OO": "Castle — get the king to safety and prepare counterplay",
        "afterOO": "Good! Your king is safe.",
        "whiteA4": "White expands on the queenside.",
        "hint1_c6": "Solidify the center and control d5",
        "hint2_c6": "A pawn move prevents an invasion and prepares counterplay",
        "hint3_c6": "Play c6 — solidify the center and prevent any d5 invasion",
        "afterC6": "Perfect! You've completed the Hanham setup.",
        "conclusion": "The Hanham Variation gives Black a rock-solid position. Plans include Re8, Bf8-g6, and eventually the freeing break d5 or exd4 with counterplay."
      },
      "lion": {
        "name": "Lion Variation",
        "description": "A more aggressive approach with early h6",
        "intro": "The Lion Variation involves an early h6, preparing to fianchetto or play g5. It's more aggressive than the standard Hanham.",
        "hint1_Nbd7": "Set up the flexible knight",
        "hint2_Nbd7": "A knight move is the starting point for this system",
        "hint3_Nbd7": "Play Nbd7 — set up the flexible knight for the Lion system",
        "afterNbd7": "Good! The knight is well placed.",
        "whiteBc4": "White develops aggressively.",
        "hint1_Be7": "Prepare to castle before the advance",
        "hint2_Be7": "Develop the bishop to keep options open",
        "hint3_Be7": "Play Be7 — develop the bishop before committing to the h6-g5 plan",
        "afterBe7": "Well played! You're ready for h6.",
        "whiteOO": "White castles kingside.",
        "hint1_h6": "Prepare g5 or prevent Bg5",
        "hint2_h6": "A pawn move is the signature of this variation",
        "hint3_h6": "Play h6 — prepare g5 for an aggressive kingside expansion",
        "afterH6": "This is the Lion Variation! You're preparing active kingside play.",
        "conclusion": "The Lion Variation offers more aggressive prospects. Plans include g5, Nf8-g6, and potentially Qc7 with O-O-O for opposite-side castling."
      },
      "exchange": {
        "name": "Exchange Variation",
        "description": "Black captures on d4 for an open game",
        "hint1_exd4": "Exchange to open the position",
        "hint2_exd4": "Taking leads to a more open game",
        "hint3_exd4": "Play exd4 — open the position for more active piece play",
        "afterExd4": "You've chosen the Exchange Variation - more open play!",
        "whiteNxd4": "White recaptures with the knight.",
        "hint1_Nf6": "Develop with tempo on e4",
        "hint2_Nf6": "The knight attacks the e4 pawn",
        "hint3_Nf6": "Play Nf6 — develop with tempo by attacking the e4 pawn",
        "afterNf6": "Good! You're putting pressure on e4.",
        "whiteNc3": "White defends the pawn.",
        "hint1_Be7": "Develop and prepare to castle",
        "hint2_Be7": "Develop the bishop to a solid square",
        "hint3_Be7": "Play Be7 — develop the bishop and prepare to castle",
        "afterBe7": "Excellent! You're ready to castle.",
        "whiteBf4": "White develops the bishop actively.",
        "hint1_OO": "Get the king to safety",
        "hint2_OO": "Castling is the priority now",
        "hint3_OO": "Castle — secure the king and complete development",
        "afterOO": "Perfect! Your king is safe.",
        "conclusion": "The Exchange Variation leads to a more open game. White has slightly more space, but Black has no weaknesses. Continue with Nc6, Re8, and Bf8."
      },
      "analysis": {
        "supportsE5": "d6 solidly supports the e5 pawn",
        "solidCenter": "A cramped but very solid central structure",
        "crampedButSolid": "The knights are cramped but the position is rock-solid",
        "prepareF5": "A key plan is to prepare the f5 break",
        "knightReroute": "The knight can reroute via d7 to better squares"
      }
    },
    "sicilianDragon": {
      "title": "Sicilian Dragon",
      "description": "Master the fiery Dragon variation as Black",
      "intro": "Welcome to the Sicilian Dragon! Named after the constellation formed by Black's pawn structure, this aggressive defense places a fianchettoed bishop on g7 that breathes fire down the long diagonal. Let's learn this exciting opening where both sides attack with everything they have!",
      "hint1_c5": "The Sicilian Defense starts with a pawn that fights for the center",
      "hint2_c5": "The c-pawn challenges White's control of d4",
      "hint3_c5": "Play c5 — the Sicilian Defense, creating asymmetry and fighting for d4",
      "afterC5": "Excellent! The Sicilian Defense is the most combative reply to 1.e4.",
      "whiteNf3": "White develops the knight and prepares to recapture on d4.",
      "hint1_d6": "Prepare the Dragon setup with a flexible pawn move",
      "hint2_d6": "Support e5 and prepare the fianchetto",
      "hint3_d6": "Play d6 — support e5 and prepare the Dragon fianchetto",
      "afterD6": "Good! This signals your intention to play the Dragon variation.",
      "whiteD4": "White strikes in the center - the typical Open Sicilian.",
      "hint1_cxd4": "Exchange pawns to open the c-file",
      "hint2_cxd4": "Capture the d4 pawn to create imbalances",
      "hint3_cxd4": "Play cxd4 — open the c-file for future rook pressure",
      "afterCxd4": "Perfect! The c-file will become a highway for your rook later.",
      "whiteNxd4": "White recaptures with the knight, placing it powerfully in the center.",
      "hint1_Nf6": "Develop with tempo by attacking the e4 pawn",
      "hint2_Nf6": "The knight pressures the central e4 pawn",
      "hint3_Nf6": "Play Nf6 — develop with tempo by attacking the e4 pawn",
      "afterNf6": "Excellent! You're developing actively while creating threats.",
      "whiteNc3": "White defends e4 and continues development.",
      "hint1_g6": "This is the signature Dragon move!",
      "hint2_g6": "Prepare to fianchetto the bishop to g7",
      "hint3_g6": "Play g6 — prepare the Dragon fianchetto on g7",
      "afterG6": "This is the Dragon! The bishop will breathe fire from g7 along the long diagonal.",
      "whiteBe3": "White develops the bishop. This signals the Yugoslav Attack - a dangerous attacking setup!",
      "hint1_Bg7": "Complete the fianchetto - the dragon takes its form",
      "hint2_Bg7": "The bishop will control the long diagonal",
      "hint3_Bg7": "Play Bg7 — unleash the Dragon bishop on the long diagonal",
      "afterBg7": "Beautiful! The Dragon bishop is one of the most powerful pieces in the opening.",
      "whiteF3": "White prepares the Yugoslav Attack with f3, Qd2, and queenside castling.",
      "hint1_OO": "Get your king to safety immediately",
      "hint2_OO": "Castle before White starts the attack",
      "hint3_OO": "Castle kingside — secure the king before the opposite-side battle begins",
      "afterOO": "Excellent! King safety first. Now you can focus on counterplay.",
      "whiteQd2": "White aligns queen and bishop for Bh6, targeting your Dragon bishop.",
      "hint1_Nc6": "Develop the knight and pressure the d4 knight",
      "hint2_Nc6": "The knight eyes the centralized d4 knight",
      "hint3_Nc6": "Play Nc6 — develop and put pressure on the centralized d4 knight",
      "afterNc6": "Good! Your pieces coordinate well and you create pressure on d4.",
      "whiteBc4": "The bishop aims at f7. White is preparing for opposite-side castling!",
      "hint1_Bd7": "Develop the bishop and prepare queenside counterplay",
      "hint2_Bd7": "Develop the bishop to connect the rooks and prepare queenside play",
      "hint3_Bd7": "Play Bd7 — connect the rooks and prepare Rc8 for queenside counterplay",
      "afterBd7": "Well done! You're ready for the typical Dragon counterattack.",
      "whiteOOO": "White castles queenside! Now it's a race - White attacks your king, you attack theirs!",
      "hint1_Rc8": "Target the white king on the open c-file",
      "hint2_Rc8": "The rook aims at the white king's shelter",
      "hint3_Rc8": "Play Rc8 — target the c-file and pressure White's queenside",
      "afterRc8": "The Dragon is fully unleashed! Your rook pressures c3 and the white king.",
      "conclusion": "Congratulations! You've reached the main Dragon tabiya. The middlegame is a thrilling race: White pushes h4-h5 for a kingside attack, while you counter with Nc6-e5, Qa5, and the powerful rooks on the c-file. The Dragon is not for the faint-hearted!",
      "branchPrompt": "White has different ways to handle the Dragon. Explore a variation?",
      "classical": {
        "name": "Classical Variation",
        "description": "A quieter approach with Be2 and kingside castling",
        "intro": "Instead of the aggressive Yugoslav Attack, White plays Be2 and castles kingside. This is the Classical variation - more positional and less sharp.",
        "hint1_Bg7": "Continue with the standard Dragon setup",
        "hint2_Bg7": "Complete the fianchetto on the long diagonal",
        "hint3_Bg7": "Play Bg7 — complete the fianchetto and control the long diagonal",
        "afterBg7": "Good! The Dragon formation remains the same.",
        "whiteOO": "White castles kingside - no opposite-side castling attack here.",
        "hint1_OO": "Match White's castling",
        "hint2_OO": "Castle to safety",
        "hint3_OO": "Castle kingside — with both kings on the same side, the game is more positional",
        "afterOO": "Perfect! With both kings on the same side, the game is more positional.",
        "whiteBe3": "White develops the bishop, controlling d4.",
        "hint1_Nc6": "Develop and pressure the center",
        "hint2_Nc6": "The knight attacks the d4 knight",
        "hint3_Nc6": "Play Nc6 — develop the knight and pressure the d4 square",
        "afterNc6": "Excellent! Standard Dragon development.",
        "conclusion": "In the Classical variation, Black has more time to develop. The game is less sharp but you still have the powerful Dragon bishop and active piece play. Consider moves like a6, b5, and Rc8 for queenside play."
      },
      "levenfish": {
        "name": "Levenfish Attack",
        "description": "White plays f4 immediately, seeking aggressive play",
        "intro": "The Levenfish Attack with f4 is an aggressive try. White wants to push f5 to gain space and open lines. Let's see how to handle it.",
        "hint1_Nc6": "Challenge White's aggression with development",
        "hint2_Nc6": "The knight attacks the d4 knight",
        "hint3_Nc6": "Play Nc6 — challenge White's d4 knight and force a decision",
        "afterNc6": "Good! You're forcing White to make a decision about the d4 knight.",
        "whiteNxc6": "White exchanges knights - a critical moment.",
        "hint1_bxc6": "Recapture towards the center",
        "hint2_bxc6": "The b-pawn recapture opens the b-file",
        "hint3_bxc6": "Play bxc6 — recapture toward the center and open the b-file",
        "afterBxc6": "Well done! You've opened the b-file for your rook.",
        "whiteE5": "White advances aggressively, kicking your knight.",
        "hint1_Nd5": "Centralize the knight on a powerful outpost",
        "hint2_Nd5": "The knight eyes the c3 knight",
        "hint3_Nd5": "Play Nd5 — centralize the knight on a powerful outpost",
        "afterNd5": "Excellent! The knight is beautifully centralized.",
        "conclusion": "Against the Levenfish, you've achieved a good position with the knight on d5 and the b-file open. Continue with Bg7, O-O, and Rb8 for active play."
      },
      "analysis": {
        "fianchettoPreparation": "The g6 move prepares the fianchetto - the bishop will soon take its powerful position on g7.",
        "dragonBishopPower": "The Dragon bishop on g7 exerts tremendous pressure along the h8-a1 diagonal!",
        "longDiagonalControl": "The long diagonal is now under Black's control, targeting White's queenside.",
        "kingSafety": "Castling secures the king and activates the rook for the upcoming battle.",
        "cFileCounterplay": "The rook on c8 creates powerful counterplay along the semi-open c-file, pressuring White's king.",
        "dragonBishopDiagonal": "The Dragon bishop continues to breathe fire down the long diagonal toward a1."
      }
    },
    "sicilianAlapin": {
      "title": "Sicilian Alapin",
      "description": "Fight the Sicilian with the solid c3 system",
      "intro": "Welcome to the Sicilian Alapin! With 2.c3, White prepares a strong d4 center while avoiding the massive theory of the Open Sicilian. This practical system gives you solid attacking chances — let's master it!",
      "hint1_e4": "Open with the king's pawn",
      "hint2_e4": "Control the center and open lines",
      "hint3_e4": "Play e4 — control the center and prepare for the Alapin system",
      "afterE4": "Good start! You're ready for the Sicilian.",
      "blackC5": "Black plays the Sicilian Defense, the most popular reply to 1.e4.",
      "hint1_c3": "This is the Alapin - prepare d4",
      "hint2_c3": "A pawn move prepares a strong central push",
      "hint3_c3": "Play c3 — the Alapin move, preparing a powerful d4 push",
      "afterC3": "This is the Alapin Variation! You're preparing a strong d4 push.",
      "blackD5": "Black challenges your center immediately - the most common response.",
      "hint1_exd5": "Accept the pawn exchange",
      "hint2_exd5": "Capture and open the position",
      "hint3_exd5": "Play exd5 — capture to open the center and create play",
      "afterExd5": "Good! The center is opening up.",
      "blackQxd5": "Black recaptures with the queen.",
      "hint1_d4": "Strike in the center with tempo on the queen",
      "hint2_d4": "The queen will have to move again",
      "hint3_d4": "Play d4 — gain tempo on the queen while building the center",
      "afterD4": "Excellent! You gain time as Black's queen must retreat.",
      "blackNf6": "Black develops the knight.",
      "hint1_Nf3": "Develop naturally and support d4",
      "hint2_Nf3": "The knight controls e5 and supports the center",
      "hint3_Nf3": "Play Nf3 — develop the knight to support d4 and control e5",
      "afterNf3": "Good development! You're building a solid position.",
      "blackE6": "Black prepares to develop the bishop.",
      "hint1_Be2": "Develop the bishop flexibly",
      "hint2_Be2": "Develop the bishop to prepare castling",
      "hint3_Be2": "Play Be2 — develop flexibly and prepare to castle kingside",
      "afterBe2": "Solid choice! You're ready to castle.",
      "blackCxd4": "Black captures in the center.",
      "hint1_cxd4": "Recapture and establish the IQP position",
      "hint2_cxd4": "The pawn goes to d4",
      "hint3_cxd4": "Play cxd4 — recapture to establish the active isolated queen's pawn position",
      "afterCxd4": "You have an isolated queen's pawn but excellent piece activity!",
      "blackBe7": "Black develops and prepares castling.",
      "conclusion": "Congratulations! You've reached a typical Alapin position. Your isolated d4 pawn provides space and activity. Typical plans include Nc3, O-O, and piece pressure. The bishops are well-placed and you have good attacking chances!",
      "branchPrompt": "Black has different ways to respond to 2.c3. Explore a variation?",
      "analysis": {
        "c3PrepareD4": "c3 prepares the d4 advance with pawn support",
        "avoidTheory": "This avoids the massive theory of the Open Sicilian",
        "strongCenter": "You have a strong pawn center controlling key squares",
        "tempoOnQueen": "d4 comes with tempo - the Black queen must move!",
        "iqpActivity": "The isolated d4 pawn provides space and activity",
        "simpleDevelopment": "Simple, natural development leads to attacking chances"
      },
      "branches": {
        "nf6Line": {
          "name": "2...Nf6 Line",
          "description": "Black develops the knight immediately",
          "intro": "Some players respond to 2.c3 with 2...Nf6, attacking e4 immediately. Let's see the best way to handle this.",
          "hint1_e5": "Push the pawn and attack the knight",
          "hint2_e5": "Gain space and kick the knight",
          "hint3_e5": "Play e5 — gain space and kick the knight from f6",
          "afterE5": "Good! The knight must retreat and you gain space.",
          "blackNd5": "Black's knight goes to d5.",
          "hint1_d4": "Strike in the center",
          "hint2_d4": "Challenge Black's c5 pawn",
          "hint3_d4": "Play d4 — challenge Black's c5 pawn and fight for the center",
          "afterD4": "Excellent! You're fighting for the center.",
          "blackCxd4": "Black exchanges pawns.",
          "hint1_cxd4": "Recapture and maintain the center",
          "hint2_cxd4": "Recapture to build a strong pawn duo",
          "hint3_cxd4": "Play cxd4 — recapture to build a strong e5-d4 pawn duo",
          "afterCxd4": "Good! You have a strong pawn center.",
          "blackD6": "Black challenges your e5 pawn.",
          "hint1_Nf3": "Develop and support your pawns",
          "hint2_Nf3": "The knight defends d4 and supports e5",
          "hint3_Nf3": "Play Nf3 — develop and defend the d4 pawn",
          "afterNf3": "Well played! Your pieces are developing harmoniously.",
          "blackNc6": "Black continues development.",
          "conclusion": "You have a strong pawn center with e5 and d4. Continue with Bc4 or Bb5, followed by O-O. The space advantage gives you good attacking chances."
        },
        "d6Solid": {
          "name": "2...d6 Solid",
          "description": "Black plays solidly with d6",
          "intro": "With 2...d6, Black takes a more solid approach. This often leads to a slower game.",
          "hint1_d4": "Strike in the center immediately",
          "hint2_d4": "Challenge the c5 pawn",
          "hint3_d4": "Play d4 — strike in the center and gain space",
          "afterD4": "Good! You're gaining space in the center.",
          "blackNf6": "Black develops the knight.",
          "hint1_Bd3": "Develop the bishop actively",
          "hint2_Bd3": "The bishop eyes the h7 pawn",
          "hint3_Bd3": "Play Bd3 — develop the bishop to target the h7 pawn",
          "afterBd3": "Excellent! The bishop has attacking potential.",
          "blackG6": "Black prepares the fianchetto.",
          "hint1_Nf3": "Continue natural development",
          "hint2_Nf3": "The knight supports d4",
          "hint3_Nf3": "Play Nf3 — support the center and prepare to castle",
          "afterNf3": "Well played! Solid development.",
          "blackBg7": "Black completes the fianchetto.",
          "conclusion": "You have a solid position with good development. Continue with O-O, and you can choose between playing on the queenside with Qe2 and b3, or in the center with Re1 and Nbd2."
        }
      }
    },
    "sicilianSveshnikov": {
      "title": "Sicilian Sveshnikov",
      "description": "The dynamic e5 break in the Sicilian",
      "intro": "Welcome to the Sicilian Sveshnikov! Named after grandmaster Evgeny Sveshnikov, this dynamic defense features a bold e5 push, accepting a weakness on d5 in exchange for active piece play and sharp counterattacking chances. Let's dive into one of modern chess's most exciting openings!",
      "hint1_c5": "Start with the Sicilian Defense",
      "hint2_c5": "The c-pawn challenges White's center",
      "hint3_c5": "Play c5 — start the Sicilian and create an asymmetric battle",
      "afterC5": "Excellent! The Sicilian is the fighting choice against 1.e4.",
      "whiteNf3": "White develops and prepares d4.",
      "hint1_Nc6": "Develop the knight to prepare the Sveshnikov",
      "hint2_Nc6": "The knight supports the e5 push",
      "hint3_Nc6": "Play Nc6 — develop the knight to prepare the Sveshnikov e5 push",
      "afterNc6": "Good! This move order leads to the Sveshnikov.",
      "whiteD4": "White strikes in the center.",
      "hint1_cxd4": "Exchange and open the c-file",
      "hint2_cxd4": "Capture to create asymmetry",
      "hint3_cxd4": "Play cxd4 — exchange and open the c-file for counterplay",
      "afterCxd4": "Perfect! The position is opening up.",
      "whiteNxd4": "White recaptures with the knight.",
      "hint1_Nf6": "Develop with tempo on e4",
      "hint2_Nf6": "Attack the e4 pawn",
      "hint3_Nf6": "Play Nf6 — develop with pressure on e4",
      "afterNf6": "Excellent! You're putting pressure on the center.",
      "whiteNc3": "White defends e4.",
      "hint1_e5": "The Sveshnikov pawn break!",
      "hint2_e5": "Kick the knight and grab space",
      "hint3_e5": "Play e5 — the signature Sveshnikov break, gaining space at the cost of d5",
      "afterE5": "This is the Sveshnikov! You've grabbed space and kicked the knight, but the d5 and d6 squares become weak.",
      "whiteNdb5": "The knight jumps to b5, threatening Nd6+ and eyeing d6.",
      "hint1_d6": "Defend c7 and accept the backward pawn",
      "hint2_d6": "A pawn move blocks the knight threats",
      "hint3_d6": "Play d6 — block the knight threats and accept the backward pawn",
      "afterD6": "Good! You've accepted the backward d-pawn in exchange for active play.",
      "whiteBg5": "White pins the knight - the main line of the Sveshnikov.",
      "hint1_a6": "Chase the knight and prepare b5",
      "hint2_a6": "The knight must move from b5",
      "hint3_a6": "Play a6 — chase the b5 knight and prepare queenside expansion",
      "afterA6": "Essential! The knight must retreat.",
      "whiteNa3": "The knight goes to an awkward square but eyes b5 and c4.",
      "hint1_b5": "Expand on the queenside",
      "hint2_b5": "Gain space and restrict the opponent's knight",
      "hint3_b5": "Play b5 — expand on the queenside and restrict White's a3 knight",
      "afterB5": "Excellent! You've gained queenside space and restricted White's knight.",
      "mainLineReached": "This is the main tabiya of the Sveshnikov. From here, White has several options.",
      "branchPrompt6b": "White can try 7.Nd5 immediately. Explore this variation?",
      "branchPrompt8b": "White has two main continuations here. Which would you like to explore?",
      "mainLine": {
        "name": "9.Bxf6 Main Line",
        "description": "White captures on f6, doubling Black's pawns",
        "whiteBxf6": "White captures the knight! This is a critical decision.",
        "hint1_gxf6": "Recapture with the g-pawn to keep the center",
        "hint2_gxf6": "The g-pawn recapture is strongest",
        "hint3_gxf6": "Play gxf6 — recapture to keep the center and open the g-file",
        "afterGxf6": "Correct! You have doubled pawns but excellent piece activity and open g-file.",
        "whiteNd5": "White plants the knight on d5 - a powerful outpost.",
        "hint1_f5": "Challenge the knight and activate your pieces",
        "hint2_f5": "A pawn push attacks the knight and opens diagonals",
        "hint3_f5": "Play f5 — challenge the d5 knight and activate your bishops",
        "afterF5": "The typical Sveshnikov counter! Your pieces will become very active.",
        "conclusion": "Congratulations! You've reached a key position. The typical plan is Be7, O-O, and use the open g-file and active bishops. Black's compensation for the doubled pawns is excellent!"
      },
      "novosibirsk": {
        "name": "Novosibirsk Variation",
        "description": "White plays 9.Nd5 before taking on f6",
        "intro": "In the Novosibirsk Variation, White plays 9.Nd5 immediately, before capturing on f6. This changes the character of the game.",
        "hint1_Be7": "Develop the bishop and prepare to capture on f6",
        "hint2_Be7": "The bishop defends the knight",
        "hint3_Be7": "Play Be7 — develop and prepare to recapture on f6 with the bishop",
        "afterBe7": "Good! Now you're ready to recapture on f6 with the bishop.",
        "whiteBxf6": "White takes the knight.",
        "hint1_Bxf6": "Recapture with the bishop",
        "hint2_Bxf6": "Keep your pawn structure intact",
        "hint3_Bxf6": "Play Bxf6 — recapture with the bishop to keep a healthy pawn structure",
        "afterBxf6": "Excellent! Your bishop is very active on f6.",
        "whiteC3": "White prepares to challenge the center.",
        "hint1_OO": "Castle and complete your development",
        "hint2_OO": "Get your king to safety",
        "hint3_OO": "Castle — complete development and prepare counterplay with f5",
        "afterOO": "Perfect! Your king is safe.",
        "conclusion": "The Novosibirsk Variation gives Black a healthy pawn structure. Continue with f5 to challenge the center, then Kh8 and Rb8 for queenside pressure!"
      },
      "earlyNd5": {
        "name": "7.Nd5 Early Strike",
        "description": "White plays Nd5 before Bg5",
        "intro": "Some players try 7.Nd5 before Bg5. Let's see how to handle this aggressive approach.",
        "hint1_Nxd5": "Capture the knight immediately",
        "hint2_Nxd5": "Remove the powerful knight",
        "hint3_Nxd5": "Play Nxd5 — remove the powerful centralized knight",
        "afterNxd5": "Good! Now White's pawn structure will change.",
        "whiteExd5": "White recaptures with the pawn.",
        "hint1_Ne7": "Reroute the knight to attack d5",
        "hint2_Ne7": "The knight heads to f5 or g6",
        "hint3_Ne7": "Play Ne7 — reroute the knight toward f5 or g6",
        "afterNe7": "Excellent! The knight is heading to a better square.",
        "whiteC4": "White tries to stabilize the center.",
        "hint1_Ng6": "Bring the knight to an active square",
        "hint2_Ng6": "The knight eyes f4 and h4",
        "hint3_Ng6": "Play Ng6 — place the knight on an active square eyeing f4 and h4",
        "afterNg6": "Well played! The knight is actively placed.",
        "conclusion": "Against the early Nd5, you have good play. Continue with Be7, O-O, and f5 to undermine White's center. The knight on g6 has good prospects."
      },
      "analysis": {
        "centralSpaceGain": "The e5 push gains significant central space and kicks the knight from d4.",
        "d5Hole": "The d5 square becomes a permanent weakness - White can establish a knight there.",
        "pieceActivityCompensation": "Black's active pieces compensate for the structural weakness on d5.",
        "knightReroutingIdea": "The knight reroutes via e7 to reach better squares like g6, f5, or even d4.",
        "knightOnG6": "The knight on g6 is excellently placed, eyeing f4 and h4 outposts."
      }
    },
    "smithMorraGambit": {
      "title": "Smith-Morra Gambit",
      "description": "A dynamic pawn sacrifice against the Sicilian",
      "intro": "Welcome to the Smith-Morra Gambit! This exciting gambit sacrifices a pawn early against the Sicilian Defense, gaining rapid development and open lines for a dangerous attack. Let's learn to put maximum pressure on Black from the very start!",
      "hint1_e4": "Start with the king's pawn",
      "hint2_e4": "Open the center",
      "hint3_e4": "Play e4 — control the center and prepare for the gambit",
      "afterE4": "Good! You're ready for the Sicilian.",
      "blackC5": "Black plays the Sicilian Defense.",
      "hint1_d4": "Challenge Black's pawn immediately",
      "hint2_d4": "A central pawn push is the first step of the gambit",
      "hint3_d4": "Play d4 — challenge Black's c5 pawn to set up the Smith-Morra",
      "afterD4": "Aggressive! You're going for the Smith-Morra.",
      "blackCxd4": "Black captures the pawn.",
      "hint1_c3": "Offer the gambit pawn!",
      "hint2_c3": "Sacrifice a pawn for rapid development",
      "hint3_c3": "Play c3 — offer the gambit pawn for rapid development",
      "afterC3": "This is the Smith-Morra Gambit! You're sacrificing a pawn for a lead in development.",
      "blackDxc3": "Black accepts the gambit - now you get what you paid for!",
      "hint1_Nxc3": "Recapture with the knight and develop",
      "hint2_Nxc3": "The knight develops with tempo",
      "hint3_Nxc3": "Play Nxc3 — recapture with the knight and gain a development lead",
      "afterNxc3": "Excellent! You've sacrificed a pawn but your knight is developed and the d-file is open.",
      "blackNc6": "Black develops the knight.",
      "hint1_Nf3": "Continue rapid development",
      "hint2_Nf3": "The knight controls key central squares",
      "hint3_Nf3": "Play Nf3 — continue rapid development and control the center",
      "afterNf3": "Good! Both knights are developed.",
      "blackD6": "Black solidifies the center.",
      "hint1_Bc4": "Develop with attack on f7",
      "hint2_Bc4": "The bishop eyes the vulnerable f7 square",
      "hint3_Bc4": "Play Bc4 — aim the bishop at f7 and maximize piece activity",
      "afterBc4": "Classic gambit development! The bishop puts pressure on f7.",
      "blackE6": "Black defends f7.",
      "hint1_OO": "Castle and connect the rooks",
      "hint2_OO": "Get your king to safety and activate the rook",
      "hint3_OO": "Castle — complete development and bring the rook into play",
      "afterOO": "Well done! You've castled with excellent development.",
      "blackNf6": "Black develops the knight.",
      "conclusion": "Congratulations! You've reached a classic Smith-Morra position. Your compensation for the pawn includes: rapid development, open c and d files, bishops eyeing Black's position. Typical plans include Qe2, Rd1, Bg5, and Nd5. The initiative is worth more than the pawn!",
      "branchPrompt_3w": "Black might decline the gambit. Explore the declined variations?",
      "analysis": {
        "gambitIdea": "c3 offers a pawn to accelerate development",
        "pawnForDevelopment": "A pawn for rapid piece development and open lines",
        "developmentLead": "You're ahead in development - this is the gambit's reward!",
        "openCFile": "The open c-file will be a key attacking avenue",
        "openDFile": "The open d-file adds to your pressure",
        "bc4TargetsF7": "The bishop targets the weak f7 square",
        "f7Weakness": "f7 is only defended by the king - a classic weakness!",
        "compensation": "The knight can jump to d5 - a powerful outpost",
        "typicalPlans": "Typical plans: Qe2, Rd1, Bg5, and the powerful Nd5 jump"
      },
      "branches": {
        "push": {
          "name": "Push Variation (3...d3)",
          "description": "Black pushes the pawn instead of capturing",
          "blackD3": "Black pushes 3...d3, declining the gambit and giving the pawn back differently.",
          "hint1_Bxd3": "Capture with the bishop",
          "hint2_Bxd3": "The bishop develops actively",
          "hint3_Bxd3": "Play Bxd3 — develop the bishop actively while recapturing the pawn",
          "afterBxd3": "Good! You've developed the bishop while recapturing.",
          "blackD6": "Black plays solidly.",
          "hint1_Nf3": "Continue development",
          "hint2_Nf3": "Develop the knight naturally",
          "hint3_Nf3": "Play Nf3 — continue natural development to maintain the initiative",
          "afterNf3": "Good! You're ahead in development.",
          "blackNf6": "Black develops.",
          "conclusion": "Against the Push Variation, you've maintained a slight edge. Continue with O-O, Nc3, and Re1. White has easy development and the position is pleasant."
        },
        "nf6": {
          "name": "Nf6 Decline (3...Nf6)",
          "description": "Black develops the knight instead of capturing",
          "blackNf6": "Black plays 3...Nf6, attacking e4 instead of capturing on c3.",
          "hint1_e5": "Push the pawn and attack the knight",
          "hint2_e5": "Gain space and kick the knight",
          "hint3_e5": "Play e5 — gain space and force the knight to retreat",
          "afterE5": "Good! The knight must retreat.",
          "blackNd5": "The knight retreats to d5.",
          "hint1_cxd4": "Capture and open the position",
          "hint2_cxd4": "Take the pawn back",
          "hint3_cxd4": "Play cxd4 — recapture to restore material equality",
          "afterCxd4": "Excellent! You've equalized the material.",
          "blackD6": "Black challenges your e5 pawn.",
          "conclusion": "Against the Nf6 Decline, you have a solid position with the e5 pawn providing space. Continue with Nf3, Bc4, and O-O. The position is roughly equal but easier to play for White."
        }
      }
    },
    "queensGambit": {
      "title": "Queen's Gambit",
      "description": "Master the Queen's Gambit — the most iconic d4 opening. Learn the Declined, Accepted, and Slav Defense!",
      "intro": "Welcome to the Queen's Gambit! This legendary opening offers a pawn to seize control of the center. It's not a true gambit — White almost always recovers the pawn. You'll learn three main responses and the ideas behind each one!",
      "hint1_d4": "Start with the classic queen's pawn opening",
      "hint2_d4": "A central pawn move stakes your claim in the center",
      "hint3_d4": "Play d4 — control the center and prepare c4",
      "afterD4": "Great! d4 controls the center and opens lines for your queen and bishop.",
      "blackD5": "Black mirrors your center control. Now it's time for the gambit!",
      "hint1_c4": "Offer a pawn to challenge Black's center",
      "hint2_c4": "A pawn sacrifice challenges the opponent's central control",
      "hint3_c4": "Play c4 — offer the gambit pawn to undermine d5",
      "afterC4": "This is the Queen's Gambit! You're offering the c4 pawn to disrupt Black's center. Black must decide how to respond.",
      "branchPrompt": "How will Black respond to the Queen's Gambit?",
      "analysis": {
        "gambitIdea": "The c4 pawn challenges d5 — if Black captures, White gets a strong center with e4",
        "centralControl": "White aims to dominate the center with d4 and potentially e4",
        "pressureD5": "The c4 pawn puts direct pressure on Black's d5 pawn",
        "pinOnF6": "The bishop pins the knight to the queen, creating pressure on d5",
        "classicalSetup": "White builds the classical setup with Nc3, Bg5, e3, and Nf3",
        "minorityAttack": "White can later push a-b pawns to attack Black's queenside structure",
        "recoverPawn": "White will recover the c4 pawn with ease while gaining development",
        "centerAdvantage": "With the pawn on d4 and no black pawn on d5, White controls the center",
        "recaptureWithDevelopment": "The bishop recaptures with development, targeting the kingside",
        "bishopRecapture": "Bxc4 develops the bishop to an active diagonal while recovering the pawn",
        "openLines": "White has open lines and rapid development as compensation",
        "kingSafety": "Castling completes development and secures the king",
        "blackBishopOutside": "Unlike the QGD, the Slav keeps the light-squared bishop outside the pawn chain",
        "preventB5": "a4 stops Black from consolidating with b5"
      },
      "branches": {
        "declined": {
          "name": "Queen's Gambit Declined",
          "description": "The classical response — Black holds the center with e6",
          "blackE6": "Black declines the gambit with e6, keeping a solid pawn on d5. The bishop on c8 is locked in for now.",
          "hint1_Nc3": "Develop a piece to support the center",
          "hint2_Nc3": "A knight can support your central pawns and eye d5",
          "hint3_Nc3": "Play Nc3 — develop the knight to support d4 and pressure d5",
          "afterNc3": "Nc3 develops the knight and adds pressure to d5. This is the classical approach.",
          "blackNf6": "Black develops the knight to defend d5 and control e4.",
          "hint1_Bg5": "Pin the knight to create pressure",
          "hint2_Bg5": "A bishop move can create an uncomfortable pin on the kingside",
          "hint3_Bg5": "Play Bg5 — pin the knight on f6 to the queen, increasing pressure on d5",
          "afterBg5": "The Bg5 pin is a hallmark of the Queen's Gambit Declined. The knight on f6 is tied to defending d5.",
          "blackBe7": "Black breaks the pin possibility. The position is solid but somewhat passive.",
          "hint1_e3": "Solidify your center and prepare the bishop",
          "hint2_e3": "A pawn move solidifies the center and opens a diagonal for your bishop",
          "hint3_e3": "Play e3 — reinforce d4 and prepare Bd3 for kingside development",
          "afterE3": "e3 supports d4 and prepares Bd3. White has a classical, strong position.",
          "blackOO": "Black castles to safety. The middlegame begins.",
          "hint1_Nf3": "Complete your kingside development",
          "hint2_Nf3": "A knight move completes the kingside development",
          "hint3_Nf3": "Play Nf3 — develop the last minor piece and prepare to castle",
          "afterNf3": "Excellent setup! White has a powerful classical position with all pieces developed harmoniously.",
          "conclusion": "Well played! In the Queen's Gambit Declined, White builds a strong center and develops naturally. Key plans include the minority attack (a4-b4-b5) on the queenside and preparing e4 to open the center."
        },
        "accepted": {
          "name": "Queen's Gambit Accepted",
          "description": "Black takes the pawn — White gets a strong center",
          "blackDxc4": "Black accepts the gambit! But holding the pawn is very difficult — White will recover it while gaining development.",
          "hint1_e3": "Open the diagonal for your bishop",
          "hint2_e3": "A pawn move opens a path for the bishop to recapture",
          "hint3_e3": "Play e3 — open the f1-a6 diagonal so your bishop can recapture on c4",
          "afterE3": "e3 opens the diagonal for Bxc4. White will recover the pawn with development.",
          "blackNf6": "Black develops naturally, but White is about to recapture the pawn.",
          "hint1_Bxc4": "Recapture the pawn with your bishop",
          "hint2_Bxc4": "Recover the sacrificed material while improving your development",
          "hint3_Bxc4": "Play Bxc4 — recapture the pawn while developing the bishop to a strong diagonal",
          "afterBxc4": "The bishop is active on c4, targeting f7. White has recovered the pawn and leads in development.",
          "blackE6": "Black solidifies but remains slightly behind in development.",
          "hint1_Nf3": "Develop the knight and prepare to castle",
          "hint2_Nf3": "A knight move completes kingside development and prepares castling",
          "hint3_Nf3": "Play Nf3 — develop the knight and prepare to castle kingside",
          "afterNf3": "Great development! You're ready to castle and have a clear advantage in the center.",
          "blackC5": "Black fights back against your center with c5.",
          "hint1_OO": "Secure your king and activate the rook",
          "hint2_OO": "Your king needs safety before the action heats up",
          "hint3_OO": "Castle kingside — secure your king and bring the rook into play",
          "afterOO": "Perfect! You've castled with a strong center and active pieces.",
          "conclusion": "Well played! In the Queen's Gambit Accepted, White recovers the pawn easily with Bxc4 while gaining a development advantage. The key is to use your central control and piece activity to launch an attack."
        },
        "slav": {
          "name": "Slav Defense",
          "description": "Black supports d5 with c6, keeping the bishop free",
          "blackC6": "The Slav Defense! Black supports d5 with c6 instead of e6. The key difference: the light-squared bishop stays free to develop actively.",
          "hint1_Nf3": "Develop the knight toward the center",
          "hint2_Nf3": "A knight move develops toward the center and controls key squares",
          "hint3_Nf3": "Play Nf3 — develop the knight, control e5, and prepare to castle",
          "afterNf3": "Nf3 is a flexible developing move. White keeps many options open.",
          "blackNf6": "Black develops symmetrically, pressuring e4 and defending d5.",
          "hint1_Nc3": "Add more support to the center",
          "hint2_Nc3": "A second knight develops to increase central pressure",
          "hint3_Nc3": "Play Nc3 — develop the knight and add pressure on d5",
          "afterNc3": "Both knights are developed. The battle for the center intensifies.",
          "blackDxc4": "Black takes the pawn! In the Slav, this is a common strategy to free the light-squared bishop.",
          "hint1_a4": "Prevent Black from holding the pawn with b5",
          "hint2_a4": "A pawn advance prevents the opponent from consolidating on the queenside",
          "hint3_a4": "Play a4 — prevent b5 and prepare to recover the c4 pawn",
          "afterA4": "a4 stops b5, making it hard for Black to keep the extra pawn. White will recover it soon.",
          "blackBf5": "Black activates the light-squared bishop before playing e6. This is the main advantage of the Slav over the QGD!",
          "hint1_e3": "Prepare to recover the pawn",
          "hint2_e3": "A pawn move opens the diagonal to recover the gambit pawn",
          "hint3_e3": "Play e3 — open the diagonal for Bxc4 and solidify the center",
          "afterE3": "e3 prepares Bxc4 to recover the pawn. White has a solid position with good development.",
          "conclusion": "Well played! In the Slav Defense, Black keeps the light-squared bishop active — unlike the QGD where it's locked behind e6. White should play a4 to prevent b5 and recover the pawn. The resulting positions are rich and strategically complex."
        }
      }
    }
  }
}
