:root {
  --bg-0: #0a0f14;
  --bg-1: #111a23;
  --bg-2: #1a2a37;
  --card: rgba(15, 23, 32, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --text: #e8eef5;
  --muted: #9db0c4;
  --accent: #f5b041;
  --accent-2: #ff6b35;
  --ok: #6ee7b7;
  --warn: #ffd166;
  --danger: #ff5d73;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 137, 56, 0.35), transparent 32%),
    radial-gradient(circle at 88% 82%, rgba(245, 176, 65, 0.22), transparent 28%),
    linear-gradient(140deg, var(--bg-0), var(--bg-1) 45%, var(--bg-2));
  overflow-x: hidden;
}

.spark {
  position: fixed;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
  z-index: -1;
  animation: drift 7s ease-in-out infinite;
}

.spark-1 {
  width: 14px;
  height: 14px;
  top: 14%;
  left: 22%;
  background: #ffd166;
}

.spark-2 {
  width: 10px;
  height: 10px;
  top: 72%;
  left: 60%;
  background: #6ee7b7;
  animation-delay: 1.7s;
}

.spark-3 {
  width: 12px;
  height: 12px;
  top: 32%;
  left: 84%;
  background: #ff6b35;
  animation-delay: 3.4s;
}

.bg-shape {
  position: fixed;
  width: 40vmax;
  height: 40vmax;
  pointer-events: none;
  filter: blur(55px);
  opacity: 0.35;
  z-index: -1;
}

.bg-shape-1 {
  top: -15vmax;
  left: -8vmax;
  background: #ff6b35;
}

.bg-shape-2 {
  right: -10vmax;
  bottom: -18vmax;
  background: #f5b041;
}

.layout {
  width: min(1100px, 92vw);
  margin: 2rem auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero {
  grid-column: 1 / -1;
  padding: 1.4rem;
}

.role {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.timezone-pill {
  width: fit-content;
  margin-top: 0.7rem;
  background: rgba(110, 231, 183, 0.13);
  border: 1px solid rgba(110, 231, 183, 0.35);
  color: #9df0ce;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.hero-actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #08140e;
  background: linear-gradient(120deg, #25d366, #72f59f);
  border: 1px solid rgba(37, 211, 102, 0.75);
  padding: 0.58rem 0.92rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.hero-actions-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

h1,
h2 {
  margin: 0.35rem 0 0.7rem;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4.6vw, 4rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
}

.subtitle {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.live-time {
  font-weight: 700;
  color: var(--ok);
}

.countdown {
  grid-column: 1 / span 8;
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.alert-panel {
  margin-top: 0.55rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 0.75rem 0.8rem;
  background: rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-panel p {
  margin: 0;
  font-weight: 600;
}

.alert-panel.ok {
  border-color: rgba(110, 231, 183, 0.55);
}

.alert-panel.warn {
  border-color: rgba(255, 209, 102, 0.55);
}

.alert-panel.danger {
  border-color: rgba(255, 93, 115, 0.6);
}

.alert-lights {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.light {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  opacity: 0.35;
}

.light-green {
  background: #6ee7b7;
}

.light-amber {
  background: #ffd166;
}

.light-red {
  background: #ff5d73;
}

.alert-panel.ok .light-green,
.alert-panel.warn .light-amber,
.alert-panel.danger .light-red {
  opacity: 1;
  animation: blink 1.1s infinite;
}

.time-box {
  border: 1px solid var(--line);
  border-radius: 15px;
  text-align: center;
  padding: 0.9rem 0.5rem;
  background: rgba(0, 0, 0, 0.2);
}

.time-box i {
  color: var(--muted);
  font-size: 0.82rem;
}

.time-box span {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.1rem);
  letter-spacing: 0.05em;
  color: var(--accent);
}

.time-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.milestones {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem 1rem;
}

.milestones p {
  margin: 0;
  font-size: 0.95rem;
}

.status-line {
  margin-top: 0.9rem;
  color: var(--warn);
  font-weight: 700;
}

.config {
  grid-column: 9 / -1;
}

.config-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.93rem;
  color: var(--muted);
}

input {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  padding: 0.6rem 0.65rem;
  font-family: inherit;
}

.hint {
  color: var(--muted);
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
}

.motivation {
  grid-column: 1 / span 7;
}

blockquote {
  margin: 0;
  padding: 1rem;
  border-left: 4px solid var(--accent-2);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 12px 12px 0;
  font-size: 1.04rem;
  line-height: 1.45;
  min-height: 88px;
}

.quote-index {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.quote-btn {
  margin-top: 0.8rem;
  border: 1px solid rgba(245, 176, 65, 0.5);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  color: #ffe3b2;
  background: rgba(245, 176, 65, 0.12);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.quote-btn:hover {
  transform: translateY(-1px);
  background: rgba(245, 176, 65, 0.2);
}

.law {
  grid-column: 8 / -1;
}

.law p {
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  width: min(1100px, 92vw);
  margin: 0 auto 2rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.reveal {
  animation: revealUp 0.75s ease both;
}

.reveal:nth-child(2) {
  animation-delay: 0.08s;
}

.reveal:nth-child(3) {
  animation-delay: 0.16s;
}

.reveal:nth-child(4) {
  animation-delay: 0.24s;
}

.reveal:nth-child(5) {
  animation-delay: 0.32s;
}

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

@keyframes blink {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 0 10px currentColor;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-14px) scale(1.15);
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .countdown,
  .config,
  .motivation,
  .law {
    grid-column: 1 / -1;
  }

  .timer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .milestones {
    grid-template-columns: 1fr;
  }
}
