/* ─────────────────────────────
   Assmas – global tokens
───────────────────────────── */
:root {
  --bg-dark: #021b16;
  --bg-deep: #042820;
  --accent-red: #e22a3a;
  --accent-gold: #ffd66b;
  --white: #ffffff;
  --soft-white: #f8f7f4;
}

/* Reset / base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--soft-white);
  background: radial-gradient(circle at top, #094231 0%, var(--bg-dark) 50%, #000 100%);
  overflow-x: hidden;
}

/* Fullscreen background video behind everything */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  opacity: 0.26; /* lower = darker, text easier to read */
}

/* Falling snow layer – JS will fill with spans */
.snow {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.snow span {
  position: absolute;
  top: -10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  filter: blur(0.5px);
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes fall {
  to {
    transform: translateY(110vh);
    opacity: 0;
  }
}

/* Main page wrapper */
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 40px;
}

/* ─────────────────────────────
   Header / logo / socials
───────────────────────────── */

header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 6px;
  position: relative;
  margin-top: -4px;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 210px;
  width: auto;
  object-fit: contain;
}

/* Right-side glass cluster */
.header-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(13, 86, 59, 0.8), rgba(2, 11, 8, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

/* Limited-edition pill */
.pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0)
  );
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #3df07d;
  box-shadow: 0 0 8px #3df07d;
}

/* Social links */
.social-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75);
  transform: translateY(-1px);
}

/* ─────────────────────────────
   Hero
───────────────────────────── */

main {
  margin-top: 16px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  min-height: 78vh;
  padding: 30px 0 56px;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 12px;
    min-height: auto;
  }
}

.hero-copy {
  padding: 26px 26px 24px;
  background: radial-gradient(circle at top left, #123e2f 0%, #061e17 42%, #05080a 100%);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  position: relative;
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.06), transparent 55%),
    radial-gradient(circle at 120% 120%, rgba(226, 42, 58, 0.4), transparent 60%);
  opacity: 0.95;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(42px, 5vw, 60px);
  line-height: 1.02;
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
}

.hero-title span {
  color: var(--accent-red);
}

.hero-sub {
  font-size: 16px;
  max-width: 440px;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 14px;
}

.hero-punchline {
  font-size: 15px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 12px;
}

/* CTA row */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 12px;
}

/* Button base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 170px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

/* Primary red */
.btn-primary {
  background: linear-gradient(135deg, #ff3b4f, #b90026);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

/* Secondary dark */
.btn-secondary {
  background: rgba(4, 16, 12, 0.9);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Buy button – gold to red */
.btn-buy {
  background: linear-gradient(135deg, #ffd66b, #ff3b4f);
  color: #140707;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

/* CA row */
.hero-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.ca-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

#assmas-ca {
  display: inline-block;
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  font-family: "Poppins", monospace;
  letter-spacing: 0.03em;
  font-size: 13px;
  color: #fff;
  backdrop-filter: blur(4px);
}

/* Copy CA button */
.btn-copy {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  font-size: 11px;
  cursor: pointer;
}

/* Hero right image */
.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.9);
  max-width: 520px;
  width: 100%;
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-ribbon {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(2, 12, 9, 0.84);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-ribbon b {
  color: var(--accent-gold);
}

/* ─────────────────────────────
   Sections / cards / gallery
───────────────────────────── */

.section {
  margin-top: 42px;
}

.card-wood {
  position: relative;
  background-image: linear-gradient(145deg, #4a301a 0%, #2a1b10 45%, #3c2515 100%);
  border-radius: 26px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(0, 0, 0, 0.8);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.85);
  color: #ffebc6;
  max-width: 760px;
  margin: 0 auto;
}

.card-wood::before,
.card-wood::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  pointer-events: none;
}

.card-wood::before {
  border: 2px solid rgba(0, 0, 0, 0.35);
}

.card-wood::after {
  inset: 12px;
  border-style: dashed;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.06);
}

.card-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.card-body {
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.card-body p + p {
  margin-top: 10px;
}

/* Gallery */
.gallery {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.thumb {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85);
}

.thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.thumb-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  background: rgba(2, 12, 9, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ─────────────────────────────
   Footer
───────────────────────────── */

footer {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ─────────────────────────────
   Responsive tweaks
───────────────────────────── */

@media (max-width: 720px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header-right {
    align-self: flex-start;
    flex-wrap: wrap;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .hero-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .logo-img {
    height: 170px;
  }
}

/* ─────────────────────────────
   Crowdfund page
───────────────────────────── */

body.crowdfund-body {
  min-height: 100vh;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--soft-white);
  background: radial-gradient(circle at top, #094231 0%, var(--bg-dark) 50%, #000 100%);
  overflow-x: hidden;
}

.crowdfund-page {
  max-width: 1280px;
  margin: 0 auto;
}

/* slightly tighter header spacing on crowdfund */
.crowdfund-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.crowdfund-nav .cf-nav-link {
  font-size: 0.9rem;
  color: #e5e7eb;
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.crowdfund-nav .cf-nav-link:hover {
  background: rgba(30, 64, 175, 0.7);
  border-color: rgba(191, 219, 254, 0.8);
}

.hero-cf {
  grid-template-columns: 1fr !important;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
}

.small-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cf-progress-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.cf-pill {
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  background: rgba(30, 64, 175, 0.5);
  border: 1px solid rgba(191, 219, 254, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.cf-target {
  font-size: 0.85rem;
  color: #e5e7eb;
}

.cf-progress-bar-wrap {
  margin-bottom: 1rem;
}

.cf-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.cf-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22c55e, #a3e635);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.7);
}

.cf-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #cbd5f5;
}

.cf-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cf-main-btn {
  flex: 1 1 220px;
}

.cf-chart-btn {
  flex: 1 1 160px;
}

.cf-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: #e5e7eb;
  opacity: 0.85;
}

.cf-card {
  background: rgba(15, 23, 42, 0.94);
}

.cf-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.8rem;
}

.cf-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.cf-step {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.cf-step-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.95);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.cf-wallet-box {
  margin-top: 0.9rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cf-wallet-label {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.15rem;
}

.cf-wallet-code {
  font-size: 0.8rem;
  word-break: break-all;
  color: #e5e7eb;
}

.small-copy-btn {
  margin-top: 0.25rem;
}

.cf-share {
  margin-top: 0.9rem;
  font-size: 0.85rem;
}

.cf-image-frame img {
  object-fit: cover;
}

@media (max-width: 840px) {
  .cf-progress-top {
    align-items: flex-start;
  }
}

/* ─────────────────────────────
   ASSMAS Feature Banner (below hero)
───────────────────────────── */

.assmas-feature-banner {
  margin-top: 40px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.assmas-banner-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.9);
  max-width: 780px;
  width: 100%;
}

.assmas-banner-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.assmas-banner-ribbon {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(2, 12, 9, 0.84);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.assmas-banner-ribbon b {
  color: var(--accent-gold, #ffd66b);
}

/* Mobile tweaks for banner */
@media (max-width: 720px) {
  .assmas-feature-banner {
    margin-top: 26px;
  }

  .assmas-banner-frame {
    max-width: 92%;
  }

  .assmas-banner-ribbon {
    font-size: 11px;
    padding: 5px 11px;
  }
}

/* ─────────────────────────────
   Special CTA (for crowdfunding link)
───────────────────────────── */

.santa-helper-btn {
  display: block;
  margin: 26px auto 0;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff3b4f, #921020);
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
  transition: 0.2s ease;
}

.santa-helper-btn:hover {
  background: linear-gradient(135deg, #ff5a6a, #b0152a);
  transform: translateY(-2px);
}

.dex-mini-banner {
  display: block;
  text-align: center;
  margin: 30px auto 0;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 18px;
  backdrop-filter: blur(6px);
  width: fit-content;
  color: #ffe4e4;
  transition: 0.2s ease;
}

.dex-mini-banner:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  transform: translateY(-2px);
}
.dex-upgrade-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 28px auto 0;
  padding: 12px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffd66b, #ff3b4f);
  color: #1a0f0f;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(0,0,0,0.7);
  border: 2px solid rgba(255,255,255,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dex-upgrade-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.9);
}

.badge-emoji {
  font-size: 20px;
}

.badge-arrow {
  font-size: 22px;
  opacity: 0.7;
}
.header-upgrade-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b4f, #b90026);
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 12px 35px rgba(0,0,0,0.65);
  white-space: nowrap;
  transition: 0.18s ease;
}

.header-upgrade-pill:hover {
  background: linear-gradient(135deg, #ff5a6a, #d1142c);
  transform: translateY(-1px);
  box-shadow: 0 16px 45px rgba(0,0,0,0.75);
}
