@import url('https://fonts.googleapis.com/css2?family=Unica+One&family=Kanit:wght@300;600&display=swap');

:root {
  --bg-dark: #0f0f0f;
  --accent-red: #d93025; /* ketchup */
  --accent-yellow: #f4b400; /* mostarda */
  --accent-yellow-hover: #ffcc33;
  --accent-neutral: #8c8c8c; /* para observações */
  --text: #fff2cc;
}

/* BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Kanit', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
}

/* HERO */
header.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url('assets/bg-kitchen.jpg') center/cover no-repeat;
}
header.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 70%,
    rgba(255, 160, 0, 0.1),
    transparent 70%
  );
  animation: pulse-heat 8s ease-in-out infinite;
}

/* CANVAS DE PARTÍCULAS */
#particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 50px;
  background: rgba(40, 20, 10, 0.45);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 180, 0, 0.15);
  border-radius: 0 0 12px 12px;
  position: sticky;
  top: 0;
  z-index: 10;
  transition: background 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(40, 20, 10, 0.75);
  box-shadow: 0 0 25px rgba(255, 150, 0, 0.3);
}
.navbar ul {
  display: flex;
  gap: 30px;
  list-style: none;
}
.navbar a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.navbar a:hover {
  color: var(--accent-yellow);
}

/* HERO CONTENT */
.hero-content {
  text-align: center;
  margin-bottom: 120px;
  position: relative;
  z-index: 2;
}
.logo {
  max-width: 480px;
  width: 90%;
  filter: drop-shadow(0 0 25px var(--accent-yellow));
  margin-bottom: -30px;
}
.hero-content p {
  font-size: 1.3rem;
  color: #ffe9a8;
}

/* BOTÕES */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-yellow));
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(255, 180, 0, 0.5);
  transition: all 0.4s;
}
.btn:hover {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-red));
  transform: scale(1.08);
}

/* SEÇÕES */
.section {
  padding: 100px 15%;
  text-align: center;
}
.section h2 {
  font-size: 2.5rem;
  color: var(--accent-yellow);
  text-shadow: 0 0 15px var(--accent-yellow);
  margin-bottom: 20px;
}
.section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #ffe9b3;
  line-height: 1.6;
}

/* LORE */
.lore-box {
  background: rgba(40, 20, 10, 0.5);
  border-left: 5px solid var(--accent-red);
  border-radius: 12px;
  padding: 25px 30px;
  max-width: 750px;
  margin: 40px auto;
  text-align: left;
  transition: 0.3s;
}
.lore-box:hover {
  border-left-color: var(--accent-yellow);
}
.lore-box h3 {
  color: var(--accent-yellow);
}
.crystal {
  max-width: 360px;
  width: 100%;
  margin-top: 30px;
  animation: float 5s ease-in-out infinite;
}

/* DOWNLOAD */
.download-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}
.download-image img {
  max-width: 500px;
  width: 100%;
  animation: float 5s ease-in-out infinite;
}
.download-info {
  text-align: left;
  max-width: 550px;
}
.download-btn-area {
  display: flex;
  gap: 20px;
}
.download-info h2 {
  color: var(--accent-red);
  text-shadow: 0 0 15px rgba(217, 48, 37, 0.6);
}
.download-info p,
.download-info .highlight {
  color: #ffe9b3;
}

/* ---------------- TIMELINE (nova versão) ---------------- */
.roadmap {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 150, 0, 0.05),
    transparent 80%
  );
  position: relative;
  overflow: hidden;
}

.roadmap h2 {
  margin-bottom: 10px;
}
.roadmap .subtitle {
  color: #ffedbf;
  margin-bottom: 60px;
  font-size: 1.1rem;
}

/* linha central */
.timeline {
  position: relative;
  margin: 0 auto;
  width: 85%;
  border-left: 3px solid rgba(255, 180, 0, 0.3);
  padding-left: 40px;
}

/* step base */
.step {
  position: relative;
  margin-bottom: 60px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step .dot {
  position: absolute;
  left: -52px;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
  border: 2px solid #1a0f0a;
  transition: all 0.4s ease;
}
.step.active .dot {
  background: var(--accent-yellow);
  box-shadow: 0 0 20px var(--accent-yellow);
}

/* conteúdo */
.step .content {
  background: rgba(40, 20, 10, 0.55);
  border: 1px solid rgba(255, 180, 0, 0.25);
  border-radius: 10px;
  padding: 25px 30px;
  text-align: left;
  box-shadow: 0 0 10px rgba(255, 160, 0, 0.1);
  transition: all 0.3s ease;
}
.step .content:hover {
  box-shadow: 0 0 20px rgba(255, 200, 0, 0.25);
  transform: translateX(4px);
}
.step h3 {
  color: var(--accent-yellow);
  margin-bottom: 10px;
  font-weight: 600;
}
.step p {
  color: #ffe9b3;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}
.date {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}
.date.completed {
  color: var(--accent-yellow);
}
.date.upcoming {
  color: #ffcc99;
  font-style: italic;
}

/* primeiro e último — observações */
.step.observation .dot {
  background: var(--accent-neutral);
  box-shadow: 0 0 10px rgba(180, 180, 180, 0.2);
}
.step.observation .content {
  background: rgba(40, 40, 40, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.step.observation h3 {
  color: var(--accent-neutral);
}
.step.observation p {
  color: #e6e6e6;
}

/* barra de progresso geral */
.progress-top {
  width: 85%;
  margin: 0 auto 50px auto;
}
.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffe9b3;
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 0 0 6px rgba(255, 180, 0, 0.3);
}
.progress-percent {
  color: var(--accent-yellow);
  font-weight: 700;
  text-shadow: 0 0 10px var(--accent-yellow);
}
.progress-track {
  position: relative;
  background: rgba(255, 180, 0, 0.15);
  border: 1px solid rgba(255, 180, 0, 0.25);
  border-radius: 8px;
  height: 10px;
  overflow: hidden;
}
.progress-track .progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--accent-red), var(--accent-yellow));
  box-shadow: 0 0 12px var(--accent-yellow);
  border-radius: 8px;
  transition: width 1s ease-in-out;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  background: #000;
  font-size: 0.9rem;
}
footer .socials a {
  color: var(--accent-yellow);
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s;
}
footer .socials a:hover {
  color: var(--accent-red);
}

/* PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 50%, #1a0f0a, #0f0f0f);
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-crystal {
  max-width: 190px;
  width: 100%;
  animation: float 4s ease-in-out infinite;
}
.loader-text {
  color: var(--accent-yellow);
  margin-top: 20px;
  font-size: 1.3rem;
}

/* ANIMAÇÕES */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes pulse-heat {
  0%,
  100% {
    opacity: 0.4;
    background: radial-gradient(
      circle at 50% 70%,
      rgba(255, 120, 0, 0.15),
      transparent 70%
    );
  }
  50% {
    opacity: 0.8;
    background: radial-gradient(
      circle at 50% 70%,
      rgba(255, 200, 0, 0.25),
      transparent 70%
    );
  }
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .section {
    padding: 80px 8%;
  }
  .timeline {
    width: 92%;
    padding-left: 25px;
  }
  .step .dot {
    left: -38px;
  }
  .download-container {
    gap: 40px;
  }
}
