/* RICHCAT — Gold Luxury Comic Theme */

:root {
  --gold-1: #fff8dc;
  --gold-2: #ffe566;
  --gold-3: #ffd700;
  --gold-4: #d4af37;
  --gold-5: #b8860b;
  --gold-6: #8b6914;
  --black: #080502;
  --black-2: #120a02;
  --black-3: #1a1006;
  --orange: #e8941a;
  --white: #fffef8;
  --outline: 3px solid #0a0600;
  --shadow-comic: 5px 5px 0 #0a0600;
  --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.35);
  --font-comic: "Bangers", cursive;
  --font-luxury: "Cinzel", serif;
  --font-body: "Outfit", sans-serif;
  --radius: 14px;
  --container: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Background */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.bg-svg {
  width: 100%;
  height: 100%;
}

.bg-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 248, 200, 0.06) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: bgShimmer 8s ease-in-out infinite;
}

@keyframes bgShimmer {
  0%,
  100% {
    background-position: 200% 0;
  }
  50% {
    background-position: -200% 0;
  }
}

/* Gold text */
.gold-text {
  background: linear-gradient(
    135deg,
    var(--gold-1) 0%,
    var(--gold-3) 35%,
    var(--gold-5) 70%,
    var(--gold-2) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.gold-text--hero {
  font-size: clamp(3.5rem, 12vw, 7rem);
  letter-spacing: 0.04em;
  animation: titleShine 4s ease-in-out infinite;
}

@keyframes titleShine {
  0%,
  100% {
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 28px rgba(255, 215, 0, 0.7));
  }
}

/* Comic panels */
.comic-panel {
  background: linear-gradient(145deg, #1a1208 0%, #0f0a04 100%);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-comic), inset 0 1px 0 rgba(255, 215, 0, 0.15);
  padding: 1.5rem;
  position: relative;
}

.comic-panel--gold {
  background: linear-gradient(145deg, #2a1f0a 0%, #151008 100%);
  border-color: var(--gold-4);
  box-shadow: var(--shadow-comic), var(--shadow-gold);
}

.comic-panel--chart {
  padding: 0;
  overflow: hidden;
}

.comic-panel--banner {
  padding: 0;
  overflow: hidden;
}

.comic-panel--media {
  padding: 0;
  overflow: hidden;
}

.comic-panel__tail {
  position: absolute;
  bottom: -12px;
  left: 40px;
  width: 24px;
  height: 24px;
  background: #1a1208;
  border-right: var(--outline);
  border-bottom: var(--outline);
  transform: rotate(45deg);
}

.comic-badge {
  display: inline-block;
  font-family: var(--font-comic);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  background: linear-gradient(180deg, var(--gold-3), var(--gold-5));
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--black);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold-4) 50%, var(--gold-5) 100%);
  color: var(--black);
  box-shadow: 4px 4px 0 var(--black), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--gold:hover {
  box-shadow: 6px 6px 0 var(--black), 0 0 20px rgba(255, 215, 0, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--gold-2);
  border-color: var(--gold-4);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
}

.btn--ghost {
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold-2);
  border-color: var(--gold-5);
}

.btn--sm {
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
}

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

.btn__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: translateX(-100%);
  animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
  0%,
  70%,
  100% {
    transform: translateX(-100%);
  }
  85% {
    transform: translateX(100%);
  }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.nav--scrolled {
  background: rgba(8, 5, 2, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 215, 0, 0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-comic);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.nav__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold-4);
  object-fit: cover;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 254, 248, 0.75);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-2);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--gold-3);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* Sections */
.section {
  padding: 6rem 0;
}

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

.section__tag {
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-comic);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section__subtitle {
  color: rgba(255, 254, 248, 0.65);
  font-size: 1.05rem;
  max-width: 520px;
  margin-inline: auto;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  margin-bottom: 1rem;
}

.hero__title {
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero__symbol {
  font-family: var(--font-luxury);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-3);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.hero__tagline {
  font-size: 1.15rem;
  color: rgba(255, 254, 248, 0.85);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__contract {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
}

.hero__contract-label {
  font-family: var(--font-comic);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold-4);
}

.hero__contract-code {
  flex: 1;
  min-width: 0;
  font-size: 0.75rem;
  color: var(--gold-2);
  word-break: break-all;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__media-ring {
  position: relative;
  width: min(420px, 88vw);
  aspect-ratio: 3 / 4;
}

.hero__media-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.35) 0%, transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
  pointer-events: none;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  background: var(--black-2);
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.comic-burst {
  position: absolute;
  font-family: var(--font-comic);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--black);
  background: linear-gradient(180deg, var(--gold-2), var(--gold-4));
  border: 3px solid var(--black);
  padding: 0.5rem 1rem;
  border-radius: 50% 50% 50% 0;
  box-shadow: 3px 3px 0 var(--black);
  z-index: 2;
  animation: burstPop 2s ease-in-out infinite;
}

.comic-burst--1 {
  top: 5%;
  right: 0;
  animation-delay: 0s;
}

.comic-burst--2 {
  bottom: 10%;
  left: -5%;
  animation-delay: 1s;
}

@keyframes burstPop {
  0%,
  100% {
    transform: scale(1) rotate(-5deg);
  }
  50% {
    transform: scale(1.08) rotate(3deg);
  }
}

/* About */
.about__showcase {
  margin-bottom: 2rem;
  position: relative;
}

.about__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 420px;
}

.about__showcase-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  text-align: center;
  background: linear-gradient(transparent, rgba(8, 5, 2, 0.9));
}

.about__showcase-caption span {
  font-family: var(--font-comic);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 1.5rem;
}

.about__portrait {
  padding: 0;
  overflow: hidden;
  grid-row: 1 / 3;
}

.about__portrait-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about__bio-title,
.about__story-title {
  font-family: var(--font-comic);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--gold-3);
  margin-bottom: 1rem;
}

.about__bio-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold-1);
}

.about__story-body p {
  margin-bottom: 1rem;
  color: rgba(255, 254, 248, 0.82);
}

.about__story-body p:last-child {
  margin-bottom: 0;
}

.about__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  text-align: center;
  padding: 1.25rem;
}

.stat-card__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-card__label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 254, 248, 0.5);
  margin-bottom: 0.25rem;
}

.stat-card__value {
  font-family: var(--font-comic);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

/* How to Buy */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.step__num {
  display: block;
  font-family: var(--font-comic);
  font-size: 2rem;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-5));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}

.step__title {
  font-family: var(--font-luxury);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-2);
  margin-bottom: 0.5rem;
}

.step__text {
  font-size: 0.9rem;
  color: rgba(255, 254, 248, 0.7);
}

.howtobuy__cta {
  text-align: center;
}

/* Chart */
.chart__wrapper {
  min-height: 520px;
}

.chart__iframe {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
}

.chart__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 2rem;
  text-align: center;
  color: rgba(255, 254, 248, 0.6);
}

.chart__placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.chart__placeholder code {
  color: var(--gold-3);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.chart__footer {
  text-align: center;
  margin-top: 1.5rem;
}

/* Join Us */
.joinus__banner-wrap {
  margin-bottom: 2rem;
  position: relative;
}

.joinus__banner {
  width: 100%;
  height: auto;
  display: block;
}

.joinus__banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(8, 5, 2, 0.85));
}

.joinus__banner-tag {
  font-family: var(--font-luxury);
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-align: center;
  color: var(--gold-2);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.joinus__content {
  text-align: center;
}

.joinus__text {
  font-size: 1.1rem;
  color: rgba(255, 254, 248, 0.8);
  max-width: 560px;
  margin: 0 auto 2rem;
}

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

/* Footer */
.footer {
  border-top: 2px solid rgba(255, 215, 0, 0.15);
  padding: 2.5rem 0;
  background: rgba(0, 0, 0, 0.4);
}

.footer__inner {
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-comic);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer__logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold-5);
}

.footer__disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 254, 248, 0.45);
  max-width: 520px;
  margin: 0 auto 1rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer__links a {
  color: var(--gold-4);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--gold-2);
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255, 254, 248, 0.35);
}

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

  .hero__tagline,
  .hero__actions,
  .hero__contract {
    margin-inline: auto;
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__media-ring {
    width: min(320px, 85vw);
  }

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

  .about__portrait,
  .about__bio,
  .about__story {
    grid-row: auto;
  }

  .about__portrait-img {
    min-height: 280px;
    max-height: 400px;
  }

  .about__bio {
    grid-row: auto;
  }

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

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

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    background: rgba(8, 5, 2, 0.98);
    border-left: 2px solid var(--gold-5);
    transition: right 0.3s ease;
    gap: 0.5rem;
  }

  .nav--open .nav__links {
    right: 0;
  }

  .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  }

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

  .section {
    padding: 4rem 0;
  }
}
