* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(rgba(0,0,0,0.35),rgba(0,0,0,0.35)),url('images/train.jpg') center / cover no-repeat fixed;
}

#box {
    width: 100%;
    max-width: 450px;
    padding: 45px 35px;
    background-color: rgba(255, 255, 255,0.5);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}

h1 {
    margin-bottom: 10px;
    color: #222;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

h2 {
    margin-bottom: 10px;
    color: #333;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

button {
    width: 100%;
    max-width: 250px;
    padding: 12px 30px;
    margin: 6px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

#increment-btn {
    background-color: #e63946;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

#save-btn {
    background-color: #2a9d5b;
    box-shadow: 0 4px 10px rgba(42, 157, 91, 0.3);
}

#increment-btn:hover {
    background-color: #c92f3c;
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.4);
}

#save-btn:hover {
    background-color: #21884d;
    box-shadow: 0 6px 15px rgba(42, 157, 91, 0.4);
}

#save-el {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    line-height: 1.6;
    word-break: break-word;
}

@media (max-width: 500px) {
    body {
        padding: 15px;
    }
    #box {
        padding: 35px 20px;
        border-radius: 15px;
    }
    button {
        width: 100%;
    }
}