body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #ecf0f1;
}

.game-container {
    position: relative;
    text-align: center;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.back-btn-corner {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    line-height: 45px;
    padding: 0;
    text-align: center;
    z-index: 10;
}

.game-title {
    color: #c0392b;
    margin-bottom: 20px;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 10px;
    margin-bottom: 20px;
}

.cell {
    width: 100px;
    height: 100px;
    background-color: #bdc3c7;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cell:hover {
    background-color: #95a5a6;
}

.cell.x {
    color: #e74c3c;
}

.cell.o {
    color: #3498db;
}

.game-status {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    height: 30px;
}

.btn, .btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    margin: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn {
    color: white;
    background-color: #2980b9;
}

.btn:hover {
    background-color: #3498db;
    transform: translateY(-2px);
}

.btn-secondary {
    color: white;
    background-color: #7f8c8d;
}

.btn-secondary:hover {
    background-color: #95a5a6;
    transform: translateY(-2px);
}
