:root {
  --red: #bd0f34;
  --red-hover: #d8133d;
  --bg: #160205;
  --coral: #d87058;
  --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%;
}

.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;
  min-height: 100vh;
  padding: 128px 5% 48px;
  background: linear-gradient(135deg, #160205 0%, #1b0204 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 52px;
  overflow: hidden;
}

.beam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(84,7,18,0.62) 0%, rgba(46,4,10,0.45) 60%, rgba(22,2,5,0.15) 100%);
  clip-path: polygon(16% 0%, 51% 0%, 69% 100%, 2% 100%);
}

.arcs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.arc {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}

.arc-1 {
  width: 320px;
  height: 320px;
  top: 22%;
  right: 20%;
}

.arc-2 {
  width: 460px;
  height: 460px;
  top: 16%;
  right: -4%;
}

.hero-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 40px;
  margin: auto 0;
}

.hero-text {
  max-width: 500px;
}

.breadcrumb {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.82);
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--coral);
}

.eyebrow, .featured-tag, .cat-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--coral);
  margin-bottom: 12px;
}

.featured-tag {
  color: var(--red);
}

.cat-label {
  color: #c96d52;
  margin-bottom: 8px;
}

h1 {
  font-family: var(--font-h);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(245,224,227,0.8);
  margin-bottom: 40px;
}

.stats {
  display: flex;
  align-items: flex-start;
  gap: 44px;
}

.stat strong {
  display: block;
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.62);
}

.cards-stack {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 24px;
}

.mini-card {
  display: flex;
  flex-direction: column;
  width: 248px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #120103;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(0,0,0,0.55);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.mini-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 28px 56px rgba(0,0,0,0.72);
  z-index: 6;
}

.card-left {
  margin-top: 72px;
  margin-right: -30px;
  z-index: 1;
}

.center-wrap {
  position: relative;
  z-index: 3;
}

.center-wrap:hover {
  z-index: 6;
}

.card-right {
  margin-top: 34px;
  margin-left: -30px;
  z-index: 2;
}

.badge-3d {
  position: absolute;
  top: -26px;
  right: -20px;
  z-index: 8;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-10deg);
  box-shadow: 0 12px 26px rgba(189,15,52,0.5);
  animation: float3d 4s ease-in-out infinite;
  pointer-events: none;
}

.card-img {
  height: 248px;
  background: #120103;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.flip {
  transform: scaleX(-1);
}

.mini-card:hover .card-img img {
  transform: scale(1.05);
}

.mini-card:hover .card-img img.flip {
  transform: scaleX(-1) scale(1.05);
}

.card-foot {
  background: #5a060b;
  padding: 16px 18px 18px;
}

.card-foot span {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--coral);
  margin-bottom: 5px;
}

.card-foot h2 {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
}

.filter-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.filter-btn:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(189,15,52,0.35);
}

.search-input {
  width: 220px;
  padding: 8px 4px;
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s ease;
}

.search-input::placeholder {
  color: rgba(255,255,255,0.58);
}

.search-input:focus {
  border-bottom-color: rgba(255,255,255,0.5);
}

.featured-section {
  background: var(--white);
  color: #1f0407;
  padding: 90px 5%;
}

.featured-top, .cat-head, .viewer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.featured-top {
  margin-bottom: 36px;
}

.viewer-top {
  margin-bottom: 32px;
}

.featured-top h2, .cat-left h2, .light-left h2, .cat-left-head h2, .cat-center h2, .viewer-top h2 {
  font-family: var(--font-h);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.featured-top h2 {
  font-size: 40px;
}

.featured-desc, .light-desc {
  max-width: 360px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #4a3b3d;
}

.light-desc {
  max-width: 520px;
}

.light-left h2, .cat-left-head h2 {
  margin-bottom: 14px;
}

.month-card {
  background: #230205;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  color: var(--white);
}

.month-info {
  padding: 56px 24px 56px 56px;
  position: relative;
  z-index: 2;
}

.month-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.month-info h3 {
  font-family: var(--font-h);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.month-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #c96d52;
  margin-bottom: 16px;
}

.month-desc {
  font-size: 15px;
  line-height: 1.62;
  color: rgba(255,255,255,0.85);
  max-width: 420px;
}

.month-stats, .wide-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin: 28px 0 32px;
}

.wide-stats {
  gap: 36px;
  margin: 0;
}

.stat-box strong {
  display: block;
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-box span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.58);
}

.month-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-solid, .btn-outline, .btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.btn-solid {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
  box-shadow: 0 8px 24px rgba(189,15,52,0.3);
}

.btn-solid:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(189,15,52,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.65);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  padding: 14px 28px;
  background: var(--white);
  color: #b50e32;
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

.month-img {
  align-self: end;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.month-img img {
  width: 112%;
  max-width: none;
  margin-right: -6%;
  margin-bottom: -18px;
  filter: drop-shadow(-14px 16px 32px rgba(0,0,0,0.6));
  transition: transform 0.45s ease;
}

.month-card:hover .month-img img {
  transform: scale(1.03);
}

.also-title {
  margin: 36px 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.also-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.also-card {
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s ease;
}

.also-card:hover {
  transform: translateY(-4px);
}

.also-thumb {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  background: #1a0204;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.also-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.also-card:hover .also-thumb img {
  transform: scale(1.08);
}

.also-card:hover .also-thumb img.flip {
  transform: scaleX(-1) scale(1.08);
}

.also-tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 4px;
}

.also-info h4 {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  transition: color 0.25s ease;
}

.also-card:hover .also-info h4 {
  color: var(--red);
}

.also-era {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #7a686a;
}

.cat-section {
  background: #1b0204;
  color: var(--white);
  padding: 95px 5%;
}

.cat-light {
  background: var(--white);
  color: #1f0407;
}

.cat-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cat-num, .num-red {
  font-family: var(--font-h);
  font-size: 88px;
  font-weight: 800;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px #c96d52;
  user-select: none;
}

.num-red {
  font-size: 96px;
  line-height: 0.85;
  -webkit-text-stroke: 1.5px var(--red);
}

.cat-desc {
  max-width: 340px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.artifact-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: #120103;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.7s ease;
}

.artifact-card.visible:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 22px 44px rgba(0,0,0,0.55);
}

.card-top {
  height: 365px;
  background: #120103;
  position: relative;
  overflow: hidden;
}

.card-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34,4,8,0.86);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pill-3d {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--white);
  color: #1f0407;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: background 0.3s ease, color 0.3s ease;
}

.artifact-card:hover .pill-3d {
  background: var(--red);
  color: var(--white);
}

.card-top img {
  position: absolute;
  transition: transform 0.45s ease;
  pointer-events: none;
}

.crop-trex {
  width: 88%;
  left: 6%;
  top: -38%;
}

.crop-raptor {
  width: 86%;
  left: 6%;
  top: -4%;
}

.artifact-card:hover .crop-trex {
  transform: scale(1.06);
}

.artifact-card:hover .crop-raptor {
  transform: scaleX(-1) scale(1.06);
}

.card-body {
  background: #5a060b;
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-era {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #d87658;
  margin-bottom: 8px;
}

.card-body h3 {
  font-family: var(--font-h);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-body p:not(.card-era) {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 22px;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #df744e;
}

.card-link span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.artifact-card:hover .card-link span {
  transform: translateX(5px);
}

.wide-card {
  display: grid;
  grid-template-columns: 35% 65%;
  min-height: 360px;
  border-radius: 20px;
  border: 1px solid rgba(31,4,7,0.08);
  background: #260205;
}

.wide-card.visible:hover {
  transform: translateY(-5px);
  border-color: rgba(189,15,52,0.35);
  box-shadow: 0 24px 48px rgba(31,4,7,0.18);
}

.wide-img {
  background: #180103;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.wide-img img {
  width: 100%;
  max-height: 290px;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.wide-card:hover .wide-img img {
  transform: scaleX(-1) scale(1.05);
}

.wide-info {
  background: #260205;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.wide-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.badge-dark {
  padding: 6px 14px;
  border-radius: 999px;
  background: #5c0910;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.wide-3d {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  color: #1f0407;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: background 0.3s ease, color 0.3s ease;
}

.wide-card:hover .wide-3d {
  background: var(--red);
  color: var(--white);
}

.wide-info h3 {
  font-family: var(--font-h);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}

.wide-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
}

.wide-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.wide-bottom .btn-solid {
  padding: 14px 32px;
}

.cat-left-head {
  max-width: 560px;
  margin-bottom: 40px;
}

.cat-left-head .cat-desc {
  max-width: 560px;
}

.full-card .card-top {
  height: 340px;
  background: #160103;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.full-card .full-img {
  position: static;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.full-card:hover .full-img {
  transform: scaleX(-1) scale(1.05);
}

.full-card .card-body {
  padding: 30px 36px;
}

.cat-center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 44px;
}

.num-center {
  display: block;
  line-height: 0.9;
  margin-bottom: 14px;
}

.cat-center h2 {
  margin: 10px 0 14px;
}

.cat-center .light-desc {
  margin: 0 auto;
}

.marine-card {
  background: #220103;
  color: var(--white);
  border-radius: 18px;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 32px 34px;
}

.marine-img {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 92%;
  width: auto;
  max-width: 72%;
  object-fit: contain;
  object-position: left bottom;
  transition: transform 0.45s ease;
  pointer-events: none;
}

.marine-card:hover .marine-img {
  transform: scaleX(-1) scale(1.04);
}

.marine-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,1,2,0.88) 0%, rgba(16,1,2,0.4) 36%, transparent 68%);
  pointer-events: none;
  z-index: 1;
}

.marine-tag {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.marine-3d {
  top: 24px;
  left: 46%;
  right: auto;
  transform: translateX(-50%);
}

.marine-info {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-top: auto;
}

.marine-info h3 {
  font-family: var(--font-h);
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 10px;
}

.marine-info p:not(.card-era) {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

.viewer-section {
  background: #4a0206;
  padding: 95px 5%;
}

.viewer-hints {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.viewer-hints span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.78);
}

.viewer-hints span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d87658;
}

.viewer-grid {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 22px;
}

.stage-box {
  background: #160103;
  border-radius: 18px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.stage-canvas:active {
  cursor: grabbing;
}

.stage-head {
  position: absolute;
  top: 24px;
  left: 28px;
  right: 28px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.stage-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.62);
  margin-bottom: 4px;
}

.stage-name {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
}

.stage-modes {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.mode-btn {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(22,1,3,0.72);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.mode-btn:hover {
  border-color: var(--white);
}

.mode-red {
  background: var(--red);
  border-color: var(--red);
}

.mode-red:hover {
  background: var(--red-hover);
}

.stage-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(22,1,3,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.stage-loading.show {
  opacity: 1;
}

.hotspot {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.hotspot-1 {
  top: 58%;
  left: 56%;
}

.hotspot-2 {
  top: 48%;
  left: 50%;
}

.hotspot-3 {
  top: 70%;
  left: 43%;
}

.hotspot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e07a72;
  box-shadow: 0 0 10px #e07a72;
  outline: 4px solid rgba(224,122,114,0.22);
}

.hotspot-pill {
  background: var(--white);
  color: #1f0407;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  white-space: nowrap;
}

.stage-bar {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(34,4,8,0.86);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}

.bar-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.bar-btn:hover {
  color: var(--white);
}

.bar-btn.active {
  background: var(--red);
  color: var(--white);
}

.info-panel {
  background: #260205;
  border-radius: 18px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.08);
}

.panel-title {
  font-family: var(--font-h);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 14px;
}

.panel-desc {
  font-size: 14.5px;
  line-height: 1.62;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.spec-row span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
}

.spec-row strong {
  font-size: 14px;
  font-weight: 600;
}

.panel-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-btns .btn-solid, .panel-btns .btn-outline {
  width: 100%;
}

.dino-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.dino-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #260205;
  border: 1.5px solid rgba(255,255,255,0.08);
  color: var(--white);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.dino-tab:hover {
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}

.dino-tab.active {
  border-color: var(--red);
  background: #3a0409;
}

.dino-tab img {
  width: 48px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.dino-tab strong {
  display: block;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 3px;
}

.dino-tab span {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #d87658;
}

.ar-cta {
  background: #b50e32;
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-bg-word {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-h);
  font-size: 18vw;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.14);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.avatar-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #1b0204;
  border: 2.5px solid #b50e32;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  position: relative;
  transition: transform 0.3s ease;
}

.avatar-circle + .avatar-circle {
  margin-left: -14px;
}

.avatar-circle:hover {
  transform: translateY(-6px);
  z-index: 5;
}

.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta-inner h2 {
  font-family: var(--font-h);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 28px 0 18px;
}

.cta-inner p {
  max-width: 480px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.62;
  color: rgba(255,255,255,0.88);
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.cta-btns .btn-outline {
  padding: 14px 28px;
  border-color: rgba(255,255,255,0.85);
}

.footer {
  background: #1b0204;
  padding: 76px 5% 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo img {
  width: 120px;
  height: auto;
}

.footer-brand p {
  margin-top: 22px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
}

.footer-links {
  display: flex;
  gap: 84px;
}

.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-line {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.16);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 30px;
}

.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(18px);
  animation: fadeup 0.75s ease forwards;
  animation-delay: var(--d, 0s);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeup {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float3d {
  0%,100% {
    transform: rotate(-10deg) translateY(0);
  }

  50% {
    transform: rotate(-10deg) translateY(-6px);
  }
}

@media (max-width: 1120px) {
  .mini-card {
    width: 210px;
  }

  .card-img {
    height: 210px;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 112px 24px 44px;
    gap: 40px;
  }

  .hero-main, .month-card, .wide-card, .viewer-grid {
    grid-template-columns: 1fr;
  }

  .hero-main {
    gap: 48px;
  }

  .hero-text {
    max-width: 100%;
  }

  h1 {
    font-size: 48px;
  }

  .cards-stack {
    justify-content: center;
    padding-top: 16px;
  }

  .featured-section, .cat-section, .viewer-section {
    padding: 72px 24px;
  }

  .featured-top h2 {
    font-size: 32px;
  }

  .month-info {
    padding: 40px 32px 20px;
  }

  .month-img {
    justify-content: center;
    padding: 0 24px 12px;
  }

  .month-img img {
    width: 85%;
    max-width: 440px;
    margin: 0;
  }

  .also-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .wide-img {
    min-height: 260px;
  }

  .wide-info {
    padding: 36px 32px;
  }

  .dino-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@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;
  }

  .stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .cards-stack {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .card-left, .card-right {
    margin: 0;
  }

  .mini-card {
    width: 280px;
  }

  .card-img {
    height: 240px;
  }

  .badge-3d {
    top: -20px;
    right: -14px;
    width: 54px;
    height: 54px;
    font-size: 18px;
  }

  .search-input {
    width: 100%;
    border-bottom-color: rgba(255,255,255,0.2);
  }

  .month-info {
    padding: 32px 24px 16px;
  }

  .month-info h3 {
    font-size: 36px;
  }

  .month-stats {
    gap: 22px;
  }

  .also-grid, .cat-grid, .dino-tabs {
    grid-template-columns: 1fr;
  }

  .cat-num {
    font-size: 60px;
  }

  .cat-left {
    gap: 16px;
  }

  .cat-left h2, .light-left h2, .cat-left-head h2, .cat-center h2, .viewer-top h2 {
    font-size: 28px;
  }

  .card-top {
    height: 290px;
  }

  .crop-trex {
    width: 88%;
    left: 6%;
    top: -10%;
  }

  .crop-raptor {
    width: 92%;
    left: 4%;
    top: 2%;
  }

  .card-body {
    padding: 24px;
  }

  .num-red {
    font-size: 64px;
  }

  .wide-info {
    padding: 28px 24px;
  }

  .wide-info h3 {
    font-size: 30px;
  }

  .wide-stats {
    gap: 24px;
  }

  .full-card .card-top {
    height: 250px;
  }

  .full-card .card-body {
    padding: 24px;
  }

  .num-center {
    font-size: 68px;
  }

  .marine-card {
    min-height: 360px;
    padding: 22px 22px 26px;
  }

  .marine-img {
    max-width: 92%;
    height: 78%;
  }

  .marine-3d {
    top: 20px;
    right: 20px;
    left: auto;
    transform: none;
  }

  .marine-info h3 {
    font-size: 26px;
  }

  .stage-box {
    min-height: 380px;
  }

  .stage-head {
    top: 16px;
    left: 16px;
    right: 16px;
  }

  .stage-name {
    font-size: 18px;
  }

  .hotspot-1 {
    top: 56%;
    left: 50%;
  }

  .hotspot-2 {
    top: 44%;
    left: 44%;
  }

  .hotspot-3 {
    top: 70%;
    left: 36%;
  }

  .hotspot-pill {
    font-size: 8.5px;
    padding: 4px 9px;
  }

  .stage-bar {
    bottom: 14px;
    padding: 4px;
    gap: 2px;
  }

  .bar-btn {
    padding: 7px 10px;
    font-size: 9.5px;
  }

  .info-panel {
    padding: 26px 22px;
  }

  .panel-title {
    font-size: 28px;
  }

  .ar-cta {
    padding: 76px 24px;
  }

  .cta-bg-word {
    font-size: 22vw;
  }

  .avatar-circle {
    width: 58px;
    height: 58px;
  }

  .cta-inner h2 {
    font-size: 36px;
  }

  .footer {
    padding: 60px 24px 34px;
  }

  .footer-top {
    flex-direction: column;
    gap: 36px;
    padding-bottom: 40px;
  }

  .footer-logo img {
    width: 104px;
  }

  .footer-links {
    gap: 48px;
  }
}
