/* Royalaccs — unified page hero (all pages) */

.page-hero,
.hero,
.about-hero,
.contact-hero,
.partner-hero,
.page-intro {
  width: 100%;
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 50%, #b91c1c 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 420px;
  padding: 50px 6%;
}

.page-hero::before,
.hero::before,
.about-hero::before,
.contact-hero::before,
.partner-hero::before,
.page-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1.2px, transparent 1.5px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(to right, black 0%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.page-hero::after,
.hero::after,
.about-hero::after,
.contact-hero::after,
.partner-hero::after,
.page-intro::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1.2px, transparent 1.5px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(to left, black 0%, transparent 100%);
  mask-image: linear-gradient(to left, black 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

body.dark .page-hero,
body.dark .hero,
body.dark .about-hero,
body.dark .contact-hero,
body.dark .partner-hero,
body.dark .page-intro {
  background: linear-gradient(135deg, #5c0a0a 0%, #991b1b 50%, #b91c1c 100%);
}

.page-hero-inner,
.hero-inner,
.hero-content,
.page-intro-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero-left,
.hero-left,
.hero-text,
.page-intro-inner {
  flex: 1;
  max-width: 580px;
  animation: heroFadeUp 0.8s ease-out forwards;
}

.page-hero-right,
.hero-right,
.hero-img-wrap {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.page-hero .hero-tag,
.hero .hero-tag,
.about-hero .hero-tag,
.contact-hero .hero-tag,
.partner-hero .hero-tag,
.page-intro .hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.page-hero .hero-title,
.hero .hero-title,
.about-hero .hero-title,
.contact-hero .hero-title,
.partner-hero .hero-title,
.page-intro h1 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.page-hero .hero-title span,
.hero .hero-title span,
.about-hero .hero-title span,
.contact-hero .hero-title span,
.partner-hero .hero-title span,
.page-intro h1 span {
  color: #fca5a5;
}

.page-hero .hero-desc,
.page-hero .hero-sub,
.hero .hero-desc,
.about-hero .hero-sub,
.contact-hero .hero-sub,
.partner-hero .hero-sub,
.page-intro p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}

.page-hero .hero-breadcrumb,
.about-hero .hero-breadcrumb,
.contact-hero .hero-breadcrumb,
.partner-hero .hero-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

.page-hero .hero-breadcrumb a,
.about-hero .hero-breadcrumb a,
.contact-hero .hero-breadcrumb a,
.partner-hero .hero-breadcrumb a {
  color: #fca5a5;
  text-decoration: none;
  font-weight: 600;
}

.page-hero .hero-breadcrumb i,
.about-hero .hero-breadcrumb i,
.contact-hero .hero-breadcrumb i,
.partner-hero .hero-breadcrumb i {
  font-size: 10px;
}

.hero-cta,
.page-hero .hero-cta {
  display: inline-block;
  background: #fff;
  color: #991b1b;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 40px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-cta:hover,
.page-hero .hero-cta:hover {
  background: #fca5a5;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-cta-row .btn-primary,
.hero-cta-row .btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-cta-row .btn-primary {
  background: #fff;
  color: #991b1b;
}

.hero-cta-row .btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-platform-icon {
  width: 180px;
  height: 180px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: heroFloat 4s ease-in-out infinite;
}

.hero-platform-icon.icon-dark {
  color: #111;
}

.hero-img-wrap img,
.hero-right .hero-img-main,
.partner-hero .hero-img-main {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

.hero-img-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.hero-img-badge .badge-icon {
  width: 36px;
  height: 36px;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-img-badge strong {
  display: block;
  font-size: 13px;
  color: #111827;
}

.hero-img-badge span {
  font-size: 11px;
  color: #6b7280;
}

.intro-badges,
.page-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.intro-badge,
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 3;
  pointer-events: none;
}

body.dark .wave-fill {
  fill: #1a2332;
}

/* Hide legacy decorative elements — unified hero only */
.contact-hero .ring,
.partner-hero .hero-circle {
  display: none !important;
}

.partner-hero .hero-float-card {
  display: none;
}

.breadcrumb-bar {
  display: none !important;
}

.page-intro {
  padding: 50px 6%;
}

.page-intro-inner {
  flex-direction: row;
  align-items: center;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .page-hero,
  .hero,
  .about-hero,
  .contact-hero,
  .partner-hero,
  .page-intro {
    flex-direction: column;
    padding: 40px 5% 70px;
    min-height: auto;
    text-align: center;
  }

  .page-hero-inner,
  .hero-inner,
  .hero-content,
  .page-intro-inner {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .page-hero-left,
  .hero-left,
  .hero-text,
  .page-intro-inner {
    max-width: 100%;
  }

  .page-hero .hero-desc,
  .page-hero .hero-sub,
  .hero .hero-desc,
  .page-intro p {
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero .hero-title,
  .hero .hero-title,
  .about-hero .hero-title,
  .contact-hero .hero-title,
  .partner-hero .hero-title,
  .page-intro h1 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .page-hero-right,
  .hero-right,
  .hero-img-wrap {
    width: 100%;
    min-height: auto;
  }

  .hero-platform-icon {
    width: 140px;
    height: 140px;
    font-size: 60px;
    margin: 0 auto;
  }

  .hero-cta,
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-outline-white {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: center;
  }

  .hero-breadcrumb {
    justify-content: center;
  }

  .intro-badges,
  .page-hero-badges {
    justify-content: center;
  }

  .hero-img-badge {
    position: static;
    transform: none;
    margin: 16px auto 0;
  }
}

@media (max-width: 480px) {
  .page-hero .hero-title,
  .hero .hero-title,
  .page-intro h1 {
    font-size: 26px;
  }

  .hero-platform-icon {
    width: 120px;
    height: 120px;
    font-size: 50px;
  }
}
