:root {
  --primary: #222;
  --secondary: #444;
  --accent: #007aff;
  --bg: #f9f9f9;
  --white: #fff;
  --border: #e5e5e5;
}

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

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--primary);
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 1.5rem;
}

.container {
  background: var(--white);
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 2.5rem 2rem;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
  text-transform: none;
  background: none;
  animation: none;
  margin-bottom: 0;
  line-height: 1.4;
}

.subtitle {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.time-display {
  width: 100%;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.time-section {
  border-radius: 10px;
  background: none;
  width: 100%;
}

.counter-label {
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.time-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  justify-items: center;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  border-radius: 0.7rem;
  padding: 1.5rem 0.7rem;
  border: 1px solid var(--border);
  min-width: 130px;
  min-height: 110px;
  box-sizing: border-box;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.time-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.time-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.time-label {
  font-size: 0.85rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: 8px;
  margin: 0.5rem 0;
  width: 100%;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--secondary);
  justify-content: center;
  margin-top: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: blink 1.2s infinite alternate;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem 1rem;
    max-width: 95vw;
    gap: 1.5rem;
  }
  
  .header h1 {
    font-size: 1.3rem;
  }
  
  .icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }
  
  .time-display {
    gap: 1.5rem;
  }
  
  .time-row {
    gap: 1rem;
  }
  
  .time-box {
    min-width: 100px;
    min-height: 90px;
    padding: 1.2rem 0.5rem;
  }
  
  .time-value {
    font-size: 1.8rem;
  }
  
  .time-label {
    font-size: 0.75rem;
  }
  
  .divider {
    gap: 8px;
    margin: 0.3rem 0;
  }
}
