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

body {
  height: 100vh;
  font-family: "Unbounded", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  display: grid;
  justify-content: center;
  text-transform: uppercase;
  background: #0b152f;
  /* background: oklch(0.962 0.018 272.314); */
  color: white;
}

section {
    text-align: center;
    padding: 1.25rem;
}

.container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-block-end: 3rem
}

.end-container h1 {
    display: none;
}

@keyframes wipe-in-down {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

[transition-style="in:wipe:down"] {
  animation: 2.5s cubic-bezier(.25, 1, .30, 1) wipe-in-down both;
}

/* cajas de los dias horas minutos y segundos */

.countdown {
    display: flex;
    flex-direction: column; /* <-- columna */
    align-items: center;    /* <-- centrado horizontal */
    justify-content: center;
    gap: 1rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 60px; /* <-- MÁS ALTO */
    background-color: rgba(255, 255, 255, 0.18); /* <-- MÁS SÓLIDO */
    border-radius: 10px;
    /* backdrop-filter: blur(5px); */ /* <-- QUITADO */
    transition: transform 0.3s;
    margin-top: 0.5rem;
}

.time-block:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}  

.time-block span.label {
    font-size: 15px;
    /* letter-spacing: 2px; */
    margin-top: 0.2rem;
}

#seconds {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

/* fire */
/* SVG FIRE */
.mo-fire {
  height: auto;
  position: fixed;
  left:20%;
  bottom: -50px;
  z-index: 4;
}

#svg-view {
	width: 252px;
	height: 125px;
	left: 0px;
}

.mo-fire svg {
  width: 100%;
  height: auto;
  position:relative;
  right:40px;
}
.flame {
  animation-name: flameDisappear;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  opacity: 0.5;
  transform-origin: 45% 45% 0;
}
.flame.one {
  animation-delay: 1s;
  animation-duration: 3s;
}
.flame.two{
  animation-duration: 5s;
  animation-delay: 1s;
}


.flame-main {
  animation-name: flameMovement;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.flame-main.one {
  animation-duration: 2.2s;
  animation-delay: 1s;
}
.flame-main.two {
  animation-duration: 2s;
  animation-delay: 1s;
}
.flame-main.three {
  animation-duration: 2.1s;
  animation-delay: 3s;
}
.flame-main.four {
  animation-duration: 3.2s;
  animation-delay: 4s;
}
.flame-main.five {
  animation-duration: 2.5s;
  animation-delay: 5s;
}
@keyframes flameMovement {
  50% {
    transform: scale(0.98,1.0) translate(0, 2px) rotate(-1deg);
  }
}
@keyframes flameDisappear {
  0%{
    transform: translate(0) rotate(180deg);
  }
  50% {
     opacity: 1;
  }
  100% {
    transform: translate(-10px, -40px) rotate(180deg);
    opacity: 0;
  }
}

/* Ejemplo dentro de .container */
/* .container {
  text-align: center;
  padding: 1.25rem;
} */

#main-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-block-end: 3rem;
}

#end-message {
  /* display: none; */
  /* display: grid; */
  justify-content: center;
}

.hidden {
  display: none;
}

 .config {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 150px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    /* backdrop-filter: blur(5px); */
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    transition: transform 0.3s;
}

.config input[type="number"] {
    width: 80px;
    padding: 0.3rem 0.5rem;
    border: none;
    border-radius: 6px;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 1rem;
    text-align: center;
    outline: none;
}

.config button {
    padding: 0.3rem 1rem;
    border: none;
    border-radius: 6px;
    background: #F58553;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.config button:hover {
    background: #DF513D;
    transform: scale(1.05);
}

.mojs-container {
  z-index: 9999 !important;
  position: fixed !important;
  pointer-events: none;
}

.main-footer {
  position: fixed;
  right: 2vw;
  bottom: 1vw;
  width: auto;
  background: rgba(11, 21, 47, 0.85);
  color: #fff;
  text-align: right;
  padding: 0.5rem 1.2rem;
  font-family: "Unbounded", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-top: 0;
  border-radius: 8px 0 0 8px;
  border-top: none;
  border-left: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  z-index: 100;
}

.main-footer a {
  color: #F58553;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  font-size: 0.95em;
}

.main-footer a:hover {
  color: #DF513D;
  text-decoration: underline;
}

