:root {
  --fondo: #060926;
  --texto: #ffffff;
  --texto-secundario: rgba(255, 255, 255, 0.6);
  --acento: rgb(255, 87, 51);
  --boton: #2c87e4;
  --boton-hover: #1a6fc7;
  --boton-texto: #e8ebf3;
  --tarjeta-fondo: rgba(255, 255, 255, 0.1);
  --tarjeta-borde: rgba(255, 255, 255, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--fondo);
  color: var(--texto);
  font-family: "Montserrat", sans-serif;
}

.card {
  width: 100%;
  max-width: 560px;
  padding: 40px 32px;
  text-align: center;
  background: var(--tarjeta-fondo);
  border: 1px solid var(--tarjeta-borde);
  border-radius: 16px;
}

.logo {
  width: 300px;
  max-width: 100%;
  margin-bottom: 32px;
}

.mensaje {
  margin: 0 0 32px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.fecha {
  color: var(--acento);
}

.contador {
  margin-bottom: 24px;
}

.anillo {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
}

.anillo svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.anillo circle {
  fill: none;
  stroke-width: 6;
}

.anillo-fondo {
  stroke: var(--tarjeta-borde);
}

.anillo-progreso {
  stroke: var(--acento);
  stroke-linecap: round;
  stroke-dasharray: 282.74;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.segundos {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
}

.contador-texto,
.nuevo-link {
  margin: 0;
  font-size: 0.9rem;
  color: var(--texto-secundario);
}

.btn-login {
  display: inline-block;
  width: 200px;
  padding: 12px 0;
  margin-bottom: 16px;
  background: var(--boton);
  color: var(--boton-texto);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s;
}

.btn-login:hover,
.btn-login:focus {
  background: var(--boton-hover);
}

@media (max-width: 480px) {
  .card {
    padding: 32px 20px;
  }

  .mensaje {
    font-size: 1rem;
  }
}
