/* ==========================================================================
   DSATEXAM.CSS — DSAT-2026 Master Hub (dsatexam.php)
   Prefix: dst-*   |   global.css is NOT modified.
   Page colours are scoped to .dst-page so site-wide --primary stays untouched.
   ========================================================================== */

.dst-page {
  --dst-navy: #0B1437;
  --dst-navy-2: #111C4E;
  --dst-blue: #2F6BFF;
  --dst-cyan: #22D3EE;
  --dst-hero-text: #C9D3F5;
}

/* ============================================================
   1. HERO
   ============================================================ */
.dst-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 130px;
  background:
    radial-gradient(circle at 85% 20%, rgba(47, 107, 255, 0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(34, 211, 238, 0.18), transparent 40%),
    linear-gradient(135deg, var(--dst-navy) 0%, var(--dst-navy-2) 100%);
  color: var(--dst-hero-text);
}

.dst-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  pointer-events: none;
}

.dst-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
  border-radius: var(--radius-full);
  color: #A5F3FC;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dst-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: dstPulse 1.8s infinite;
}

@keyframes dstPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.dst-hero-title {
  color: #FFFFFF;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.dst-hero-title-accent {
  display: block;
  background: linear-gradient(90deg, #7DA2FF 0%, var(--dst-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dst-hero-tagline {
  font-size: 1.12rem;
  max-width: 600px;
  margin-bottom: 22px;
  color: var(--dst-hero-text);
}

.dst-hero-tagline strong { color: #FFFFFF; }

.dst-hero-points {
  list-style: none;
  margin-bottom: 30px;
  display: grid;
  gap: 10px;
}

.dst-hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.dst-hero-points i { color: var(--dst-cyan); }

.dst-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.dst-page .dst-btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--dst-blue) 0%, #5B8CFF 100%);
}

.dst-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
}

.dst-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
}

/* Exam snapshot (admit-card style) */
.dst-snapshot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.dst-snapshot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.45), rgba(34, 211, 238, 0.2));
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}

.dst-snapshot-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #BFD2FF;
  font-weight: 600;
}

.dst-snapshot-title {
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 2px 0 0;
}

.dst-snapshot-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 1.5rem;
}

.dst-snapshot-list {
  list-style: none;
  padding: 10px 26px;
  margin: 0;
}

.dst-snapshot-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.93rem;
}

.dst-snapshot-list li:last-child { border-bottom: none; }

.dst-snapshot-list span i {
  color: var(--dst-cyan);
  margin-right: 8px;
}

.dst-snapshot-list strong {
  color: #FFFFFF;
  font-weight: 600;
  text-align: right;
}

.dst-snapshot-foot {
  padding: 14px 26px;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.85rem;
}

.dst-snapshot-foot i { color: #22C55E; margin-right: 6px; }
.dst-snapshot-foot strong { color: #FFFFFF; }

/* Hub hero (dsatexam.php only) */
.dst-hero--hub { padding: 80px 0; }

.dst-hero-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 540px;
  color: var(--dst-hero-text);
  margin-bottom: 12px;
}

.dst-hero-org {
  font-size: 0.85rem;
  color: var(--dst-hero-text);
  margin-bottom: 22px;
}

.dst-hero-org i { color: #22C55E; margin-right: 6px; }
.dst-hero-org strong { color: #FFFFFF; }

.dst-hero--hub .dst-status { margin-bottom: 0; }

/* Hero right — simple answer-sheet animation (bubbles fill one by one) */
.dst-sheet {
  max-width: 360px;
  margin-left: auto;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
}

.dst-sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dst-sheet-row:last-child { border-bottom: none; }

/* question ki jagah ek halki line (text nahi) */
.dst-sheet-q {
  width: 90px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
}

.dst-sheet-opts { display: flex; gap: 12px; }

.dst-sheet-opts i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

/* har row me ek option fill hota hai, row by row */
.dst-sheet-row:nth-child(1) i:nth-child(2),
.dst-sheet-row:nth-child(2) i:nth-child(4),
.dst-sheet-row:nth-child(3) i:nth-child(1),
.dst-sheet-row:nth-child(4) i:nth-child(3),
.dst-sheet-row:nth-child(5) i:nth-child(2) { animation: dstFill 6s ease infinite; }

.dst-sheet-row:nth-child(2) i { animation-delay: 0.7s; }
.dst-sheet-row:nth-child(3) i { animation-delay: 1.4s; }
.dst-sheet-row:nth-child(4) i { animation-delay: 2.1s; }
.dst-sheet-row:nth-child(5) i { animation-delay: 2.8s; }

@keyframes dstFill {
  0%, 5%    { background: transparent; border-color: rgba(255, 255, 255, 0.25); }
  10%, 75%  { background: var(--dst-blue); border-color: var(--dst-blue); }
  85%, 100% { background: transparent; border-color: rgba(255, 255, 255, 0.25); }
}

@media (prefers-reduced-motion: reduce) {
  .dst-sheet-opts i { animation: none !important; }
}

/* ============================================================
   2. ABOUT DSAT  (background 1)
   ============================================================ */
.dst-about { background: var(--bg-main); }

.dst-about-icon {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 4.5rem;
  color: var(--dst-blue);
  background: rgba(47, 107, 255, 0.1);
  border: 1px solid rgba(47, 107, 255, 0.25);
}

.dst-about-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 18px;
}

.dst-about-list li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.dst-about-list li i { color: var(--dst-blue); margin-top: 3px; }
.dst-about-list strong { color: var(--text-primary); }

/* Campus / Off-Campus — 2 parts, button har ek ke neeche */
.dst-about-ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-color);
}

.dst-way-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.dst-way-title i { color: var(--dst-blue); margin-right: 6px; }

.dst-way-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.dst-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--dst-blue);
  background: var(--dst-blue);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.dst-btn-sm:hover { opacity: 0.9; color: #FFFFFF; }

.dst-btn-sm--outline {
  background: transparent;
  color: var(--dst-blue);
}

.dst-btn-sm--outline:hover { background: rgba(47, 107, 255, 0.1); color: var(--dst-blue); }

/* ============================================================
   3. SELECTION PROCESS  (background 2)
   ============================================================ */
.dst-process { background: var(--bg-section); }

.dst-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0;
  padding: 0;
}

.dst-step {
  position: relative;
  text-align: center;
  padding: 0 6px;
}

.dst-step::before {
  content: "";
  position: absolute;
  top: 21px;
  left: calc(-50% + 26px);
  right: calc(50% + 26px);
  height: 2px;
  background: var(--dst-blue);
  opacity: 0.35;
}

.dst-step:first-child::before { display: none; }

.dst-step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--dst-blue);
  margin-bottom: 12px;
}

.dst-step-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

/* ============================================================
   4. EXAM DETAILS  (background 3)
   ============================================================ */
.dst-details { background: var(--bg-card); }

.dst-sub {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 36px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--dst-blue);
}

.dst-sub:first-of-type { margin-top: 0; }

.dst-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-color);
  min-width: 560px;
}

.dst-table th,
.dst-table td {
  padding: 12px 18px;
  font-size: 0.9rem;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: middle;
}

.dst-table thead th {
  background: var(--dst-navy-2);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.dst-table td strong { display: block; color: var(--text-primary); }
.dst-table td small  { font-size: 0.8rem; color: var(--text-muted); }

.dst-table-code {
  width: 80px;
  text-align: center;
  font-weight: 700;
  color: var(--dst-blue) !important;
}

.dst-table tfoot td {
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-section);
}

.dst-kv { min-width: 0; }

.dst-kv th {
  width: 30%;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-section);
}

.dst-rules {
  margin: 0;
  padding-left: 20px;
}

.dst-rules li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  padding: 3px 0;
}

/* ============================================================
   5. RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .dst-hero { padding: 60px 0 120px; }
  .dst-hero--hub { padding: 60px 0; }
  .dst-sheet { margin: 0 auto; }

  .dst-about-icon { width: 130px; height: 130px; font-size: 3.2rem; }

  .dst-steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .dst-step:nth-child(4)::before { display: none; }
}

@media (max-width: 575px) {
  .dst-hero { padding: 44px 0 110px; }
  .dst-hero--hub { padding: 44px 0; }
  .dst-hero-actions a { width: 100%; justify-content: center; }

  .dst-snapshot-head,
  .dst-snapshot-list,
  .dst-snapshot-foot { padding-left: 18px; padding-right: 18px; }

  .dst-sheet-opts { gap: 8px; }
  .dst-about-ways { grid-template-columns: 1fr; }

  .dst-steps { grid-template-columns: repeat(2, 1fr); }
  .dst-step:nth-child(4)::before { display: block; }
  .dst-step:nth-child(odd)::before { display: none; }

  .dst-kv th { width: 40%; }
  .dst-table th, .dst-table td { padding: 10px 12px; }
}
