.catch-calc-page-shell {
  padding-bottom: 3.5rem;
}

.catch-calc-hero {
  padding: 3rem 0 2rem;
  background: radial-gradient(circle at top, rgba(239, 68, 68, 0.12), transparent 70%);
}

.catch-calc-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 991px) {
  .catch-calc-hero-grid {
    grid-template-columns: 1fr;
  }
}

.catch-calc-preview {
  background: var(--surface-bg, #1a1e29);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.catch-calc-preview-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.catch-calc-preview-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.catch-calc-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}

.catch-calc-preview-stats div {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
}

.catch-calc-preview-stats strong {
  display: block;
  font-size: 1.25rem;
  color: #ef4444;
}

.catch-calc-preview-stats span {
  font-size: 0.8rem;
  color: #9ca3af;
}

.catch-calc-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 991px) {
  .catch-calc-workspace {
    grid-template-columns: 1fr;
  }
}

.catch-calc-panel {
  background: var(--surface-bg, #1a1e29);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  color: #f3f4f6;
}

.catch-calc-panel .tracker-section-heading h2,
.catch-calc-panel .tracker-section-heading p,
.catch-calc-panel h2,
.catch-calc-panel h3,
.catch-calc-panel h4,
.catch-calc-panel p,
.catch-calc-panel span,
.catch-calc-panel label {
  color: inherit;
}

.catch-calc-panel .tracker-section-heading h2 {
  color: #ffffff;
}

.catch-calc-panel .tracker-section-heading p {
  color: #94a3b8;
}

.catch-calc-panel .roulette-section-kicker {
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.catch-calc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 576px) {
  .catch-calc-form-grid {
    grid-template-columns: 1fr;
  }
}

.catch-calc-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: #e5e7eb;
}

.catch-calc-field input,
.catch-calc-field select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
}

.catch-calc-field input:focus,
.catch-calc-field select:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}

.catch-calc-hp-slider-wrap {
  margin-top: 0.5rem;
}

.catch-calc-hp-slider-wrap input[type="range"] {
  width: 100%;
  accent-color: #ef4444;
}

.catch-calc-btn-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.catch-calc-primary-btn {
  background: #ef4444;
  color: #fff;
  border: none;
  padding: 0.7rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s ease;
}

.catch-calc-primary-btn:hover {
  background: #dc2626;
}

.catch-calc-secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.7rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
}

.catch-calc-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.catch-calc-rate-badge {
  font-size: 2.25rem;
  font-weight: 700;
  color: #10b981;
}

.catch-calc-stat-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.catch-calc-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
}

.catch-calc-stat-card span {
  display: block;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.catch-calc-stat-card strong {
  font-size: 1.15rem;
  color: #f3f4f6;
}

.catch-calc-shib-breakdown {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.catch-calc-shib-breakdown h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.75rem;
}

.catch-calc-shake-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.catch-calc-shake-row:last-child {
  border-bottom: none;
}

.catch-calc-content-section {
  padding: 3rem 0;
}

.catch-calc-content-section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.02);
}

.catch-calc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.catch-calc-card {
  background: var(--surface-bg, #1a1e29);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  padding: 1.5rem;
}

.catch-calc-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #f3f4f6;
}

.catch-calc-card p {
  color: #9ca3af;
  font-size: 0.925rem;
  line-height: 1.6;
}

.catch-calc-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.catch-calc-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-bg, #1a1e29);
  border-radius: 8px;
  overflow: hidden;
}

.catch-calc-table th,
.catch-calc-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.catch-calc-table th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: #e5e7eb;
}

.catch-calc-table td {
  color: #9ca3af;
  font-size: 0.925rem;
}
