/*
Theme Name: PEPELON
Theme URI: https://pepelon.example
Author: PEPELON
Description: Full-width cinematic landing page for PEPELON Coin. Edit every section with Elementor (free). No header menu and no footer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: pepelon
*/

:root {
  --color-ink: #080a08;
  --color-emerald: #183d22;
  --color-pepe: #65a832;
  --color-gold: #d6ad50;
  --color-champagne: #f5d98b;
  --color-paper: #ffffff;
  --color-muted: #c8c2b4;
  --font-display: Cinzel, "Times New Roman", serif;
  --font-sans: Outfit, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
button, input { font: inherit; }
a { color: inherit; }

@font-face {
  font-family: Cinzel;
  src: url("assets/fonts/Cinzel-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Cinzel;
  src: url("assets/fonts/Cinzel-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("assets/fonts/Outfit-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("assets/fonts/Outfit-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("assets/fonts/Outfit-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("assets/fonts/Outfit-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}



@layer base {
  button:not(:disabled),
  [role="button"]:not(:disabled) {
    cursor: pointer;
  }

  html {
    color-scheme: dark;
    scroll-behavior: smooth;
  }

  body {
    margin: 0;
    background: var(--color-ink);
    color: var(--color-paper);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  :focus-visible {
    outline: 2px solid var(--color-champagne);
    outline-offset: 3px;
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
      animation: none !important;
      transition: none !important;
    }
  }
}

.page {
  background: var(--color-ink);
  overflow-x: hidden;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.display {
  margin: 0;
  color: var(--color-champagne);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.96;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  font-weight: 300;
}

.rule {
  width: 4.5rem;
  height: 1px;
  margin: 1.5rem 0;
  background: var(--color-gold);
  border: 0;
}

.section {
  position: relative;
  padding: 5.5rem 1.25rem;
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.wrap-wide {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 0;
  background:
    radial-gradient(900px 520px at 78% 42%, rgba(101, 168, 50, 0.16), transparent 70%),
    var(--color-ink);
}

.hero-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(520px, 100%);
  max-height: 54svh;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
}

.hero-copy {
  padding: 1.5rem 1.25rem 3.5rem;
}

.hero h1 {
  font-size: clamp(3.4rem, 12vw, 7.4rem);
}

.hero-sub {
  margin: 1rem 0 0;
  max-width: 16ch;
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-text {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.hero-text strong {
  color: var(--color-paper);
  font-weight: 500;
}

.ca {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(214, 173, 80, 0.45);
  background: rgba(8, 10, 8, 0.55);
}

.ca-label {
  color: var(--color-gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.ca-value {
  margin: 0;
  color: var(--color-paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  word-break: break-all;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--color-gold);
  background: transparent;
  color: var(--color-champagne);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.btn svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
}

.btn-solid {
  background: var(--color-gold);
  color: var(--color-ink);
}

.btn:hover {
  background: var(--color-champagne);
  color: var(--color-ink);
}

.btn-solid:hover {
  background: var(--color-champagne);
}

.legend {
  background:
    linear-gradient(180deg, rgba(8, 10, 8, 0.2), rgba(8, 10, 8, 0.88)),
    url("assets/images/nebula.jpg") center/cover no-repeat;
}

.legend-grid {
  display: grid;
  gap: 2rem;
}

.legend h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  max-width: 12ch;
}

.pull {
  margin: 1.5rem 0 0;
  color: var(--color-champagne);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.why h2,
.buy h2,
.details h2,
.gallery h2,
.army h2,
.emblem h2,
.mission h2 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
}

.why-grid,
.buy-grid,
.detail-grid {
  display: grid;
  gap: 0;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(214, 173, 80, 0.35);
}

.why-item,
.buy-step {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(214, 173, 80, 0.35);
}

.index {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

.why-item h3,
.buy-step h3,
.emblem-points h3 {
  margin: 0 0 0.45rem;
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why-item p,
.buy-step p,
.emblem-copy p,
.mission-copy p,
.army p,
.details .note,
.gallery .note {
  margin: 0;
  color: var(--color-muted);
}

.mission {
  padding: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 8, 0.92) 0%, rgba(8, 10, 8, 0.78) 46%, rgba(8, 10, 8, 0.28) 100%),
    url("assets/images/rocket.jpg") center/cover no-repeat;
}

.mission-copy {
  width: min(680px, 100%);
  padding: 6.5rem 1.25rem;
}

.mission-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.mission-list li {
  position: relative;
  margin: 0;
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-top: 1px solid rgba(214, 173, 80, 0.28);
  color: var(--color-paper);
}

.mission-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.45rem;
  height: 1px;
  background: var(--color-pepe);
}

.mission-close {
  margin-top: 1.5rem;
  color: var(--color-champagne);
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.emblem-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.emblem-art {
  display: flex;
  justify-content: center;
}

.emblem-art img {
  width: min(440px, 86vw);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

.emblem-points {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.buy {
  background: linear-gradient(180deg, var(--color-ink), #0c140f 50%, var(--color-ink));
}

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

.detail-row {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(214, 173, 80, 0.28);
}

.detail-row dt {
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-row dd {
  margin: 0;
  color: var(--color-paper);
  font-weight: 400;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 2rem;
}

.meme {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(214, 173, 80, 0.28);
}

.meme img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.meme-actions {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  left: 0.65rem;
  display: flex;
  gap: 0.5rem;
}

.meme-actions .btn {
  flex: 1;
  min-height: 44px;
  padding: 0.55rem 0.4rem;
  background: rgba(8, 10, 8, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.meme-actions .btn:hover {
  background: var(--color-champagne);
}

.army {
  text-align: center;
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(24, 61, 34, 0.65), transparent 70%),
    var(--color-ink);
}

.army h2,
.finale h2 {
  margin-left: auto;
  margin-right: auto;
}

.army .lede,
.finale .lede {
  max-width: 38rem;
  margin: 1rem auto 0;
}

.center-actions {
  justify-content: center;
}

.finale {
  padding-top: 1rem;
  text-align: center;
}

.finale h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.lede + .lede {
  margin-top: 1rem;
}

.gallery .note {
  max-width: 40rem;
}

.stack {
  margin-top: 1.5rem;
}

.rule-center {
  margin-left: auto;
  margin-right: auto;
}

.disclaimer {
  width: min(760px, 100%);
  margin: 3rem auto 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: left;
}

.status {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 20;
  transform: translateX(-50%);
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-gold);
  background: var(--color-ink);
  color: var(--color-champagne);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 720px) {
  .why-grid,
  .buy-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-item,
  .buy-step {
    padding: 1.75rem 1.5rem 1.75rem 0;
  }

  .why-item:nth-child(odd),
  .buy-step:nth-child(odd) {
    padding-right: 1.5rem;
    border-right: 1px solid rgba(214, 173, 80, 0.35);
  }

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

@media (min-width: 980px) {
  .section {
    padding: 7rem 2rem;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-copy {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 48%;
    padding: 4rem 2rem 4rem 4vw;
  }

  .hero-art {
    order: 2;
    width: 52%;
    min-height: 100svh;
  }

  .hero-art img {
    width: 100%;
    max-height: 100svh;
  }

  .legend-grid,
  .emblem-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-item {
    border-right: 1px solid rgba(214, 173, 80, 0.35);
    border-bottom: 0;
    padding: 0 1.25rem;
  }

  .why-item:first-child {
    padding-left: 0;
  }

  .why-item:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .buy-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .buy-step {
    border-bottom: 0;
    border-right: 1px solid rgba(214, 173, 80, 0.35);
    padding: 0 1.25rem 0 0;
  }

  .buy-step:last-child {
    border-right: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mission-copy {
    padding: 8rem 4vw;
  }
}

.hero { position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 520px at 78% 42%, rgba(101, 168, 50, 0.18), transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.mission { position: relative; }
.mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 8, 0.88) 0%, rgba(8, 10, 8, 0.55) 48%, rgba(8, 10, 8, 0.25) 100%);
  pointer-events: none;
}
.mission > * { position: relative; z-index: 1; }

.mission-line p,
.mission-copy .mission-line {
  position: relative;
}
.mission-line p {
  margin: 0;
  padding: 0.75rem 0 0.75rem 1.4rem;
  border-top: 1px solid rgba(214, 173, 80, 0.28);
  color: var(--color-paper);
}
.mission-line p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 0.45rem;
  height: 1px;
  background: var(--color-pepe);
}

.detail-row {
  display: grid !important;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: 0.75rem;
  width: 100% !important;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(214, 173, 80, 0.28);
}
.detail-label,
.detail-label p {
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.detail-value,
.detail-value p {
  color: var(--color-paper);
  font-weight: 400;
}

.gallery-grid {
  display: grid !important;
  width: 100% !important;
}
.gallery-grid > .meme,
.gallery-grid > .elementor-element {
  width: auto !important;
  max-width: none !important;
}

.meme { position: relative !important; }
.meme-actions {
  position: absolute !important;
  right: 0.65rem !important;
  bottom: 0.65rem !important;
  left: 0.65rem !important;
  z-index: 2;
  display: flex !important;
  flex-direction: row !important;
  gap: 0.5rem;
  width: auto !important;
  padding: 0 !important;
  background: transparent !important;
}
.meme-actions > .elementor-widget-button,
.meme-actions > .btn {
  flex: 1 1 0;
  width: auto !important;
}
.meme-actions .elementor-button { width: 100%; justify-content: center; }

.elementor-widget-button.btn {
  width: auto;
  border: 0;
  background: transparent;
  min-height: 0;
  padding: 0;
}
.elementor-widget-button.btn .elementor-button {
  border-radius: 0;
  min-height: 48px;
}

.display .elementor-heading-title,
.pull .elementor-heading-title,
.hero-sub,
.hero-sub p {
  font-family: var(--font-display);
  color: var(--color-champagne);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kicker,
.kicker p {
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.why-item h3,
.why-title .elementor-heading-title,
.buy-step h3 {
  margin: 0 0 0.45rem;
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lede p { color: var(--color-muted); font-weight: 300; }
.hero-text,
.hero-text p { color: var(--color-muted); }
.hero-text strong { color: var(--color-paper); font-weight: 500; }
.ca-value,
.ca-value p {
  margin: 0;
  color: var(--color-paper);
  font-weight: 500;
  letter-spacing: 0.08em;
  word-break: break-all;
}
.army, .finale, .center-actions { text-align: center; }
.center-actions { justify-content: center; }
.wrap, .wrap-wide { width: min(1120px, 100%); margin-inline: auto; }
.wrap-wide { width: min(1240px, 100%); }

@media (max-width: 979px) {
  .hero { flex-direction: column !important; }
  .hero-copy, .hero-art { width: 100% !important; }
  .hero-art { order: -1; }
  .gallery-grid { grid-template-columns: 1fr !important; }
  .detail-row { grid-template-columns: 1fr !important; }
}
@media (min-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
