/* ===== KINGDOM MINING - CREATIVE INNER PAGE HEROES ===== */

/* Base container overrides */
.page-hero,
.inner-hero-area {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #030a16 !important;
  overflow: hidden;
  padding: 120px 0 90px 0 !important;
  border-bottom: 2px solid rgba(234, 32, 40, 0.15);
}

/* Layered dynamic background with animated gradients */
.page-hero::before,
.inner-hero-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(9, 59, 85, 0.92) 0%, rgba(3, 10, 22, 0.98) 90%),
    radial-gradient(circle at 90% 80%, rgba(234, 32, 40, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(255, 175, 1, 0.08) 0%, transparent 40%);
  background-size: 200% 200%;
  animation: gradientFlow 15s ease infinite alternate;
  z-index: 1;
}

/* Custom background image support for .inner-hero-area */
.inner-hero-area {
  background-attachment: scroll;
}
.inner-hero-area::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  opacity: 0.18; /* Subtle background image blending */
  z-index: 0;
  filter: grayscale(30%) contrast(110%);
}

/* Animated futuristic mesh grid overlay */
.page-hero-grid,
.inner-hero-area::after {
  pointer-events: none;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  z-index: 2;
  opacity: 0.7;
}

/* Glassmorphism content board with creative borders */
.page-hero-content,
.inner-hero-area .header-area {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 50px;
  background: rgba(4, 15, 30, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid #EA2028;
  border-radius: 0 24px 24px 0;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: left;
}

/* Floating abstract shapes for creative/unique styling */
.page-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  right: -50px;
  top: -50px;
  background: radial-gradient(circle, rgba(234, 32, 40, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite alternate;
}

/* Unique geometric diagonal light beams */
.inner-hero-area::before {
  /* Inherited & modified */
}

/* Glow effects and typography updates */
.page-hero h1,
.inner-hero-area .header-area h2 {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  line-height: 1.15 !important;
  margin: 0 0 15px 0 !important;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-hero h1 em {
  font-style: normal;
  color: #ffaf01 !important;
  -webkit-text-fill-color: #ffaf01 !important;
  text-shadow: 0 0 15px rgba(255, 175, 1, 0.3);
}

.page-hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7) !important;
  max-width: 680px;
  margin: 0 0 25px 0 !important;
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Breadcrumbs styled as premium tag badges */
.page-hero-bc,
.inner-hero-area .header-area a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 8px 18px !important;
  border-radius: 50px !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  margin-top: 10px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Breadcrumb anchors & hover states */
.page-hero-bc a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.page-hero-bc a:hover,
.inner-hero-area .header-area a:hover {
  color: #ffffff !important;
  background: rgba(234, 32, 40, 0.2) !important;
  border-color: rgba(234, 32, 40, 0.4) !important;
  box-shadow: 0 4px 20px rgba(234, 32, 40, 0.25);
  transform: translateY(-2px);
}

.page-hero-bc .bc-sep {
  color: rgba(255, 255, 255, 0.3) !important;
  font-size: 11px;
}

.page-hero-bc .bc-cur,
.inner-hero-area .header-area a span {
  color: #ffaf01 !important;
  font-weight: 700 !important;
}

.inner-hero-area .header-area a i {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  margin: 0 4px;
}

/* Hide spacer helper inside old header layouts */
.inner-hero-area .space32 {
  display: none !important;
}

/* Floating particle canvas styling */
.page-hero canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.65;
}

/* Keyframes */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatOrb {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  100% {
    transform: translateY(-25px) scale(1.1) rotate(15deg);
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive updates */
@media (max-width: 991px) {
  .page-hero,
  .inner-hero-area {
    min-height: 380px;
    padding: 100px 0 70px 0 !important;
  }
  .page-hero-content,
  .inner-hero-area .header-area {
    padding: 30px 35px;
    margin: 0 15px;
    border-radius: 0 16px 16px 0;
  }
}

@media (max-width: 575px) {
  .page-hero,
  .inner-hero-area {
    min-height: 320px;
    padding: 90px 0 50px 0 !important;
  }
  .page-hero-content,
  .inner-hero-area .header-area {
    padding: 20px 25px;
    border-left-width: 3px;
  }
  .page-hero h1,
  .inner-hero-area .header-area h2 {
    font-size: 24px !important;
  }
  .page-hero-desc {
    font-size: 13px;
    line-height: 1.5;
  }
  .page-hero-bc,
  .inner-hero-area .header-area a {
    padding: 6px 14px !important;
    font-size: 11px !important;
  }
}
