:root {
  --bg-deep: #030810;
  --bg-sea: #061420;
  --bg-sea-mid: #0a2840;
  --bg-sea-light: #0f3550;
  --bg-card: rgba(8, 18, 30, 0.82);
  --wood: #2a1f14;
  --wood-light: #4a3828;
  --lime: #8fff00;
  --lime-dim: #6fcc00;
  --lime-glow: rgba(143, 255, 0, 0.35);
  --gold: #c9a24d;
  --gold-light: #e8c878;
  --gold-dark: #8a6b2e;
  --gold-glow: rgba(201, 162, 77, 0.45);
  --sea-foam: rgba(120, 200, 220, 0.12);
  --wave-1: #0a2035;
  --wave-2: #0c2a45;
  --wave-3: #0e3555;
  --storm: #1a2a3a;
  --mist: rgba(140, 180, 210, 0.08);
  --text: #e8edf2;
  --text-muted: #7d94a8;
  --border: rgba(143, 255, 0, 0.18);
  --rope: rgba(201, 162, 77, 0.25);
  --font-display: "Cinzel", serif;
  --font-pirate: "Pirata One", cursive;
  --font-body: "Outfit", sans-serif;
  --font-serif: "IM Fell English", serif;
  --header-h: 80px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

code {
  font-size: 0.82em;
  word-break: break-all;
  color: var(--lime);
}

/* Background layers */
.ocean-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: linear-gradient(
    180deg,
    #0a1828 0%,
    #061420 35%,
    #041018 65%,
    #020a12 100%
  );
}

#ocean-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

#storm-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  mix-blend-mode: screen;
}

.lightning-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 10%,
    rgba(200, 220, 255, 0.35) 0%,
    transparent 55%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.08s ease-out;
}

.lightning-flash--active {
  opacity: 1;
}

/* Fixed bottom sea waves */
.sea-waves {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.sea-waves__svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.sea-waves__svg path {
  fill: var(--wave-1);
}

.sea-waves__svg--back {
  opacity: 0.55;
  animation: waveSlide 22s linear infinite;
}

.sea-waves__svg--back path {
  fill: var(--wave-1);
}

.sea-waves__svg--mid {
  opacity: 0.75;
  animation: waveSlide 14s linear infinite reverse;
  bottom: -8px;
}

.sea-waves__svg--mid path {
  fill: var(--wave-2);
}

.sea-waves__svg--front {
  opacity: 0.9;
  animation: waveSlide 9s linear infinite;
  bottom: -4px;
}

.sea-waves__svg--front path {
  fill: var(--wave-3);
}

@keyframes waveSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.rope-border {
  position: fixed;
  left: 0;
  right: 0;
  height: 6px;
  z-index: 99;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    var(--gold-dark) 0px,
    var(--gold) 4px,
    var(--wood-light) 8px,
    var(--gold-dark) 12px
  );
  opacity: 0.35;
}

.rope-border--top {
  top: var(--header-h);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.rope-border--visible {
  opacity: 0.55;
}

/* Section wave dividers */
.wave-divider {
  width: 100%;
  height: 80px;
  margin-top: -1px;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: waveDividerSway 8s ease-in-out infinite alternate;
}

.wave-divider path {
  fill: var(--bg-sea-mid);
}

.wave-divider--hero {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.wave-divider--hero path {
  fill: rgba(6, 20, 32, 0.95);
}

@keyframes waveDividerSway {
  from {
    transform: scaleY(1) translateX(0);
  }
  to {
    transform: scaleY(1.08) translateX(-1%);
  }
}

.section__rope {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80%);
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 6px,
    var(--rope) 6px,
    var(--rope) 12px
  );
  opacity: 0.6;
}

.fog {
  position: absolute;
  width: 200%;
  height: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--mist),
    transparent
  );
  filter: blur(40px);
  animation: fogDrift 28s linear infinite;
}

.fog--1 {
  top: 15%;
  opacity: 0.5;
  animation-duration: 35s;
}

.fog--2 {
  top: 45%;
  opacity: 0.35;
  animation-duration: 42s;
  animation-direction: reverse;
}

.fog--3 {
  top: 70%;
  opacity: 0.25;
  animation-duration: 50s;
}

@keyframes fogDrift {
  from {
    transform: translateX(-30%);
  }
  to {
    transform: translateX(0%);
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.5s steps(2) infinite;
}

@keyframes grainShift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-2%, -1%);
  }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn--lime {
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-dim) 100%);
  color: #0a1208;
  box-shadow: 0 0 30px var(--lime-glow), 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #1a1005;
  box-shadow: 0 0 20px var(--gold-glow);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn--lime:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px var(--lime-glow), 0 12px 32px rgba(0, 0, 0, 0.5);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px var(--gold-glow);
}

.btn--ghost {
  border: 1px solid var(--border);
  background: rgba(143, 255, 0, 0.04);
  color: var(--lime);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--lime);
  background: rgba(143, 255, 0, 0.1);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 0.95rem;
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
}

.btn__icon {
  width: 22px;
  height: 22px;
  filter: brightness(0);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}

.header--scrolled {
  background: rgba(3, 8, 16, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 1px 0 var(--rope);
  border-bottom: 1px solid rgba(201, 162, 77, 0.2);
}

.header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%,
  100% {
    box-shadow: 0 0 16px var(--gold-glow);
  }
  50% {
    box-shadow: 0 0 28px var(--gold-glow), 0 0 12px var(--lime-glow);
  }
}

.header__name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--lime);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width 0.35s var(--ease);
}

.nav__link:hover,
.nav__link--active {
  color: var(--lime);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.header__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lime);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  min-height: 100vh;
  padding: calc(var(--header-h) + 3rem) 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(5, 10, 16, 0.92) 0%,
    rgba(5, 10, 16, 0.72) 45%,
    rgba(5, 10, 16, 0.55) 100%
  );
}

.hero__container,
.hero__scroll,
.hero__ropes {
  position: relative;
  z-index: 1;
}

.hero__ropes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__ropes span {
  position: absolute;
  width: 3px;
  height: 130%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    rgba(201, 162, 77, 0.08) 8px,
    rgba(138, 107, 46, 0.2) 12px,
    rgba(201, 162, 77, 0.08) 16px
  );
  border-radius: 2px;
  animation: ropeSway 5s ease-in-out infinite;
  transform-origin: top center;
}

.hero__ropes span:nth-child(1) { left: 5%; animation-delay: 0s; }
.hero__ropes span:nth-child(2) { left: 18%; animation-delay: -1s; }
.hero__ropes span:nth-child(3) { left: 50%; animation-delay: -2.5s; }
.hero__ropes span:nth-child(4) { right: 18%; animation-delay: -3.5s; }
.hero__ropes span:nth-child(5) { right: 5%; animation-delay: -0.5s; }

.hero__lantern {
  position: absolute;
  width: 12px;
  height: 20px;
  border-radius: 4px 4px 8px 8px;
  background: linear-gradient(to bottom, var(--gold-light), var(--gold-dark));
  box-shadow: 0 0 20px var(--gold-glow), 0 0 40px rgba(255, 180, 60, 0.15);
  animation: lanternFlicker 3s ease-in-out infinite;
  z-index: 2;
}

.hero__lantern::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 4px;
  background: var(--wood-light);
  border-radius: 2px;
}

.hero__lantern--left {
  top: 18%;
  left: 4%;
}

.hero__lantern--right {
  top: 22%;
  right: 4%;
  animation-delay: -1.5s;
}

@keyframes lanternFlicker {
  0%, 100% { opacity: 0.85; box-shadow: 0 0 20px var(--gold-glow); }
  50% { opacity: 1; box-shadow: 0 0 35px var(--gold-glow), 0 0 60px rgba(255, 160, 40, 0.2); }
  75% { opacity: 0.7; }
}

.hero__skull {
  position: absolute;
  top: 12%;
  right: 8%;
  width: 64px;
  color: var(--gold);
  opacity: 0.25;
  animation: skullBob 6s ease-in-out infinite;
  z-index: 2;
}

@keyframes skullBob {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

@keyframes ropeSway {
  0%,
  100% {
    transform: rotate(2deg) translateY(-5%);
  }
  50% {
    transform: rotate(-2deg) translateY(0);
  }
}

.hero__container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: fadeUp 1s var(--ease) 0.2s both;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.hero__title-line {
  display: block;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--text);
  animation: fadeUp 1s var(--ease) 0.35s both;
}

.hero__title-accent {
  display: block;
  font-family: var(--font-pirate);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--lime);
  text-shadow:
    0 0 40px var(--lime-glow),
    0 2px 0 rgba(0, 0, 0, 0.8),
    0 0 80px rgba(143, 255, 0, 0.15);
  animation: fadeUp 1s var(--ease) 0.5s both, titleShimmer 5s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.15);
  }
}

.hero__symbol {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
  letter-spacing: 0.3em;
  margin-bottom: 1.25rem;
  animation: fadeUp 1s var(--ease) 0.65s both;
}

.hero__bio {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 2rem;
  animation: fadeUp 1s var(--ease) 0.8s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeUp 1s var(--ease) 0.95s both;
}

.hero__contract {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeUp 1s var(--ease) 1.1s both;
}

.hero__contract-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.hero__contract-value {
  font-family: monospace;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  border: 1px dashed var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--lime);
  transition: border-color 0.3s, background 0.3s;
}

.hero__contract-value:hover {
  border-color: var(--lime);
  background: rgba(143, 255, 0, 0.08);
}

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero__frame {
  position: relative;
  width: min(380px, 90vw);
  aspect-ratio: 1;
  transition: transform 0.15s ease-out;
}

.hero__frame-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, var(--lime-glow) 0%, transparent 65%);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.05);
  }
}

.hero__frame--pirate {
  border-radius: 50%;
  padding: 8px;
  background: repeating-conic-gradient(
    from 0deg,
    var(--gold-dark) 0deg 8deg,
    var(--wood) 8deg 16deg
  );
  box-shadow:
    0 0 0 4px rgba(201, 162, 77, 0.15),
    0 24px 60px rgba(0, 0, 0, 0.7);
}

.hero__frame-rope {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 3px dashed rgba(201, 162, 77, 0.35);
  animation: ropeSpin 30s linear infinite reverse;
}

@keyframes ropeSpin {
  to { transform: rotate(360deg); }
}

.hero__portrait {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
  animation: portraitFloat 5s ease-in-out infinite;
}

.hero__wheel {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: radial-gradient(circle, var(--wood-light) 0%, var(--wood) 70%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  animation: wheelTurn 12s linear infinite;
}

.hero__wheel span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 36px;
  margin-left: -1.5px;
  margin-top: -18px;
  background: linear-gradient(to bottom, var(--gold-light), var(--gold-dark));
  transform-origin: center 18px;
  border-radius: 2px;
}

.hero__wheel span:nth-child(1) { transform: rotate(0deg); }
.hero__wheel span:nth-child(2) { transform: rotate(45deg); }
.hero__wheel span:nth-child(3) { transform: rotate(90deg); }
.hero__wheel span:nth-child(4) { transform: rotate(135deg); }
.hero__wheel span:nth-child(5) { transform: rotate(180deg); }
.hero__wheel span:nth-child(6) { transform: rotate(225deg); }
.hero__wheel span:nth-child(7) { transform: rotate(270deg); }
.hero__wheel span:nth-child(8) { transform: rotate(315deg); }

.hero__wheel::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

@keyframes wheelTurn {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero__stats {
  display: flex;
  gap: 1rem;
}

.stat-pill {
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  text-align: center;
  animation: fadeUp 1s var(--ease) 1.2s both;
}

.stat-pill__label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.stat-pill__value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--lime);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeUp 1.5s var(--ease) 1.5s both;
}

.hero__scroll-anchor {
  color: var(--gold);
  animation: anchorBounce 2s ease-in-out infinite;
}

.hero__scroll-anchor svg {
  width: 24px;
  height: 32px;
}

@keyframes anchorBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

@keyframes portraitFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

/* Sections */
.section {
  padding: 6rem 1.5rem;
  position: relative;
}

.about {
  padding-top: 5rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 21, 32, 0.6) 30%,
    rgba(10, 21, 32, 0.6) 70%,
    transparent 100%
  );
}

.section__container {
  max-width: 1100px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(201, 162, 77, 0.3);
  border-radius: 999px;
}

.section__tag--pirate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(42, 31, 20, 0.5);
  border-color: rgba(201, 162, 77, 0.45);
}

.section__tag-icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

.section__title--pirate {
  font-family: var(--font-pirate);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.section__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.section__ornament span {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section__ornament-skull {
  color: var(--gold);
  opacity: 0.6;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
}

.section__sub {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.15s;
}

.reveal--delay-2 {
  transition-delay: 0.3s;
}

/* About */
.about__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about__figure {
  margin: 0;
}

.about__figure-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 77, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  aspect-ratio: 4 / 5;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.about__figure-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 10, 16, 0.75) 0%,
    transparent 45%
  );
  pointer-events: none;
}

.about__figure:hover .about__figure-frame {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--lime-glow);
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease);
}

.about__figure:hover .about__img {
  transform: scale(1.06);
}

.about__figure figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-align: center;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.about__main--parchment {
  background:
    linear-gradient(145deg, rgba(143, 255, 0, 0.04) 0%, rgba(12, 22, 34, 0.9) 50%, rgba(201, 162, 77, 0.05) 100%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  border: 1px solid rgba(201, 162, 77, 0.25);
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.3),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

.about__card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(42, 31, 20, 0.35) 0%, var(--bg-card) 40%),
    var(--bg-card);
  border: 1px solid rgba(201, 162, 77, 0.2);
  backdrop-filter: blur(16px);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.about__card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 255, 0, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(143, 255, 0, 0.06);
}

.about__card-icon {
  width: 48px;
  height: 48px;
  color: var(--lime);
  margin-bottom: 1rem;
}

.about__card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--gold-light);
}

.about__card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.about__main {
  padding: 2.5rem;
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(143, 255, 0, 0.04) 0%,
    rgba(12, 22, 34, 0.85) 50%,
    rgba(201, 162, 77, 0.04) 100%
  );
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.about__lead {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.about__main p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about__closing {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--lime) !important;
  margin-bottom: 0 !important;
  text-shadow: 0 0 20px var(--lime-glow);
}

/* How to buy */
.howtobuy {
  position: relative;
}

.howtobuy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border),
    transparent
  );
  opacity: 0.5;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.step--pirate {
  position: relative;
  border-color: rgba(201, 162, 77, 0.2);
  background:
    linear-gradient(135deg, rgba(42, 31, 20, 0.25) 0%, var(--bg-card) 50%);
  overflow: hidden;
}

.step--pirate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold-dark),
    var(--gold) 8px,
    var(--wood-light) 16px
  );
  opacity: 0.5;
}

.step__anchor {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--gold);
  opacity: 0.35;
}

.step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.step:hover {
  transform: translateX(8px);
  border-color: rgba(143, 255, 0, 0.3);
}

.step__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--lime);
  line-height: 1;
  flex-shrink: 0;
}

.step__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--gold-light);
}

.step__body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.step__btn {
  margin-top: 0.5rem;
}

.contract-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(201, 162, 77, 0.35);
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
}

.contract-box span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  width: 100%;
}

.contract-box code {
  font-size: 0.9rem;
}

/* Chart */
.chart__wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(201, 162, 77, 0.25);
  background: var(--bg-card);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(201, 162, 77, 0.1);
}

.chart__wrap::before {
  content: "";
  display: block;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold-dark),
    var(--gold) 10px,
    var(--wood-light) 20px
  );
  opacity: 0.6;
}

#dexscreener-embed {
  position: relative;
  width: 100%;
  padding-bottom: 62%;
}

#dexscreener-embed iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 0;
}

.chart__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s, background 0.3s;
}

.chart__link img {
  width: 24px;
  height: 24px;
}

.chart__link:hover {
  color: var(--lime);
  background: rgba(143, 255, 0, 0.06);
}

/* Join Us */
.joinus {
  padding: 0;
  overflow: hidden;
}

.joinus__banner-wrap {
  position: relative;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

.joinus__banner {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
  animation: bannerKenBurns 20s ease-in-out infinite alternate;
}

@keyframes bannerKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.joinus__banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 20%,
    rgba(5, 10, 16, 0.7) 70%,
    var(--bg-deep) 100%
  );
}

.joinus__body {
  padding: 3rem 1.5rem 6rem;
  margin-top: -4rem;
  position: relative;
  z-index: 1;
}

.joinus__content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.joinus__title {
  margin-bottom: 1rem;
}

.joinus__text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.joinus__actions {
  margin-bottom: 2.5rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.socials__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.socials__item img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.socials__item span {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.socials__item:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 24px var(--lime-glow);
}

/* Footer */
.footer {
  position: relative;
  padding: 3rem 1.5rem;
  border-top: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 30%);
  margin-top: 2rem;
}

.footer__wave {
  position: absolute;
  top: -59px;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
}

.footer__wave svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: waveDividerSway 10s ease-in-out infinite alternate-reverse;
}

.footer__wave path {
  fill: rgba(0, 0, 0, 0.55);
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--lime);
  color: #0a1208;
  font-weight: 600;
  font-size: 0.88rem;
  z-index: 200;
  transition: transform 0.4s var(--ease);
  box-shadow: 0 8px 32px var(--lime-glow);
}

.toast--show {
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__video-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 10, 16, 0.88) 0%,
      rgba(5, 10, 16, 0.7) 55%,
      rgba(5, 10, 16, 0.82) 100%
    );
  }

  .hero__skull,
  .hero__lantern {
    display: none;
  }

  .sea-waves {
    height: 90px;
  }

  .hero__bio,
  .hero__contract {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__frame {
    width: min(280px, 75vw);
  }

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

  .about__gallery {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    background: rgba(5, 10, 16, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s;
    margin-left: 0;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header__cta {
    display: none;
  }
}

@media (max-width: 600px) {
  .step {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .joinus__banner {
    height: 260px;
  }
}
