/* =============================================
   Counter App – Feuille de style principale
   ============================================= */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 80px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    max-width: 480px;
    width: 90%;
}

h1 {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #a0c4ff;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.counter-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #888;
    margin-bottom: 12px;
}

#value {
    font-size: 6rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 40px;
    transition: transform 0.15s ease, color 0.3s ease;
}

#value.bump {
    transform: scale(1.2);
    color: #a0c4ff;
}

#add {
    display: inline-block;
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 48px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
}

#add:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(67, 97, 238, 0.6);
}

#add:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}
