.swift-tool-main-wrapper { 
    font-family: 'Inter', system-ui, sans-serif !important; 
    background-color: #f8fafc !important; 
    padding: 20px 15px !important; 
    max-width: 1000px !important; 
    margin: 15px auto !important; 
    box-sizing: border-box !important;
    display: block !important;
    clear: both !important;
}

.tool-hero-section { text-align: center; margin-bottom: 20px; padding-top: 10px; }
.tool-title-main { font-size: 28px !important; font-weight: 800 !important; color: #0f172a !important; display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 8px; margin-top: 0 !important; }
.hero-icon-svg { width: 36px; height: 36px; display: inline-block; }
.tool-subtitle-main { font-size: 15px !important; color: #475569 !important; font-weight: 500 !important; max-width: 700px; margin: 0 auto; line-height: 1.5; }

/* Scoreboard Bar Styles */
.game-scoreboard-bar { display: flex; justify-content: space-between; align-items: center; background: #0f172a; border: 2px solid #1e293b; border-radius: 12px; padding: 14px 24px; margin-bottom: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); gap: 15px; flex-wrap: wrap; }
.score-node { display: flex; flex-direction: column; align-items: flex-start; }
.score-lbl { font-size: 11px; font-weight: 800; color: #64748b; letter-spacing: 1px; }
.score-val { font-size: 24px; font-weight: 900; color: #ec4899; font-family: monospace; text-shadow: 0 0 10px rgba(236,72,153,0.4); }
.blue-neon { color: #8b5cf6 !important; text-shadow: 0 0 10px rgba(139,92,246,0.4) !important; }
.gold-neon { color: #ef4444 !important; text-shadow: 0 0 10px rgba(239,68,68,0.4) !important; font-size: 18px !important; }

.sound-btn { background: #1e293b; border: 1px solid #334155; color: #cbd5e1; font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: all 0.2s; }
.sound-btn:hover { background: #334155; color: #fff; }

/* Canvas Stage Area */
.game-stage-wrapper { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.canvas-container { position: relative; width: 100%; max-width: 400px; height: 500px; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.5); border: 4px solid #1e1b4b; background: #030712; touch-action: none; }

#brickGameCanvas { display: block; width: 100%; height: 100%; background: #030712; }

/* Overlay HUD Screen */
.game-overlay-screen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(3, 7, 18, 0.90); backdrop-filter: blur(6px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; box-sizing: border-box; z-index: 10; }
.neon-title { font-size: 32px !important; font-weight: 900 !important; color: #ec4899; margin: 0 0 8px 0 !important; font-family: monospace; letter-spacing: 2px; text-shadow: 0 0 15px rgba(236,72,153,0.6); }
.neon-sub { font-size: 13.5px; color: #94a3b8; font-weight: 600; margin-bottom: 22px; }

.game-action-btn { background: linear-gradient(135deg, #ec4899, #8b5cf6); color: #ffffff; font-size: 16px; font-weight: 800; padding: 14px 32px; border: none; border-radius: 30px; cursor: pointer; box-shadow: 0 0 20px rgba(236,72,153,0.5); transition: all 0.2s; }
.game-action-btn:hover { transform: scale(1.05); box-shadow: 0 0 25px rgba(139,92,246,0.8); }

/* Mobile Touch Controls Layout */
.mobile-dpad-container { display: flex; gap: 12px; justify-content: center; width: 100%; max-width: 400px; margin-top: 5px; }
@media (min-width: 769px) { .mobile-dpad-container { display: none; } } /* Hide on PC */

.dpad-btn { height: 50px; background: #0f172a; border: 2px solid #334155; color: #ec4899; font-size: 15px; font-weight: 800; border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; touch-action: manipulation; box-shadow: 0 4px 10px rgba(0,0,0,0.2); flex: 1; }
.dpad-btn:active { background: #ec4899; color: #ffffff; border-color: #ec4899; }

.seo-guide-section { width: 100%; margin-top: 50px; }
.step-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
@media (min-width: 768px) { .step-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { background: #fff; border: 1px solid #e2e8f0; padding: 22px; border-radius: 12px; position: relative; }
.step-num { position: absolute; top: -14px; left: 20px; color: #fff; font-weight: 800; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 12px; }

.step-card h4 { margin: 8px 0 6px 0; font-size: 15px; font-weight: 700; color: #0f172a; }
.step-card p { margin: 0; font-size: 13px; color: #475569; line-height: 1.5; }

.faq-section { width: 100%; margin-top: 40px; }
.faq-main-title { font-size: 22px !important; font-weight: 800 !important; color: #0f172a; text-align: center; margin-bottom: 20px; }
.faq-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; margin-bottom: 12px; }
.faq-question { font-size: 15px !important; font-weight: 700 !important; color: #0f172a; margin: 0 0 6px 0; }
.faq-answer { font-size: 13.5px; color: #475569; line-height: 1.5; margin: 0; }