
/* FomoTrade — Layer 01: Responsive Header */

:root {
  --bg: #272727;
  --header-bg: #272727;
  --header-text: #ffffff;
  --header-muted: #ffffff;
  --header-border: rgba(255, 255, 255, 0.14);
  --header-radius: 999px;
  --lime: #A6FF1F;
  --header-width: 1280px;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--header-text);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(39, 39, 39, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--header-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(calc(100% - 64px), var(--header-width));
  min-height: 88px;
  margin-inline: auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

/* Logo switching */

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 156px;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
  transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
}

.brand:hover img {
  transform: translateY(-1px);
}

.brand-mobile {
  display: none;
}

/* Desktop navigation */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--header-radius, 999px);
  padding: 15px 15px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--header-radius, 999px);
  color: var(--header-muted);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;

  transition:
    color 200ms ease,
    background-color 200ms ease,
    transform 200ms cubic-bezier(.2, .8, .2, 1);
}

.main-nav a:hover {
  color: #ffffff;
  background-color: rgba(5, 255, 255, 0.08);
  transform: translateY(-1px);
  transition: calc(10px);
  transition-duration: 1.2s;
}

/* Right-side actions */

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  flex-shrink: 0;
}

.search-button {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  color: var(--header-text);
  background: transparent;
  border: 1px solid var(--header-border);
  border-radius: 50%;
  cursor: pointer;

  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 300ms cubic-bezier(.2, .8, .2, 1);
}

.search-button svg {
  width: 19px;
  height: 19px;
}

.search-button:hover {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .35);
  transform: scale(1.06);
}

.search-button:active {
  transform: scale(.94);
}

/* Desktop CTA */

.header-cta {
  min-height: 46px;
  padding-inline: 22px;
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  color: var(--bg);
  background: var(--lime);
  border: 1px solid transparent;
  border-radius: var(--header-radius);

  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background 250ms ease,
    color 250ms ease,
    transform 250ms cubic-bezier(.2, .8, .2, 1),
    box-shadow 250ms ease;
}

.header-cta:hover {
  color: #171717;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

.header-cta:active {
  transform: translateY(0) scale(.97);
}

/* Hamburger — hidden on desktop */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;

  flex: 0 0 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  color: #ffffff;
  background: transparent;
  border: 1px solid var(--header-border);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;

  transition:
    transform 250ms ease,
    opacity 180ms ease;
}

/* Hamburger transforms into X */

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu — hidden by default */

.mobile-menu {
  display: none;
}

/* Accessibility */

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* Laptop adjustment (1001px - 1280px) to prevent header CTA clipping */
@media (max-width: 1280px) and (min-width: 1001px) {
  .header-inner {
    width: min(calc(100% - 32px), var(--header-width));
    gap: 16px;
  }
  .main-nav {
    padding: 10px 12px;
    gap: 2px;
  }
  .main-nav a {
    padding: 6px 12px;
    font-size: 13.5px;
  }
  .header-actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .header-cta {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 13px;
    flex-shrink: 0;
  }
}

/* Tablet and mobile */

@media (max-width: 1000px) {
  .header-inner {
    width: calc(100% - 40px);
    min-height: 80px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
  }

  .main-nav {
    display: none;
  }

  .brand-desktop {
    display: none;
  }

  .brand-mobile {
    display: inline-flex;
  }

  .brand img {
    width: 136px;
    max-height: 40px;
  }

  .header-actions {
    gap: 10px;
  }

  .menu-toggle {
    display: flex;
  }

  /* Dropdown panel */

  .mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    z-index: 101;

    display: flex;
    flex-direction: column;
    gap: 4px;

    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    padding: 12px;

    background: #202020;
    border: 1px solid var(--header-border);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transform-origin: top center;

    transition:
      opacity 220ms ease,
      transform 220ms ease,
      visibility 220ms ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    min-height: 48px;
    padding: 12px 14px;

    color: #ffffff;
    border-radius: 12px;
    font-size: 16px;
    text-decoration: none;

    transition:
      background 180ms ease,
      padding-left 180ms ease;
  }

  .mobile-menu a:hover {
    background: rgba(255, 255, 255, .08);
    padding-left: 19px;
  }

  .mobile-menu a span {
    opacity: .55;
  }

  .mobile-menu .mobile-menu-cta {
    justify-content: center;
    margin-top: 8px;
    background: var(--lime);
    color: var(--bg);
    border-radius: var(--header-radius);
  }

  .mobile-menu .mobile-menu-cta:hover {
    background: #eaeaea;
    padding-left: 14px;
  }
}

/* Small mobile */

@media (max-width: 480px) {
  .header-inner {
    width: calc(100% - 32px);
    min-height: 72px;
    gap: 10px;
  }

  .brand img {
    width: 112px;
    max-height: 36px;
  }

  .header-actions {
    gap: 8px;
  }

  .search-button {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .menu-toggle {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
  }
 
  .mobile-menu {
    left: 16px;
    right: 16px;
    padding: 10px;
    border-radius: 16px;
  }

  .mobile-menu a {
    font-size: 15px;
  }
}

/* Very narrow screens */

@media (max-width: 350px) {
  .header-inner {
    width: calc(100% - 24px);
  }

  .brand img {
    width: 86px;
  }

  .header-actions {
    gap: 6px;
  }

  .search-button,
  .menu-toggle {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .mobile-menu {
    left: 12px;
    right: 12px;
  }
}

/* Reduced-motion accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   Hero Section & Box (Phantom-style Clean Rastered Card)
   ========================================================================== */

.hero-section {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-inline: 0;
  margin-block: 12px clamp(80px, 12vh, 140px);
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: min(calc(100% - 64px), var(--header-width));
  margin-inline: auto;
  min-height: calc(100vh - 128px);
  min-height: clamp(700px, 84vh, 940px);
  background-color: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(96px, 12vh, 140px) 36px clamp(88px, 10vh, 120px);
  text-align: center;
  box-shadow: 
    0 28px 70px -15px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(166, 255, 31, 0.15);
  isolation: isolate;
  font-family: var(--font-sans);
  will-change: transform;
  transform-origin: center top;
}

/* Hero Background Video */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  display: block;
  filter: brightness(0.52) contrast(1.1);
  will-change: transform;
}

/* Semi-transparent dark tint & radial vignette to ensure crystal clear text contrast */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at center, rgba(16, 16, 18, 0.45) 0%, rgba(14, 14, 16, 0.78) 100%),
    linear-gradient(180deg, rgba(20, 20, 22, 0.3) 0%, rgba(14, 14, 16, 0.55) 100%);
  pointer-events: none;
}

/* Foreground Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.hero-eyebrow {
  margin: 0 0 24px 0;
  color: #b0afbc;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  display: inline-block;
  flex-shrink: 0;
}

.hero-title {
  margin: 0 0 44px 0;
  color: #ffffff;
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 16px 36px;
  background-color: var(--lime);
  color: var(--bg, #272727);
  border: 1px solid transparent;
  border-radius: var(--header-radius, 999px);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: 
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms cubic-bezier(.2, .8, .2, 1),
    box-shadow 220ms ease;
}

.hero-btn:hover {
  background-color: #ffffff;
  color: #171717;
  transform: translateY(-3px) scale(1.02);
}

.hero-btn:active {
  transform: translateY(0) scale(0.98);
}

.hero-btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Tablet Layout (<= 1000px) */
@media (max-width: 1000px) {
  .hero-section {
    padding-inline: 0;
    margin-block-end: 48px;
  }

  .hero-card {
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
    min-height: clamp(520px, 68vh, 640px);
    border-radius: 28px;
    padding: 70px 24px 64px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 32px;
  }

  .hero-eyebrow {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .hero-btn {
    min-height: 52px;
    padding: 14px 28px;
    font-size: 16px;
  }
}

/* Mobile & Small Screens (<= 640px) */
@media (max-width: 640px) {
  .hero-section {
    margin-block: 8px clamp(56px, 10vh, 84px);
  }

  .hero-card {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    min-height: calc(100svh - 104px);
    min-height: calc(100dvh - 104px);
    border-radius: 28px;
    padding: 56px 20px 48px;
  }

  .hero-content {
    max-width: 320px;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.5rem);
    line-height: 1.12;
    margin-bottom: 28px;
  }

  .hero-eyebrow {
    font-size: 14.5px;
    margin-bottom: 16px;
  }

  .hero-btn {
    min-height: 50px;
    padding: 13px 28px;
    font-size: 15.5px;
    width: auto;
    max-width: none;
  }
}

/* Very Narrow Mobile (<= 350px) */
@media (max-width: 350px) {
  .hero-card {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    min-height: calc(100svh - 96px);
    min-height: calc(100dvh - 96px);
    border-radius: 20px;
    padding: 44px 14px 40px;
  }

  .hero-title {
    font-size: 1.7rem;
  }
}

/* ==========================================================================
   Section 02: Trading Tools for Degens Showcase
   ========================================================================== */

.tools-showcase-section {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-inline: 0;
  overflow-x: clip;
  margin-block: clamp(80px, 12vh, 140px) clamp(80px, 12vh, 140px);
}

.showcase-inner {
  width: min(calc(100% - 48px), 1480px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  will-change: transform;
  transform-origin: center top;
}

.showcase-title {
  margin: 0 0 clamp(28px, 4vh, 44px) 0;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 6.8vw, 6.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* Inline Mascot inside the title text */
.mascot-embed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.16em;
  margin-inline: clamp(8px, 1.4vw, 22px);
  position: relative;
}

.inline-mascot {
  width: clamp(92px, 11vw, 175px);
  height: clamp(66px, 8vw, 126px);
  aspect-ratio: 178 / 130;
  display: inline-block;
  vertical-align: middle;
  overflow: visible;
  filter: drop-shadow(0 0 24px rgba(166, 255, 31, 0.42));
  transition: transform 280ms cubic-bezier(.2, .8, .2, 1), filter 280ms ease;
  cursor: pointer;
  transform-origin: center center;
}

.inline-mascot:hover {
  transform: scale(1.1) rotate(4deg);
  filter: drop-shadow(0 0 32px rgba(166, 255, 31, 0.7));
}

.mascot-pupil-group {
  transition: transform 60ms linear;
  transform-origin: center;
}

/* CTA Button */
.showcase-action {
  display: flex;
  justify-content: center;
}

.showcase-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  background-color: #1a1a1c;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--header-radius, 999px);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    transform 220ms cubic-bezier(.2, .8, .2, 1),
    box-shadow 220ms ease;
}

.showcase-cta:hover {
  background-color: var(--lime);
  color: #0c0c0e;
  border-color: var(--lime);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(166, 255, 31, 0.38);
}

.showcase-cta:active {
  transform: translateY(0) scale(0.98);
}

/* Controls Bar (Badge + Carousel Arrows) */
.showcase-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: clamp(36px, 5vh, 52px);
  margin-bottom: clamp(16px, 2.5vh, 28px);
  padding-inline: 8px;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #171719;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--header-radius, 999px);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #c8c7d8;
  user-select: none;
}

.showcase-badge .badge-icon {
  width: 17px;
  height: 17px;
  color: var(--lime);
}

.showcase-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #171719;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    transform 200ms cubic-bezier(.2, .8, .2, 1);
}

.showcase-arrow svg {
  width: 19px;
  height: 19px;
}

.showcase-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}

.showcase-arrow:active {
  transform: scale(0.94);
}

/* Responsive adjustments */
@media (max-width: 1000px) {
  .showcase-inner {
    width: calc(100% - 40px);
  }
}

@media (max-width: 640px) {
  .tools-showcase-section {
    margin-block: clamp(60px, 11vh, 96px) clamp(48px, 8vh, 72px);
  }

  .showcase-inner {
    width: calc(100% - 32px);
  }

  .showcase-title {
    font-size: clamp(2.2rem, 8.5vw, 3.2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
  }

  .inline-mascot {
    width: clamp(72px, 17vw, 104px);
    height: clamp(52px, 12.3vw, 75px);
  }

  .mascot-embed {
    margin-inline: clamp(4px, 1.2vw, 12px);
    vertical-align: -0.14em;
  }

  .showcase-bottom-bar {
    margin-top: 48px;
  }

  .showcase-badge {
    padding: 8px 14px;
    font-size: 13px;
  }

  .showcase-arrow {
    width: 38px;
    height: 38px;
  }

  .showcase-arrow svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 350px) {
  .showcase-inner {
    width: calc(100% - 24px);
  }

  .inline-mascot {
    width: 64px;
    height: 46px;
  }
}

/* ==========================================================================
   Raster Feature Cards Section (Clean Cartoonish Vector Art - NO GLOWS)
   ========================================================================== */

.raster-cards-wrapper {
  width: 100%;
  position: relative;
  overflow: visible;
  margin-top: clamp(12px, 2vh, 22px);
}

.raster-cards-track {
  width: 100%;
  display: flex;
  gap: clamp(24px, 2.2vw, 36px);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-block: 20px 56px;
  padding-left: max(24px, calc((100vw - 1480px) / 2 + 8px));
  padding-right: max(48px, calc((100vw - 1480px) / 2 + 8px));
}

.raster-cards-track::-webkit-scrollbar {
  display: none;
}

/* Base Card Styling - Crisp, Flat, Solid Vector Graphics (Zero Glows) */
.raster-card {
  flex: 0 0 clamp(420px, 28.5vw, 490px);
  height: clamp(620px, 72vh, 700px);
  border-radius: 36px;
  padding: clamp(36px, 3.8vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  user-select: none;
  cursor: grab;
  border: none;
  box-shadow: none; /* NO GLOW, NO HEAVY BOX SHADOWS */
  transition: translate 380ms cubic-bezier(0.2, 0.9, 0.2, 1), transform 380ms cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: transform, translate, rotate;
}

/* Tactile Haptic Micro-Wobble Keyframes (Gentle, silky smooth tactile sway) */
@keyframes hapticWobble1 {
  0%, 100% {
    rotate: 0deg;
    translate: 0px 0px;
  }
  25% {
    rotate: 0.65deg;
    translate: 1.5px -2.5px;
  }
  50% {
    rotate: -0.45deg;
    translate: -2px 1.8px;
  }
  75% {
    rotate: 0.35deg;
    translate: 1.2px -1.2px;
  }
}

@keyframes hapticWobble2 {
  0%, 100% {
    rotate: 0deg;
    translate: 0px 0px;
  }
  25% {
    rotate: -0.65deg;
    translate: -2px 2px;
  }
  50% {
    rotate: 0.5deg;
    translate: 1.8px -1.8px;
  }
  75% {
    rotate: -0.3deg;
    translate: -1px 1px;
  }
}

.raster-card:nth-child(odd) {
  animation: hapticWobble1 7.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.raster-card:nth-child(even) {
  animation: hapticWobble2 8.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.raster-card:hover {
  animation-play-state: paused;
  translate: 0 -8px;
}

.card-text-block {
  position: relative;
  z-index: 3;
}

.card-heading {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 2.25vw, 2.25rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-wrap: balance;
}

.card-heading-dark {
  color: #121024 !important;
}

/* Visual Container Area */
.card-visual {
  position: relative;
  width: 100%;
  height: clamp(350px, 45vh, 430px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

/* ==========================================================================
   Card 1: Swap & Snipe (Solid Lavender Cartoonish Background)
   ========================================================================== */

.card-swap {
  background: #8e7cf6; /* Solid vibrant cartoon lavender like Phantom! */
}

.card-swap .card-heading {
  color: #121024; /* Crisp dark heading on lavender */
}

.visual-swap {
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

/* Flat White 4-point Sparkles */
.swap-sparkle {
  position: absolute;
  color: #ffffff;
  fill: #ffffff;
  z-index: 4;
  pointer-events: none;
}

.sparkle-1 {
  top: 18px;
  right: 28px;
  width: 24px;
  height: 24px;
}

.sparkle-2 {
  top: 80px;
  left: 20px;
  width: 18px;
  height: 18px;
}

.sparkle-3 {
  bottom: 80px;
  right: 14px;
  width: 16px;
  height: 16px;
}

/* Flat Dark Phone Frame */
.swap-phone-frame {
  width: 100%;
  max-width: 320px;
  background: #14131a;
  border: 3px solid #23222d;
  border-bottom: none;
  border-radius: 32px 32px 0 0;
  padding: 18px 18px 26px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transform: translateY(8px);
}

.phone-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.phone-nav-icon,
.phone-menu-icon {
  color: #8a8898;
  font-size: 20px;
  font-weight: 600;
}

.phone-success-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: #23222d;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.pill-check-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22c55e; /* Crisp flat green */
  color: #ffffff;
  font-size: 11px;
}

.pill-check-icon svg {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
}

.phone-balance-block {
  text-align: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.balance-amount {
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.balance-amount .currency-symbol {
  font-size: 28px;
  font-weight: 500;
  vertical-align: 0.16em;
  margin-right: 2px;
  color: #9d9aa8;
}

.balance-sub {
  font-size: 13.5px;
  color: #9d9aa8;
  margin-top: 6px;
  font-weight: 500;
}

.phone-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.token-select-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: #23222d;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.token-sol-icon {
  color: var(--lime);
  font-weight: 700;
}

.token-dropdown-arrow {
  font-size: 9px;
  color: #8a8898;
}

.token-balance-text {
  font-size: 12px;
  color: #9d9aa8;
  font-weight: 500;
}

/* ==========================================================================
   Card 2: Trending & Alpha (Cartoon Vector Shapes)
   ========================================================================== */

.card-trending {
  background: #1e1e24; /* Solid dark charcoal like Phantom */
}

.visual-trending {
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* Cartoon Flat Shapes */
.cartoon-shapes-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cartoon-blob-blue {
  position: absolute;
  width: 140px;
  height: 80px;
  border-radius: 50px;
  background: #3b82f6;
  left: 20px;
  bottom: 60px;
  transform: rotate(-12deg);
}

.cartoon-cloud-white {
  position: absolute;
  width: 110px;
  height: 60px;
  border-radius: 40px;
  background: #ffffff;
  top: 30px;
  right: 32px;
}

.cartoon-petal-coral {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ff5757;
  top: 24px;
  left: 42px;
}

.trending-sparkle {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  color: #ffffff;
  fill: #ffffff;
  z-index: 3;
}

/* Center Lavender Squircle with Fomo Mascot */
.trending-cat-center {
  position: relative;
  z-index: 2;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  background: #8e7cf6; /* Lavender squircle like Phantom */
  border-radius: 34px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.trending-cat-svg {
  width: 86px;
  height: 64px;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #ffffff;
  color: #121215;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.floating-badge .badge-emoji {
  font-size: 16px;
}

.badge-traders {
  top: 14px;
  right: 12px;
  transform: rotate(4deg);
}

.badge-apps {
  left: 8px;
  bottom: 48px;
  transform: rotate(-5deg);
}

.badge-tokens {
  right: 14px;
  bottom: 12px;
  transform: rotate(3deg);
}

/* ==========================================================================
   Card 3: Prediction Markets (Light Stone Cartoon)
   ========================================================================== */

.card-prediction {
  background: #ededf3; /* Solid off-white stone like Phantom! */
}

.visual-prediction {
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* Tickets */
.pred-ticket {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  text-transform: lowercase;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.ticket-stub-notch {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #ededf3;
  border-radius: 50%;
  transform: translateY(-50%);
}

.notch-left {
  left: -6px;
}

.notch-right {
  right: -6px;
}

.ticket-yes {
  top: 24px;
  right: 28px;
  background: #22c55e; /* Crisp flat emerald */
  color: #053b17;
  transform: rotate(-7deg);
}

.ticket-no {
  top: 58px;
  left: 20px;
  background: #cfced8; /* Crisp flat light gray */
  color: #5d5b6e;
  transform: rotate(8deg);
}

.ticket-mini-yes {
  bottom: 24px;
  left: 24px;
  padding: 6px 14px;
  font-size: 13px;
  background: #22c55e;
  color: #053b17;
  transform: rotate(-40deg);
}

.ticket-mini-no {
  bottom: 90px;
  right: 24px;
  padding: 6px 14px;
  font-size: 12px;
  background: #cfced8;
  color: #5d5b6e;
  transform: rotate(18deg);
}

/* Purple Check Circle */
.pred-check-circle {
  position: absolute;
  top: 52px;
  left: 48%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #8e7cf6; /* Crisp flat purple */
  display: grid;
  place-items: center;
  z-index: 3;
}

.pred-check-circle svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
}

/* Payout Block */
.pred-payout-block {
  position: relative;
  z-index: 3;
  margin-top: 64px;
  text-align: center;
}

.payout-amount {
  font-family: var(--font-sans);
  font-size: 50px;
  font-weight: 800;
  color: #121215;
  line-height: 1;
  letter-spacing: -0.035em;
}

.payout-amount .dollar {
  font-size: 30px;
  font-weight: 500;
  vertical-align: 0.16em;
  margin-right: 2px;
  color: #5d5b6e;
}

.payout-label {
  font-size: 14px;
  font-weight: 600;
  color: #5d5b6e;
  margin-top: 6px;
}

/* ==========================================================================
   Card 4: 50x Perps & Leverage (Cartoon Green Wave)
   ========================================================================== */

.card-perps {
  background: #1e1e24; /* Solid dark charcoal like Phantom */
}

.visual-perps {
  position: relative;
  align-items: center;
  justify-content: center;
}

.perps-spline-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.perps-pnl-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #14131a;
  border: 1.5px solid #14F195;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #14F195;
  z-index: 3;
}

.perps-pnl-pill .pnl-arrow {
  font-size: 10px;
}

.perps-long-btn {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 34px;
  background: #14F195; /* Flat solid green like Phantom */
  color: #0c0c0e;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(20, 241, 149, 0.25);
  z-index: 3;
}

/* ==========================================================================
   Mobile Pinned Stacked Cards Interaction (<= 820px)
   ========================================================================== */

@media (max-width: 820px) {
  /* Hide desktop next/prev buttons on mobile */
  .showcase-controls {
    display: none !important;
  }

  .tools-showcase-section {
    margin-block: clamp(40px, 8vh, 60px) !important;
    overflow: visible;
  }

  .showcase-bottom-bar {
    margin-top: 20px;
    margin-bottom: 8px;
    justify-content: center;
  }

  .raster-cards-wrapper {
    width: min(calc(100% - 32px), 480px);
    margin-inline: auto;
    height: clamp(520px, 70vh, 620px);
    position: relative;
    overflow: hidden;
    margin-top: 8px;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .raster-cards-track {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    display: block !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .raster-card {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    flex: none !important;
    border-radius: 32px;
    padding: clamp(20px, 4.5vw, 28px);
    animation: none !important; /* Disable CSS wobble so it never fights vertical GSAP stack */
    transition: none !important; /* Kill CSS transition so it never fights GSAP scroll scrubbing */
    will-change: transform, opacity;
  }

  .raster-card:nth-child(1) {
    z-index: 1;
  }
  .raster-card:nth-child(2) {
    z-index: 2;
  }
  .raster-card:nth-child(3) {
    z-index: 3;
  }
  .raster-card:nth-child(4) {
    z-index: 4;
  }

  .card-heading {
    font-size: clamp(1.4rem, 5vw, 1.65rem);
  }

  .swap-phone-frame {
    max-width: 290px;
  }

  .balance-amount {
    font-size: 40px;
  }

  .money-showcase-section {
    margin-block: clamp(60px, 10vh, 90px) !important;
  }

  .move-bottom-bar {
    justify-content: center;
  }

  .visual-home,
  .visual-send,
  .visual-spend {
    height: clamp(300px, 42vh, 360px);
  }

  .home-balance-card {
    padding: 12px 18px;
    margin-bottom: 24px;
    max-width: 280px;
  }

  .home-balance-value {
    font-size: 20px;
  }

  .send-coin-wrap {
    width: 140px;
    height: 140px;
    right: 12px;
    bottom: 20px;
  }

  .send-action-pill {
    padding: 10px 14px;
    gap: 10px;
  }

  .pill-send {
    top: 24px;
    left: 12px;
  }

  .pill-receive {
    bottom: 36px;
    left: 12px;
  }

  .spend-debit-card {
    width: 230px;
    height: 145px;
    transform: rotate(14deg) translate(10px, 10px);
  }

  .faceid-tile {
    width: 44px;
    height: 44px;
    bottom: 16px;
    left: 20px;
  }
}

/* ==========================================================================
   Section 03: Spend, Send, & Stack (Move Money Showcase)
   ========================================================================== */

.money-showcase-section {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-inline: 0;
  margin-block: clamp(40px, 6vh, 80px) clamp(60px, 10vh, 120px);
}

.move-bottom-bar {
  justify-content: flex-start;
  margin-top: clamp(44px, 5.5vh, 64px);
}

/* ==========================================================================
   Section 02 Interactive Character Transitions & Hover Effects
   ========================================================================== */

.swap-phone-frame,
.pill-check-icon,
.swap-sparkle,
.trending-cat-center,
.floating-badge,
.cartoon-blob-blue,
.cartoon-cloud-white,
.cartoon-petal-coral,
.pred-ticket,
.pred-check-circle,
.payout-amount,
.perps-long-btn,
.perps-pnl-pill,
.perps-spline-svg {
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.35s ease;
  will-change: transform;
}

.card-swap:hover .swap-phone-frame {
  transform: translateY(-6px) scale(1.02);
}

.card-swap:hover .pill-check-icon {
  transform: scale(1.24) rotate(14deg);
}

.card-swap:hover .swap-sparkle {
  transform: scale(1.25) rotate(45deg);
}

.card-trending:hover .trending-cat-center {
  transform: scale(1.12) rotate(-6deg);
}

.card-trending:hover .badge-traders {
  transform: rotate(9deg) translateY(-8px) scale(1.08);
}

.card-trending:hover .badge-apps {
  transform: rotate(-9deg) translateY(6px) scale(1.08);
}

.card-trending:hover .badge-tokens {
  transform: rotate(7deg) translateY(-5px) scale(1.08);
}

.card-trending:hover .cartoon-blob-blue {
  transform: rotate(-18deg) scale(1.08);
}

.card-trending:hover .cartoon-cloud-white {
  transform: translateY(-6px) scale(1.06);
}

.card-trending:hover .cartoon-petal-coral {
  transform: scale(1.18) rotate(18deg);
}

.card-prediction:hover .ticket-yes {
  transform: rotate(-14deg) translateY(-8px) scale(1.1);
}

.card-prediction:hover .ticket-no {
  transform: rotate(15deg) translateY(6px) scale(1.08);
}

.card-prediction:hover .pred-check-circle {
  transform: translateX(-50%) scale(1.2) rotate(10deg);
}

.card-prediction:hover .ticket-mini-yes {
  transform: rotate(-48deg) translateY(-6px) scale(1.12);
}

.card-prediction:hover .ticket-mini-no {
  transform: rotate(26deg) translateY(6px) scale(1.1);
}

.card-prediction:hover .payout-amount {
  transform: scale(1.06);
}

.card-perps:hover .perps-long-btn {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 8px 24px rgba(20, 241, 149, 0.35);
}

.card-perps:hover .perps-pnl-pill {
  transform: scale(1.12) rotate(6deg);
}

.card-perps:hover .perps-spline-svg {
  transform: scaleY(1.08);
}

/* ==========================================================================
   Section 03 Cards Styling: Home, Send, & Spend
   ========================================================================== */

/* --- Card 1: One home for your bags (Blue Periwinkle) --- */
.card-home {
  background: #5078f2; /* Solid rich periwinkle blue like Phantom */
}

.visual-home {
  position: relative;
  width: 100%;
  height: clamp(340px, 44vh, 420px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

/* Cartoon Fluffy Cloud */
.cartoon-fluffy-cloud {
  position: absolute;
  width: 220px;
  height: 140px;
  top: 36px;
  left: 20px;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.cloud-puff {
  position: absolute;
  background: linear-gradient(180deg, #ffffff 0%, #d8e5fc 100%);
  border-radius: 50%;
}

.puff-1 {
  width: 90px;
  height: 90px;
  top: 15px;
  left: 10px;
}

.puff-2 {
  width: 110px;
  height: 110px;
  top: 0px;
  left: 60px;
}

.puff-3 {
  width: 88px;
  height: 88px;
  top: 25px;
  left: 125px;
}

.puff-4 {
  width: 160px;
  height: 52px;
  bottom: 12px;
  left: 26px;
  border-radius: 40px;
  background: #ffffff;
}

/* Frosted Glass Balance Pill */
.home-balance-card {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  padding: 16px 24px;
  margin-bottom: 44px;
  width: 90%;
  max-width: 320px;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1), background 0.35s ease;
}

.avatar-headphone {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.avatar-headphone svg {
  width: 100%;
  height: 100%;
  display: block;
}

.home-balance-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-balance-label {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
}

.home-balance-value {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
}

/* Floating 3D Cartoon Diamond / Gem */
.home-gem-wrap {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 4;
  width: 68px;
  height: 68px;
}

.home-gem-svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(15deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

/* Card 1 Hover Animations */
.card-home:hover .home-gem-svg {
  transform: rotate(32deg) translateY(-12px) scale(1.22);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.card-home:hover .cartoon-fluffy-cloud {
  transform: scale(1.08) translateY(-4px);
}

.card-home:hover .home-balance-card {
  transform: translateY(-6px) scale(1.03);
  background: rgba(255, 255, 255, 0.28);
}

.card-home:hover .avatar-headphone {
  transform: rotate(-12deg) scale(1.12);
}

/* --- Card 2: Send crypto in seconds (Deep Plum / Lime Coin) --- */
.card-send {
  background: #49366a; /* Deep plum / eggplant purple like Phantom */
}

.visual-send {
  position: relative;
  width: 100%;
  height: clamp(340px, 44vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Giant Lime Mascot Coin */
.send-coin-wrap {
  position: absolute;
  right: 18px;
  bottom: 24px;
  width: 180px;
  height: 180px;
  z-index: 2;
  transform: rotate(-10deg);
}

.send-coin-svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
}

/* Glass Action Pills: Send & Receive */
.send-action-pill {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 12px 20px;
  color: #ffffff;
  transition: transform 0.35s ease, background 0.35s ease;
}

.pill-send {
  top: 40px;
  left: 20px;
}

.pill-receive {
  bottom: 60px;
  left: 20px;
}

.pill-action-icon {
  font-size: 20px;
  font-weight: 700;
  color: var(--lime);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(166, 255, 31, 0.15);
}

.pill-action-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pill-main {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-sans);
}

.pill-sub {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
}

.send-sparkle {
  position: absolute;
  top: 24px;
  right: 48px;
  width: 22px;
  height: 22px;
  color: #FACC15;
  fill: #FACC15;
  z-index: 4;
  transition: transform 0.4s ease;
}

/* Card 2 Hover Animations */
.card-send:hover .send-coin-svg {
  transform: perspective(600px) rotateY(-24deg) rotateX(12deg) translateY(-10px) scale(1.12);
}

.card-send:hover .pill-send {
  transform: translateY(-8px) translateX(-4px) rotate(-3deg);
  background: rgba(255, 255, 255, 0.22);
}

.card-send:hover .pill-receive {
  transform: translateY(6px) translateX(4px) rotate(2deg);
  background: rgba(255, 255, 255, 0.22);
}

.card-send:hover .send-sparkle {
  transform: scale(1.35) rotate(45deg);
}

/* --- Card 3: Spend wherever Apple Pay / Google Pay / VISA is accepted (Sunset Rose) --- */
.card-spend {
  background: #e0607a; /* Sunset rose / coral like Phantom */
}

.visual-spend {
  position: relative;
  width: 100%;
  height: clamp(340px, 44vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Holographic Iridescent Debit Card */
.spend-debit-card {
  position: relative;
  width: 260px;
  height: 165px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(220, 240, 255, 0.82) 35%, rgba(255, 225, 245, 0.85) 70%, rgba(255, 255, 255, 0.95) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  overflow: hidden;
  transform: rotate(18deg) translate(20px, 20px);
  z-index: 2;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.card-holo-sheen {
  position: absolute;
  inset: -60%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.6) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.2, 1);
  pointer-events: none;
}

.card-chip {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 34px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e6b800, #ffe066);
  border: 1px solid #cca300;
}

.card-fomo-watermark {
  position: absolute;
  bottom: -10px;
  left: 10px;
  width: 90px;
  height: 65px;
  opacity: 0.15;
  pointer-events: none;
}

.card-visa-logo {
  position: absolute;
  bottom: 18px;
  right: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  color: #1a1a24;
}

.degen-pass-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(20, 20, 22, 0.65);
}

.degen-pass-handle {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #141416;
}

/* Floating Terminal Badges */
.payment-badge {
  position: absolute;
  z-index: 4;
  transition: transform 0.35s ease;
}

.badge-gpay,
.badge-dex {
  top: 36px;
  left: 24px;
  transform: rotate(-6deg);
}

.badge-applepay,
.badge-photon {
  top: 32px;
  right: 28px;
  transform: rotate(6deg);
}

.badge-socials {
  bottom: 24px;
  left: 28px;
  transform: rotate(-4deg);
}

.terminal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #141416;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  user-select: none;
}

.terminal-badge-pill.pill-photon {
  color: var(--lime);
  border-color: rgba(166, 255, 31, 0.4);
}

.terminal-badge-pill.pill-dex {
  color: #06b6d4;
  border-color: rgba(6, 182, 212, 0.4);
}

.terminal-badge-pill.pill-socials {
  color: #9b8afb;
  border-color: rgba(155, 138, 251, 0.4);
}

.payment-badge svg {
  width: 100%;
  height: 100%;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 14px;
}

/* FaceID Scan Squircle */
.faceid-tile {
  position: absolute;
  bottom: 22px;
  left: 36px;
  width: 52px;
  height: 52px;
  z-index: 4;
  transform: rotate(-10deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.faceid-tile svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Card 3 Hover Animations */
.card-spend:hover .spend-debit-card {
  transform: rotate(12deg) translate(14px, 8px) scale(1.06);
}

.card-spend:hover .card-holo-sheen {
  transform: translateX(180%);
}

.card-spend:hover .faceid-tile {
  transform: scale(1.16) rotate(-8deg);
  box-shadow: 0 8px 22px rgba(20, 241, 149, 0.35);
}

.card-spend:hover .badge-gpay {
  transform: translateY(-8px) rotate(-6deg) scale(1.08);
}

.card-spend:hover .badge-applepay {
  transform: translateY(8px) rotate(5deg) scale(1.08);
}

/* ==========================================================================
   Section 04: Your Security (Signature Lime Background)
   ========================================================================== */

.security-showcase-section {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--lime); /* Pure electric signature lime! */
  color: #121024;
  padding-top: clamp(64px, 8vh, 96px);
  padding-bottom: clamp(72px, 10vh, 110px);
  margin-block: clamp(80px, 11vh, 130px) 0;
  overflow-x: clip;
}

.security-inner {
  width: min(calc(100% - 48px), 1480px);
  margin-inline: auto;
  margin-bottom: clamp(28px, 3.8vh, 44px);
}

.security-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline: 8px;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: #141416; /* Bold dark pill against lime */
  color: #ffffff;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  user-select: none;
}

.security-badge .badge-icon {
  width: 18px;
  height: 18px;
  color: var(--lime);
}

.security-controls .showcase-arrow {
  background: #141416;
  color: #ffffff;
  border: none;
}

.security-controls .showcase-arrow:hover {
  background: #25242b;
  transform: scale(1.08);
}

/* ==========================================================================
   Section 04: Houses & On-Chain Identity (Clean Raster Vector Language)
   ========================================================================== */

/* --- Card 1: House Allegiance (House Chad, House Wojak, House Doge) --- */
.card-custody {
  background: #ffffff; /* Crisp white stone like Phantom */
}

.visual-custody {
  position: relative;
  width: 100%;
  height: clamp(340px, 44vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.custody-pebble-frame {
  position: relative;
  width: 290px;
  height: 270px;
  background: #141416;
  border-radius: 36px;
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
}

/* Organic Colorful Jelly Pebbles */
.pebble {
  position: absolute;
  border-radius: 999px;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.p-teal-1   { width: 52px; height: 32px; background: #06b6d4; top: 22px; left: 24px; transform: rotate(-25deg); }
.p-teal-2   { width: 44px; height: 26px; background: #06b6d4; bottom: 30px; right: 28px; transform: rotate(18deg); }
.p-pink-1   { width: 42px; height: 24px; background: #f43f5e; top: 38px; right: 34px; transform: rotate(35deg); }
.p-pink-2   { width: 48px; height: 28px; background: #f43f5e; bottom: 22px; left: 34px; transform: rotate(-15deg); }
.p-orange-1 { width: 36px; height: 22px; background: #f97316; top: 88px; left: 16px; transform: rotate(40deg); }
.p-orange-2 { width: 40px; height: 24px; background: #f97316; bottom: 84px; right: 18px; transform: rotate(-35deg); }
.p-yellow-1 { width: 38px; height: 22px; background: #eab308; top: 120px; right: 22px; transform: rotate(15deg); }
.p-blue-1   { width: 60px; height: 34px; background: #3b82f6; bottom: 42px; left: 88px; transform: rotate(-8deg); }
.p-white-1  { width: 32px; height: 18px; background: #f1f5f9; top: 32px; left: 96px; transform: rotate(10deg); }
.p-white-2  { width: 34px; height: 20px; background: #f1f5f9; bottom: 120px; left: 32px; transform: rotate(-22deg); }

/* Center House Crests Cluster */
.pebble-houses-cluster {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.house-token {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.token-avatar {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}

.token-chad .token-avatar {
  border: 2.5px solid #f59e0b;
  background: #1a1612;
}

.token-chad .chad-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.token-wojak .token-avatar {
  border: 2.5px solid #a78bfa;
  background: #171424;
}

.token-wojak .wojak-img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
}

.token-doge .token-avatar {
  border: 2.5px solid var(--lime);
  background: #fff9db;
}

.token-doge .doge-img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  display: block;
}

.token-doge.is-featured {
  transform: scale(1.12);
}

.token-sparkle {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  color: var(--lime);
  fill: var(--lime);
}

.token-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 999px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.token-chad .token-label { color: #f59e0b; border-color: rgba(245, 158, 11, 0.4); }
.token-wojak .token-label { color: #a78bfa; border-color: rgba(167, 139, 250, 0.4); }
.token-doge .token-label { color: var(--lime); border-color: var(--lime); }

/* Card 1 Hover Animations */
.card-custody:hover .custody-pebble-frame {
  transform: scale(1.03);
}

.card-custody:hover .token-chad {
  transform: translateY(-6px) rotate(-6deg);
}

.card-custody:hover .token-wojak {
  transform: translateY(-6px) rotate(6deg);
}

.card-custody:hover .token-doge {
  transform: scale(1.18) translateY(-4px);
}

.card-custody:hover .p-teal-1   { transform: rotate(-10deg) scale(1.15); }
.card-custody:hover .p-teal-2   { transform: rotate(30deg) scale(1.15); }
.card-custody:hover .p-pink-1   { transform: rotate(45deg) scale(1.18); }
.card-custody:hover .p-pink-2   { transform: rotate(-5deg) scale(1.18); }
.card-custody:hover .p-orange-1 { transform: rotate(20deg) scale(1.2); }
.card-custody:hover .p-orange-2 { transform: rotate(-20deg) scale(1.2); }

/* --- Card 2: Custom Chat Stickers, Badge Flexes, and Bio Flair --- */
.card-support {
  background: #fff4ba; /* Smooth butter yellow like Phantom */
}

.visual-support {
  position: relative;
  width: 100%;
  height: clamp(340px, 44vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.support-chat-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 310px;
}

.chat-bubble {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.bubble-help {
  align-self: flex-end;
  background: #8e7cf6;
  border-radius: 28px 28px 8px 28px;
}

.bubble-icon-mascot {
  width: 32px;
  height: 24px;
}

.bubble-icon-mascot svg {
  width: 100%;
  height: 100%;
}

.chat-response-row {
  display: flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
}

.support-agent-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.support-agent-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bubble-sure {
  background: #8e7cf6;
  border-radius: 28px 28px 28px 8px;
}

.bubble-check-badge {
  font-size: 14px;
  background: var(--lime);
  color: #141416;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-left: 4px;
}

/* Card 2 Hover Animations */
.card-support:hover .bubble-help {
  transform: translateY(-8px) scale(1.05);
}

.card-support:hover .bubble-sure {
  transform: translateY(-4px) scale(1.05);
}

.card-support:hover .support-agent-avatar {
  transform: rotate(-12deg) scale(1.15);
}

/* --- Card 3: Verified Badge Detection & Anti-Copycat --- */
.card-scam {
  background: #fedfd8; /* Soft blush peach like Phantom */
}

.visual-scam {
  position: relative;
  width: 100%;
  height: clamp(340px, 44vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.scam-modal-frame {
  width: 280px;
  background: #18171f;
  border: 2px solid #282733;
  border-radius: 26px;
  padding: 18px 16px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.scam-modal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #8a8898;
}

.scam-hazard-icon-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.scam-hazard-badge {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-radius: 16px;
  display: grid;
  place-items: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scam-hazard-badge svg {
  width: 28px;
  height: 28px;
}

.scam-modal-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.scam-modal-action {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.scam-modal-url {
  font-size: 12px;
  color: #ef4444;
  font-weight: 600;
  text-decoration: line-through;
}

.scam-alert-banner {
  background: #ef4444;
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  transition: transform 0.35s ease;
}

.scam-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #8a8898;
}

.scam-shield-pill {
  font-size: 10px;
  font-weight: 900;
  background: rgba(166, 255, 31, 0.18);
  color: var(--lime);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Card 3 Hover Animations */
.card-scam:hover .scam-modal-frame {
  transform: translateY(-8px) scale(1.02);
}

.card-scam:hover .scam-hazard-badge {
  transform: scale(1.22) rotate(-8deg);
}

.card-scam:hover .scam-alert-banner {
  transform: scale(1.04);
}

/* --- Card 4: Cold Vaults & Burner Wallets Conveyor Belt --- */
.card-hardware {
  background: #eeeaf8; /* Soft lavender stone */
}

.visual-hardware {
  position: relative;
  width: 100%;
  height: clamp(340px, 44vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hardware-conveyor-wrap {
  position: relative;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hardware-conveyor-belt {
  width: 260px;
  height: 24px;
  background: #252430;
  border-radius: 12px;
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 8px;
}

.conveyor-roller {
  width: 14px;
  height: 14px;
  background: #454452;
  border-radius: 50%;
}

.hardware-device-card {
  position: relative;
  width: 210px;
  height: 130px;
  background: #141416;
  border: 3px solid #282733;
  border-radius: 24px;
  padding: 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.hardware-screen {
  background: #0c0c0e;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hardware-mascot-circle {
  width: 32px;
  height: 24px;
}

.hardware-mascot-circle svg {
  width: 100%;
  height: 100%;
}

.hardware-status {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.hardware-button-dot {
  align-self: flex-end;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3b3a4a;
}

/* Card 4 Hover Animations */
.card-hardware:hover .hardware-device-card {
  transform: translateY(-10px) scale(1.05);
}

.card-hardware:hover .hardware-status {
  color: var(--lime);
}

/* Mobile Adjustments for Section 04 */
@media (max-width: 820px) {
  .security-showcase-section {
    padding-top: clamp(48px, 6vh, 64px);
    padding-bottom: clamp(56px, 8vh, 80px);
    margin-block: clamp(60px, 8vh, 90px) 0;
  }

  .security-top-bar {
    justify-content: center;
  }

  .security-controls {
    display: none !important;
  }

  .custody-pebble-frame {
    width: min(100%, 250px);
    max-width: 100%;
    height: 230px;
    box-sizing: border-box;
  }

  .pebble-houses-cluster {
    gap: 8px;
  }

  .token-avatar {
    width: 54px;
    height: 54px;
  }

  .support-chat-container {
    width: min(100%, 260px);
    max-width: 100%;
    box-sizing: border-box;
  }

  .chat-bubble {
    padding: 10px 16px;
    font-size: 15px;
  }

  .scam-modal-frame {
    width: min(100%, 250px);
    max-width: 100%;
    box-sizing: border-box;
  }

  .hardware-conveyor-wrap {
    width: min(100%, 250px);
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   Section 05: Launch App Grand CTA Banner (Lilac Lavender Theme)
   ========================================================================== */

.launch-cta-section {
  position: relative;
  z-index: 2;
  width: 100%;
  background: #9b8afb; /* Smooth lilac periwinkle like Phantom! */
  color: #121024;
  padding-block: clamp(100px, 15vh, 170px);
  text-align: center;
  overflow: hidden;
}

.launch-cta-inner {
  width: min(calc(100% - 48px), 1100px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-eyebrow {
  margin: 0 0 clamp(20px, 3vh, 32px) 0;
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  color: rgba(18, 16, 36, 0.72);
  line-height: 1.5;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.cta-headline {
  margin: 0 0 clamp(36px, 5vh, 52px) 0;
  font-family: var(--font-sans);
  font-size: clamp(3rem, 7.5vw, 6.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #121024;
  text-wrap: balance;
}

.cta-headline .mascot-embed {
  margin-inline: clamp(6px, 1.2vw, 16px);
}

.cta-action-wrap {
  display: flex;
  justify-content: center;
}

.cta-launch-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #121024;
  border-radius: 999px;
  padding: clamp(16px, 2.2vh, 20px) clamp(34px, 4vw, 48px);
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 250ms cubic-bezier(.2, .8, .2, 1), box-shadow 250ms ease, background-color 250ms ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cta-launch-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  background: #ffffff;
}

.cta-launch-btn:active {
  transform: translateY(0) scale(0.98);
}

.cta-btn-icon {
  width: 20px;
  height: 20px;
  color: #121024;
}

.cta-btn-arrow {
  font-size: 18px;
  transition: transform 200ms ease;
}

.cta-launch-btn:hover .cta-btn-arrow {
  transform: translate(3px, -3px);
}

/* Responsive adjustments for Section 05 Launch CTA Banner */
@media (max-width: 768px) {
  .launch-cta-section {
    padding-block: clamp(60px, 10vh, 90px);
  }
  .launch-cta-inner {
    width: min(calc(100% - 32px), 640px);
  }
  .cta-headline {
    font-size: clamp(1.85rem, 7.5vw, 2.85rem);
    line-height: 1.14;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 28px;
  }
  .cta-headline .mascot-embed {
    margin-inline: 6px;
    vertical-align: middle;
  }
  .cta-headline .inline-mascot {
    width: clamp(52px, 13vw, 76px);
    height: auto;
  }
}

@media (max-width: 480px) {
  .launch-cta-section {
    padding-block: 56px;
  }
  .launch-cta-inner {
    width: calc(100% - 24px);
  }
  .cta-eyebrow {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 20px;
  }
  .cta-headline {
    font-size: clamp(1.48rem, 6.8vw, 1.95rem);
    line-height: 1.18;
    word-break: break-word;
    overflow-wrap: anywhere;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
  }
  .cta-headline .mascot-embed {
    margin-inline: 4px;
    vertical-align: -0.08em;
  }
  .cta-headline .inline-mascot {
    width: 46px;
    height: auto;
  }
  .cta-launch-btn {
    padding: 13px 26px;
    font-size: 15px;
    gap: 8px;
  }
}

/* ==========================================================================
   Section 06: Site Footer (Clean Electric Lime Degen Terminal Theme)
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  background: var(--lime); /* Pure electric lime */
  color: #141416;
  border-top: 3px solid #141416;
  user-select: none;
  overflow: hidden;
}

.footer-inner {
  width: min(calc(100% - 48px), 1280px);
  margin-inline: auto;
  padding-block: clamp(48px, 6vh, 64px) clamp(28px, 3.5vh, 36px);
}

/* --- Top Row: Brand & Quick Links --- */
.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vh, 48px);
}

.footer-brand-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 360px;
}

.footer-brand-logo {
  display: inline-block;
  text-decoration: none;
  width: fit-content;
  transition: transform 200ms ease;
}

.footer-brand-logo:hover {
  transform: scale(1.03);
}

.footer-logo-svg {
  width: 180px;
  height: 38px;
  display: block;
}

/* Mascot Speech Bubble Card (Cool UI) */
.footer-brand-mascot-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #141416;
  border-radius: 22px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-mascot-frame {
  flex-shrink: 0;
  width: 52px;
  height: 42px;
  display: grid;
  place-items: center;
}

.footer-inline-mascot {
  width: 52px;
  height: 42px;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(.2, .9, .2, 1);
}

.footer-mascot-speech {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
  line-height: 1.35;
  font-style: italic;
}

.footer-tagline {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(20, 20, 22, 0.82);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.footer-social-pill {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #141416;
  color: var(--lime);
  text-decoration: none;
  transition: transform 200ms cubic-bezier(.2, .9, .2, 1), background-color 200ms ease, color 200ms ease;
}

.footer-social-pill:hover {
  transform: translateY(-3px) scale(1.08);
  background: #ffffff;
  color: #141416;
}

.footer-social-pill svg {
  width: 18px;
  height: 18px;
}

/* --- Clean Essential Links --- */
.footer-nav-side {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 96px;
}

.footer-group-heading {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #141416;
  margin-bottom: 2px;
}

.footer-link {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: rgba(20, 20, 22, 0.72);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
  width: fit-content;
}

.footer-link:hover {
  color: #141416;
  transform: translateX(3px);
}

/* Background Watermark Cartoon Mascot */
.footer-watermark-wrap {
  position: absolute;
  right: -50px;
  bottom: -40px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  transform: rotate(-10deg);
}

.footer-watermark-mascot {
  width: 440px;
  height: 350px;
}

/* --- Bottom Row --- */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 2px solid rgba(20, 20, 22, 0.14);
}

.footer-bottom-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(20, 20, 22, 0.72);
}

.footer-dot {
  color: rgba(20, 20, 22, 0.35);
}

.footer-motto {
  color: rgba(20, 20, 22, 0.85);
}

.footer-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: #141416;
  color: var(--lime);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  margin-left: 4px;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #141416;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(.2, .9, .2, 1), background-color 200ms ease;
}

.footer-back-to-top:hover {
  transform: translateY(-2px) scale(1.04);
  background: #232228;
}

.footer-back-to-top .back-arrow {
  color: var(--lime);
  font-size: 15px;
  transition: transform 200ms ease;
}

.footer-back-to-top:hover .back-arrow {
  transform: translateY(-2px);
}

/* --- Responsive Adjustments for Clean Footer --- */
@media (max-width: 768px) {
  .footer-inner {
    padding-block: 40px 24px;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
  }

  .footer-nav-side {
    gap: 32px 48px;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-back-to-top {
    width: 100%;
    justify-content: center;
  }

  .footer-watermark-wrap {
    display: none;
  }
}

