
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #191919;
    color: white;
    font-family: Arial, sans-serif;
}

.game {
    text-align: center;
}

h1 {
    margin-bottom: 30px;
}

#timer {
    font-size: 70px;
    margin-bottom: 20px;
}

#clicks {
    font-size: 100px;
    margin-top: 30px;
}

#cps {
    margin-top: 20px;
}

button {
    margin-top: 30px;
    padding: 15px 40px;

    background-color: white;
    color: black;

    border: none;
    border-radius: 8px;
    cursor: pointer;

    font-size: 18px;
    transition: 0.2s;
}

button:hover {
    background-color: #aaaaaa;
    transform: scale(1.05);
}

.game-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 20%);
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-height: 100vh;
    width: 100%;
    max-width: 1900px;
    margin: auto;
    padding: 3vh 0;
}

.game-container {
    width: 100%;
    min-height: 88vh;
    background-color: #242424;
    border: 1px solid #444;
    border-radius: 15px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upgrades {
    width: 100%;
    min-height: 88vh;
    background-color: #242424;
    border: 1px solid #444;
    border-radius: 15px;
    padding: 28px;
    box-sizing: border-box;
}

.upgrades button {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.upgrades button:hover {
    background-color: #555;
}

.coin-count {
    margin: 18px 0;
    font-size: 22px;
    font-weight: bold;
    color: #f5ce67;
}

#shopMessage {
    margin-top: 24px;
    color: #bbb;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .game-layout { grid-template-columns: 1fr; }
    .game-container { min-height: 65vh; padding: 20px; }
    .upgrades { min-height: auto; }
    #timer { font-size: 52px; }
    #clicks { font-size: 76px; }
}
