.swift-tool-main-wrapper { 
    font-family: 'Inter', system-ui, sans-serif !important; 
    background-color: #f8fafc !important; 
    padding: 20px 15px !important; 
    max-width: 900px !important; 
    margin: 15px auto !important; 
    box-sizing: border-box !important;
}

.tool-hero-section { text-align: center; margin-bottom: 20px; }
.tool-title-main { font-size: 26px !important; font-weight: 800 !important; color: #0f172a !important; margin-bottom: 8px; }
.tool-subtitle-main { font-size: 14.5px !important; color: #475569 !important; font-weight: 500 !important; line-height: 1.5; }

/* Mode Selector */
.mode-selector-wrapper { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.mode-btn { background: #e2e8f0; border: 2px solid #cbd5e1; color: #475569; font-weight: 700; font-size: 13.5px; padding: 10px 20px; border-radius: 30px; cursor: pointer; transition: all 0.2s; }
.active-mode { background: #0f172a !important; color: #38bdf8 !important; border-color: #0f172a !important; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }

/* Dashboard Controls */
.sl-dashboard { display: flex; justify-content: space-around; align-items: center; background: #0f172a; padding: 15px 20px; border-radius: 16px; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.current-turn-box { font-size: 15px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; }
.turn-badge { padding: 6px 14px; border-radius: 20px; font-weight: 900; text-transform: uppercase; font-size: 13px; }
.red-turn { background: #ef4444; color: #fff; }
.blue-turn { background: #3b82f6; color: #fff; }

.dice-section { display: flex; align-items: center; gap: 12px; }
.dice-cube { font-size: 36px; background: #fff; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); user-select: none; }
.roll-btn { background: linear-gradient(135deg, #10b981, #059669); color: #fff; border: none; font-weight: 800; padding: 12px 22px; border-radius: 10px; cursor: pointer; font-size: 14.5px; transition: transform 0.1s; }
.roll-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.roll-btn:active { transform: scale(0.96); }

.restart-btn { background: #334155; color: #cbd5e1; border: none; font-weight: 700; padding: 10px 16px; border-radius: 8px; cursor: pointer; font-size: 13px; }

/* Board Container & Grid */
.sl-container { display: flex; justify-content: center; margin-bottom: 30px; }
.sl-board { width: 100%; max-width: 450px; aspect-ratio: 1 / 1; background: #fff; border: 6px solid #0f172a; border-radius: 16px; position: relative; box-shadow: 0 15px 35px rgba(0,0,0,0.25); display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(10, 1fr); overflow: hidden; }

.sl-cell { border: 1px solid #e2e8f0; font-size: 11px; font-weight: 800; color: #64748b; padding: 2px 4px; box-sizing: border-box; display: flex; align-items: flex-start; justify-content: flex-start; }
.sl-cell-even { background-color: #f8fafc; }
.sl-cell-odd { background-color: #f1f5f9; }

/* Canvas for Drawing Snakes and Ladders */
#slCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }

/* Player Tokens */
.sl-token { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 3px 6px rgba(0,0,0,0.5); position: absolute; z-index: 10; transition: all 0.3s ease-in-out; display: none; }
.red-token { background: radial-gradient(circle at 30% 30%, #f87171, #dc2626); }
.blue-token { background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb); }

/* SEO & FAQ */
.seo-guide-section { width: 100%; margin-top: 30px; }
.faq-main-title { font-size: 20px !important; font-weight: 800 !important; color: #0f172a; text-align: center; margin-bottom: 20px; }
.step-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
@media (min-width: 768px) { .step-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { background: #fff; border: 1px solid #e2e8f0; padding: 20px; border-radius: 12px; position: relative; }
.step-num { position: absolute; top: -12px; left: 15px; color: #fff; font-weight: 800; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 12px; }
.step-card h4 { margin: 6px 0 4px 0; font-size: 15px; color: #0f172a; font-weight: 700; }
.step-card p { margin: 0; font-size: 13px; color: #475569; line-height: 1.5; }

.faq-section { width: 100%; margin-top: 30px; }
.faq-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.faq-question { font-size: 14.5px !important; font-weight: 700 !important; color: #0f172a; margin: 0 0 6px 0; }
.faq-answer { font-size: 13px; color: #475569; line-height: 1.5; margin: 0; }