/* ==========================================
   PRICES SECTION CSS - Dark Horror Theme
   ========================================== */

.prices-section {
  background: #070707;
  position: relative;
}

.prices-section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(60,0,0,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 30% at 50% 0%,   rgba(40,0,0,0.15) 0%, transparent 60%);
  z-index: 0;
}

.prices-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--blood) 20%, var(--primary) 50%, var(--blood) 80%, transparent 100%);
  box-shadow: 0 0 20px rgba(201,168,76,0.5);
}

.prices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- Price Card ---- */
.price-card {
  background: linear-gradient(160deg, #0e0e0e 0%, #0a0a0a 100%);
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: 0 4px 30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.03);
  border: 1px solid #1e1a14;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.9), 0 0 30px rgba(80,0,0,0.2);
  border-color: rgba(201,168,76,0.35);
}

/* Accent top border per color */
.price-card--purple { border-top: 3px solid var(--primary); }
.price-card--cyan   { border-top: 3px solid var(--blood); }
.price-card--blue   { border-top: 3px solid var(--secondary); }
.price-card--orange { border-top: 3px solid #c9a84c; }
.price-card--green  { border-top: 3px solid var(--gold-light); }

/* Full-width cards for categories with more data */
.price-card:nth-child(1) { grid-column: span 2; }
.price-card:nth-child(4) { grid-column: span 2; }

/* ---- Card Header ---- */
.price-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.price-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #0a0800;
  flex-shrink: 0;
}

.price-icon--purple { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.price-icon--cyan   { background: linear-gradient(135deg, var(--blood), #6b0000); }
.price-icon--blue   { background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.price-icon--orange { background: linear-gradient(135deg, #c9a84c, #a87c30); }
.price-icon--green  { background: linear-gradient(135deg, var(--gold-light), var(--primary)); }

.price-icon--cyan { color: var(--gold-light); }

.price-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

/* ---- Price Table ---- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  flex: 1;
}

.price-table thead th {
  background: rgba(201,168,76,0.05);
  padding: 10px 24px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-gray);
  border-bottom: 1px solid var(--border);
}

.price-table thead th:last-child {
  text-align: right;
}

.price-table tbody tr {
  transition: background 0.15s;
}

.price-table tbody tr:hover {
  background: rgba(201,168,76,0.04);
}

.price-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}

.price-table td {
  padding: 11px 24px;
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.4;
}

.price-cell {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
  color: var(--primary) !important;
  font-size: 14px !important;
}

/* ---- Sub-category header row ---- */
.price-table tbody tr.price-subhead:hover { background: transparent; }
.price-subhead td {
  padding: 16px 24px 6px !important;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary);
}

/* ---- Note ---- */
.price-card-note {
  padding: 12px 24px;
  background: rgba(201,168,76,0.06);
  border-top: 1px solid rgba(201,168,76,0.15);
  font-size: 12px;
  color: var(--text-gray);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.5;
}

.price-card-note i {
  color: var(--primary);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- Prices CTA ---- */
.prices-cta {
  margin-top: 48px;
  background: linear-gradient(135deg, #1a0000, #0f0500, #180a00);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid rgba(201,168,76,0.3);
  position: relative;
  overflow: hidden;
}

.prices-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blood), var(--primary), var(--blood), transparent);
}

.prices-cta-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,168,76,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  border: 1px solid rgba(201,168,76,0.45);
}

.prices-cta h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.prices-cta p {
  font-size: 14px;
  color: var(--text-gray);
}

.prices-cta .btn {
  margin-left: auto;
  flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .prices-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card:nth-child(1) { grid-column: span 2; }
  .price-card:nth-child(4) { grid-column: span 2; }
}

@media (max-width: 640px) {
  .prices-grid { grid-template-columns: 1fr; }
  .price-card:nth-child(1),
  .price-card:nth-child(4) { grid-column: span 1; }
  .price-table td { padding: 10px 16px; font-size: 13px; }
  .price-card-header { padding: 16px 16px 12px; }
  .prices-cta { padding: 24px 20px; flex-direction: column; text-align: center; }
  .prices-cta .btn { margin-left: 0; }
  .prices-cta-icon { margin: 0 auto; }
}
