.coin-arena {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin: 1.5rem 0;
      min-height: 280px;
      perspective: 1000px;
    }
    .coins-rack {
      display: flex;
      gap: clamp(1rem, 3vw, 2.5rem);
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      margin: 1.5rem 0;
    }
    .coin-3d {
      width: clamp(120px, 25vw, 170px);
      height: clamp(120px, 25vw, 170px);
      border-radius: 50%;
      background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%);
      box-shadow: 0 16px 32px rgba(217, 119, 6, 0.35), inset 0 3px 6px rgba(255,255,255,0.6);
      border: 6px solid #FCD34D;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: clamp(1.6rem, 4vw, 2.2rem);
      font-weight: 900;
      color: #FFFFFF;
      user-select: none;
      cursor: pointer;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    .coin-3d:hover {
      transform: scale(1.04);
      box-shadow: 0 20px 40px rgba(217, 119, 6, 0.45);
    }
    .coin-inner-ring {
      width: 82%;
      height: 82%;
      border-radius: 50%;
      border: 2px dashed rgba(255,255,255,0.4);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    .coin-icon {
      font-size: clamp(2rem, 5vw, 2.8rem);
      line-height: 1;
      margin-bottom: 0.2rem;
    }
    .coin-caption {
      font-size: clamp(0.85rem, 2vw, 1.1rem);
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    @keyframes flipHeads {
      0% { transform: translateY(0) rotateX(0deg) scale(1); }
      40% { transform: translateY(-160px) rotateX(720deg) scale(1.2); }
      100% { transform: translateY(0) rotateX(1440deg) scale(1); }
    }
    @keyframes flipTails {
      0% { transform: translateY(0) rotateX(0deg) scale(1); }
      40% { transform: translateY(-160px) rotateX(900deg) scale(1.2); }
      100% { transform: translateY(0) rotateX(1620deg) scale(1); }
    }
    .is-flipping-heads {
      animation: flipHeads 0.95s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }
    .is-flipping-tails {
      animation: flipTails 0.95s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }
    .flip-result-banner {
      font-size: clamp(1.4rem, 4vw, 2.2rem);
      font-weight: 900;
      min-height: 3rem;
      text-align: center;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
    }
    .stats-card-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      width: 100%;
      max-width: 620px;
      margin: 1.5rem auto 0;
    }
    .stat-box {
      background: var(--bg-surface-subtle);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 1rem;
      text-align: center;
    }
    .stat-number {
      font-size: clamp(1.5rem, 3.5vw, 2rem);
      font-weight: 900;
      font-family: ui-monospace, monospace;
      color: var(--text-primary);
    }
    .stat-label {
      font-size: 0.8rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      margin-top: 0.35rem;
    }
    .ratio-bar {
      width: 100%;
      max-width: 620px;
      height: 12px;
      background: var(--accent-sky);
      border-radius: var(--radius-full);
      overflow: hidden;
      display: flex;
      margin: 1rem auto 0;
    }
    .ratio-fill-heads {
      height: 100%;
      background: #F59E0B;
      transition: width 0.3s ease;
    }
    @media (max-width: 480px) {
      .stats-card-grid {
        gap: 0.5rem;
      }
      .stat-box {
        padding: 0.65rem 0.35rem;
      }
      .stat-number {
        font-size: 1.25rem;
      }
      .stat-label {
        font-size: 0.7rem;
      }
      .coin-3d {
        width: 120px;
        height: 120px;
      }
    }