/**
 * Interactive 3D Monster Energy Hero Styling
 * MaxCloud Theme - Premium Commercial Aesthetic
 */

.monster-hero-section {
  position: relative;
  min-height: 720px;
  height: 85vh;
  max-height: 900px;
  width: 100%;
  /* Dark Navy Neon Master Theme Background */
  background-color: #0b0d1e;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center; /* Vertically center content */
  justify-content: center;
  box-sizing: border-box;
  padding: 2rem 0;
}

@media (min-width: 1024px) {
  .monster-hero-section {
    min-height: 750px;
    padding: 0;
  }
}

/* Ethereal Glowing Neon Mesh Ambient Lights */
.monster-hero-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(circle at 15% 25%, rgba(98, 212, 255, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 85% 35%, rgba(255, 92, 168, 0.24) 0%, transparent 65%),
    radial-gradient(circle at 50% 80%, rgba(101, 87, 255, 0.26) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
}

/* Radiant Neon Ambient Orb Behind Can */
.monster-hero-orb-glow {
  position: absolute;
  top: 25%;
  right: 18%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(101, 87, 255, 0.38) 0%, rgba(255, 92, 168, 0.22) 45%, transparent 75%);
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 2;
  animation: orb-pulse 4s ease-in-out infinite alternate;
}

@keyframes orb-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 1; }
}

/* Background Grid Pattern Overlay (Disabled) */
.monster-hero-grid-pattern {
  display: none;
}

/* Hero Content Grid Container */
.monster-hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .monster-hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 1rem 3rem;
  }
}

/* Content Left Column */
.monster-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 650px;
  pointer-events: auto;
}

@media (max-width: 1023px) {
  .monster-hero-section {
    min-height: 680px;
    height: auto;
    padding: 2.5rem 0 2rem;
  }

  .monster-hero-content {
    align-items: center;
    text-align: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
  }

  .monster-title {
    align-items: center;
  }

  .monster-title-prefix {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  }

  .monster-title .gradient-highlight {
    filter: drop-shadow(0 4px 15px rgba(255, 92, 168, 0.5));
  }

  .monster-description {
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  }

  .monster-hero-actions {
    justify-content: center;
  }
}

/* Pill Badge */
.monster-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #62D4FF;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(98, 212, 255, 0.12);
}

.monster-badge-icon {
  color: #FF5CA8;
  font-size: 0.9rem;
}

/* High-Impact Typography */
.monster-title {
  font-family: var(--font-heading, system-ui, -apple-system, sans-serif);
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}

.monster-title-prefix {
  color: #ffffff;
}

.monster-title .gradient-highlight {
  background: linear-gradient(135deg, #FF5CA8 0%, #FF2A85 45%, #62D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 25px rgba(255, 92, 168, 0.35));
}

.monster-description {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 540px;
  font-weight: 450;
}

/* Action Buttons */
.monster-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.75rem;
  width: 100%;
}

.monster-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #6557FF 0%, #FF5CA8 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(255, 92, 168, 0.45);
  border: none;
  cursor: pointer;
}

.monster-btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(255, 92, 168, 0.6);
  color: #ffffff !important;
}

.monster-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none !important;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.monster-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.monster-btn-secondary .play-icon {
  font-size: 0.75rem;
  color: #9333ea;
}

.monster-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #9333ea;
  color: #581c87;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.15);
}

/* Canvas Wrapper */
.monster-hero-canvas-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.monster-webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  outline: none;
  pointer-events: auto;
  z-index: 5;
}

/* Fallback image */
.monster-hero-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.monster-hero-fallback img {
  max-height: 80%;
  width: auto;
  object-fit: contain;
}

/* Bottom Glassmorphism Features Bar */
.monster-glass-features-bar {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 1240px;
  margin: 1.5rem auto 0 auto;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
  pointer-events: auto;
}

@media (min-width: 640px) {
  .monster-glass-features-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .monster-glass-features-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.monster-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.monster-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(168, 85, 247, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9333ea;
  flex-shrink: 0;
}

.monster-feature-text {
  display: flex;
  flex-direction: column;
}

.monster-feature-text strong {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.03em;
}

.monster-feature-text span {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

/* Scroll Guide Indicator */
.monster-scroll-guide {
  position: relative;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #9333ea;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 10;
  pointer-events: none;
}

.monster-scroll-guide svg {
  animation: monster-bounce 2s infinite ease-in-out;
}

@keyframes monster-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* ==========================================================================
   Store Features Divider Bar (Between Hero & Category Grid)
   ========================================================================== */
.maxcloud-features-divider-section {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #f5f8ff 0%, #eef4ff 35%, #f6f0ff 70%, #fcf3ff 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.6rem 0;
  z-index: 10;
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.8), 0 6px 25px rgba(15, 23, 42, 0.03);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.features-divider-container {
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.features-divider-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex: 1;
}

.features-divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.features-divider-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.features-divider-text p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
  font-weight: 500;
}

.features-divider-separator {
  width: 1px;
  height: 42px;
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .features-divider-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .features-divider-separator {
    display: none;
  }
}

@media (max-width: 640px) {
  .features-divider-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Commercial Hero Preloader Overlay
   ========================================================================== */
.monster-hero-loader {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: rgba(11, 13, 30, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  color: #ffffff;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.monster-hero-loader.loaded {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(12px);
  pointer-events: none;
}

.hero-loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 320px;
  width: 90%;
  text-align: center;
}

.hero-loader-icon-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-loader-spinner-svg {
  width: 100%;
  height: 100%;
  animation: heroSvgRotate 1.4s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.spinner-path-circle {
  stroke-dasharray: 90, 150;
  stroke-dashoffset: 0;
  animation: heroSvgDash 1.4s ease-in-out infinite;
}

@keyframes heroSvgRotate {
  0% { transform: rotate(0deg) translateZ(0); }
  100% { transform: rotate(360deg) translateZ(0); }
}

@keyframes heroSvgDash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -125;
  }
}

.hero-loader-text-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-loader-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffffff;
}

.hero-loader-status {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.hero-loader-counter {
  font-size: 13px;
  font-weight: 800;
  color: #62D4FF;
}
