:root {
  --red: #bd0f34;
  --red-hover: #d8133d;
  --bg: #160205;
  --rose: #c86d6b;
  --coral: #de754f;
  --white: #ffffff;
  --font-h: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
}

body {
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.section-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
}

.tag-red {
  color: var(--red);
}

.tag-white {
  color: rgba(255,255,255,0.85);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
  box-shadow: 0 8px 24px rgba(189,15,52,0.3);
}

.btn-red:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  box-shadow: 0 12px 30px rgba(189,15,52,0.52);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.58);
}

.btn-outline:hover {
  background: rgba(189,15,52,0.16);
  border-color: var(--white);
  box-shadow: 0 8px 24px rgba(189,15,52,0.22);
}

.btn-white {
  background: var(--white);
  color: #b50e32;
  border: 1px solid var(--white);
}

.btn-white:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.85);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: height 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
  height: 60px;
  background: rgba(22,2,5,0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(189,15,52,0.32);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.logo img {
  width: 120px;
  height: auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo:hover img {
  transform: scale(1.03);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  position: relative;
  padding: 6px 2px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.86);
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(189,15,52,0.45);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}

.nav-links a.active {
  font-weight: 600;
}

.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  padding: 0 7px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: radial-gradient(circle at 72% 42%, #2a0409 0%, var(--bg) 65%);
  display: flex;
  align-items: center;
  padding: 80px 5% 80px;
}

.hero::after {
  content: '';
  position: absolute;
  left: -4vw;
  bottom: -42px;
  width: 108vw;
  height: 92px;
  background: var(--white);
  transform: rotate(-1.8deg);
  z-index: 5;
  pointer-events: none;
}

.beam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(90,8,20,0.6) 0%, rgba(55,5,12,0.42) 55%, transparent 100%);
  clip-path: polygon(36% 0%, 100% 0%, 100% 100%, 14% 100%);
}

.glow {
  position: absolute;
  top: -10%;
  right: 5%;
  width: 55vw;
  height: 90vh;
  background: radial-gradient(ellipse at center, rgba(135,10,32,0.22) 0%, transparent 70%);
  pointer-events: none;
}

.bg-year {
  position: absolute;
  right: 3%;
  bottom: 90px;
  z-index: 1;
  font-family: var(--font-h);
  font-size: 180px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.12);
  user-select: none;
  pointer-events: none;
  transition: transform 0.2s ease-out;
}

.hero-text {
  position: relative;
  z-index: 5;
  max-width: 520px;
}

h1 {
  font-family: var(--font-h);
  font-size: 68px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.desc {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(245,224,227,0.78);
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  transition: transform 0.2s ease-out;
}

.dino-wrap {
  position: absolute;
  right: -5%;
  bottom: 68px;
  width: 46vw;
  max-width: 680px;
  min-width: 460px;
  animation: breathe 6.5s ease-in-out infinite;
}

.dino-img {
  width: 100%;
  filter: drop-shadow(-14px 18px 32px rgba(0,0,0,0.6));
  user-select: none;
}

.info-card {
  position: absolute;
  top: 104px;
  left: 61%;
  z-index: 6;
  pointer-events: auto;
}

.card-box {
  min-width: 236px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(22,3,7,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 10px 28px rgba(0,0,0,0.42);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.info-card:hover .card-box {
  border-color: rgba(224,122,114,0.45);
  transform: translateY(-2px);
}

.card-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--rose);
  margin-bottom: 4px;
}

.card-box h2 {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-box p {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(245,224,227,0.58);
}

.card-pointer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 14px;
  width: 10px;
}

.pointer-line {
  width: 1px;
  height: 218px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(224,122,114,0.85));
}

.pointer-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e07a72;
  box-shadow: 0 0 10px #e07a72;
}

.pointer-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(224,122,114,0.7);
  animation: pulse 2.2s ease-out infinite;
}

.scroll-down {
  position: absolute;
  left: 5%;
  bottom: 80px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(245,224,227,0.58);
}

.scroll-line {
  position: relative;
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #fff, var(--red));
  animation: scrollpulse 2s ease-in-out infinite;
}

.marquee {
  position: absolute;
  left: -3vw;
  bottom: 20px;
  width: 106vw;
  z-index: 6;
  background: var(--red);
  padding: 12px 0;
  transform: rotate(-1.8deg);
  box-shadow: 0 10px 28px rgba(0,0,0,0.42);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
}

.marquee-group span {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.marquee-group em {
  font-style: normal;
  font-size: 13px;
  color: #e89b65;
}

.animals-section {
  background: var(--white);
  color: #1f0407;
  padding: 108px 5% 124px;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 64px;
}

.section-top h2, .featured-head h2, .timeline-top h2, .ar-content h2 {
  font-family: var(--font-h);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-desc {
  max-width: 440px;
  padding-top: 6px;
}

.section-desc p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #4a3b3d;
  margin-bottom: 18px;
}

.browse-link, .card-link, .details-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.browse-link {
  color: var(--red);
}

.browse-link span, .card-link span, .details-link span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.browse-link:hover span, .card-wrap:hover .card-link span, .spec-card:hover .details-link span {
  transform: translateX(5px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.card-wrap {
  transition: transform 0.35s ease;
}

.card-wrap:nth-child(even) {
  margin-top: 48px;
}

.card-wrap:hover {
  transform: translateY(-6px) scale(1.02);
}

.animal-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  padding: 36px 28px 32px;
  min-height: 296px;
  animation: cardfloat var(--dur, 4.5s) ease-in-out var(--fdelay, 0s) infinite;
  transition: box-shadow 0.35s ease;
}

.card-wrap:hover .animal-card {
  animation-play-state: paused;
  box-shadow: 0 24px 48px rgba(31,4,7,0.16);
}

.card-num {
  font-family: var(--font-h);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  margin-bottom: 24px;
  user-select: none;
}

.animal-card h3 {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.animal-card p {
  font-size: 14.5px;
  line-height: 1.62;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-red {
  background: #b80f33;
  color: var(--white);
}

.card-red .card-num {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.48);
}

.card-red p {
  color: rgba(255,255,255,0.85);
}

.card-white {
  background: var(--white);
  border: 1px solid #eae6e6;
  box-shadow: 0 12px 32px rgba(31,4,7,0.06);
}

.card-white .card-num {
  -webkit-text-stroke: 1.5px var(--red);
}

.card-white h3 {
  color: #1f0407;
}

.card-white p {
  color: #6a5a5c;
}

.card-white .card-link {
  color: var(--red);
}

.card-dark {
  background: #220205;
  color: var(--white);
}

.card-dark .card-num {
  -webkit-text-stroke: 1.5px #df744e;
}

.card-dark p {
  color: #c7b6b8;
}

.card-dark .card-link {
  color: #df744e;
}

.card-coral {
  background: var(--coral);
  color: #1f0407;
}

.card-coral .card-num {
  -webkit-text-stroke: 1.5px #220205;
}

.card-coral p {
  color: #3d1910;
}

.featured {
  background: #1b0204;
  padding: 108px 5% 124px;
}

.featured-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.bento-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bento-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  flex: 1;
}

.spec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #120103;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.spec-card:hover {
  border-color: rgba(189,15,52,0.55);
  box-shadow: 0 20px 44px rgba(0,0,0,0.45), 0 0 24px rgba(189,15,52,0.18);
}

.spec-img {
  transform: scaleX(-1);
  transition: transform 0.5s ease;
}

.spec-card:hover .spec-img {
  transform: scaleX(-1) scale(1.06);
}

.card-big {
  min-height: 550px;
  padding: 24px 28px 28px;
}

.card-big .spec-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 45%;
  padding: 24px 12px 48px;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,1,3,0.94) 0%, rgba(14,1,3,0.45) 38%, transparent 74%);
  pointer-events: none;
  z-index: 1;
}

.card-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-bottom {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34,4,8,0.82);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.86);
}

.tag-dark {
  background: #2b0307;
  align-self: flex-start;
}

.circle-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: #1b0204;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.spec-card:hover .circle-arrow {
  background: var(--red);
  color: var(--white);
  transform: rotate(-45deg);
}

.era {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #d87058;
  margin-bottom: 6px;
}

.card-big h3 {
  font-family: var(--font-h);
  font-size: 32px;
  margin-bottom: 8px;
}

.split-info h3 {
  font-family: var(--font-h);
  font-size: 26px;
  margin-bottom: 8px;
}

.card-small h3 {
  font-family: var(--font-h);
  font-size: 22px;
}

.spec-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(245,224,227,0.82);
  max-width: 340px;
  margin-bottom: 14px;
}

.details-link {
  color: #e06b55;
}

.card-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 265px;
}

.split-info {
  background: #5a060b;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.split-img {
  background: #120103;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-img .spec-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.card-small {
  min-height: 260px;
  padding: 20px 22px 22px;
}

.card-small .spec-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline {
  background: #4a0206;
  padding: 108px 5% 116px;
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.timeline-note {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.62;
  color: #e8d4d5;
}

.eras-grid {
  display: grid;
  grid-template-columns: 51fr 56fr 79fr;
  gap: 14px;
}

.era-card {
  min-height: 400px;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.75s ease;
}

.era-card.reveal.visible:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 44px rgba(0,0,0,0.38);
}

.era-code {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.era-card h3 {
  font-family: var(--font-h);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
}

.era-text {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.era-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.era-dark {
  background: #220103;
}

.era-dark .era-code {
  color: rgba(255,255,255,0.68);
}

.era-dark .era-text {
  color: rgba(255,255,255,0.8);
}

.era-dark .pill {
  border: 1px solid rgba(255,255,255,0.35);
}

.era-dark .pill:hover {
  background: var(--white);
  color: #220103;
  border-color: var(--white);
}

.era-coral {
  background: #dc7a54;
  color: #220103;
}

.era-coral .era-text {
  color: #2b0809;
}

.era-coral .pill {
  border: 1px solid rgba(34,1,3,0.45);
}

.era-coral .pill:hover {
  background: #220103;
  color: #dc7a54;
  border-color: #220103;
}

.era-red {
  background: #b50e32;
}

.era-red .era-code {
  color: rgba(255,255,255,0.82);
}

.era-red .era-text {
  color: rgba(255,255,255,0.88);
}

.era-red .pill {
  border: 1px solid rgba(255,255,255,0.45);
}

.era-red .pill:hover {
  background: var(--white);
  color: #b50e32;
  border-color: var(--white);
}

.time-bar {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.time-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.time-line.reveal {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.35);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 1;
  transition: transform 1s ease;
}

.time-line.reveal.visible {
  transform: scaleX(1);
}

.ar-section {
  background: var(--white);
  padding: 100px 5%;
}

.ar-banner {
  background: #b50e32;
  border-radius: 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}

.ar-content h2 {
  margin-bottom: 18px;
}

.ar-lead {
  font-size: 15.5px;
  line-height: 1.62;
  color: rgba(255,255,255,0.9);
  max-width: 480px;
  margin-bottom: 28px;
}

.ar-features {
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ar-item h3 {
  font-family: var(--font-h);
  font-size: 17px;
  margin-bottom: 4px;
}

.ar-item p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
}

.ar-buttons {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ar-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  animation: ringpulse 5.5s ease-in-out infinite;
}

.ring-solid {
  width: 300px;
  height: 300px;
  background: #56040c;
}

.ring-mid {
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255,255,255,0.2);
  animation-delay: -1.4s;
}

.ring-outer {
  width: 416px;
  height: 416px;
  border: 1px solid rgba(255,255,255,0.12);
  animation-delay: -2.8s;
}

.phone {
  position: relative;
  z-index: 2;
  width: 248px;
  height: 418px;
  background: #1a0103;
  border: 2.5px solid var(--white);
  border-radius: 28px;
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transform: rotate(5deg);
  box-shadow: 0 28px 60px rgba(0,0,0,0.45);
  transition: transform 0.4s ease;
}

.ar-stage:hover .phone {
  transform: rotate(2deg) translateY(-6px);
}

.phone-tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.phone-dino {
  width: 118%;
  max-width: none;
  margin-left: -26px;
  transform: scaleX(-1);
  filter: drop-shadow(0 16px 24px rgba(0,0,0,0.6));
  transition: transform 0.45s ease;
  pointer-events: none;
}

.ar-stage:hover .phone-dino {
  transform: scaleX(-1) scale(1.04);
}

.phone-btn {
  padding: 10px 22px;
  border-radius: 999px;
  background: #0c0102;
  border: 1px solid rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.phone-btn:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 18px rgba(189,15,52,0.65);
}

.float-pill {
  position: absolute;
  z-index: 4;
  background: var(--white);
  color: #1f0407;
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  animation: pillfloat var(--fdur, 4.2s) ease-in-out var(--fdelay, 0s) infinite;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b50e32;
}

.pill-top {
  top: 66px;
  right: 8%;
}

.pill-mid {
  top: 196px;
  left: 4%;
}

.pill-bot {
  bottom: 10px;
  right: 10%;
}

.footer {
  background: #1b0204;
  padding: 80px 5% 44px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}

.footer-top h2 {
  font-family: var(--font-h);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.55);
}

.footer-mid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding: 56px 0;
}

.footer-logo img {
  width: 120px;
  height: auto;
}

.footer-brand p {
  margin-top: 24px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #d87658;
  margin-bottom: 5px;
}

.footer-col a {
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-col a:hover {
  color: #d87658;
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
}

.footer-bottom p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.72);
}

.back-top {
  background: transparent;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.25s ease;
}

.back-top span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.back-top:hover {
  color: #d87658;
}

.back-top:hover span {
  transform: translateY(-4px);
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeup 0.8s ease forwards;
  animation-delay: var(--d, 0s);
}

.slide-in {
  opacity: 0;
  transform: translateX(24px);
  animation: slidein 1s ease 0.2s forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeup {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slidein {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes breathe {
  0%,100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@keyframes scrollpulse {
  0% {
    top: -100%;
  }

  55%,100% {
    top: 100%;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes cardfloat {
  0%,100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes ringpulse {
  0%,100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@keyframes pillfloat {
  0%,100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 112px 24px 80px;
  }

  .hero-text {
    max-width: 100%;
  }

  h1 {
    font-size: 48px;
  }

  .hero-image {
    position: relative;
    inset: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }

  .dino-wrap {
    position: relative;
    right: auto;
    bottom: auto;
    width: 80vw;
    max-width: 520px;
    min-width: 300px;
    margin: 0 auto -32px;
  }

  .info-card {
    top: 3%;
    left: 1%;
  }

  .pointer-line {
    height: 55px;
  }

  .bg-year {
    font-size: 96px;
    bottom: 85px;
  }

  .scroll-down {
    display: none;
  }

  .animals-section, .featured, .timeline {
    padding: 84px 24px 96px;
  }

  .section-top {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
  }

  .section-top h2, .featured-head h2, .timeline-top h2, .ar-content h2 {
    font-size: 34px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .card-wrap:nth-child(even) {
    margin-top: 0;
  }

  .bento, .eras-grid, .ar-banner {
    grid-template-columns: 1fr;
  }

  .era-card {
    min-height: auto;
    gap: 32px;
  }

  .ar-section {
    padding: 72px 24px;
  }

  .ar-banner {
    padding: 40px 28px;
    gap: 40px;
  }

  .ar-stage {
    min-height: 430px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 24px;
  }

  .logo img {
    width: 100px;
  }

  .menu-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(22,2,5,0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(189,15,52,0.32);
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.3s ease;
  }

  .navbar.scrolled .nav-links {
    top: 60px;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .card-box {
    min-width: 200px;
    padding: 10px 13px;
  }

  .footer {
    padding: 64px 24px 36px;
  }

  .footer-top h2 {
    font-size: 36px;
  }

  .footer-mid {
    flex-direction: column;
    gap: 36px;
    padding: 40px 0;
  }

  .footer-logo img {
    width: 104px;
  }

  .footer-links {
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .cards-grid, .card-split, .bento-bottom {
    grid-template-columns: 1fr;
  }

  .split-img {
    min-height: 220px;
  }

  .card-big {
    min-height: 440px;
  }

  .time-bar {
    gap: 12px;
  }

  .time-label {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }

  .ar-features {
    padding-left: 0;
  }

  .ar-stage {
    min-height: 390px;
  }

  .ring-solid {
    width: 230px;
    height: 230px;
  }

  .ring-mid {
    width: 276px;
    height: 276px;
  }

  .ring-outer {
    width: 318px;
    height: 318px;
  }

  .phone {
    width: 204px;
    height: 350px;
    padding: 16px 14px 18px;
  }

  .float-pill {
    padding: 6px 11px;
    font-size: 9px;
  }

  .pill-top {
    top: 44px;
    right: 0;
  }

  .pill-mid {
    top: 164px;
    left: 0;
  }

  .pill-bot {
    bottom: 6px;
    right: 2%;
  }
}
