  :root {
    --accent: #00b4ff;
    --bg: #0b0b0b;
    --text: #f0f0f0;
  }

  body {
    background: #050509;
    color: var(--text);
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }

  #status {
    font-size: 1.6em;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0,180,255,0.5);
  }

  #timer {
    font-size: 6em;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(255,255,255,0.15);
    transition: color 0.2s, text-shadow 0.2s;
  }

  .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  button {
    font-size: 1.1em;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text);
    background: rgba(255,255,255,0.08);
    transition: all 0.2s ease;
  }

  button:hover {
    background: rgba(255,255,255,0.2);
  }

  #custom-time {
    font-size: 1em;
    width: 80px;
    text-align: center;
    margin-right: 5px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: var(--text);
  }

  .progress-container {
    width: 80%;
    height: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px auto 30px;
  }

  .progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    box-shadow: 0 0 15px rgba(0,180,255,0.5);
    transition: width 1s linear;
  }

  .flash {
    animation: flash 1s infinite alternate;
  }

  @keyframes flash {
    from { color: var(--text); text-shadow: 0 0 15px rgba(255,255,255,0.5); }
    to { color: red; text-shadow: 0 0 25px rgba(255,0,0,0.8); }
  }

  .flash-red {
    animation: flashRed 1s infinite;
  }

  @keyframes flashRed {
    0% { color: red; text-shadow: 0 0 25px rgba(255,0,0,0.8); }
    50% { color: var(--text); text-shadow: 0 0 10px rgba(255,255,255,0.3); }
    100% { color: red; text-shadow: 0 0 25px rgba(255,0,0,0.8); }
  }
