* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./tictactoe.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
     font-style: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    color: #00c3ff;
    font-family: "Sigmar One", sans-serif;
    font-weight: bold;
    font-size: 80px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.85);
    margin-bottom: 30px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}

.row {
    display: flex;
    gap: 10px;
}

.column {
    height: 150px;
    width: 150px;
    background: rgba(15, 15, 15, 0.2);
    border: 3px solid #ff0909;
    font-size: 100px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.column:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.reset-btn {
    margin-top: 25px;
    padding: 12px 30px;
    font-size: 22px;
    font-family: "Oswald", sans-serif;
    font-weight: bold;
    background-color: #00c3ff;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.reset-btn:hover {
    background-color: #009fcf;
    transform: scale(1.05);
}

@media (max-width: 500px) {
    .column {
        width: 28vw;
        height: 28vw;
        font-size: 9vw;
    }

    .grid {
        gap: 6px;
        padding: 6px;
    }

    .reset-btn {
        font-size: 6vw;
        padding: 8px 16px;
    }

    h1 {
        font-size: 12vw;
    }
}
