/**
 * CoinRush content pages (Terms, Privacy, About, FAQ, Support, Contact)
 * Shared layout and typography – aligned with footer (#5bffb2, section titles)
 */

:root {
  --cr-content-accent: #5bffb2;
  --cr-content-accent-dim: rgba(91, 255, 178, 0.15);
  --cr-content-accent-border: rgba(91, 255, 178, 0.25);
}

.content-page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #05090e 0%, #0a0f14 30%, #0c1118 60%, #0a0f14 100%);
  color: #e2e8f0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

/* Navbar mount leaves no gap; main has top padding */
.content-page-wrap #content-navbar-mount + .content-page-main {
  padding-top: 24px;
}

/* —— Top bar (logo + back) —— */
.content-page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 24px;
  background: rgba(8, 12, 16, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.content-page-header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 900px) {
  .content-page-header-inner {
    max-width: 1000px;
    padding: 0;
  }
}

.content-page-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 18px;
  letter-spacing: -0.4px;
  transition: opacity 0.2s;
}

.content-page-logo:hover {
  opacity: 0.9;
}

.content-page-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #0a0f14;
}

.content-page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #22c55e;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.content-page-back:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
}

/* —— Main content area —— */
.content-page-main {
  flex: 1;
  padding: 28px 20px 56px;
}

.content-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 40px 48px;
  background: linear-gradient(180deg, rgba(14, 20, 26, 0.95) 0%, rgba(10, 16, 22, 0.98) 100%);
  border: 1px solid rgba(91, 255, 178, 0.18);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

@media (max-width: 640px) {
  .content-container {
    padding: 28px 20px 36px;
    border-radius: 16px;
  }
}

/* —— Section cards (Provably Fair, etc.) —— */
.content-container .content-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px 26px;
  margin: 24px 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.content-container .content-card:hover {
  border-color: rgba(91, 255, 178, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.content-container .content-card:first-of-type {
  margin-top: 0;
}

.content-container .content-card h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--cr-content-accent);
  letter-spacing: -0.2px;
}

.content-container .content-card h2 + p,
.content-container .content-card h2 + * {
  margin-top: 0;
}

.content-container .content-card p:last-child {
  margin-bottom: 0;
}

/* —— Typography —— */
.content-container h1 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--cr-content-accent);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.content-container .content-subtitle {
  color: rgba(148, 163, 184, 0.9);
  font-size: 15px;
  margin-bottom: 32px;
  font-weight: 500;
  line-height: 1.55;
}

.content-container h2 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

/* Footer-style section title (Platform / Support / Games feel) */
.content-container .content-section-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  position: relative;
  border: none;
}

.content-container .content-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--cr-content-accent) 0%, rgba(91, 255, 178, 0.3) 70%, transparent 100%);
  border-radius: 2px;
}

.content-container h3 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--cr-content-accent);
  margin-top: 20px;
  margin-bottom: 10px;
}

.content-container p {
  margin-bottom: 14px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 15px;
  line-height: 1.7;
}

.content-container ul,
.content-container ol {
  margin-left: 22px;
  margin-bottom: 14px;
  color: rgba(226, 232, 240, 0.9);
}

.content-container li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.content-container strong {
  color: #fff;
  font-weight: 600;
}

.content-container a {
  color: var(--cr-content-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
}

.content-container a:hover {
  color: #7dffc4;
  text-decoration: underline;
}

/* —— Highlight box (footer-style left bar) —— */
.content-container .highlight-box {
  background: rgba(91, 255, 178, 0.06);
  border: 1px solid rgba(91, 255, 178, 0.12);
  border-left: 4px solid var(--cr-content-accent);
  padding: 18px 20px;
  margin: 24px 0;
  border-radius: 10px;
}

.content-container .highlight-box p {
  margin-bottom: 8px;
}

.content-container .highlight-box p:last-child {
  margin-bottom: 0;
}

/* —— Content footer (within container) —— */
.content-container-footer {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(148, 163, 184, 0.75);
  font-size: 14px;
}

.content-container-footer a {
  margin: 0 8px;
  color: var(--cr-content-accent);
  font-weight: 500;
}

.content-container-footer a:hover {
  color: #7dffc4;
  text-decoration: underline;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: background 0.2s, border-color 0.2s;
}

.feature-card:hover {
  background: var(--cr-content-accent-dim);
  border-color: rgba(91, 255, 178, 0.22);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cr-content-accent-dim);
  border-radius: 10px;
  border: 1px solid var(--cr-content-accent-border);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--cr-content-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin-top: 0;
  font-size: 15px;
  margin-bottom: 8px;
}

.feature-card p,
.feature-card .feature-text {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.85);
}

.feature-card h3,
.feature-card .feature-title {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-top: 0;
  margin-bottom: 8px;
}

/* —— Forms (Contact, etc.) —— */
.content-container .form-group {
  margin-bottom: 20px;
}

.content-container label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.content-container input,
.content-container textarea,
.content-container select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.content-container input:focus,
.content-container textarea:focus,
.content-container select:focus {
  outline: none;
  border-color: rgba(91, 255, 178, 0.45);
  box-shadow: 0 0 0 3px rgba(91, 255, 178, 0.12);
}

.content-container textarea {
  min-height: 128px;
  resize: vertical;
}

.content-container .submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #5bffb2 0%, #4de69c 100%);
  border: none;
  border-radius: 12px;
  color: #0a0f14;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(91, 255, 178, 0.35);
}

.content-container .submit-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 255, 178, 0.4);
}

.content-container .contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.content-container .contact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(91, 255, 178, 0.18);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.content-container .contact-card:hover {
  background: var(--cr-content-accent-dim);
  border-color: rgba(91, 255, 178, 0.35);
  box-shadow: 0 4px 16px rgba(91, 255, 178, 0.12);
}

.content-container .contact-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  background: var(--cr-content-accent-dim);
  border: 1px solid var(--cr-content-accent-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-container .contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--cr-content-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-container .contact-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--cr-content-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.content-container .contact-value {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.content-container .success-message,
.content-container .error-message {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.content-container .success-message {
  background: var(--cr-content-accent-dim);
  border: 1px solid var(--cr-content-accent-border);
  color: #7dffc4;
}

.content-container .error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

/* —— Support hub cards —— */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.support-card {
  display: block;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.support-card:hover {
  background: var(--cr-content-accent-dim);
  border-color: rgba(91, 255, 178, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 255, 178, 0.1);
}

.support-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
  color: #fff;
}

.support-card p {
  margin-bottom: 0;
  font-size: 14px;
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.5;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--cr-content-accent-dim);
  border: 1px solid var(--cr-content-accent-border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cr-content-accent);
  margin-bottom: 16px;
}

.status-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--cr-content-accent);
  border-radius: 50%;
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* —— Support hub: card icon, CTA, quick tips —— */
.content-container .support-card .card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cr-content-accent-dim);
  border: 1px solid var(--cr-content-accent-border);
  border-radius: 10px;
}

.content-container .support-card .card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--cr-content-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-container .support-card .card-title {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
}

.content-container .support-card .card-description {
  font-size: 14px;
  color: rgba(226, 232, 240, 0.8);
  margin-bottom: 12px;
  line-height: 1.5;
}

.content-container .support-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cr-content-accent);
}

.content-container .quick-tips {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
}

.content-container .quick-tips h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.content-container .tips-list {
  display: grid;
  gap: 12px;
}

.content-container .tip-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(91, 255, 178, 0.04);
  border-radius: 8px;
  border-left: 3px solid var(--cr-content-accent);
}

.content-container .tip-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cr-content-accent-dim);
  border: 1px solid var(--cr-content-accent-border);
  border-radius: 6px;
}

.content-container .tip-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--cr-content-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-container .tip-text {
  font-size: 14px;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.55;
}

/* —— Live support: chat button, info grid —— */
.content-container .chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #5bffb2, #4de69c);
  border: none;
  border-radius: 10px;
  color: #0a0f14;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 20px;
}

.content-container .chat-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 255, 178, 0.4);
}

.content-container .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.content-container .info-card {
  background: var(--cr-content-accent-dim);
  border: 1px solid var(--cr-content-accent-border);
  border-radius: 10px;
  padding: 18px;
}

.content-container .info-card-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--cr-content-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.content-container .info-card-value {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.content-container .feature-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.content-container .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content-container .feature-list li:last-child {
  border-bottom: none;
}

.content-container .feature-list .feature-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.content-container .feature-list .feature-text {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.9);
}

/* —— FAQ: search, tabs, accordion —— */
.content-container .search-box {
  margin-bottom: 24px;
}

.content-container .search-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.content-container .search-input:focus {
  outline: none;
  border-color: rgba(91, 255, 178, 0.45);
  box-shadow: 0 0 0 3px rgba(91, 255, 178, 0.12);
}

.content-container .category-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.content-container .category-tab {
  padding: 8px 16px;
  background: var(--cr-content-accent-dim);
  border: 1px solid var(--cr-content-accent-border);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.content-container .category-tab:hover {
  background: rgba(91, 255, 178, 0.12);
  border-color: rgba(91, 255, 178, 0.3);
  color: #fff;
}

.content-container .category-tab.active {
  background: rgba(91, 255, 178, 0.18);
  border-color: rgba(91, 255, 178, 0.4);
  color: var(--cr-content-accent);
}

.content-container .faq-section {
  margin-bottom: 32px;
}

.content-container .faq-section .section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px 0;
}

.content-container .section-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cr-content-accent-dim);
  border: 1px solid var(--cr-content-accent-border);
  border-radius: 8px;
}

.content-container .section-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--cr-content-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-container .faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.content-container .faq-item:hover {
  border-color: rgba(91, 255, 178, 0.22);
}

.content-container .faq-question {
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.content-container .faq-question-text {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.content-container .faq-toggle {
  font-size: 18px;
  color: var(--cr-content-accent);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.content-container .faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.content-container .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.content-container .faq-answer-content {
  padding: 0 18px 18px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.88);
}

.content-container .faq-item.open .faq-answer {
  max-height: 400px;
}

/* ========== PLATFORM PAGES REDESIGN (Provably Fair, Terms, Privacy, About) ========== */
.platform-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px 56px;
  color: #e2e8f0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}
.platform-page p { color: rgba(226, 232, 240, 0.9); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.platform-page p:last-child { margin-bottom: 0; }
.platform-page a { color: var(--cr-content-accent); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.platform-page a:hover { color: #7dffc4; text-decoration: underline; }
.platform-page strong { color: #fff; font-weight: 600; }
.platform-page ul, .platform-page ol { margin-left: 22px; margin-bottom: 14px; color: rgba(226, 232, 240, 0.9); }
.platform-page li { margin-bottom: 6px; line-height: 1.6; }
.platform-page h3 { font-family: 'Sora', 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--cr-content-accent); margin: 20px 0 10px; }
.platform-page .highlight-box {
  background: rgba(91, 255, 178, 0.06);
  border: 1px solid rgba(91, 255, 178, 0.12);
  border-left: 4px solid var(--cr-content-accent);
  padding: 18px 20px;
  margin: 16px 0;
  border-radius: 10px;
}
.platform-page .highlight-box p { margin-bottom: 8px; }
.platform-page .highlight-box p:last-child { margin-bottom: 0; }
.platform-hero {
  text-align: center;
  padding: 32px 0 28px;
  border-bottom: 1px solid rgba(91, 255, 178, 0.15);
  margin-bottom: 32px;
}
.platform-hero-title {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--cr-content-accent);
  letter-spacing: -0.5px;
  margin: 0 0 8px 0;
  line-height: 1.15;
}
.platform-hero-sub {
  color: rgba(148, 163, 184, 0.95);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}
.platform-hero-bar {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--cr-content-accent), rgba(91, 255, 178, 0.4));
  border-radius: 2px;
  margin: 20px auto 0;
}
.platform-hub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 16px 0 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.platform-hub a {
  color: rgba(226, 232, 240, 0.7);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.platform-hub a:hover {
  color: var(--cr-content-accent);
}
.platform-hub .active {
  color: var(--cr-content-accent);
  pointer-events: none;
}
.platform-hub span.sep {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 400;
  user-select: none;
}

/* Platform layout with sidebar (Terms, Privacy) */
.platform-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 820px) {
  .platform-with-sidebar {
    grid-template-columns: 200px 1fr;
  }
  .platform-toc { order: 0; }
  .platform-main { order: 1; }
}
.platform-toc {
  position: sticky;
  top: 100px;
  padding: 20px 0;
}
@media (max-width: 819px) {
  .platform-toc {
    position: static;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
  }
  .platform-toc nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .platform-toc a {
    padding: 6px 12px;
    font-size: 12px;
    background: rgba(91, 255, 178, 0.08);
    border-radius: 6px;
    border-left: none;
  }
}
.platform-toc-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
  margin: 0 0 14px 0;
}
.platform-toc nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.platform-toc a {
  display: block;
  padding: 8px 12px;
  color: rgba(226, 232, 240, 0.75);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.platform-toc a:hover {
  color: var(--cr-content-accent);
  background: rgba(91, 255, 178, 0.06);
  border-left-color: rgba(91, 255, 178, 0.4);
}
.platform-main {
  min-width: 0;
}
.platform-section {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: 100px;
}
.platform-section:last-of-type {
  border-bottom: none;
}
.platform-section h2 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cr-content-accent);
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(91, 255, 178, 0.15);
  letter-spacing: -0.2px;
}
.platform-section h2:first-child { margin-top: 0; }
.platform-section p, .platform-section ul, .platform-section ol, .platform-section h3 {
  margin-bottom: 12px;
}
.platform-section p:last-child, .platform-section ul:last-child, .platform-section ol:last-child { margin-bottom: 0; }
.platform-section .highlight-box { margin: 16px 0; }

/* Provably Fair: card grid */
.platform-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 8px;
}
@media (min-width: 640px) {
  .platform-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
.platform-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(91, 255, 178, 0.12);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.platform-card:hover {
  border-color: rgba(91, 255, 178, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.platform-card h2 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cr-content-accent);
  margin: 0 0 12px 0;
  padding: 0;
  border: none;
}
.platform-card p {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.9);
}
.platform-card p:last-child { margin-bottom: 0; }
.platform-card.full-width {
  grid-column: 1 / -1;
}

/* About: platform sections */
.platform-about .platform-hero { margin-bottom: 40px; }
.platform-about .content-section-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-top: 36px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  position: relative;
  border: none;
}
.platform-about .content-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--cr-content-accent) 0%, rgba(91, 255, 178, 0.3) 70%, transparent 100%);
  border-radius: 2px;
}
.platform-about .content-section-title:first-of-type { margin-top: 0; }
.platform-about .feature-grid { margin: 24px 0; }
.platform-about .feature-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 20px; transition: background 0.2s, border-color 0.2s; }
.platform-about .feature-card:hover { background: var(--cr-content-accent-dim); border-color: rgba(91, 255, 178, 0.22); }
.platform-about .feature-icon { background: var(--cr-content-accent-dim); border: 1px solid var(--cr-content-accent-border); }
.platform-about .feature-title, .platform-about .feature-card h3 { color: #fff; }
.platform-about .feature-text, .platform-about .feature-card p { color: rgba(226, 232, 240, 0.85); }
.platform-about .content-container-footer { margin-top: 48px; }

/* Platform page footer strip */
.platform-page .content-container-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(91, 255, 178, 0.12);
}
