.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 & Control Bar */
.ludo-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; }
.green-turn { background: #22c55e; color: #fff; }
.yellow-turn { background: #eab308; color: #000; }
.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, #0284c7, #2563eb); 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; }

/* Ludo Board Layout */
.ludo-container { display: flex; justify-content: center; margin-bottom: 30px; }
.ludo-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(15, 1fr); grid-template-rows: repeat(15, 1fr); }

/* Board Cells */
.cell-box { border: 1px solid #cbd5e1; box-sizing: border-box; display: flex; align-items: center; justify-content: center; position: relative; width: 100%; height: 100%; }
.cell-red { background: #fca5a5; }
.cell-green { background: #86efac; }
.cell-yellow { background: #fde047; }
.cell-blue { background: #93c5fd; }
.cell-star { background-color: #f1f5f9; }
.cell-star::after { content: '⭐'; font-size: 11px; }

/* Home Base Zones */
.home-zone { position: absolute; width: 40%; height: 40%; padding: 8%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid #0f172a; z-index: 1; }
.red-home { top: 0; left: 0; background: #ef4444; }
.green-home { top: 0; right: 0; background: #22c55e; }
.yellow-home { bottom: 0; right: 0; background: #eab308; }
.blue-home { bottom: 0; left: 0; background: #3b82f6; }

.home-inner { width: 100%; height: 100%; background: #fff; border-radius: 12px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; padding: 8px; gap: 8px; box-sizing: border-box; }

/* Victory Zone Center */
.center-triangle-zone { position: absolute; top: 40%; left: 40%; width: 20%; height: 20%; background: #0f172a; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 11px; z-index: 2; border: 2px solid #fff; }

/* Goti / Tokens Styling */
.token { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 3px 6px rgba(0,0,0,0.4); cursor: pointer; transition: transform 0.15s ease-in-out; margin: auto; z-index: 10; display: inline-block; }
.token.can-move { animation: gotiPulse 0.5s infinite alternate; cursor: pointer !important; }

@keyframes gotiPulse {
    from { transform: scale(1); box-shadow: 0 0 3px #000; }
    to { transform: scale(1.35); box-shadow: 0 0 10px #38bdf8; }
}

.red-token { background: radial-gradient(circle at 30% 30%, #f87171, #dc2626); }
.green-token { background: radial-gradient(circle at 30% 30%, #4ade80, #16a34a); }
.yellow-token { background: radial-gradient(circle at 30% 30%, #fde047, #ca8a04); }
.blue-token { background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb); }

/* SEO & FAQ Styling */
.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; }