/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    position: relative; /* For the overlay */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
  }
  
  /* Blurred background approach */
  body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("station.avif");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(4px); /* Adjust the blur amount as needed */
    z-index: -1;
  }
  
  /* Optional: Add a slight overlay to improve text readability */
  body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Subtle dark overlay */
    z-index: -1;
  }
  
  /* Container styling */
  #root {
    background-color: rgba(255, 255, 255, 0.803);
    width: 90%;
    max-width: 40%;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
    z-index: 1; /* Ensure it's above the background */
  }
  
  #root:hover {
    transform: translateY(-5px);
  }
  
  /* Typography */
  h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
  }
  
  #count-el {
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
    color: #3498db;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Button styling */
  button {
    border: none;
    padding: 12px 0;
    color: white;
    font-weight: bold;
    width: 80%;
    max-width: 200px;
    margin: 10px auto;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    display: block;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  }
  
  button:active {
    transform: scale(0.98);
  }
  
  #increment-btn {
    background: linear-gradient(to right, #e74c3c, #c0392b);
  }
  
  #save-btn {
    background: linear-gradient(to right, #27ae60, #2ecc71);
  }

  p {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #2c3e50;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    #root {
      width: 85%;
      padding: 1.5rem;
    }
    
    h1 {
      font-size: 1.8rem;
    }
    
    #count-el {
      font-size: 3.5rem;
    }
  }
  
  /* Animation for count change - requires JS implementation */
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  .pulse {
    animation: pulse 0.3s ease-in-out;
  }