* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-image: url("trackanimeversion.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2c3e50; 
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    min-height: 100vh; 
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    width: 90%;
    max-width: 500px;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    gap: 15px; 
}

h1, h2 {
    font-family: "Bangers", system-ui, sans-serif;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6); 
}

h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 10px;
}

h2 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    margin-bottom: 10px;
    color: #ffffff; 
}

p {
    font-weight: bold;
    font-style: italic;
    font-size: 1.1rem;
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.stats-container {
    width: 100%;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    flex-wrap: wrap; 
}

button {
    border: none;
    padding: 12px 20px;
    font-weight: bold;
    width: 100%;
    max-width: 180px; 
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

#increment-btn, #save-btn {
    background: #b24240;
}

#increment-btn:hover, #save-btn:hover {
    background: #d34a47;
    transform: translateY(-1px); 
}

#increment-btn:active, #save-btn:active {
    background: #8b312f;
    transform: translateY(0);
}

#reset-btn {
    background-color: #887cc8;
    max-width: 375px; 
}

#reset-btn:hover {
    background-color: #9d91e0;
    transform: translateY(-1px);
}

#reset-btn:active {
    background-color: #63579e;
    transform: translateY(0);
}