
    :root {
      --background: #0B0B0C;
      --background-soft: #111217;
      --surface: rgba(255, 255, 255, 0.055);
      --surface-hover: rgba(255, 255, 255, 0.09);
      --blue: #1D4ED8;
      --blue-bright: #3B82F6;
      --blue-soft: #60A5FA;
      --white: #FFFFFF;
      --gray: #94A3B8;
      --gray-light: #CBD5E1;
      --line: rgba(148, 163, 184, 0.16);
      --bronze: #C47A4A;
      --sand: #D6B98C;
      --radius: 24px;
      --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
      --max-width: 1180px;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      min-height: 100vh;
      overflow-x: hidden;
      background:
        radial-gradient(circle at 15% 10%, rgba(29, 78, 216, 0.18), transparent 28%),
        radial-gradient(circle at 80% 25%, rgba(59, 130, 246, 0.09), transparent 22%),
        var(--background);
      color: var(--white);
      font-family: Inter, Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.65;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: 0.16;
      background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 44px 44px;
      mask-image: linear-gradient(to bottom, black, transparent 85%);
      z-index: -1;
    }

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

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

    button {
      font: inherit;
    }

    .container {
      width: min(calc(100% - 40px), var(--max-width));
      margin-inline: auto;
    }

    .section {
      padding: 110px 0;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 18px;
      color: var(--blue-soft);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 28px;
      height: 1px;
      background: currentColor;
    }

    .section-title {
      max-width: 780px;
      font-size: clamp(2.2rem, 5vw, 4.7rem);
      line-height: 1.03;
      letter-spacing: -0.055em;
      margin-bottom: 22px;
    }

    .section-copy {
      max-width: 760px;
      color: var(--gray);
      font-size: 1.03rem;
    }

    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(11, 11, 12, 0.72);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    }

    .nav {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-weight: 900;
      letter-spacing: 0.08em;
    }

    .brand-mark {
      width: 38px;
      aspect-ratio: 1;
      border-radius: 50%;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.18);
      box-shadow: 0 0 24px rgba(59, 130, 246, 0.2);
    }

    .brand-mark img {
      height: 100%;
      object-fit: cover;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      color: var(--gray-light);
      font-size: 0.9rem;
      font-weight: 700;
    }

    .nav-links a {
      transition: color 0.2s ease;
    }

    .nav-links a:hover {
      color: var(--white);
    }

    .network-pill {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 10px 14px;
      border: 1px solid rgba(148,163,184,0.18);
      border-radius: 999px;
      color: var(--gray-light);
      background: rgba(255,255,255,0.03);
      font-size: 0.78rem;
      white-space: nowrap;
    }

    .network-pill::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #22C55E;
      box-shadow: 0 0 0 5px rgba(34,197,94,0.12);
    }

    .menu-button {
      display: none;
      border: 0;
      background: transparent;
      color: white;
      font-size: 1.65rem;
      cursor: pointer;
    }

    .hero {
      min-height: 100vh;
      display: grid;
      align-items: center;
      padding: 130px 0 80px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      align-items: center;
      gap: 76px;
    }

    .hero-kicker {
      display: inline-flex;
      gap: 8px;
      align-items: center;
      margin-bottom: 20px;
      color: var(--gray-light);
      font-size: 0.83rem;
      letter-spacing: 0.15em;
      font-weight: 800;
      text-transform: uppercase;
    }

    .hero-kicker span {
      color: var(--blue-soft);
    }

    h1 {
      font-size: clamp(4rem, 9vw, 8.4rem);
      line-height: 0.82;
      letter-spacing: -0.075em;
      margin-bottom: 28px;
    }

    h1 span {
      display: block;
      margin-top: 20px;
      color: var(--blue-soft);
      font-size: clamp(1.45rem, 3.2vw, 3rem);
      letter-spacing: -0.035em;
      line-height: 1.05;
    }

    .hero-copy {
      max-width: 620px;
      color: var(--gray);
      font-size: 1.05rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 34px;
    }

    .button {
      min-height: 54px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 0 22px;
      border-radius: 12px;
      border: 1px solid transparent;
      font-size: 0.86rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
      cursor: pointer;
    }

    .button:hover {
      transform: translateY(-2px);
    }

    .button-primary {
      background: linear-gradient(135deg, var(--blue), var(--blue-bright));
      box-shadow: 0 16px 42px rgba(29, 78, 216, 0.3);
    }

    .button-secondary {
      border-color: rgba(148,163,184,0.22);
      background: rgba(255,255,255,0.035);
      color: var(--gray-light);
    }

    .hero-art {
      position: relative;
      display: grid;
      place-items: center;
      min-height: 560px;
    }

    .hero-art::before,
    .hero-art::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
    }

    .hero-art::before {
      width: 520px;
      height: 520px;
      background: radial-gradient(circle, rgba(29,78,216,0.26), rgba(29,78,216,0.03) 55%, transparent 72%);
      filter: blur(2px);
    }

    .hero-art::after {
      width: 430px;
      height: 430px;
      border: 1px solid rgba(96,165,250,0.18);
      box-shadow:
        0 0 0 28px rgba(96,165,250,0.03),
        0 0 0 70px rgba(96,165,250,0.02);
    }

    .coin-frame {
      position: relative;
      width: min(100%, 470px);
      aspect-ratio: 1;
      border-radius: 50%;
      overflow: hidden;
      z-index: 2;
      box-shadow:
        0 45px 95px rgba(0,0,0,0.62),
        0 0 70px rgba(29,78,216,0.19);
      animation: floatCoin 6s ease-in-out infinite;
    }

    .coin-frame img {
      height: 100%;
      object-fit: cover;
    }

    @keyframes floatCoin {
      0%, 100% { transform: translateY(0) rotate(-1deg); }
      50% { transform: translateY(-16px) rotate(1deg); }
    }

    .floating-chip {
      position: absolute;
      z-index: 4;
      padding: 12px 15px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,0.13);
      background: rgba(13,15,21,0.82);
      backdrop-filter: blur(14px);
      color: var(--gray-light);
      box-shadow: var(--shadow);
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .chip-one {
      left: 0;
      top: 17%;
    }

    .chip-two {
      right: 0;
      bottom: 14%;
    }

    .story-card {
      margin-top: 70px;
      padding: 32px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background:
        linear-gradient(135deg, rgba(29,78,216,0.09), transparent 40%),
        var(--surface);
      color: var(--gray-light);
      box-shadow: var(--shadow);
    }

    .story-card strong {
      color: var(--white);
    }

    .forge-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
      margin-top: 55px;
    }

    .forge-card {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
    }

    .forge-card:hover {
      transform: translateY(-8px);
      border-color: rgba(96,165,250,0.34);
      background: var(--surface-hover);
    }

    .forge-image {
      position: relative;
      aspect-ratio: 1 / 1.05;
      overflow: hidden;
      background: #101116;
    }

    .forge-image::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(11,11,12,0.62), transparent 48%);
    }

    .forge-image img {
      height: 100%;
      object-fit: cover;
      transform: scale(1.02);
      transition: transform 0.45s ease;
    }

    .forge-card:hover .forge-image img {
      transform: scale(1.075);
    }

    .sand img {
      filter: sepia(0.64) saturate(0.72) brightness(1.08) contrast(0.9);
    }

    .bronze img {
      filter: sepia(0.78) saturate(1.18) hue-rotate(335deg) contrast(1.08);
    }

    .sapphire img {
      filter: sepia(0.08) saturate(1.35) hue-rotate(175deg) contrast(1.08) brightness(0.96);
    }

    .forge-content {
      padding: 25px;
    }

    .forge-number {
      color: var(--blue-soft);
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.14em;
    }

    .forge-content h3 {
      margin: 8px 0 12px;
      font-size: 1.2rem;
      letter-spacing: -0.025em;
    }

    .forge-content p {
      color: var(--gray);
      font-size: 0.92rem;
    }

    .utility-copy {
      margin-top: 46px;
      padding: 32px;
      border-left: 3px solid var(--blue);
      background: rgba(29,78,216,0.06);
      color: var(--gray-light);
    }

    .metrics-shell {
      margin-top: 52px;
      border-top: 1px solid var(--line);
    }

    .metric-row {
      display: grid;
      grid-template-columns: 130px 1fr auto;
      align-items: center;
      gap: 24px;
      padding: 25px 0;
      border-bottom: 1px solid var(--line);
    }

    .metric-percentage {
      color: var(--blue-soft);
      font-size: 1.18rem;
      font-weight: 900;
    }

    .metric-name {
      font-weight: 760;
      letter-spacing: -0.015em;
    }

    .metric-name small {
      display: block;
      margin-top: 3px;
      color: var(--gray);
      font-weight: 500;
    }

    .metric-value {
      color: var(--gray-light);
      font-weight: 850;
      text-align: right;
      white-space: nowrap;
    }

    .contract-box {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 18px;
      align-items: center;
      margin-top: 46px;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255,255,255,0.035);
    }

    .contract-label {
      color: var(--gray);
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .contract-address {
      margin-top: 6px;
      color: var(--gray-light);
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      overflow-wrap: anywhere;
    }

    .safety {
      padding-top: 0;
    }

    .safety-card {
      position: relative;
      overflow: hidden;
      padding: 54px;
      border: 1px solid rgba(96,165,250,0.2);
      border-radius: 30px;
      background:
        radial-gradient(circle at 85% 20%, rgba(29,78,216,0.24), transparent 35%),
        linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
      box-shadow: var(--shadow);
    }

    .safety-card h2 {
      max-width: 780px;
      font-size: clamp(2rem, 4.2vw, 4.2rem);
      line-height: 1.05;
      letter-spacing: -0.05em;
    }

    .safety-card p {
      max-width: 870px;
      margin-top: 22px;
      color: var(--gray-light);
    }

    .disclaimer {
      margin-top: 22px;
      color: var(--gray);
      font-size: 0.82rem;
    }

   footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: #0B0B0C;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copyright p {
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.7;
}

.footer-copyright a,
.footer-links a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover,
.footer-links a:hover {
    color: #60A5FA;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    font-weight: 500;
}

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }

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

    .toast {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 1200;
      padding: 13px 17px;
      border-radius: 12px;
      background: #FFFFFF;
      color: #111827;
      font-size: 0.86rem;
      font-weight: 800;
      box-shadow: var(--shadow);
      opacity: 0;
      transform: translateY(12px);
      pointer-events: none;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 930px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }

      .hero-copy {
        max-width: 760px;
      }

      .hero-art {
        min-height: 500px;
      }

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

      .forge-card {
        display: grid;
        grid-template-columns: minmax(280px, 0.8fr) 1fr;
      }

      .forge-image {
        aspect-ratio: auto;
        min-height: 340px;
      }

      .nav-links {
        position: fixed;
        top: 76px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: rgba(11,11,12,0.96);
        box-shadow: var(--shadow);
      }

      .nav-links.open {
        display: flex;
      }

      .nav-links a {
        padding: 13px 12px;
      }

      .network-pill {
        display: none;
      }

      .menu-button {
        display: block;
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(calc(100% - 28px), var(--max-width));
      }

      .section {
        padding: 80px 0;
      }

      .hero {
        padding-top: 115px;
      }

      h1 {
        font-size: clamp(3.2rem, 19vw, 5.2rem);
      }

      h1 span {
        font-size: 1.55rem;
      }

      .hero-art {
        min-height: 390px;
      }

      .hero-art::before {
        width: 360px;
        height: 360px;
      }

      .hero-art::after {
        width: 300px;
        height: 300px;
      }

      .coin-frame {
        width: min(100%, 330px);
      }

      .floating-chip {
        display: none;
      }

      .story-card,
      .utility-copy {
        padding: 24px;
      }

      .forge-card {
        display: block;
      }

      .forge-image {
        min-height: auto;
        aspect-ratio: 1;
      }

      .metric-row {
        grid-template-columns: 86px 1fr;
        gap: 14px;
      }

      .metric-value {
        grid-column: 2;
        text-align: left;
        white-space: normal;
      }

      .contract-box {
        grid-template-columns: 1fr;
      }

      .contract-box .button {
        width: 100%;
      }

      .safety-card {
        padding: 30px 24px;
      }

      .footer-grid {
        align-items: flex-start;
        flex-direction: column;
      }
    }

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

      .reveal {
        opacity: 1;
        transform: none;
      }
    }
  

    /* Updated animated hero section */
.hero {
      min-height: 100vh;
      display: grid;
      place-items: center;
      position: relative;
      isolation: isolate;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(4,10,8,.93) 0%, rgba(4,10,8,.72) 43%, rgba(4,10,8,.30) 100%),
        url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 72% 45%, rgba(59,130,246,.25), transparent 27%),
        linear-gradient(to top, rgba(3,8,6,.75), transparent 35%);
      z-index: -1;
    }
    .hero .hero-inner {
      width: min(1180px, calc(100% - 40px));
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      align-items: center;
      gap: 64px;
      padding: 90px 0 60px;
    }
    .hero .brand-line {
      color: #93c5fd;
      font-size: .8rem;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
      margin-bottom: 20px;
    }
    .hero h1 {
      font-size: clamp(4rem, 9vw, 8rem);
      line-height: .86;
      letter-spacing: -.075em;
    }
    .hero h1 span {
      display: block;
      margin-top: 22px;
      color: #60a5fa;
      font-size: clamp(1.5rem, 3vw, 2.8rem);
      line-height: 1.05;
      letter-spacing: -.035em;
    }
    .hero .copy {
      max-width: 620px;
      margin-top: 26px;
      color: #d4dde8;
      font-size: 1.05rem;
      line-height: 1.75;
    }
    .hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
    .hero .btn {
      min-height: 54px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 23px;
      border-radius: 12px;
      font-size: .86rem;
      font-weight: 900;
      letter-spacing: .08em;
      text-transform: uppercase;
      text-decoration: none;
      transition: transform .2s ease, background .2s ease;
    }
    .hero .btn:hover { transform: translateY(-2px); }
    .hero .primary { background: linear-gradient(135deg,#1d4ed8,#3b82f6); color:#fff; box-shadow:0 18px 45px rgba(29,78,216,.34); }
    .hero .secondary { color:#fff; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.08); backdrop-filter: blur(10px); }
    .hero .coin-stage {
      position: relative;
      min-height: 560px;
      display: grid;
      place-items: center;
      perspective: 1100px;
    }
    .hero .aura {
      position: absolute;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(59,130,246,.28), rgba(29,78,216,.08) 52%, transparent 72%);
      filter: blur(5px);
      animation: pulse 3.8s ease-in-out infinite;
    }
    .hero .coin-toss {
      position: relative;
      width: min(430px, 80vw);
      aspect-ratio: 1;
      transform-style: preserve-3d;
      animation: tossFlip 7s cubic-bezier(.45,.05,.3,1) infinite;
      z-index: 2;
    }
    .hero .coin-face {
      position: absolute;
      inset: 1.2%;
      border-radius: 50%;
      overflow: hidden;
      backface-visibility: hidden;
      background: #8a5035;
      border: 1px solid #9f623f;
      box-shadow: 0 35px 70px rgba(0,0,0,.5), 0 0 38px rgba(59,130,246,.18);
    }
    .hero .coin-face img {
      position: absolute;
      width: 106%;
      height: 106%;
      left: -3%;
      top: -3%;
      object-fit: cover;
      border-radius: 50%;
      transform: scale(1.015);
    }
    .hero .coin-back { transform: rotateY(180deg); }
    .hero .coin-edge {
      position: absolute;
      left: 50%; top: 4%;
      width: 18px; height: 92%;
      transform: translateX(-50%) rotateY(90deg);
      border-radius: 999px;
      background: linear-gradient(90deg,#5b2f20,#d69b6c,#6e3824);
      box-shadow: inset 0 0 8px rgba(255,255,255,.25);
    }
    .hero .shine {
      position:absolute; inset:-20%;
      border-radius:50%;
      background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.32) 47%, transparent 60%);
      transform: translateX(-70%);
      animation: shine 3.5s ease-in-out infinite;
      pointer-events:none;
      z-index:3;
    }
    .hero .shadow {
      position:absolute;
      bottom: 40px;
      width: 290px;
      height: 44px;
      border-radius:50%;
      background:rgba(0,0,0,.52);
      filter:blur(14px);
      animation: shadowMove 7s cubic-bezier(.45,.05,.3,1) infinite;
    }
    @keyframes tossFlip {
      0%, 10% { transform: translateY(55px) rotateX(0deg) rotateY(0deg); }
      45% { transform: translateY(-75px) rotateX(14deg) rotateY(900deg); }
      78% { transform: translateY(10px) rotateX(4deg) rotateY(1440deg); }
      88% { transform: translateY(55px) rotateX(0deg) rotateY(1440deg); }
      100% { transform: translateY(55px) rotateX(0deg) rotateY(1440deg); }
    }
    @keyframes shadowMove {
      0%,10%,88%,100% { transform:scale(1); opacity:.55; }
      45% { transform:scale(.55); opacity:.22; }
      78% { transform:scale(.85); opacity:.4; }
    }
    @keyframes pulse { 0%,100%{transform:scale(.95);opacity:.72} 50%{transform:scale(1.08);opacity:1} }
    @keyframes shine { 0%,20%{transform:translateX(-85%) rotate(8deg)} 60%,100%{transform:translateX(85%) rotate(8deg)} }
    @media (max-width: 900px) {
      .hero { background-position: 58% center; }
    .hero .hero .hero-inner { grid-template-columns:1fr; gap:28px; padding-top:70px; }
    .hero .hero .coin-stage { min-height:430px; }
    .hero .hero .aura { width:360px; height:360px; }
    }
    @media (max-width: 600px) {
      .hero {
        background:
          linear-gradient(rgba(4,10,8,.82), rgba(4,10,8,.72)),
          url('../assets/images/hero-bg.jpg') 58% center/cover no-repeat;
      }
    .hero .hero .hero-inner { width:min(100% - 28px,1180px); padding:55px 0 40px; }
    .hero .hero h1 { font-size:clamp(3.25rem,18vw,5rem); }
    .hero .hero h1 span { font-size:1.5rem; }
    .hero .hero .coin-stage { min-height:360px; }
    .hero .hero .coin-toss { width:min(310px,82vw); }
    .hero .hero .shadow { width:210px; bottom:30px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero .coin-toss, .hero .shadow, .hero .aura, .hero .shine { animation:none; }
    .hero .hero .coin-toss { transform:translateY(15px); }
    }
  

    /* =========================================
       ARCHITECTURE METRICS — 20T STANDARD
    ========================================= */
    .architecture-metrics {
      position: relative;
      overflow: hidden;
      padding: 110px 0;
      background:
        radial-gradient(circle at 8% 12%, rgba(29, 78, 216, 0.20), transparent 30%),
        radial-gradient(circle at 92% 72%, rgba(96, 165, 250, 0.09), transparent 28%),
        linear-gradient(180deg, rgba(11, 11, 12, 0), rgba(17, 18, 23, 0.68), rgba(11, 11, 12, 0));
    }

    .architecture-metrics::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.24;
      background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 44px 44px;
      mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
    }

    .architecture-metrics .container {
      position: relative;
      z-index: 2;
    }

    .architecture-heading {
      max-width: 900px;
    }

    .architecture-title {
      max-width: 900px;
      margin-bottom: 24px;
      color: var(--white);
      font-size: clamp(2.7rem, 6vw, 5.7rem);
      line-height: 0.96;
      letter-spacing: -0.065em;
      text-transform: uppercase;
    }

    .architecture-title span {
      display: block;
      margin-top: 10px;
      color: var(--blue-soft);
    }

    .architecture-description {
      max-width: 780px;
      color: var(--gray);
      font-size: 1.03rem;
      line-height: 1.8;
    }

    .metrics-overview {
      margin-top: 55px;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 22px;
    }

    .metrics-overview-card {
      position: relative;
      min-height: 245px;
      overflow: hidden;
      padding: 36px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018));
      box-shadow: var(--shadow);
    }

    .metrics-overview-card::before {
      content: "";
      position: absolute;
      right: -70px;
      bottom: -90px;
      width: 230px;
      height: 230px;
      border-radius: 50%;
      background: rgba(59, 130, 246, 0.18);
      filter: blur(25px);
    }

    .metrics-overview-card.forge-overview::before {
      background: rgba(96, 165, 250, 0.16);
    }

    .overview-label {
      position: relative;
      z-index: 2;
      color: var(--blue-soft);
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .overview-value {
      position: relative;
      z-index: 2;
      margin-top: 18px;
      color: var(--white);
      font-size: clamp(3rem, 6vw, 5.4rem);
      font-weight: 900;
      line-height: 0.92;
      letter-spacing: -0.065em;
    }

    .overview-value span {
      display: block;
      margin-top: 14px;
      color: var(--gray-light);
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0;
    }

    .overview-copy {
      position: relative;
      z-index: 2;
      max-width: 530px;
      margin-top: 21px;
      color: var(--gray);
      line-height: 1.75;
    }

    .architecture-grid {
      margin-top: 25px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .architecture-card {
      position: relative;
      min-width: 0;
      overflow: hidden;
      padding: 29px;
      border: 1px solid var(--line);
      border-radius: 21px;
      background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.016));
      transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    }

    .architecture-card::after {
      content: "";
      position: absolute;
      top: 0;
      right: 28px;
      left: 28px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(96,165,250,0.62), transparent);
    }

    .architecture-card:hover {
      transform: translateY(-7px);
      border-color: rgba(96,165,250,0.4);
      background: linear-gradient(145deg, rgba(29,78,216,0.11), rgba(255,255,255,0.022));
      box-shadow: 0 26px 65px rgba(0,0,0,0.3);
    }

    .architecture-card.featured {
      grid-column: span 2;
      display: grid;
      grid-template-columns: 150px minmax(0, 1fr) auto;
      align-items: center;
      gap: 28px;
      padding: 35px;
      border-color: rgba(96,165,250,0.3);
      background:
        radial-gradient(circle at 92% 18%, rgba(29,78,216,0.18), transparent 33%),
        linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02));
    }

    .architecture-metrics .metric-percent {
      color: var(--blue-soft);
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 900;
      line-height: 1;
      letter-spacing: -0.055em;
    }

    .architecture-metrics .metric-details h3 {
      margin-bottom: 9px;
      color: var(--white);
      font-size: 1.15rem;
      line-height: 1.3;
    }

    .architecture-metrics .metric-details p {
      color: var(--gray);
      font-size: 0.9rem;
      line-height: 1.7;
    }

    .architecture-metrics .metric-amount {
      color: var(--gray-light);
      font-size: 1rem;
      font-weight: 850;
      text-align: right;
      white-space: nowrap;
    }

    .architecture-metrics .metric-amount small {
      display: block;
      margin-top: 7px;
      color: var(--gray);
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      white-space: normal;
    }

    .architecture-metrics .metric-bar {
      height: 5px;
      margin-top: 22px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(255,255,255,0.065);
    }

    .architecture-metrics .metric-bar span {
      display: block;
      width: var(--bar-width);
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--blue), var(--blue-soft));
      box-shadow: 0 0 18px rgba(59,130,246,0.45);
    }

    .architecture-card:not(.featured) .metric-amount {
      margin-top: 18px;
      text-align: left;
    }

    .architecture-note {
      margin-top: 26px;
      padding: 29px 31px;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: flex-start;
      gap: 19px;
      border: 1px solid rgba(96,165,250,0.22);
      border-radius: 19px;
      background: linear-gradient(135deg, rgba(29,78,216,0.11), rgba(29,78,216,0.035));
    }

    .architecture-note-icon {
      width: 47px;
      height: 47px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(96,165,250,0.32);
      border-radius: 14px;
      background: rgba(59,130,246,0.13);
      color: var(--blue-soft);
      font-size: 1.25rem;
      font-weight: 900;
    }

    .architecture-note strong {
      display: block;
      margin-bottom: 7px;
      color: var(--white);
      font-size: 1rem;
    }

    .architecture-note p {
      color: var(--gray);
      line-height: 1.72;
    }

    @media (max-width: 900px) {
      .metrics-overview { grid-template-columns: 1fr; }
      .architecture-card.featured { grid-template-columns: 115px minmax(0, 1fr); }
      .architecture-card.featured .metric-amount { grid-column: 2; text-align: left; }
    }

    @media (max-width: 680px) {
      .architecture-metrics { padding: 85px 0; }
      .architecture-title { font-size: clamp(2.4rem, 13vw, 4rem); }
      .metrics-overview-card { min-height: auto; padding: 28px 24px; }
      .architecture-grid { grid-template-columns: 1fr; }
      .architecture-card { padding: 25px; }
      .architecture-card.featured { grid-column: span 1; display: block; padding: 27px; }
      .architecture-card.featured .metric-details { margin-top: 17px; }
      .architecture-card.featured .metric-amount { margin-top: 18px; text-align: left; }
      .architecture-note { grid-template-columns: 1fr; padding: 24px; }
    }

  


    /* Clickable 3D Evolution Mechanics */
    .evolution-mechanics {
      position: relative;
      overflow: hidden;
      padding: 105px 0;
      background:
        radial-gradient(circle at 50% 0%, rgba(29, 78, 216, 0.20), transparent 34%),
        radial-gradient(circle at 8% 68%, rgba(96, 165, 250, 0.08), transparent 27%),
        linear-gradient(180deg, #0b0b0c 0%, #0c1420 50%, #0b0b0c 100%);
    }

    .evolution-mechanics::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.20;
      background-image:
        linear-gradient(rgba(96, 165, 250, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.05) 1px, transparent 1px);
      background-size: 44px 44px;
      mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
    }

    .evolution-mechanics .container {
      position: relative;
      z-index: 2;
    }

    .evolution-mechanics-heading {
      max-width: 900px;
      margin-bottom: 52px;
    }

    .evolution-mechanics-title {
      margin-bottom: 20px;
      font-size: clamp(2.55rem, 5.5vw, 5.2rem);
      line-height: 0.96;
      letter-spacing: -0.06em;
      text-transform: uppercase;
    }

    .evolution-mechanics-title span {
      display: block;
      margin-top: 9px;
      color: var(--blue-soft);
    }

    .evolution-mechanics-copy {
      max-width: 760px;
      color: var(--gray);
      font-size: 1.02rem;
      line-height: 1.78;
    }

    .evolution-card-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
      align-items: stretch;
    }

    .evolution-select-card {
      position: relative;
      min-width: 0;
      min-height: 100%;
      padding: 25px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      color: var(--white);
      text-align: left;
      border: 1px solid rgba(96, 165, 250, 0.24);
      border-radius: 24px;
      background:
        radial-gradient(circle at 50% 24%, rgba(59, 130, 246, 0.13), transparent 32%),
        linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.018));
      box-shadow: 0 25px 65px rgba(0,0,0,0.30);
      cursor: pointer;
      appearance: none;
      transition: transform .32s ease, border-color .32s ease, background .32s ease, box-shadow .32s ease;
    }

    .evolution-select-card::before {
      content: "";
      position: absolute;
      top: 0;
      right: 25px;
      left: 25px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(96,165,250,.75), transparent);
    }

    .evolution-select-card:hover,
    .evolution-select-card:focus-visible {
      transform: translateY(-8px);
      border-color: rgba(96,165,250,.65);
      box-shadow: 0 35px 85px rgba(0,0,0,.44), 0 0 35px rgba(29,78,216,.15);
      outline: none;
    }

    .evolution-select-card.is-selected {
      transform: translateY(-9px);
      border-color: var(--blue-soft);
      background:
        radial-gradient(circle at 50% 24%, rgba(59,130,246,.25), transparent 35%),
        linear-gradient(145deg, rgba(29,78,216,.17), rgba(255,255,255,.025));
      box-shadow: 0 36px 90px rgba(0,0,0,.48), 0 0 0 1px rgba(96,165,250,.16), 0 0 48px rgba(29,78,216,.20);
    }

    .evolution-selected-label {
      position: absolute;
      top: 17px;
      right: 17px;
      z-index: 8;
      padding: 7px 10px;
      border: 1px solid rgba(96,165,250,.30);
      border-radius: 999px;
      background: rgba(8,17,29,.80);
      color: var(--blue-soft);
      font-size: .64rem;
      font-weight: 900;
      letter-spacing: .11em;
      text-transform: uppercase;
      opacity: 0;
      transform: translateY(-5px);
      transition: opacity .25s ease, transform .25s ease;
    }

    .evolution-select-card.is-selected .evolution-selected-label {
      opacity: 1;
      transform: translateY(0);
    }

    .archetype-number {
      color: var(--blue-soft);
      font-size: .72rem;
      font-weight: 900;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .archetype-title {
      margin-top: 9px;
      min-height: 76px;
      font-size: clamp(1.32rem, 2vw, 1.82rem);
      line-height: 1.08;
      letter-spacing: -.035em;
    }

    .archetype-title span {
      display: block;
      margin-top: 6px;
      color: var(--gray-light);
      font-size: .78em;
      font-weight: 650;
    }

    .evolution-coin-stage {
      position: relative;
      min-height: 285px;
      margin: 20px 0 24px;
      display: grid;
      place-items: center;
      perspective: 1100px;
    }

    .evolution-coin-stage::before {
      content: "";
      position: absolute;
      width: 232px;
      height: 232px;
      border: 1px solid rgba(96,165,250,.25);
      border-radius: 50%;
      box-shadow: 0 0 0 22px rgba(96,165,250,.025), 0 0 55px rgba(59,130,246,.17);
    }

    .stage-sand .evolution-coin-stage::before {
      border-color: rgba(214,185,140,.28);
      box-shadow: 0 0 0 22px rgba(214,185,140,.025), 0 0 50px rgba(214,185,140,.13);
    }

    .stage-bronze .evolution-coin-stage::before {
      border-color: rgba(196,122,74,.34);
      box-shadow: 0 0 0 22px rgba(196,122,74,.028), 0 0 55px rgba(196,122,74,.16);
    }

    .evolution-coin-3d {
      position: relative;
      z-index: 3;
      width: min(82%, 235px);
      aspect-ratio: 1;
      transform-style: preserve-3d;
      animation: evolutionCoinSpin 7.2s linear infinite;
    }

    .evolution-select-card.is-selected .evolution-coin-3d {
      animation-duration: 4.2s;
    }

    .evolution-select-card:hover .evolution-coin-3d {
      animation-duration: 3.6s;
    }

    .evolution-coin-face {
      position: absolute;
      inset: 0;
      overflow: hidden;
      border-radius: 50%;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      box-shadow: 0 30px 42px rgba(0,0,0,.50), inset 0 0 0 2px rgba(255,255,255,.14);
    }

    .evolution-coin-face.back {
      transform: rotateY(180deg);
    }

    .evolution-coin-face img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .stage-sand .evolution-coin-face img {
      filter: sepia(.72) saturate(.62) brightness(1.06) contrast(.93);
    }

    .stage-bronze .evolution-coin-face img {
      filter: sepia(.82) saturate(1.28) hue-rotate(335deg) contrast(1.08) brightness(.88);
    }

    .stage-sapphire .evolution-coin-face img {
      filter: saturate(1.55) hue-rotate(8deg) contrast(1.10) brightness(1.02);
    }

    .evolution-coin-edge {
      position: absolute;
      inset: 3%;
      z-index: -1;
      border-radius: 50%;
      transform: translateZ(-8px);
      background: linear-gradient(90deg, #172033, #9dc9ff 40%, #182238 62%, #07101f);
      box-shadow: 0 0 20px rgba(96,165,250,.28);
    }

    .stage-sand .evolution-coin-edge {
      background: linear-gradient(90deg, #554530, #d9c39b 42%, #6b5637 64%, #302619);
    }

    .stage-bronze .evolution-coin-edge {
      background: linear-gradient(90deg, #4c2417, #d38c5c 42%, #6c321e 64%, #28130d);
    }

    @keyframes evolutionCoinSpin {
      0% { transform: rotateX(-8deg) rotateY(0deg) translateY(0); }
      25% { transform: rotateX(4deg) rotateY(90deg) translateY(-7px); }
      50% { transform: rotateX(8deg) rotateY(180deg) translateY(0); }
      75% { transform: rotateX(-3deg) rotateY(270deg) translateY(-7px); }
      100% { transform: rotateX(-8deg) rotateY(360deg) translateY(0); }
    }

    .evolution-command {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      margin-bottom: 16px;
      padding: 7px 11px;
      border: 1px solid rgba(96,165,250,.24);
      border-radius: 999px;
      background: rgba(29,78,216,.09);
      color: var(--blue-soft);
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      font-size: .76rem;
      font-weight: 850;
    }

    .evolution-points {
      margin: 0;
      padding: 0;
      display: grid;
      gap: 11px;
      list-style: none;
      color: var(--gray);
      font-size: .9rem;
      line-height: 1.55;
    }

    .evolution-points li {
      position: relative;
      padding-left: 18px;
    }

    .evolution-points li::before {
      content: "";
      position: absolute;
      top: .62em;
      left: 0;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--blue-soft);
      box-shadow: 0 0 12px rgba(96,165,250,.55);
    }

    .evolution-stage-footer {
      margin-top: auto;
      padding-top: 22px;
    }

    .evolution-stage-stat {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding-top: 15px;
      border-top: 1px solid rgba(148,163,184,.14);
      color: var(--gray);
      font-size: .76rem;
      font-weight: 750;
    }

    .evolution-stage-stat strong {
      color: var(--gray-light);
      text-align: right;
    }

    .evolution-selection-panel {
      margin-top: 24px;
      padding: 24px 27px;
      display: grid;
      grid-template-columns: auto minmax(0,1fr) auto;
      align-items: center;
      gap: 18px;
      border: 1px solid rgba(96,165,250,.25);
      border-radius: 19px;
      background: linear-gradient(135deg, rgba(29,78,216,.12), rgba(255,255,255,.025));
    }

    .selection-index {
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(96,165,250,.34);
      border-radius: 14px;
      background: rgba(59,130,246,.13);
      color: var(--blue-soft);
      font-weight: 900;
    }

    .selection-copy strong {
      display: block;
      margin-bottom: 4px;
      color: var(--white);
    }

    .selection-copy span {
      color: var(--gray);
      font-size: .88rem;
    }

    .selection-status {
      color: var(--blue-soft);
      font-size: .72rem;
      font-weight: 900;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    @media (max-width: 980px) {
      .evolution-card-grid { grid-template-columns: 1fr; }
      .evolution-select-card { display: grid; grid-template-columns: minmax(240px,.8fr) 1fr; column-gap: 28px; }
      .evolution-select-card > .archetype-number,
      .evolution-select-card > .archetype-title,
      .evolution-select-card > .evolution-selected-label { grid-column: 1 / -1; }
      .evolution-coin-stage { grid-column: 1; grid-row: 3 / span 4; }
      .evolution-command,
      .evolution-points,
      .evolution-stage-footer { grid-column: 2; }
    }

    @media (max-width: 680px) {
      .evolution-mechanics { padding: 82px 0; }
      .evolution-card-grid { gap: 17px; }
      .evolution-select-card { display: flex; padding: 23px; }
      .evolution-coin-stage { min-height: 255px; }
      .evolution-selection-panel { grid-template-columns: auto 1fr; padding: 21px; }
      .selection-status { grid-column: 2; }
    }

    @media (prefers-reduced-motion: reduce) {
      .evolution-coin-3d { animation: none; transform: rotateY(18deg); }
    }

  
/* =========================================
   OTTER ARTWORK MOTION
   Subtle image rotation and floating effect
========================================= */

.otter-art-stage {
  position: relative;
  min-height: 360px;
  margin: 24px 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  perspective: 1100px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 48%, rgba(59,130,246,.18), transparent 55%),
    linear-gradient(180deg, rgba(10,28,45,.78), rgba(5,13,24,.96));
}

.otter-art-stage::before,
.otter-art-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.otter-art-stage::before {
  width: 255px;
  height: 255px;
  border: 1px solid rgba(96,165,250,.22);
  box-shadow:
    0 0 0 26px rgba(96,165,250,.025),
    0 0 55px rgba(59,130,246,.16);
}

.otter-art-stage::after {
  bottom: 34px;
  width: 62%;
  height: 26px;
  background: rgba(0,0,0,.46);
  filter: blur(14px);
  transform: rotateX(76deg);
}

.otter-art-glow {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,.2), transparent 68%);
  filter: blur(10px);
  animation: otterGlow 4s ease-in-out infinite;
}

.otter-art-frame {
  position: relative;
  z-index: 2;
  width: min(88%, 290px);
  height: 320px;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  animation: otterFloatTilt 5.8s ease-in-out infinite;
  transition: transform .4s ease, filter .4s ease;
}

.otter-art-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  clip-path: polygon(7% 0, 93% 0, 100% 7%, 100% 93%, 93% 100%, 7% 100%, 0 93%, 0 7%);
  filter:
    drop-shadow(0 30px 24px rgba(0,0,0,.55))
    saturate(1.06)
    contrast(1.04);
  box-shadow:
    0 0 0 1px rgba(96,165,250,.2),
    inset 0 0 28px rgba(96,165,250,.08);
}

.evolution-select-card:hover .otter-art-frame {
  animation-duration: 3.8s;
  filter: brightness(1.06);
}

.evolution-select-card.is-selected .otter-art-frame {
  animation-duration: 4.4s;
}

.stage-sand .otter-art-stage {
  background:
    radial-gradient(circle at 50% 48%, rgba(205,226,239,.16), transparent 55%),
    linear-gradient(180deg, rgba(16,29,42,.86), rgba(6,14,23,.98));
}

.stage-bronze .otter-art-stage {
  background:
    radial-gradient(circle at 50% 48%, rgba(196,122,74,.17), transparent 55%),
    linear-gradient(180deg, rgba(36,22,17,.9), rgba(12,8,7,.98));
}

.stage-sapphire .otter-art-stage {
  background:
    radial-gradient(circle at 50% 48%, rgba(37,99,235,.25), transparent 55%),
    linear-gradient(180deg, rgba(8,22,58,.92), rgba(3,8,26,.99));
}

.stage-sand .otter-art-image {
  filter:
    drop-shadow(0 30px 24px rgba(0,0,0,.55))
    brightness(1.06)
    saturate(.92)
    contrast(1.05);
}

.stage-bronze .otter-art-image {
  filter:
    drop-shadow(0 30px 24px rgba(0,0,0,.55))
    saturate(1.12)
    contrast(1.08);
}

.stage-sapphire .otter-art-image {
  filter:
    drop-shadow(0 30px 26px rgba(0,0,0,.58))
    saturate(1.22)
    contrast(1.09)
    brightness(1.04);
}

@keyframes otterFloatTilt {
  0%, 100% {
    transform: translateY(4px) rotateX(1deg) rotateY(-7deg) rotateZ(-.4deg);
  }
  25% {
    transform: translateY(-8px) rotateX(-1deg) rotateY(-2deg) rotateZ(.3deg);
  }
  50% {
    transform: translateY(-13px) rotateX(1deg) rotateY(7deg) rotateZ(.5deg);
  }
  75% {
    transform: translateY(-6px) rotateX(-1deg) rotateY(2deg) rotateZ(-.2deg);
  }
}

@keyframes otterGlow {
  0%, 100% { opacity: .58; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 930px) {
  .otter-art-stage {
    min-height: 340px;
  }

  .otter-art-frame {
    width: min(86%, 270px);
    height: 300px;
  }
}

@media (max-width: 640px) {
  .otter-art-stage {
    min-height: 315px;
  }

  .otter-art-frame {
    width: min(84%, 245px);
    height: 278px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .otter-art-frame,
  .otter-art-glow {
    animation: none !important;
  }

  .otter-art-frame {
    transform: rotateY(-4deg);
  }
}

/* =========================================
   TRANSPARENT OTTER STATUE STAGES
   Cards and text remain HTML; only otters are images.
========================================= */

.transparent-otter-stage {
  position: relative;
  min-height: 365px;
  margin: 24px 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  perspective: 1000px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 62%, rgba(59,130,246,.20), transparent 46%),
    linear-gradient(180deg, rgba(10,27,44,.46), rgba(5,13,24,.08));
}

.transparent-otter-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 26px;
  width: 68%;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,.52);
  filter: blur(15px);
  transform: rotateX(72deg);
}

.transparent-otter-ring {
  position: absolute;
  z-index: 0;
  width: 252px;
  height: 252px;
  border: 1px solid rgba(96,165,250,.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(96,165,250,.028),
    0 0 0 54px rgba(96,165,250,.014),
    0 0 58px rgba(59,130,246,.22);
  animation: transparentRingPulse 4.8s ease-in-out infinite;
}

.transparent-otter-ring::before,
.transparent-otter-ring::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(96,165,250,.26);
  border-radius: inherit;
  animation: transparentRingSpin 18s linear infinite;
}

.transparent-otter-ring::after {
  inset: 43px;
  border-style: solid;
  opacity: .45;
  animation-direction: reverse;
  animation-duration: 13s;
}

.transparent-otter-particles {
  position: absolute;
  inset: 18% 8% 14%;
  z-index: 1;
  pointer-events: none;
  opacity: .72;
  background-image:
    radial-gradient(circle, rgba(96,165,250,.95) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(59,130,246,.75) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(255,255,255,.55) 0 1px, transparent 2px);
  background-size: 82px 76px, 113px 97px, 71px 109px;
  background-position: 0 0, 26px 18px, 52px 42px;
  animation: transparentParticles 7s linear infinite;
  mask-image: radial-gradient(circle, black 25%, transparent 74%);
}

.transparent-otter-image {
  position: relative;
  z-index: 3;
  width: min(92%, 310px);
  height: 335px;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: 50% 74%;
  filter:
    drop-shadow(0 28px 22px rgba(0,0,0,.54))
    drop-shadow(0 0 20px rgba(59,130,246,.20));
  animation: transparentOtterFloat 5.2s ease-in-out infinite;
  transition: filter .35s ease;
}

.evolution-select-card:hover .transparent-otter-image {
  animation-duration: 3.8s;
  filter:
    drop-shadow(0 32px 25px rgba(0,0,0,.58))
    drop-shadow(0 0 30px rgba(96,165,250,.36))
    brightness(1.05);
}

.evolution-select-card.is-selected .transparent-otter-stage {
  background:
    radial-gradient(circle at 50% 62%, rgba(59,130,246,.29), transparent 47%),
    linear-gradient(180deg, rgba(12,34,58,.66), rgba(5,13,24,.08));
}

.stage-sand .transparent-otter-ring {
  border-color: rgba(207,229,241,.34);
  box-shadow:
    0 0 0 24px rgba(207,229,241,.025),
    0 0 0 54px rgba(207,229,241,.012),
    0 0 58px rgba(172,218,242,.20);
}

.stage-bronze .transparent-otter-stage {
  background:
    radial-gradient(circle at 50% 62%, rgba(196,122,74,.20), transparent 47%),
    linear-gradient(180deg, rgba(37,21,15,.52), rgba(10,7,6,.08));
}

.stage-bronze .transparent-otter-ring {
  border-color: rgba(217,154,112,.34);
  box-shadow:
    0 0 0 24px rgba(196,122,74,.026),
    0 0 0 54px rgba(196,122,74,.013),
    0 0 58px rgba(196,122,74,.21);
}

.stage-sapphire .transparent-otter-stage {
  background:
    radial-gradient(circle at 50% 62%, rgba(29,78,216,.31), transparent 47%),
    linear-gradient(180deg, rgba(5,20,59,.62), rgba(2,7,22,.08));
}

.stage-sapphire .transparent-otter-ring {
  border-color: rgba(96,165,250,.48);
  box-shadow:
    0 0 0 24px rgba(59,130,246,.035),
    0 0 0 54px rgba(59,130,246,.018),
    0 0 68px rgba(37,99,235,.36);
}

@keyframes transparentOtterFloat {
  0%, 100% {
    transform: translateY(6px) rotateY(-3deg) rotateZ(-.25deg);
  }
  50% {
    transform: translateY(-11px) rotateY(3deg) rotateZ(.25deg);
  }
}

@keyframes transparentRingPulse {
  0%, 100% { transform: scale(.96); opacity: .66; }
  50% { transform: scale(1.04); opacity: 1; }
}

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

@keyframes transparentParticles {
  from { transform: translateY(12px); }
  to { transform: translateY(-28px); }
}

@media (max-width: 930px) {
  .transparent-otter-stage {
    min-height: 345px;
  }

  .transparent-otter-image {
    width: min(90%, 288px);
    height: 315px;
  }
}

@media (max-width: 640px) {
  .transparent-otter-stage {
    min-height: 320px;
  }

  .transparent-otter-image {
    width: min(88%, 260px);
    height: 290px;
  }

  .transparent-otter-ring {
    width: 220px;
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .transparent-otter-image,
  .transparent-otter-ring,
  .transparent-otter-ring::before,
  .transparent-otter-ring::after,
  .transparent-otter-particles {
    animation: none !important;
  }
}

/* Short-page display fix */
.evolution-mechanics .reveal,
.evolution-mechanics .evolution-select-card {
  opacity: 1 !important;
  transform: none;
  visibility: visible !important;
}

/* =========================================
   LARGE OTTER DISPLAY OVERRIDE
   Makes the statues taller and closer to
   the supplied Evolution Mechanics reference.
========================================= */

.transparent-otter-stage {
  min-height: 500px !important;
  margin: 20px 0 24px !important;
  padding: 8px 0 0 !important;
  overflow: visible !important;
}

.transparent-otter-stage::before {
  bottom: 18px !important;
  width: 78% !important;
  height: 38px !important;
}

.transparent-otter-ring {
  width: 320px !important;
  height: 320px !important;
  top: 90px !important;
}

.transparent-otter-image {
  width: min(100%, 390px) !important;
  height: 470px !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  transform-origin: 50% 80% !important;
  margin-top: 8px !important;
}

.evolution-select-card {
  overflow: visible !important;
}

.evolution-select-card .archetype-title {
  min-height: 72px !important;
}

@media (max-width: 1100px) {
  .transparent-otter-stage {
    min-height: 455px !important;
  }

  .transparent-otter-image {
    width: min(100%, 350px) !important;
    height: 430px !important;
  }

  .transparent-otter-ring {
    width: 285px !important;
    height: 285px !important;
  }
}

@media (max-width: 930px) {
  .transparent-otter-stage {
    min-height: 420px !important;
  }

  .transparent-otter-image {
    width: min(96%, 325px) !important;
    height: 395px !important;
  }

  .transparent-otter-ring {
    width: 260px !important;
    height: 260px !important;
    top: 82px !important;
  }
}

@media (max-width: 640px) {
  .transparent-otter-stage {
    min-height: 390px !important;
  }

  .transparent-otter-image {
    width: min(96%, 300px) !important;
    height: 365px !important;
  }

  .transparent-otter-ring {
    width: 235px !important;
    height: 235px !important;
    top: 78px !important;
  }
}

/* =========================================
   METRICS: THE 20 TRILLION STANDARD
========================================= */

.metrics-section {
  position: relative;
  overflow: hidden;
  padding: 115px 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(29, 78, 216, 0.18), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(96, 165, 250, 0.08), transparent 28%),
    linear-gradient(180deg, #08131d 0%, #0a1724 48%, #08131d 100%);
}

.metrics-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.metrics-section .container {
  position: relative;
  z-index: 2;
}

.metrics-header {
  max-width: 900px;
}

.metrics-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue-soft);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.metrics-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.metrics-title {
  max-width: 900px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: .97;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.metrics-title span {
  display: block;
  margin-top: 10px;
  color: var(--blue-soft);
}

.metrics-copy {
  max-width: 760px;
  color: var(--gray);
  font-size: 1.03rem;
  line-height: 1.8;
}

.metrics-summary {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
}

.metrics-summary-card {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
}

.metrics-summary-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(59,130,246,.17);
  filter: blur(24px);
}

.metrics-summary-label {
  position: relative;
  z-index: 2;
  color: var(--blue-soft);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.metrics-summary-value {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.06em;
}

.metrics-summary-value span {
  display: block;
  margin-top: 13px;
  color: var(--gray-light);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.metrics-summary-card p {
  position: relative;
  z-index: 2;
  max-width: 530px;
  margin-top: 20px;
  color: var(--gray);
  line-height: 1.72;
}

.metrics-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.016));
  transition:
    transform .3s ease,
    border-color .3s ease,
    background .3s ease,
    box-shadow .3s ease;
}

.metric-card:hover {
  transform: translateY(-7px);
  border-color: rgba(96,165,250,.42);
  background:
    linear-gradient(145deg, rgba(29,78,216,.11), rgba(255,255,255,.022));
  box-shadow: 0 26px 65px rgba(0,0,0,.3);
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(96,165,250,.65), transparent);
}

.metric-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 150px minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 35px;
  border-color: rgba(96,165,250,.30);
  background:
    radial-gradient(circle at 92% 18%, rgba(29,78,216,.18), transparent 33%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
}

.metric-percent {
  color: var(--blue-soft);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
}

.metric-details h3 {
  margin-bottom: 9px;
  color: var(--white);
  font-size: 1.15rem;
  line-height: 1.3;
}

.metric-details p {
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.7;
}

.metric-amount {
  color: var(--gray-light);
  font-size: 1rem;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.metric-amount small {
  display: block;
  margin-top: 7px;
  color: var(--gray);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: normal;
}

.metric-card:not(.featured) .metric-amount {
  margin-top: 18px;
  text-align: left;
}

.metric-bar {
  height: 6px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.065);
}

.metric-bar span {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  box-shadow: 0 0 18px rgba(59,130,246,.45);
}

.metrics-note {
  margin-top: 26px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid rgba(96,165,250,.22);
  border-radius: 19px;
  background:
    linear-gradient(135deg, rgba(29,78,216,.11), rgba(29,78,216,.035));
}

.metrics-note-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(96,165,250,.32);
  border-radius: 14px;
  background: rgba(59,130,246,.13);
  color: var(--blue-soft);
  font-size: 1.2rem;
  font-weight: 900;
}

.metrics-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
}

.metrics-note p {
  color: var(--gray);
  line-height: 1.72;
}

@media (max-width: 900px) {
  .metrics-summary {
    grid-template-columns: 1fr;
  }

  .metric-card.featured {
    grid-template-columns: 115px minmax(0,1fr);
  }

  .metric-card.featured .metric-amount {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .metrics-section {
    padding: 85px 0;
  }

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

  .metric-card.featured {
    display: block;
    grid-column: auto;
    padding: 27px;
  }

  .metric-card.featured .metric-details {
    margin-top: 17px;
  }

  .metric-card.featured .metric-amount {
    margin-top: 18px;
    text-align: left;
  }

  .metrics-summary-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .metrics-note {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* =========================================
   METRICS ROW LAYOUT
========================================= */

.metrics-row-section {
  position: relative;
  overflow: hidden;
  padding: 115px 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(29,78,216,.16), transparent 30%),
    radial-gradient(circle at 90% 85%, rgba(96,165,250,.07), transparent 28%),
    linear-gradient(180deg, #08131d 0%, #0a1724 52%, #08131d 100%);
}

.metrics-row-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.metrics-row-section .container {
  position: relative;
  z-index: 2;
}

.metrics-row-heading {
  max-width: 900px;
  margin-bottom: 58px;
}

.metrics-row-title {
  max-width: 900px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.metrics-row-title span {
  display: block;
  margin-top: 10px;
  color: var(--blue-soft);
}

.metrics-row-copy {
  max-width: 760px;
  color: var(--gray);
  font-size: 1.03rem;
  line-height: 1.8;
}

.metrics-list {
  border-top: 1px solid var(--line);
}

.metrics-line {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding .28s ease,
    background .28s ease,
    border-color .28s ease;
}

.metrics-line::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft), transparent);
  transition: width .35s ease;
}

.metrics-line:hover {
  padding-left: 18px;
  padding-right: 18px;
  background: rgba(29,78,216,.055);
}

.metrics-line:hover::before {
  width: 100%;
}

.metrics-line-percent {
  color: var(--blue-soft);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -.03em;
}

.metrics-line-name {
  min-width: 0;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.015em;
}

.metrics-line-name small {
  display: block;
  margin-top: 5px;
  color: var(--gray);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 0;
}

.metrics-line-value {
  color: var(--gray-light);
  font-size: 1rem;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.metrics-total-strip {
  margin-top: 28px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(29,78,216,.11), rgba(29,78,216,.035));
}

.metrics-total-strip span {
  color: var(--gray);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.metrics-total-strip strong {
  color: var(--white);
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: -.03em;
}

@media (max-width: 800px) {
  .metrics-line {
    grid-template-columns: 92px minmax(0,1fr);
    gap: 12px 18px;
  }

  .metrics-line-value {
    grid-column: 2;
    text-align: left;
    white-space: normal;
  }

  .metrics-line:hover {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }
}

@media (max-width: 560px) {
  .metrics-row-section {
    padding: 85px 0;
  }

  .metrics-line {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }

  .metrics-line-value {
    grid-column: auto;
  }

  .metrics-total-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
   NEW TALL OTTER STATUE STYLE
========================================= */

.new-otter-stage {
  position: relative;
  min-height: 520px;
  margin: 18px 0 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  perspective: 1000px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 64%, rgba(59,130,246,.20), transparent 46%),
    linear-gradient(180deg, rgba(10,27,44,.34), rgba(5,13,24,.04));
}

.new-otter-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 22px;
  width: 74%;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  filter: blur(16px);
  transform: rotateX(72deg);
}

.new-otter-ring {
  position: absolute;
  z-index: 0;
  top: 104px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(96,165,250,.26);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(96,165,250,.025),
    0 0 0 58px rgba(96,165,250,.012),
    0 0 70px rgba(59,130,246,.20);
  animation: newOtterRingPulse 5s ease-in-out infinite;
}

.new-otter-ring::before,
.new-otter-ring::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(96,165,250,.24);
  border-radius: inherit;
  animation: newOtterRingSpin 18s linear infinite;
}

.new-otter-ring::after {
  inset: 48px;
  animation-direction: reverse;
  animation-duration: 14s;
  opacity: .45;
}

.new-otter-particles {
  position: absolute;
  inset: 18% 8% 12%;
  z-index: 1;
  pointer-events: none;
  opacity: .68;
  background-image:
    radial-gradient(circle, rgba(96,165,250,.95) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(59,130,246,.72) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(255,255,255,.55) 0 1px, transparent 2px);
  background-size: 84px 78px, 118px 100px, 76px 112px;
  background-position: 0 0, 25px 18px, 52px 43px;
  animation: newOtterParticles 8s linear infinite;
  mask-image: radial-gradient(circle, black 24%, transparent 76%);
}

.new-otter-image {
  position: relative;
  z-index: 3;
  width: min(100%, 410px);
  height: 500px;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: 50% 82%;
  filter:
    drop-shadow(0 34px 26px rgba(0,0,0,.58))
    drop-shadow(0 0 22px rgba(59,130,246,.20));
  animation: newOtterFloat 5.3s ease-in-out infinite;
  transition: filter .35s ease;
}

/* Silver */
.stage-sand .new-otter-image {
  filter:
    drop-shadow(0 34px 26px rgba(0,0,0,.58))
    drop-shadow(0 0 24px rgba(200,229,245,.24))
    brightness(1.07)
    saturate(.88)
    contrast(1.05);
}

/* Bronze */
.stage-bronze .new-otter-image {
  filter:
    drop-shadow(0 34px 26px rgba(0,0,0,.60))
    drop-shadow(0 0 24px rgba(196,122,74,.28))
    sepia(.95)
    saturate(1.45)
    hue-rotate(338deg)
    brightness(.83)
    contrast(1.16);
}

.stage-bronze .new-otter-stage {
  background:
    radial-gradient(circle at 50% 64%, rgba(196,122,74,.22), transparent 46%),
    linear-gradient(180deg, rgba(38,22,15,.38), rgba(10,7,6,.04));
}

.stage-bronze .new-otter-ring {
  border-color: rgba(217,154,112,.34);
  box-shadow:
    0 0 0 28px rgba(196,122,74,.025),
    0 0 0 58px rgba(196,122,74,.012),
    0 0 70px rgba(196,122,74,.24);
}

/* Sapphire */
.stage-sapphire .new-otter-image {
  filter:
    drop-shadow(0 34px 28px rgba(0,0,0,.62))
    drop-shadow(0 0 34px rgba(37,99,235,.42))
    sepia(.1)
    saturate(2.1)
    hue-rotate(168deg)
    brightness(.84)
    contrast(1.3);
}

.stage-sapphire .new-otter-stage {
  background:
    radial-gradient(circle at 50% 64%, rgba(29,78,216,.34), transparent 47%),
    linear-gradient(180deg, rgba(5,20,59,.48), rgba(2,7,22,.04));
}

.stage-sapphire .new-otter-ring {
  border-color: rgba(96,165,250,.5);
  box-shadow:
    0 0 0 28px rgba(59,130,246,.036),
    0 0 0 58px rgba(59,130,246,.018),
    0 0 78px rgba(37,99,235,.40);
}

.evolution-select-card:hover .new-otter-image {
  animation-duration: 3.9s;
  filter:
    drop-shadow(0 38px 28px rgba(0,0,0,.62))
    drop-shadow(0 0 34px rgba(96,165,250,.38))
    brightness(1.06);
}

@keyframes newOtterFloat {
  0%, 100% {
    transform: translateY(6px) rotateY(-2.5deg);
  }
  50% {
    transform: translateY(-11px) rotateY(2.5deg);
  }
}

@keyframes newOtterRingPulse {
  0%, 100% { transform: scale(.96); opacity: .66; }
  50% { transform: scale(1.04); opacity: 1; }
}

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

@keyframes newOtterParticles {
  from { transform: translateY(14px); }
  to { transform: translateY(-30px); }
}

@media (max-width: 1100px) {
  .new-otter-stage {
    min-height: 470px;
  }

  .new-otter-image {
    width: min(100%, 365px);
    height: 450px;
  }

  .new-otter-ring {
    width: 295px;
    height: 295px;
    top: 96px;
  }
}

@media (max-width: 930px) {
  .new-otter-stage {
    min-height: 430px;
  }

  .new-otter-image {
    width: min(96%, 335px);
    height: 410px;
  }

  .new-otter-ring {
    width: 265px;
    height: 265px;
    top: 88px;
  }
}

@media (max-width: 640px) {
  .new-otter-stage {
    min-height: 400px;
  }

  .new-otter-image {
    width: min(96%, 305px);
    height: 380px;
  }

  .new-otter-ring {
    width: 238px;
    height: 238px;
    top: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .new-otter-image,
  .new-otter-ring,
  .new-otter-ring::before,
  .new-otter-ring::after,
  .new-otter-particles {
    animation: none !important;
  }
}


/* ===== Third otter sapphire color enhancement ===== */
.evolution-select-card:nth-child(3) img,
.stage-sapphire img,
.stage-3 img,
.sapphire img{
    filter:
      hue-rotate(185deg)
      saturate(2.2)
      brightness(1.08)
      contrast(1.15)
      drop-shadow(0 0 18px rgba(40,150,255,.55))
      drop-shadow(0 0 40px rgba(0,120,255,.35)) !important;
}

/* =========================================
   FORCE THIRD OTTER TO STAY SAPPHIRE BLUE
   Works in normal, hover, and selected states.
========================================= */

.evolution-select-card:nth-child(3) .new-otter-image,
.evolution-select-card:nth-child(3) .transparent-otter-image,
.evolution-select-card:nth-child(3) img,
.evolution-select-card:nth-child(3):hover .new-otter-image,
.evolution-select-card:nth-child(3):hover .transparent-otter-image,
.evolution-select-card:nth-child(3):hover img,
.evolution-select-card:nth-child(3).is-selected .new-otter-image,
.evolution-select-card:nth-child(3).is-selected .transparent-otter-image,
.evolution-select-card:nth-child(3).is-selected img,
.stage-sapphire .new-otter-image,
.stage-sapphire .transparent-otter-image,
.stage-sapphire img,
.stage-sapphire:hover .new-otter-image,
.stage-sapphire:hover .transparent-otter-image,
.stage-sapphire:hover img,
.stage-sapphire.is-selected .new-otter-image,
.stage-sapphire.is-selected .transparent-otter-image,
.stage-sapphire.is-selected img {
  filter:
    sepia(.15)
    saturate(3.1)
    hue-rotate(170deg)
    brightness(.88)
    contrast(1.32)
    drop-shadow(0 0 22px rgba(0, 140, 255, .75))
    drop-shadow(0 0 46px rgba(0, 90, 255, .50)) !important;
}

/* Strong sapphire card glow */
.evolution-select-card:nth-child(3),
.evolution-select-card:nth-child(3).is-selected,
.stage-sapphire,
.stage-sapphire.is-selected {
  border-color: rgba(64, 150, 255, .62) !important;
  box-shadow:
    0 0 0 1px rgba(67, 145, 255, .22),
    0 24px 70px rgba(0, 0, 0, .38),
    0 0 34px rgba(0, 100, 255, .24) !important;
}

.evolution-select-card:nth-child(3) .new-otter-stage,
.evolution-select-card:nth-child(3) .transparent-otter-stage,
.evolution-select-card:nth-child(3).is-selected .new-otter-stage,
.evolution-select-card:nth-child(3).is-selected .transparent-otter-stage,
.stage-sapphire .new-otter-stage,
.stage-sapphire .transparent-otter-stage,
.stage-sapphire.is-selected .new-otter-stage,
.stage-sapphire.is-selected .transparent-otter-stage {
  background:
    radial-gradient(circle at 50% 64%, rgba(0, 110, 255, .38), transparent 48%),
    linear-gradient(180deg, rgba(4, 18, 60, .72), rgba(2, 6, 22, .08)) !important;
}

/* =========================================
   FINAL OTTER COLOR FIX
   Preserve each PNG's original color.
========================================= */

/* Base image appearance */
.new-otter-image,
.transparent-otter-image {
  filter:
    drop-shadow(0 28px 24px rgba(0,0,0,.52)) !important;
}

/* Silver */
.stage-sand .new-otter-image,
.stage-sand .transparent-otter-image,
.stage-sand:hover .new-otter-image,
.stage-sand:hover .transparent-otter-image,
.stage-sand.is-selected .new-otter-image,
.stage-sand.is-selected .transparent-otter-image {
  filter:
    drop-shadow(0 28px 24px rgba(0,0,0,.52))
    drop-shadow(0 0 22px rgba(190,225,245,.22)) !important;
}

/* Bronze */
.stage-bronze .new-otter-image,
.stage-bronze .transparent-otter-image,
.stage-bronze:hover .new-otter-image,
.stage-bronze:hover .transparent-otter-image,
.stage-bronze.is-selected .new-otter-image,
.stage-bronze.is-selected .transparent-otter-image {
  filter:
    drop-shadow(0 28px 24px rgba(0,0,0,.54))
    drop-shadow(0 0 24px rgba(196,122,74,.30)) !important;
}

/* Sapphire */
.stage-sapphire .new-otter-image,
.stage-sapphire .transparent-otter-image,
.stage-sapphire:hover .new-otter-image,
.stage-sapphire:hover .transparent-otter-image,
.stage-sapphire.is-selected .new-otter-image,
.stage-sapphire.is-selected .transparent-otter-image,
.evolution-select-card:nth-child(3) .new-otter-image,
.evolution-select-card:nth-child(3) .transparent-otter-image,
.evolution-select-card:nth-child(3):hover .new-otter-image,
.evolution-select-card:nth-child(3):hover .transparent-otter-image,
.evolution-select-card:nth-child(3).is-selected .new-otter-image,
.evolution-select-card:nth-child(3).is-selected .transparent-otter-image {
  filter:
    drop-shadow(0 28px 24px rgba(0,0,0,.56))
    drop-shadow(0 0 28px rgba(0,120,255,.42))
    drop-shadow(0 0 48px rgba(0,80,255,.22)) !important;
}

/* Keep sapphire card background blue */
.stage-sapphire .new-otter-stage,
.stage-sapphire .transparent-otter-stage,
.stage-sapphire.is-selected .new-otter-stage,
.stage-sapphire.is-selected .transparent-otter-stage,
.evolution-select-card:nth-child(3) .new-otter-stage,
.evolution-select-card:nth-child(3) .transparent-otter-stage {
  background:
    radial-gradient(circle at 50% 64%, rgba(29,78,216,.32), transparent 48%),
    linear-gradient(180deg, rgba(5,20,59,.58), rgba(2,7,22,.05)) !important;
}

/* =========================================
   NEW WATERMARK-FREE BRONZE & SAPPHIRE ART
========================================= */

.stage-bronze .new-otter-image,
.stage-bronze .transparent-otter-image,
.stage-bronze:hover .new-otter-image,
.stage-bronze:hover .transparent-otter-image,
.stage-bronze.is-selected .new-otter-image,
.stage-bronze.is-selected .transparent-otter-image {
  filter:
    drop-shadow(0 30px 25px rgba(0,0,0,.56))
    drop-shadow(0 0 25px rgba(196,122,74,.28)) !important;
}

.stage-sapphire .new-otter-image,
.stage-sapphire .transparent-otter-image,
.stage-sapphire:hover .new-otter-image,
.stage-sapphire:hover .transparent-otter-image,
.stage-sapphire.is-selected .new-otter-image,
.stage-sapphire.is-selected .transparent-otter-image,
.evolution-select-card:nth-child(3) .new-otter-image,
.evolution-select-card:nth-child(3) .transparent-otter-image,
.evolution-select-card:nth-child(3):hover .new-otter-image,
.evolution-select-card:nth-child(3):hover .transparent-otter-image,
.evolution-select-card:nth-child(3).is-selected .new-otter-image,
.evolution-select-card:nth-child(3).is-selected .transparent-otter-image {
  filter:
    drop-shadow(0 30px 25px rgba(0,0,0,.58))
    drop-shadow(0 0 30px rgba(0,130,255,.42))
    drop-shadow(0 0 52px rgba(0,75,255,.20)) !important;
}

/* Final page and selection-panel fixes */
#security { padding-top: 110px; }
#selectedEvolutionTitle,
#selectedEvolutionSummary { transition: opacity .2s ease; }
footer { margin-top: 0; }

/* =========================================
   IMPROVED BRONZE OTTER
   Brighter polished bronze with clearer gems
========================================= */

.stage-bronze .new-otter-image,
.stage-bronze .transparent-otter-image,
.stage-bronze:hover .new-otter-image,
.stage-bronze:hover .transparent-otter-image,
.stage-bronze.is-selected .new-otter-image,
.stage-bronze.is-selected .transparent-otter-image,
.evolution-select-card:nth-child(2) .new-otter-image,
.evolution-select-card:nth-child(2) .transparent-otter-image,
.evolution-select-card:nth-child(2):hover .new-otter-image,
.evolution-select-card:nth-child(2):hover .transparent-otter-image,
.evolution-select-card:nth-child(2).is-selected .new-otter-image,
.evolution-select-card:nth-child(2).is-selected .transparent-otter-image {
  filter:
    brightness(1.12)
    saturate(1.16)
    contrast(1.03)
    drop-shadow(0 30px 24px rgba(0,0,0,.50))
    drop-shadow(0 0 24px rgba(232,150,88,.34))
    drop-shadow(0 0 48px rgba(196,122,74,.18)) !important;
}

.stage-bronze .new-otter-stage,
.stage-bronze .transparent-otter-stage,
.stage-bronze.is-selected .new-otter-stage,
.stage-bronze.is-selected .transparent-otter-stage,
.evolution-select-card:nth-child(2) .new-otter-stage,
.evolution-select-card:nth-child(2) .transparent-otter-stage {
  background:
    radial-gradient(circle at 50% 62%, rgba(232,150,88,.24), transparent 46%),
    radial-gradient(circle at 50% 38%, rgba(96,165,250,.08), transparent 34%),
    linear-gradient(180deg, rgba(44,24,16,.54), rgba(10,7,6,.05)) !important;
}

.stage-bronze .new-otter-ring,
.stage-bronze .transparent-otter-ring,
.evolution-select-card:nth-child(2) .new-otter-ring,
.evolution-select-card:nth-child(2) .transparent-otter-ring {
  border-color: rgba(236,170,120,.42) !important;
  box-shadow:
    0 0 0 28px rgba(196,122,74,.03),
    0 0 0 58px rgba(196,122,74,.014),
    0 0 72px rgba(232,150,88,.28) !important;
}

.evolution-select-card:nth-child(2),
.evolution-select-card:nth-child(2).is-selected,
.stage-bronze,
.stage-bronze.is-selected {
  border-color: rgba(214,143,91,.42) !important;
}

.evolution-select-card:nth-child(2):hover,
.evolution-select-card:nth-child(2).is-selected {
  box-shadow:
    0 24px 70px rgba(0,0,0,.38),
    0 0 30px rgba(196,122,74,.18) !important;
}

/* Bronze neck-preserving image override */
.evolution-select-card:nth-child(2) .new-otter-image,
.evolution-select-card:nth-child(2) .transparent-otter-image,
.stage-bronze .new-otter-image,
.stage-bronze .transparent-otter-image {
  object-fit: contain !important;
  object-position: center bottom !important;
  filter:
    brightness(1.06)
    saturate(1.08)
    contrast(1.02)
    drop-shadow(0 30px 24px rgba(0,0,0,.52))
    drop-shadow(0 0 25px rgba(210,135,82,.28)) !important;
}

/* Final true-transparent bronze image */
.evolution-select-card:nth-child(2) .new-otter-image,
.evolution-select-card:nth-child(2) .transparent-otter-image,
.stage-bronze .new-otter-image,
.stage-bronze .transparent-otter-image {
  object-fit: contain !important;
  object-position: center bottom !important;
  filter:
    brightness(1.05)
    saturate(1.06)
    contrast(1.02)
    drop-shadow(0 30px 24px rgba(0,0,0,.52))
    drop-shadow(0 0 25px rgba(210,135,82,.28)) !important;
}

/* =========================================
   FINAL CARD NUMBER FIX
========================================= */

#selectedEvolutionIndex {
  display: inline-block !important;
  min-width: 2.2ch;
}

/* =========================================
   FINAL MOBILE HERO COIN FIX
   Corrects the original '.hero .hero' typo
   and keeps the coin visible on small screens.
========================================= */

@media (max-width: 930px) {
  .hero {
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding: 105px 0 60px !important;
  }

  .hero .hero-inner {
    width: min(calc(100% - 30px), 1180px) !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    align-items: center !important;
  }

  .hero .coin-stage {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    min-height: 440px !important;
    height: 440px !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hero .aura {
    display: block !important;
    width: min(88vw, 400px) !important;
    height: min(88vw, 400px) !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hero .coin-toss {
    position: relative !important;
    display: block !important;
    width: min(76vw, 360px) !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin-inline: auto !important;
    z-index: 4 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hero .coin-face,
  .hero .coin-face img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hero .coin-face img {
    width: 106% !important;
    height: 106% !important;
    object-fit: cover !important;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 88px !important;
    padding-bottom: 38px !important;
  }

  .hero .hero-inner {
    width: min(calc(100% - 24px), 1180px) !important;
    gap: 18px !important;
  }

  .hero .coin-stage {
    min-height: 350px !important;
    height: 350px !important;
  }

  .hero .coin-toss {
    width: min(82vw, 300px) !important;
  }

  .hero .aura {
    width: min(94vw, 335px) !important;
    height: min(94vw, 335px) !important;
  }

  .hero .shadow {
    width: 210px !important;
    bottom: 20px !important;
  }

  .hero .floating-chip {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .hero .coin-stage {
    min-height: 310px !important;
    height: 310px !important;
  }

  .hero .coin-toss {
    width: min(84vw, 270px) !important;
  }
}

/* Modular component loader */
[data-component] {
  min-height: 1px;
}

.component-error {
  width: min(calc(100% - 40px), 1180px);
  margin: 110px auto;
  padding: 24px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 16px;
  background: rgba(127, 29, 29, 0.18);
  color: #fecaca;
}

@media (max-width: 640px) {
  .component-error {
    width: min(calc(100% - 28px), 1180px);
  }
}
