.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.2); 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: #f59e0b; font-family: monospace; text-shadow: 0 0 10px rgba(245,158,11,0.4); }
.gold-neon { color: #10b981 !important; text-shadow: 0 0 10px rgba(16,185,129,0.4) !important; }

.sound-toggle-group { display: flex; gap: 10px; }
.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; }
.restart-accent { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; border: none; }
.restart-accent:hover { opacity: 0.9; }

/* Board Stage Area */
.game-stage-wrapper { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.puzzle-board-container { position: relative; width: 100%; max-width: 380px; height: 380px; background: #0f172a; border-radius: 16px; padding: 12px; box-sizing: border-box; box-shadow: 0 15px 35px rgba(0,0,0,0.3); border: 3px solid #1e293b; touch-action: none; }

.grid-board { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 10px; width: 100%; height: 100%; }

.tile-cell { background: rgba(30, 41, 59, 0.6); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; font-family: 'Inter', system-ui, sans-serif; transition: all 0.12s ease-in-out; user-select: none; }

/* Dynamic Tile Color Theming */
.tile-val-2 { background: #334155; color: #f8fafc; }
.tile-val-4 { background: #475569; color: #f8fafc; }
.tile-val-8 { background: #f97316; color: #ffffff; box-shadow: 0 0 10px rgba(249,115,22,0.4); }
.tile-val-16 { background: #ea580c; color: #ffffff; box-shadow: 0 0 12px rgba(234,88,12,0.5); }
.tile-val-32 { background: #ef4444; color: #ffffff; box-shadow: 0 0 14px rgba(239,68,68,0.5); }
.tile-val-64 { background: #dc2626; color: #ffffff; box-shadow: 0 0 16px rgba(220,38,38,0.6); }
.tile-val-128 { background: #eab308; color: #ffffff; font-size: 20px; box-shadow: 0 0 18px rgba(234,179,8,0.6); }
.tile-val-256 { background: #ca8a04; color: #ffffff; font-size: 20px; box-shadow: 0 0 20px rgba(202,138,4,0.7); }
.tile-val-512 { background: #a855f7; color: #ffffff; font-size: 20px; box-shadow: 0 0 22px rgba(168,85,247,0.7); }
.tile-val-1024 { background: #9333ea; color: #ffffff; font-size: 17px; box-shadow: 0 0 24px rgba(147,51,234,0.8); }
.tile-val-2048 { background: #22c55e; color: #ffffff; font-size: 17px; box-shadow: 0 0 30px rgba(34,197,94,0.9); }
.tile-val-super { background: #06b6d4; color: #ffffff; font-size: 15px; box-shadow: 0 0 35px rgba(6,182,212,1); }

/* Overlay HUD Screen */
.game-overlay-screen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(6px); border-radius: 16px; 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: #f59e0b; margin: 0 0 8px 0 !important; font-family: monospace; letter-spacing: 2px; text-shadow: 0 0 15px rgba(245,158,11,0.6); }
.neon-sub { font-size: 13.5px; color: #94a3b8; font-weight: 600; margin-bottom: 22px; }

.game-action-btn { background: linear-gradient(135deg, #f59e0b, #d97706); color: #ffffff; font-size: 16px; font-weight: 800; padding: 14px 32px; border: none; border-radius: 30px; cursor: pointer; box-shadow: 0 0 20px rgba(245,158,11,0.5); transition: all 0.2s; }
.game-action-btn:hover { transform: scale(1.05); box-shadow: 0 0 25px rgba(245,158,11,0.8); }

.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; }