:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --primary-color: #8b0000;
    --secondary-color: #d4af37;
    --info-color: #17a2b8;
    --simple-color: #555;
    --panel-bg: #1e1e1e;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Merriweather', serif;
}

body {
    margin: 0; padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--secondary-color); }
a { color: var(--secondary-color); text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.site-header {
    background-color: #000; border-bottom: 2px solid var(--primary-color);
    padding: 30px 0; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.7);
}
.site-title { font-size: 2.5rem; margin: 0; letter-spacing: 2px; text-transform: uppercase; }
.site-description { font-style: italic; color: #a0a0a0; margin-top: 5px; }

.hero-section { text-align: center; padding: 40px 0; }

/* ----- BOARD GAME STYLES ----- */
.board-section { display: flex; justify-content: center; padding: 20px 0 50px; }
.board-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: radial-gradient(circle, #2a2a2a 0%, #111 100%);
    border-radius: 50%;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 0 30px rgba(0,0,0,0.9), inset 0 0 50px rgba(0,0,0,0.8);
}

.central-room {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 140px; height: 140px;
    background: #000;
    border: 2px dashed var(--secondary-color);
    color: var(--secondary-color);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    border-radius: 15px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.space {
    position: absolute;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--simple-color);
    transform: translate(-50%, -50%);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: #fff; font-weight: bold;
    border: 2px solid #222;
    box-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.space.info { background: var(--info-color); border-color: #fff; }
.space.danger { background: var(--primary-color); border-color: #fff; }

.player-token {
    position: absolute;
    width: 20px; height: 20px;
    background: #fff;
    border: 3px solid #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: top 0.4s ease-out, left 0.4s ease-out;
    z-index: 10;
    box-shadow: 0 0 15px #fff;
    /* Start Position outside the board top */
    top: -5%; left: 50%;
}

/* ----- ACTION PANELS ----- */
.interactive-board { padding: 20px 0 50px; }
.board-grid { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }
.action-panel {
    background-color: var(--panel-bg); border: 1px solid #333;
    border-radius: 8px; padding: 30px; text-align: center;
    flex: 1; min-width: 300px; box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.game-btn {
    background-color: var(--primary-color); color: #fff;
    border: none; padding: 12px 24px; font-family: var(--font-heading);
    font-size: 1.2rem; cursor: pointer; border-radius: 4px;
    margin: 15px 0; transition: 0.3s;
}
.game-btn:hover { background-color: #660000; }

.result-box {
    margin-top: 20px; padding: 20px; background-color: #0a0a0a;
    border: 1px dashed var(--secondary-color); min-height: 80px;
    display: flex; flex-direction: column; justify-content: center;
    align-items: center; font-size: 1.5rem; border-radius: 6px;
}
.result-box h4 { margin: 0 0 10px 0; font-size: 1.2rem; color: var(--primary-color); }
.result-box p { margin: 0; font-size: 1rem; }

.action-message {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-style: italic;
}

.game-elements { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; padding: 30px 0; }
.element-box { background-color: var(--panel-bg); padding: 20px; border-left: 4px solid var(--primary-color); }
.element-box h3 { margin-top: 0; border-bottom: 1px solid #333; padding-bottom: 10px; }
.element-box ul { list-style: none; padding: 0; margin: 0; }
.element-box li { padding: 8px 0; border-bottom: 1px solid #2a2a2a; color: #bbb; }

.site-footer { text-align: center; padding: 30px 0; background-color: #000; border-top: 2px solid var(--primary-color); }
.site-footer p { margin: 5px 0; font-size: 0.9rem; color: #777; }