/**
 * DIGITARA - UI/UX PRO MAX DESIGN SYSTEM STYLESHEET
 * Applied across the main landing page and public interface.
 * Implements world-class visual hierarchy, glassmorphism, 8-point grid,
 * tactile micro-interactions, responsive fluid typography, and premium polish.
 */

:root {
  --dg-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --dg-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --dg-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Elevated Color Tokens (Tailored HSL) */
  --pro-primary: #0091B9;
  --pro-primary-dark: #004E98;
  --pro-primary-light: #41b3d6;
  --pro-accent: #FF6500;
  --pro-accent-hover: #e55b00;
  --pro-accent-glow: rgba(255, 101, 0, 0.38);

  --pro-slate-900: #0f172a;
  --pro-slate-800: #1e293b;
  --pro-slate-700: #334155;
  --pro-slate-600: #475569;
  --pro-slate-500: #64748b;
  --pro-slate-400: #94a3b8;
  --pro-slate-200: #e2e8f0;
  --pro-slate-100: #f1f5f9;
  --pro-slate-50:  #f8fafc;

  /* Ambient Soft Shadows */
  --pro-shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --pro-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --pro-shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --pro-shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --pro-shadow-glow: 0 0 35px -5px rgba(255, 166, 43, 0.35);

  --pro-radius-sm: 8px;
  --pro-radius-md: 12px;
  --pro-radius-lg: 16px;
  --pro-radius-xl: 22px;
  --pro-radius-full: 9999px;

  --pro-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pro-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   GLOBAL POLISH & TYPOGRAPHY
   ========================================================================== */
body {
  font-family: var(--dg-font-body);
  background-color: var(--pro-slate-50);
  color: var(--pro-slate-800);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .dg-hero-title, .dg-title, .dg-card-title, .dg-slide-title {
  font-family: var(--dg-font-display);
  letter-spacing: -0.028em;
}

/* Monospace Figures & Data Counters */
.dg-stat-num, .dg-slide-counter, .dg-quota-numbers strong, .is-price, .is-deadline {
  font-family: var(--dg-font-mono);
  font-feature-settings: 'tnum' 1, 'zero' 1;
}

/* ==========================================================================
   1. HERO SECTION (ULTRA-PREMIUM CELESTIAL MESH & GLASSMORPHISM)
   ========================================================================== */
.dg-hero {
  position: relative;
  background: 
    radial-gradient(1000px 600px at 85% 15%, rgba(0, 145, 185, 0.45) 0%, transparent 70%),
    radial-gradient(800px 500px at 15% 85%, rgba(255, 101, 0, 0.18) 0%, transparent 65%),
    linear-gradient(155deg, #001a33 0%, #003366 40%, #004E98 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dg-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.18;
  pointer-events: none;
}

/* Eyebrow Pill */
.dg-eyebrow {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.25s ease;
}
.dg-eyebrow:hover {
  border-color: rgba(255, 101, 0, 0.5) !important;
  transform: translateY(-1px);
}
.dg-eyebrow-pill {
  background: linear-gradient(135deg, #FF6500 0%, #ff8533 100%) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 2px 8px rgba(255, 101, 0, 0.45);
}

/* Hero Typography */
.dg-hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.85rem) !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: -0.038em !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.dg-hero-title .hl {
  background: linear-gradient(135deg, #FF6500 15%, #FFD500 60%, #ffffff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 10px rgba(255, 101, 0, 0.35));
}

.dg-hero-desc {
  font-size: clamp(1rem, 1.25vw, 1.12rem) !important;
  color: #cbd5e1 !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  max-width: 640px;
}

/* Tactile CTAs */
.dg-btn-accent {
  background: linear-gradient(135deg, #FF6500 0%, #ff8533 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border-radius: var(--pro-radius-md) !important;
  box-shadow: 0 6px 22px rgba(255, 101, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transition: all 0.25s var(--pro-ease) !important;
  border: none !important;
}
.dg-btn-accent:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 10px 28px rgba(255, 101, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
}
.dg-btn-accent:active {
  transform: translateY(0) scale(0.98) !important;
}

.dg-btn-glass {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(14px) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: var(--pro-radius-md) !important;
  transition: all 0.25s var(--pro-ease) !important;
}
.dg-btn-glass:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Hero Slider Frame */
.dg-hero-slider {
  border-radius: var(--pro-radius-lg) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  overflow: hidden;
  background: #0f172a;
}
.dg-slide-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.65) 60%, rgba(15, 23, 42, 0.92) 100%) !important;
}
.dg-slide-badge {
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 101, 0, 0.45) !important;
  color: #FF6500 !important;
  font-weight: 800 !important;
  border-radius: var(--pro-radius-full) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.dg-slide-counter {
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #e2e8f0 !important;
  font-family: var(--dg-font-mono) !important;
  font-weight: 800 !important;
}
.dg-slider-progress {
  background: linear-gradient(90deg, #FF6500, #FFD500) !important;
  box-shadow: 0 0 12px rgba(255, 101, 0, 0.7);
}

/* Slider Controls: Arrows & Interactive Dots */
.dg-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  background: rgba(15, 23, 42, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s var(--pro-ease) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}
.dg-slider-arrow:hover {
  background: linear-gradient(135deg, #FF6500, #ff8533) !important;
  color: #ffffff !important;
  border-color: #FF6500 !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(255, 101, 0, 0.5) !important;
}
.dg-slider-arrow.prev { left: 16px; }
.dg-slider-arrow.next { right: 16px; }

.dg-slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.68) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: var(--pro-radius-full) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}
.dg-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38) !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s var(--pro-ease) !important;
  padding: 0;
}
.dg-slider-dot:hover {
  background: rgba(255, 255, 255, 0.8) !important;
}
.dg-slider-dot.is-active {
  width: 28px !important;
  border-radius: var(--pro-radius-full) !important;
  background: linear-gradient(90deg, #FF6500, #FFD500) !important;
  box-shadow: 0 0 12px rgba(255, 101, 0, 0.8) !important;
}

/* Trust & Authority Chips */
.dg-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
}
.dg-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: -0.01em;
}
.dg-trust-item i {
  color: #FFD500;
  font-size: 0.95rem;
  filter: drop-shadow(0 0 6px rgba(255, 213, 0, 0.5));
}

/* Glassmorphism Activity Pillars */
.dg-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}
.dg-pillar-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--pro-radius-md) !important;
  backdrop-filter: blur(12px) !important;
  transition: all 0.25s var(--pro-ease) !important;
}
.dg-pillar-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 166, 43, 0.45) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
.dg-pillar-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25);
}
.dg-pillar-icon.p-science { background: rgba(99, 102, 241, 0.22) !important; color: #a5b4fc !important; }
.dg-pillar-icon.p-sports { background: rgba(16, 185, 129, 0.22) !important; color: #6ee7b7 !important; }
.dg-pillar-icon.p-creative { background: rgba(245, 158, 11, 0.22) !important; color: #fcd34d !important; }
.dg-pillar-icon.p-cert { background: rgba(14, 165, 233, 0.22) !important; color: #7dd3fc !important; }
.dg-pillar-text {
  display: flex;
  flex-direction: column;
}
.dg-pillar-title {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}
.dg-pillar-sub {
  color: #94a3b8;
  font-size: 0.74rem;
  line-height: 1.35;
  margin-top: 2px;
}

/* ==========================================================================
   2. STATS SECTION (FLOATING AMBIENT DOCK)
   ========================================================================== */
.dg-stats {
  margin-top: -3.8rem;
  position: relative;
  z-index: 20;
}
.dg-stats-card {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: var(--pro-radius-xl) !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  padding: 1.6rem 2.2rem !important;
  backdrop-filter: blur(8px);
}
.dg-stat {
  padding: 0.5rem 1.25rem !important;
  transition: transform 0.25s ease;
}
.dg-stat:hover {
  transform: translateY(-2px);
}
.dg-stat-num {
  font-size: clamp(1.85rem, 2.4vw, 2.45rem) !important;
  font-weight: 900 !important;
  color: var(--pro-slate-900) !important;
  line-height: 1.05 !important;
}
.dg-stat-label {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--pro-slate-500) !important;
  margin-top: 4px;
}
.dg-stat-icon {
  width: 50px !important;
  height: 50px !important;
  border-radius: var(--pro-radius-md) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem !important;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   3. EVENT CATALOG & CARDS (WORLD-CLASS CARD PRESENTATION)
   ========================================================================== */
.dg-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 !important;
}
.dg-kicker {
  color: var(--pro-primary) !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 0.5rem;
}
.dg-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem) !important;
  font-weight: 900 !important;
  color: var(--pro-slate-900) !important;
  line-height: 1.18 !important;
}
.dg-subtitle {
  font-size: 1rem !important;
  color: var(--pro-slate-500) !important;
  line-height: 1.65 !important;
  max-width: 650px;
}

/* Category Filter Pills */
.dg-filters {
  background: #ffffff;
  padding: 5px;
  border-radius: var(--pro-radius-full);
  border: 1px solid var(--pro-slate-200);
  box-shadow: var(--pro-shadow-sm);
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
}
.dg-filter {
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--pro-radius-full) !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: var(--pro-slate-600) !important;
  border: none !important;
  background: transparent !important;
  transition: all 0.2s var(--pro-ease) !important;
  cursor: pointer;
}
.dg-filter:hover {
  color: var(--pro-slate-900) !important;
  background: var(--pro-slate-100) !important;
}
.dg-filter.is-active {
  background: var(--pro-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(22, 105, 122, 0.3) !important;
}
.dg-filter .count {
  font-family: var(--dg-font-mono);
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: var(--pro-radius-full);
  background: rgba(0, 0, 0, 0.06);
  margin-left: 4px;
}
.dg-filter.is-active .count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Event Cards */
.dg-card {
  background: #ffffff !important;
  border: 1px solid var(--pro-slate-200) !important;
  border-radius: var(--pro-radius-lg) !important;
  box-shadow: var(--pro-shadow-sm) !important;
  overflow: hidden;
  transition: all 0.35s var(--pro-ease) !important;
  display: flex;
  flex-direction: column;
}
.dg-card:hover {
  transform: translateY(-6px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: var(--pro-shadow-xl) !important;
}
.dg-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}
.dg-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--pro-ease) !important;
}
.dg-card:hover .dg-card-media img {
  transform: scale(1.07) !important;
}

.dg-chip {
  backdrop-filter: blur(10px) !important;
  border-radius: var(--pro-radius-full) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.75rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.dg-chip-cat {
  background: rgba(15, 23, 42, 0.75) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.dg-chip-status.is-buka {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.dg-chip-status.is-segera {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.dg-chip-status.is-tutup {
  background: rgba(71, 85, 105, 0.9) !important;
  color: #ffffff !important;
}

.dg-card-body {
  padding: 1.35rem 1.45rem 1.45rem !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dg-card-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--pro-slate-900) !important;
  line-height: 1.35 !important;
  margin: 0.6rem 0 0.4rem !important;
}
.dg-card-title a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.dg-card-title a:hover {
  color: var(--pro-primary) !important;
}

.dg-card-desc {
  font-size: 0.85rem !important;
  color: var(--pro-slate-600) !important;
  line-height: 1.55 !important;
  margin-bottom: 0.85rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Meta & Badges */
.dg-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}
.dg-card-meta .badge, .dg-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem !important;
  border-radius: var(--pro-radius-full) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
.dg-tag {
  background: var(--pro-slate-100) !important;
  color: var(--pro-slate-600) !important;
  border: 1px solid var(--pro-slate-200) !important;
}

/* Card Info Block (Price & Deadline) */
.dg-card-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  margin-top: auto;
  margin-bottom: 0.85rem;
  border-top: 1px dashed var(--pro-slate-200);
  border-bottom: 1px dashed var(--pro-slate-200);
}
.dg-card-info small {
  display: block;
  font-size: 0.72rem;
  color: var(--pro-slate-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.dg-card-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--pro-slate-900);
}
.dg-card-info .is-free {
  color: #059669 !important;
}
.dg-card-info .is-price {
  color: var(--pro-primary) !important;
}
.dg-card-info .is-deadline {
  color: var(--pro-slate-700) !important;
}

/* Quota Progress Bar */
.dg-card-quota {
  background: var(--pro-slate-50);
  border: 1px solid var(--pro-slate-200);
  border-radius: var(--pro-radius-md);
  padding: 0.75rem 0.95rem;
  margin-bottom: 1.1rem;
}
.dg-quota-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
}
.dg-quota-label {
  font-weight: 700;
  color: var(--pro-slate-600);
}
.dg-quota-numbers {
  font-family: var(--dg-font-mono);
  font-size: 0.78rem;
  color: var(--pro-slate-700);
}
.dg-quota-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: var(--pro-radius-full);
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.dg-quota-chip.badge-success { background: #dcfce7 !important; color: #15803d !important; }
.dg-quota-chip.badge-warning { background: #fef3c7 !important; color: #b45309 !important; }
.dg-quota-chip.badge-danger { background: #fee2e2 !important; color: #b91c1c !important; }

.dg-quota-track {
  height: 8px !important;
  background: #e2e8f0 !important;
  border-radius: var(--pro-radius-full) !important;
  overflow: hidden;
  position: relative;
}
.dg-quota-fill {
  height: 100%;
  border-radius: var(--pro-radius-full);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.dg-quota-fill.bar-success {
  background: linear-gradient(90deg, #10b981, #059669) !important;
}
.dg-quota-fill.bar-warning {
  background: linear-gradient(90deg, #fbbf24, #d97706) !important;
}
.dg-quota-fill.bar-danger {
  background: linear-gradient(90deg, #f87171, #dc2626) !important;
}
.dg-quota-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  margin-top: 0.4rem;
  color: var(--pro-slate-500);
  font-weight: 600;
}
.dg-quota-rem.is-urgent {
  color: #dc2626 !important;
  font-weight: 800;
}

/* Disabled Button States with Clear Distinction */
.dg-btn-disabled {
  background: var(--pro-slate-100) !important;
  color: var(--pro-slate-400) !important;
  border: 1px solid var(--pro-slate-200) !important;
  cursor: not-allowed !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.dg-btn-disabled.is-full {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border-color: #fecaca !important;
}

/* Card Button Group */
.dg-card-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: auto;
  padding-top: 0.75rem;
}
.dg-card-actions .dg-btn {
  border-radius: var(--pro-radius-md) !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  padding: 0.55rem 1rem !important;
  transition: all 0.2s var(--pro-ease) !important;
}
.dg-card-actions .dg-btn-primary {
  background: linear-gradient(135deg, var(--pro-primary) 0%, var(--pro-primary-dark) 100%) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(22, 105, 122, 0.25) !important;
}
.dg-card-actions .dg-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 105, 122, 0.38) !important;
}
.dg-card-actions .dg-btn-ghost {
  border: 1px solid var(--pro-slate-200) !important;
  background: #ffffff !important;
  color: var(--pro-slate-700) !important;
}
.dg-card-actions .dg-btn-ghost:hover {
  background: var(--pro-slate-100) !important;
  color: var(--pro-slate-900) !important;
  border-color: #cbd5e1 !important;
}

/* ==========================================================================
   4. MULTI-TRACK SHOWCASE CARDS (#jalur)
   ========================================================================== */
.dg-section-tracks {
  background: #ffffff;
  border-top: 1px solid var(--pro-slate-200);
  border-bottom: 1px solid var(--pro-slate-200);
}
.dg-tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.dg-track-card {
  background: var(--pro-slate-50);
  border: 1px solid var(--pro-slate-200);
  border-radius: var(--pro-radius-xl);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--pro-ease);
}
.dg-track-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.dg-track-card.track-sports::before {
  background: linear-gradient(90deg, #10b981, #059669);
}
.dg-track-card.track-science::before {
  background: linear-gradient(90deg, #6366f1, #4f46e5);
}
.dg-track-card.track-creative::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.dg-track-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  box-shadow: var(--pro-shadow-xl);
  border-color: #cbd5e1;
}

.dg-track-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--pro-radius-full);
  margin-bottom: 1.25rem;
}
.track-sports .dg-track-badge { background: #dcfce7; color: #15803d; }
.track-science .dg-track-badge { background: #ede9fe; color: #6d28d9; }
.track-creative .dg-track-badge { background: #fef3c7; color: #b45309; }

.dg-track-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.track-sports .dg-track-icon { background: #dcfce7; color: #16a34a; }
.track-science .dg-track-icon { background: #ede9fe; color: #7c3aed; }
.track-creative .dg-track-icon { background: #fef3c7; color: #d97706; }

.dg-track-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pro-slate-900);
  margin-bottom: 0.5rem;
}
.dg-track-card p {
  font-size: 0.88rem;
  color: var(--pro-slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.dg-track-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--pro-slate-700);
  font-weight: 600;
}
.dg-track-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.track-sports .dg-track-features i { color: #16a34a; }
.track-science .dg-track-features i { color: #7c3aed; }
.track-creative .dg-track-features i { color: #d97706; }

.dg-track-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.15rem;
  border-radius: var(--pro-radius-md);
  background: #ffffff;
  border: 1px solid var(--pro-slate-200);
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--pro-slate-900);
  transition: all 0.25s var(--pro-ease);
}
.dg-track-card:hover .dg-track-btn {
  background: var(--pro-slate-900);
  color: #ffffff;
  border-color: var(--pro-slate-900);
}
.dg-track-btn i {
  transition: transform 0.25s ease;
}
.dg-track-card:hover .dg-track-btn i {
  transform: translateX(4px);
}

/* ==========================================================================
   5. REGISTRATION STEPS TIMELINE (#alur)
   ========================================================================== */
.dg-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0 0;
  position: relative;
}
@media (min-width: 992px) {
  .dg-steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, rgba(22, 105, 122, 0.2), rgba(255, 166, 43, 0.5), rgba(16, 185, 129, 0.35));
    z-index: 0;
  }
}
.dg-step {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1;
}
.dg-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--pro-primary);
  color: var(--pro-primary);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(22, 105, 122, 0.2);
  font-family: var(--dg-font-mono);
  transition: all 0.25s ease;
}
.dg-step:hover .dg-step-num {
  transform: scale(1.1);
  border-color: #FF6500;
  color: #FF6500;
  box-shadow: 0 6px 18px rgba(255, 101, 0, 0.35);
}
.dg-step:last-child .dg-step-num {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.dg-step-card {
  background: #ffffff;
  border: 1px solid var(--pro-slate-200);
  border-radius: var(--pro-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--pro-shadow-sm);
  flex: 1;
  transition: all 0.25s ease;
}
.dg-step:hover .dg-step-card {
  transform: translateY(-4px);
  box-shadow: var(--pro-shadow-lg);
  border-color: #cbd5e1;
}
.dg-step-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--pro-slate-100);
  color: var(--pro-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.dg-step-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pro-slate-900);
  margin-bottom: 0.4rem;
}
.dg-step-card p {
  font-size: 0.84rem;
  color: var(--pro-slate-600);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   6. CALL TO ACTION SECTION (.dg-section-cta)
   ========================================================================== */
.dg-section-cta {
  background: linear-gradient(135deg, #001f3f 0%, #004E98 50%, #0091B9 100%) !important;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.dg-section-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 101, 0, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.dg-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 2;
}
.dg-cta-kicker {
  color: #FFD500;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.dg-cta h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 0.65rem 0;
}
.dg-cta p {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 620px;
  margin: 0;
}
.dg-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   7. RESPONSIVE TOUCH & ERGONOMICS (<768px)
   ========================================================================== */
@media (max-width: 768px) {
  .dg-stats {
    margin-top: -2.5rem;
  }
  .dg-stats-card {
    padding: 1.25rem 1rem !important;
  }
  .dg-stat {
    padding: 0.5rem 0.5rem !important;
  }
  .dg-stat-num {
    font-size: 1.65rem !important;
  }
  .dg-filters {
    width: 100%;
    justify-content: flex-start;
  }
  .dg-filter {
    flex: 1 1 auto;
    text-align: center;
  }
}
