.game-section{
    background: #0a0a0f;
    color: #e0f7fa;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.memory-container {
    background: rgba(0, 246, 255, 0.07);
    border: 2px solid #00f6ff;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0,246,255,0.08);
    text-align: center;
    min-width: 350px;
    min-height: 500px;
    position: relative;
}

#memory-board {
    display: grid;
    grid-template-columns: repeat(6, 60px);
    grid-gap: 15px;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.memory-card {
    width: 60px;
    height: 60px;
    background: #222;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #00f6ff;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px #00f6ff22;
    position: relative;
}

.memory-card.flipped, .memory-card.matched {
    background: #00f6ff;
    color: #0a0a0f;
    cursor: default;
    transform: scale(1.08);
}

.memory-card.matched {
    background: #00ff7f;
    color: #0a0a0f;
}

#moves, #high-score {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

#game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0a0a0fdd;
    color: #fff;
    padding: 2rem 3rem;
    border-radius: 12px;
    font-size: 1.3rem;
    z-index: 10;
}

.hidden {
    display: none;
}