.market-switch { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin: 0 0 28px; border: 1px solid #6031a1; background: #0c0326; max-width: 100%; }
.market-switch a { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 12px 22px; min-height: 58px; color: #c9b8e8; font: 700 20px/1.1 'Chakra Petch', sans-serif; text-decoration: none; }
.market-switch a span { font: 400 12px/1.4 'Space Grotesk', sans-serif; }
.market-switch a[aria-current] { background: #22e0ff; color: #07021a; box-shadow: 3px 3px 0 #7b2bff; }
[data-market='perps'] .market-switch a[aria-current] { background: #3dff9e; }
.market-switch a:hover:not([aria-current]) { background: #30105a; color: #fff; }
.site-header .market-switch { flex-shrink: 0; flex-wrap: nowrap; margin: 0; padding: 3px; gap: 3px; }
.site-header .market-switch a { font-size: 16px; padding: 10px 14px; min-height: 44px; }
.site-header .market-switch a span { display: none; }
.site-header .nav-links { gap: 14px !important; }
@media(max-width:1400px) {
  .header-inner { flex-wrap: wrap; }
  .nav-links { width: 100%; flex-wrap: wrap; }
  .js .menu-toggle { display: block; }
  .js .nav-links:not([data-open]) { display: none !important; }
  .nav-links[data-open] { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 12px 0; }
  .nav-links .button-link { grid-column: 1 / -1; }
}
@media(max-width:600px) {
  html { scroll-padding-top: 10rem; }
  .site-header .market-switch { order: 2; width: 100%; justify-content: center; }
  .site-header .market-switch a { flex: 1; align-items: center; }
  .site-header .menu-toggle { margin-left: auto; }
  .site-header .nav-links { order: 3; }
}
.perps-section { margin-inline: auto; padding-top: 88px; }
.perps-eyebrow { color: #3dff9e; font: 12px/1.8 'Press Start 2P', monospace; letter-spacing: 1px; margin: 0 0 20px; }
.perps-section .section-title { font-family: 'Chakra Petch', sans-serif; font-style: italic; text-transform: uppercase; letter-spacing: -1px; margin-bottom: 24px; }
.perps-intro { font-size: 18px; line-height: 1.7; color: #c9b8e8; max-width: 780px; margin: 0 0 30px; }
.perps-hero-copy { font-size: 20px; line-height: 1.55; color: #c9b8e8; max-width: 540px; margin: 0 0 22px; }
.perps-disclosure { color: #b4a3cf; font-size: 14px; line-height: 1.65; max-width: 780px; margin: 20px 0 28px; }
[data-market='perps'] .hero .perps-disclosure { font-size: 14px !important; }
.venue-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; }
.venue-list span { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 1px solid #6031a1; background: #150836; padding: 8px 14px; color: #f4edff; font-size: 14px; }
.venue-list img { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
@media (max-width: 600px) {
  .venue-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .venue-list span { flex-direction: column; gap: 6px; padding: 10px 6px; font-size: 12px; }
}
.perps-launch { color: #ffcb67; border-left: 3px solid #ffb627; padding: 10px 16px; font-size: 14px; margin: 0 0 32px; }
.perps-info-grid, .perps-plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.perps-info-card { background: #0c0326; border: 1px solid #3a1d6e; padding: 28px; }
.perps-info-card h3 { font: 700 24px/1.2 'Chakra Petch', sans-serif; margin: 0 0 14px; }
.perps-info-card p { font-size: 16px; line-height: 1.65; color: #c9b8e8; margin: 0; }
.perps-plan { min-width: 0; border: 1px solid #3a1d6e; border-top: 3px solid var(--plan-accent); background: #0c0326; padding: 30px; }
.perps-plan h3 { color: var(--plan-accent); font: 12px/1.8 'Press Start 2P', monospace; text-transform: uppercase; margin: 0 0 24px; }
.perps-capital { font: 700 clamp(30px,2.8vw,42px)/1.1 'Chakra Petch', sans-serif; margin: 0 0 6px; }
.perps-secondary { color: #b4a3cf; font-size: 14px; line-height: 1.7; }
.perps-price { color: var(--plan-accent); font: 700 34px/1.2 'Chakra Petch', sans-serif; border-top: 1px solid #3a1d6e; padding-top: 22px; margin: 16px 0 24px; }
.perps-price span { display: block; color: #b4a3cf; font: 400 14px/1.6 'Space Grotesk', sans-serif; }
.perps-plan dl { margin: 0 0 24px; font-size: 14px; }
.perps-plan dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.perps-plan dt { color: #b4a3cf; }
.perps-plan dd { margin: 0; text-align: right; }
.perps-unavailable { width: 100%; padding: 14px; background: #170b2b; color: #b4a3cf; border: 1px solid #6031a1; font: 12px/1.6 'Press Start 2P',monospace; cursor: not-allowed; }
.perps-rules-link { margin-top: 28px; font-size: 12px; }
.perps-table th, .perps-table td { padding: 15px 14px; background: #0c0326; min-width: 130px; }
.perps-table thead th { background: #150836; color: #f4edff; font-family: 'Chakra Petch', sans-serif; font-size: 16px !important; font-weight: 700; }
.perps-table tbody td:nth-child(2) { color: #3dff9e; background: #160a30; }
.perps-table th[scope='row'] { min-width: 210px; }
.benchmark-sources { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; }
.benchmark-sources a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
[data-market='perps'] .faq-item { border: 1px solid #3a1d6e; background: #0c0326; margin-bottom: 12px; }
[data-market='perps'] .faq-question { padding: 24px 28px; font: 600 20px/1.4 'Chakra Petch',sans-serif; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; }
[data-market='perps'] .faq-answer { padding: 0 28px 26px; font-size: 16px; color: #c9b8e8; line-height: 1.65; }
@media(max-width:1100px) { .perps-info-grid, .perps-plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { .perps-info-grid, .perps-plan-grid { grid-template-columns: minmax(0,1fr); } .market-switch { display: flex; width: fit-content; } .market-switch a { padding: 12px 18px; } .perps-plan { padding: 24px; } .perps-section { padding-top: 56px; } .perps-rules-link { width: 100%; } }
