/* Game specific styles for Simon Memory */

:root {
    --primary-color: #FF9800;
    --primary-hover: #F57C00;
    --primary-shadow: #E65100;
    --text-main: #333;
    --bg-card: #FFFFFF;

    /* Simon Colors */
    --simon-green: #4CAF50;
    --simon-red: #F44336;
    --simon-yellow: #FFEB3B;
    --simon-blue: #2196F3;

    --simon-green-light: #81C784;
    --simon-red-light: #E57373;
    --simon-yellow-light: #FFF176;
    --simon-blue-light: #64B5F6;
}

.game-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}

.game-container h1 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.game-description {
    margin-bottom: 3rem;
    color: #555;
    font-size: 1.1rem;
}

/* Score Board */
.score-board {
    margin-bottom: 2rem;
    background: #333;
    color: #fff;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.score-label {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: bold;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
}

/* Simon Board */
.game-area-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.simon-board {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #333;
    padding: 10px;
    /* Gap between buttons */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    /* For circle quadrants */
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.simon-btn {
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.1s, transform 0.1s;
    border: none;
}

.simon-btn.active {
    opacity: 1;
    filter: brightness(1.5);
    transform: scale(0.98);
}

/* Quadrant shaping */
.green {
    background-color: var(--simon-green);
    border-top-left-radius: 100%;
}

.red {
    background-color: var(--simon-red);
    border-top-right-radius: 100%;
}

.yellow {
    background-color: var(--simon-yellow);
    border-bottom-left-radius: 100%;
}

.blue {
    background-color: var(--simon-blue);
    border-bottom-right-radius: 100%;
}

/* Center Controls */
.center-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    /* Cover center */
    height: 100px;
    background: #f7f7f7;
    /* bg-color of page */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 8px solid #333;
    z-index: 10;
}

.start-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: white;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 0 var(--primary-shadow);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.start-btn:active {
    transform: translateY(2px);
    box-shadow: none;
}

.message {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-main);
    min-height: 1.5rem;
    margin-bottom: 2rem;
}

/* Instructions */
.instructions {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: left;
    margin: 3rem auto 5rem;
    color: #444;
    line-height: 1.8;
}

.instructions h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.instructions h3:first-child {
    margin-top: 0.5rem;
}