/* ===== Passion Industry Theme (inspired by PassionIndustryGame.com) ===== */

/* ---- Colors ---- */

:root {
  --pi-plum-dark: #0a0f08;
  --pi-plum-950: #150818;
  --pi-plum-900: #1c0d22;
  --pi-plum-800: #2e1535;
  --pi-plum-700: #4a2150;
  --pi-plum-600: #5c2a63;
  --pi-plum-500: #6e3575;
  --pi-magenta-500: #e6377c;
  --pi-magenta-400: #ff6db0;
  --pi-gold-400: #f4b942;
  --pi-gold-300: #ffd266;
  --pi-gold-metal: #d4af37;
  --pi-cream-100: #faf3e0;
  --pi-neon-500: #39ff9e;
  --pi-flame-500: #ff6b35;
  --pi-cream-100-72: rgba(250, 243, 224, 0.72);
  --pi-cream-100-55: rgba(250, 243, 224, 0.55);
  --pi-cream-100-40: rgba(250, 243, 224, 0.40);
}

/* ---- Passion Hero ---- */

.passionindustry-hero {
  background: radial-gradient(ellipse at 20% 30%, rgba(230,55,124,0.25) 0%, transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(244,185,66,0.12) 0%, transparent 50%), radial-gradient(ellipse at 50% 50%, rgba(230,55,124,0.08) 0%, transparent 70%), linear-gradient(180deg, #1c0d22 0%, #0b0b0f 100%) !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.passionindustry-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,192,220,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

.passionindustry-hero .badge {
  background: rgba(230,55,124,0.15) !important;
  color: #ff6db0 !important;
  border: 1px solid rgba(230,55,124,0.3);
}

.passionindustry-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  background: linear-gradient(135deg, #faf3e0 0%, #d4af37 50%, #f4b942 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.03em;
}

.passionindustry-hero .lead {
  color: var(--pi-cream-100-72) !important;
}

.passionindustry-hero .fw-bold.text-danger {
  color: #dc3545 !important;
}

.passionindustry-hero .text-white-50 {
  color: var(--pi-cream-100-55) !important;
}

.btn-pi-gold {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 50%, #dc3545 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(220,53,69,0.3), 0 0 0 1px rgba(220,53,69,0.2);
  transition: all 0.3s ease;
}

.btn-pi-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(220,53,69,0.5), 0 0 0 1px rgba(220,53,69,0.4);
  color: #ffffff !important;
}

.btn-pi-outline {
  background: transparent !important;
  border: 1px solid rgba(220,53,69,0.4) !important;
  color: #dc3545 !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
}

.btn-pi-outline:hover {
  background: rgba(220,53,69,0.1) !important;
  border-color: #dc3545 !important;
  color: #dc3545 !important;
}

/* ---- Section Styles ---- */

.pi-section-dark {
  background: linear-gradient(180deg, #150818 0%, #1c0d22 50%, #150818 100%);
}

.pi-section-grain {
  position: relative;
  isolation: isolate;
}

.pi-section-grain::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(135deg, rgba(255,192,220,0.025) 0 14px, transparent 14px 28px);
  pointer-events: none;
}

.pi-section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110,53,117,0.5), transparent);
  margin: 0;
}

/* ---- Badge Stencil ---- */

.pi-stencil {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(220,53,69,0.3);
  border-radius: 100px;
  color: #dc3545;
  background: rgba(220,53,69,0.08);
}

/* ---- Section Titles ---- */

.pi-section-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, #faf3e0 0%, #dc3545 50%, #ff6db0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Feature Card ---- */

.pi-feature-card {
  background: rgba(46,21,53,0.6);
  border: 1px solid rgba(110,53,117,0.3);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.pi-feature-card:hover {
  border-color: rgba(230,55,124,0.5);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.pi-feature-card .bi {
  color: #dc3545 !important;
}

/* ---- Screenshot Wrapper ---- */

.pi-screenshot {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(110,53,117,0.2);
}

/* ---- Image Panels ---- */

.pi-panel {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(110,53,117,0.2);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  background: #2e1535;
}

.pi-panel img {
  width: 100%;
  display: block;
}

/* ---- Gold Dogtag ---- */

.pi-dogtag {
  background: rgba(46,21,53,0.4);
  border: 1px solid rgba(110,53,117,0.3);
  border-radius: 12px;
  padding: 1rem;
}

/* ---- CTA Section ---- */

.pi-cta-section {
  background: radial-gradient(50% 50% at 50% 30%, rgba(230,55,124,0.2), transparent 70%), radial-gradient(70% 60% at 80% 80%, rgba(220,53,69,0.1), transparent 70%), linear-gradient(180deg, #1c0d22, #150818);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.pi-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(135deg, rgba(255,192,220,0.02) 0 14px, transparent 14px 28px);
  pointer-events: none;
}

/* ---- Marquee ticker ---- */

.pi-ticker {
  background: linear-gradient(180deg, rgba(40,12,50,0.7), rgba(20,8,28,0.7));
  border-top: 1px solid rgba(110,53,117,0.3);
  border-bottom: 1px solid rgba(110,53,117,0.3);
  padding: 0.75rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.pi-ticker-track {
  display: inline-block;
  animation: piTicker 30s linear infinite;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff6db0;
}

.pi-ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0 2rem;
}

.pi-ticker-dot {
  color: #ff6b35;
}

@keyframes piTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---- Section Number ---- */

.pi-section-num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(220,53,69,0.3), rgba(220,53,69,0.05));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* ---- Chip Badge ---- */

.pi-chip {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid;
}

/* ---- Bullet Points ---- */

.pi-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: #e6377c;
  box-shadow: 0 0 12px rgba(230,55,124,0.6);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ---- Text Colors ---- */

.pi-text-cream {
  color: var(--pi-cream-100);
}

.pi-text-cream-72 {
  color: var(--pi-cream-100-72);
}

.pi-text-cream-55 {
  color: var(--pi-cream-100-55);
}

.pi-text-gold {
  color: #dc3545;
}

.pi-text-magenta {
  color: #ff6db0;
}

/* ---- Platform Icons Row ---- */

.pi-platform-icon {
  background: rgba(46,21,53,0.4);
  border: 1px solid rgba(110,53,117,0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.pi-platform-icon:hover {
  border-color: rgba(230,55,124,0.5);
}

.pi-platform-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  color: #dc3545;
  display: block;
}

.pi-platform-icon .label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pi-cream-100);
}

/* ---- Responsive ---- */

@media (max-width: 767.98px) {
  .passionindustry-hero {
    padding: 4rem 0 2rem !important;
    min-height: auto !important;
  }
}

/* ---- CTA Title ---- */

.pi-cta-title {
  line-height: 0.92;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
}

.pi-cta-title .pi-grad-text {
  background: linear-gradient(135deg, #dc3545, #ff6db0, #dc3545);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Hero Image with Play Button Overlay ---- */

.pi-hero-img-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.pi-hero-img-wrapper {
  position: relative;
  overflow: hidden;
}

.pi-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

.pi-hero-img-link:hover .pi-play-overlay,
.pi-hero-img-link:active .pi-play-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.pi-play-btn-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  box-shadow: 0 0 30px rgba(220, 53, 69, 0.5), 0 0 60px rgba(220, 53, 69, 0.25);
}

.pi-hero-img-link:hover .pi-play-btn-circle,
.pi-hero-img-link:active .pi-play-btn-circle {
  transform: scale(1);
  opacity: 1;
}

.pi-play-btn-circle .bi-play-fill {
  font-size: 2.5rem;
  color: #fff;
  margin-left: 4px; /* optical centering for play triangle */
}

/* click ripple animation */
.pi-hero-img-link:active .pi-play-btn-circle {
  animation: piPlayPulse 0.5s ease-out;
}

@keyframes piPlayPulse {
  0% {
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.5), 0 0 60px rgba(220, 53, 69, 0.25);
  }
  50% {
    box-shadow: 0 0 50px rgba(220, 53, 69, 0.8), 0 0 100px rgba(220, 53, 69, 0.5), 0 0 150px rgba(220, 53, 69, 0.3);
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.5), 0 0 60px rgba(220, 53, 69, 0.25);
    transform: scale(1);
  }
}

/* enhance pi-panel for image hover */
.pi-hero-img-wrapper img {
  transition: transform 0.5s ease;
}

.pi-hero-img-link:hover .pi-hero-img-wrapper img {
  transform: scale(1.04);
}

/* ---- Horny Villa Section Titles (pink/white gradient matching logo) ---- */

.hv-section-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #ff8ec4 30%, #dc3545 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Horny Villa Glow CTA Buttons ---- */

.hv-btn-glow {
  position: relative;
  background: linear-gradient(135deg, #dc3545 0%, #e6377c 100%) !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4), 0 0 40px rgba(230, 55, 124, 0.2), 0 0 0 1px rgba(255, 142, 196, 0.3);
  transition: all 0.3s ease;
}

.hv-btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(220, 53, 69, 0.6), 0 0 60px rgba(230, 55, 124, 0.4), 0 0 0 1px rgba(255, 142, 196, 0.5);
  background: linear-gradient(135deg, #e6377c 0%, #dc3545 100%) !important;
}

.hv-btn-glow:active {
  animation: hvBtnPulse 0.5s ease-out;
}

@keyframes hvBtnPulse {
  0% {
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4), 0 0 40px rgba(230, 55, 124, 0.2);
  }
  50% {
    box-shadow: 0 8px 40px rgba(220, 53, 69, 0.8), 0 0 80px rgba(230, 55, 124, 0.6), 0 0 120px rgba(255, 142, 196, 0.3);
  }
  100% {
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4), 0 0 40px rgba(230, 55, 124, 0.2);
  }
}

/* ---- Index Hero Glow Buttons ---- */

.hero-btn-glow {
  border: 1.5px solid rgba(220, 53, 69, 0.3) !important;
  background: rgba(220, 53, 69, 0.06) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: none;
  transition: all 0.3s ease;
}

.hero-btn-glow:hover {
  background: rgba(220, 53, 69, 0.1) !important;
  border-color: rgba(220, 53, 69, 0.5) !important;
  color: #dc3545 !important;
  box-shadow: 0 2px 16px rgba(220, 53, 69, 0.25), 0 0 30px rgba(220, 53, 69, 0.12);
  transform: translateY(-2px);
}

.hero-btn-glow:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 15px rgba(220, 53, 69, 0.5);
}

.hero-btn-glow-outline {
  border: 1.5px solid rgba(13, 202, 240, 0.25) !important;
  color: rgba(200, 230, 255, 0.8) !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(13, 202, 240, 0.03) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-btn-glow-outline:hover {
  background: rgba(13, 202, 240, 0.08) !important;
  border-color: rgba(13, 202, 240, 0.6) !important;
  box-shadow: 0 4px 24px rgba(13, 202, 240, 0.3), 0 0 40px rgba(220, 53, 69, 0.15);
  color: #0dcaf0 !important;
  transform: translateY(-3px);
}

.hero-btn-glow-outline:active {
  transform: translateY(-1px);
}

/* ===== Sticky CTA Bar (shared with passion-industry-game.html) ===== */

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  display: none;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-cta-bar.visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-cta-inner {
  background: linear-gradient(180deg, rgba(20,8,28,0.92), rgba(15,5,20,0.96));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.6);
}

.sticky-cta-bar::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, #dc3545, transparent);
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* ===== Everlusting Life Theme (blue/celestial inspired by WaifuAutoChess.com) ===== */

.el-hero {
  background: radial-gradient(ellipse at 20% 30%, rgba(63, 138, 224, 0.25) 0%, transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(132, 181, 241, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 50% 50%, rgba(63, 138, 224, 0.08) 0%, transparent 70%), linear-gradient(180deg, #0f1a2e 0%, #0b0b0f 100%) !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.el-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(132, 181, 241, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

.el-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  background: linear-gradient(135deg, #faf3e0 0%, #84b5f1 50%, #3f8ae0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.03em;
}

.el-hero .lead {
  color: var(--pi-cream-100-72) !important;
}

.el-btn-blue {
  background: linear-gradient(135deg, #3f8ae0 0%, #84b5f1 50%, #3f8ae0 100%) !important;
  color: #0f1a2e !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(63, 138, 224, 0.3), 0 0 0 1px rgba(63, 138, 224, 0.2);
  transition: all 0.3s ease;
}

.el-btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(63, 138, 224, 0.5), 0 0 0 1px rgba(63, 138, 224, 0.4);
  color: #0f1a2e !important;
}

.el-btn-outline {
  background: transparent !important;
  border: 1px solid rgba(132, 181, 241, 0.4) !important;
  color: #84b5f1 !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
}

.el-btn-outline:hover {
  background: rgba(132, 181, 241, 0.1) !important;
  border-color: #84b5f1 !important;
  color: #84b5f1 !important;
}

