:root {
  --bg: #f6f3ef;
  --bg-soft: #fffdfa;
  --surface: #ffffff;
  --text: #1f1d1a;
  --muted: #6f685f;
  --accent: #be123c;
  --accent-dark: #881337;
  --border: #e7ddd3;
  --shadow: 0 18px 45px -28px rgba(80, 41, 29, 0.45);
  --radius-lg: 24px;
  --radius-md: 14px;
  --container: min(1200px, 92vw);
}

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

body {
  font-family: "Oxygen", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(190, 18, 60, 0.09), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(194, 120, 20, 0.08), transparent 36%),
    var(--bg);
  min-height: 100dvh;
}

.oxygen-light {
  font-family: "Oxygen", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.oxygen-regular {
  font-family: "Oxygen", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.oxygen-bold {
  font-family: "Oxygen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 4vw;
  border-bottom: 1px solid rgba(120, 95, 76, 0.18);
  background: rgba(252, 249, 244, 0.85);
  backdrop-filter: blur(10px);
}

.logo-text {
  color: var(--accent);
  text-decoration: none;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: 0.2px;
}

.logo-text:hover {
  opacity: 0.86;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-center a {
  text-decoration: none;
  color: #3a2b27;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.nav-center a:hover {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-search-container {
  position: relative;
  width: min(280px, 36vw);
}

.nav-search {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: #3f342f;
  padding: 10px 14px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search:focus {
  border-color: rgba(190, 18, 60, 0.45);
  box-shadow: 0 0 0 4px rgba(190, 18, 60, 0.08);
}

.nav-login {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--accent), #9f1239);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
}

.nav-disabled {
  color: #a08d81 !important;
  cursor: not-allowed !important;
  opacity: 0.8;
  pointer-events: none;
}

.nav-disabled::after {
  content: " soon";
  font-size: 0.72rem;
  margin-left: 2px;
  color: #b7a79b;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 200;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.search-item:hover {
  background: #f7f3ef;
}

.search-thumb {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.search-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.hero {
  width: var(--container);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(255, 251, 245, 0.95), rgba(252, 245, 237, 0.92)),
    url("assets/screenshot1.jpg") center/cover no-repeat;
  border: 1px solid rgba(190, 18, 60, 0.12);
}

.hero-left,
.roadmap-card {
  min-height: 420px;
}

.hero-left {
  padding: 24px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(233, 219, 205, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 2.4vw, 2.3rem);
}

.hero-card h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.4px;
  max-width: 16ch;
}

.hero-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 55ch;
}

.hero-btn {
  margin-top: 22px;
  align-self: flex-start;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 12px 26px -16px rgba(190, 18, 60, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 26px -14px rgba(190, 18, 60, 0.65);
}

.roadmap-card {
  margin: 24px 24px 24px 0;
  background: rgba(35, 24, 20, 0.88);
  color: #fef4ea;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(250, 225, 204, 0.2);
  box-shadow: var(--shadow);
  padding: 24px;
}

.roadmap-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.roadmap-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.roadmap-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f2ddd0;
  font-size: 0.95rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9f928a;
  flex-shrink: 0;
}

.dot.done {
  background: #22c55e;
}

.preview {
  width: var(--container);
  margin: 44px auto 12px;
}

.section-title {
  font-family: "Fraunces", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  letter-spacing: -0.25px;
  margin-bottom: 18px;
}

.infinite-scroll {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(195, 172, 151, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 252, 248, 0.95));
  padding: 16px 0;
}

.infinite-scroll::before,
.infinite-scroll::after {
  content: "";
  position: absolute;
  top: 0;
  width: 110px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.infinite-scroll::before {
  left: 0;
  background: linear-gradient(to right, rgba(246, 243, 239, 1), rgba(246, 243, 239, 0));
}

.infinite-scroll::after {
  right: 0;
  background: linear-gradient(to left, rgba(246, 243, 239, 1), rgba(246, 243, 239, 0));
}

.scroll-track {
  display: flex;
  gap: 20px;
  animation: scrollLeft 44s linear infinite;
  will-change: transform;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--scroll-width)));
  }
}

.preview-card {
  position: relative;
  min-width: 272px;
  height: 245px;
  border-radius: 18px;
  border: 1px solid rgba(232, 217, 202, 0.8);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 25px -20px rgba(31, 18, 13, 0.8);
  transition: transform 0.22s ease;
}

.preview-card:hover {
  transform: translateY(-3px);
}

.preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.preview-card:hover img {
  transform: scale(1.05);
}

.card-pill {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 252, 249, 0.9);
  backdrop-filter: blur(5px);
  color: #352a26;
  font-size: 0.86rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.michelin-badge {
  width: 14px !important;
  height: 14px !important;
  background-size: contain;
  background-repeat: no-repeat;
}

.michelin-badge.star {
  background-image: url("assets/star.png");
}

.michelin-badge.bib {
  background-image: url("assets/bibgourmand.png");
}

.site-footer {
  margin-top: 36px;
  border-top: 1px solid rgba(125, 92, 71, 0.18);
  background: rgba(255, 252, 248, 0.7);
  backdrop-filter: blur(6px);
  padding: 28px 4vw;
}

.footer-top {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-avatar-wrapper {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(194, 159, 136, 0.32);
}

.footer-avatar-pixel {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer h3 {
  font-size: 1rem;
}

.site-footer p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-icon i {
  color: #4b3f3a;
  font-size: 1.35rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-icon:hover i {
  color: var(--accent);
  transform: translateY(-1px);
}

.footer-bottom {
  width: var(--container);
  margin: 16px auto 0;
  padding-top: 14px;
  text-align: center;
  border-top: 1px solid rgba(120, 95, 76, 0.15);
  color: #7f7268;
  font-size: 0.84rem;
}

.michelin-marker {
  width: 42px;
  height: 42px;
  background: white;
  border: 3px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.michelin-marker img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .roadmap-card {
    margin: 0 24px 24px;
    min-height: auto;
  }

  .hero-left {
    padding-bottom: 0;
  }
}

@media (max-width: 860px) {
  .navbar {
    flex-wrap: wrap;
    row-gap: 12px;
    justify-content: center;
  }

  .nav-center {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-right {
    width: 100%;
    justify-content: center;
  }

  .nav-search-container {
    width: min(420px, 72vw);
  }

  .hero-left,
  .roadmap-card {
    min-height: auto;
  }

  .preview-card {
    min-width: 250px;
    height: 220px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    margin-top: 16px;
  }

  .hero-left {
    padding: 14px;
  }

  .hero-card {
    padding: 18px;
  }

  .roadmap-card {
    margin: 0 14px 14px;
    padding: 18px;
  }

  .preview {
    margin-top: 30px;
  }

  .infinite-scroll::before,
  .infinite-scroll::after {
    width: 56px;
  }

  .preview-card {
    min-width: 220px;
    height: 200px;
  }

  .footer-left {
    align-items: flex-start;
  }
}
