* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top, #1c1c1e, #000);
    color: #fff;
}

.glass-card {
    width: 360px;
    padding: 30px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    text-align: center;
    animation: fadeIn 0.8s ease;
}

h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.9;
}

.mode {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
}

.timer {
    font-size: 64px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6b6b, #ffb347);
    transition: width 1s linear;
}

.buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s ease;
}

.start {
    background: #34c759;
    color: white;
}

.pause {
    background: #ff9f0a;
    color: white;
}

.reset {
    background: #ff3b30;
    color: white;
}

.btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer {
    margin-top: 15px;
    font-size: 12px;
    color: #777;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}