@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Deep, modern dark background */
    background: #0f172a; 
    /* Optional: Subtle background mesh/radial gradient for depth */
    background-image: radial-gradient(circle at top right, #1e293b, #0f172a);
    overflow: hidden;
}

.container {
    width: 85%;
    text-align: center;
    padding: 3rem 4rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    
    /* 1. Give the physical border a subtle cyan tint */
    border: 1px solid rgba(56, 189, 248, 0.4);
    
    /* 2. Layer the shadows to create the neon glow + dark depth */
    box-shadow: 
        0 0 15px rgba(56, 189, 248, 0.3),     /* Tight inner glow */
        0 0 40px rgba(56, 189, 248, 0.15),    /* Soft outer glow */
        0 25px 50px -12px rgba(0, 0, 0, 0.6); /* Keeps the floating depth below */
}

/* h1 {
    font-size: 1.2rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    font-weight: 700;
} */

h1 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 1.5rem;
    
    /* Apply a stunning icy white-to-cyan gradient */
    background: linear-gradient(135deg, #ffffff, #38bdf8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Add a subtle ambient glow behind the text */
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

#counterInput {
    font-size: 6rem;
    font-weight: 900;
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
    /* Strip away input styles */
    background: transparent;
    border: none;
    outline: none;
    /* Add a stunning gradient text effect */
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none; /* Prevents users from clicking into the text box */
    transition: transform 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#incrementBtn {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.5);
    transition: all 0.2s ease;
}

#incrementBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(99, 102, 241, 0.7);
}

#incrementBtn:active {
    transform: translateY(2px);
    box-shadow: 0 5px 10px -5px rgba(99, 102, 241, 0.4);
}


#incrementBtn2 {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.5);
    transition: all 0.2s ease;
}

#incrementBtn2:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(99, 102, 241, 0.7);
}

#incrementBtn2:active {
    transform: translateY(2px);
    box-shadow: 0 5px 10px -5px rgba(99, 102, 241, 0.4);
}


/* Layout for the buttons */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Secondary styling for the Reset Button */
#resetBtn {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Red glow effect on hover for a destructive action */
#resetBtn:hover {
    background: rgba(239, 68, 68, 0.15); 
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(239, 68, 68, 0.3);
}

#resetBtn:active {
    transform: translateY(2px);
    box-shadow: 0 5px 10px -5px rgba(239, 68, 68, 0.2);
}