/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', sans-serif;
}

/* Background */
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #1e1e2f, #121212);
  color: #fff;
  padding: 20px;
}

/* Glass effect */
.glass {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

.glass:hover {
  transform: translateY(-5px);
}

/* Container */
.container {
  width: 100%;
  max-width: 500px;
}

/* Title */
.title {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.time-segment span {
  display: block;
}

.time-segment .label {
  font-size: 0.8rem;
  margin-top: 5px;
  color: rgba(255,255,255,0.7);
}

/* Progress Bar */
.progress-container {
  margin-bottom: 20px;
}

.progress-bar {
  width: 100%;
  height: 15px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  margin-top: 10px;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: #00ffcc;
  border-radius: 10px;
  transition: width 0.5s ease;
}

/* Settings */
.settings input, .settings button {
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.settings button {
  background: #00ffcc;
  color: #121212;
  cursor: pointer;
  transition: background 0.3s;
}

.settings button:hover {
  background: #00e6b8;
}

/* Mobile */
@media(max-width: 400px) {
  .countdown {
    flex-direction: column;
  }
  .time-segment {
    margin-bottom: 10px;
  }
}
