/* Hero Section Base Styles */
.section_header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.header-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 2;
}

.header_component {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
}

.header-fill-item {
  flex: 1;
  min-height: 100px;
}

.header_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 800px;
}

.header_brand-title {
  font-size: 6rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: -2px;
  line-height: 0.9;
  margin: 0;
  animation: fadeInUp 0.8s ease-out;
}

.header_info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.header_built-info,
.header_launch-info,
.header_mascot-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.header_built-info:hover,
.header_launch-info:hover,
.header_mascot-info:hover {
  transform: translateY(-2px);
}

.built-text,
.launch-text,
.mascot-text {
  color: #ffffff;
  font-weight: 500;
}

.bsc-badge,
.flap-badge,
.lista-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.5rem 0.8rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bsc-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

.launch-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mascot-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.moolah-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
}

.header_main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  margin-top: 8rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.header_main-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0;
}

.header_subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
  margin: 0;
  max-width: 600px;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design - Based on Template Best Practices */

/* Large Screens (1200px+) */
@media (min-width: 1200px) {
    .header_brand-title {
        font-size: 7rem;
        letter-spacing: -3px;
    }
    
    .header_main-title {
        font-size: 3.5rem;
    }
    
    .header_subtitle {
        font-size: 1.4rem;
    }
    
    .header_info-wrapper {
        gap: 0.6rem;
    }
    
    .header_built-info,
    .header_launch-info,
    .header_mascot-info {
        font-size: 1.5rem;
    }
    
    .bsc-badge,
    .flap-badge,
    .lista-badge {
        padding: 0.6rem 1rem;
        border-radius: 14px;
    }
}

/* Medium Screens (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .header_brand-title {
        font-size: 5.5rem;
        letter-spacing: -2px;
    }
    
    .header_main-title {
        font-size: 2.8rem;
    }
    
    .header_subtitle {
        font-size: 1.2rem;
    }
    
    .header_wrapper {
        max-width: 700px;
    }
    
    .header_info-wrapper {
        gap: 0.5rem;
    }
    
    .header_built-info,
    .header_launch-info,
    .header_mascot-info {
        font-size: 1.2rem;
        padding: 0;
    }
    
    .bsc-badge,
    .flap-badge,
    .lista-badge {
        padding: 0.5rem 0.8rem;
        border-radius: 10px;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .header_component {
        padding-top: 6rem;
    }
    
    .header_brand-title {
        font-size: 5.5rem;
        letter-spacing: -2px;
    }
    
    .header_main-title {
        font-size: 2.8rem;
    }
    
    .header_subtitle {
        font-size: 1.2rem;
    }
    
    .header_wrapper {
        max-width: 90%;
    }
    
    .header_info-wrapper {
        gap: 0.5rem;
    }
    
    .header_built-info,
    .header_launch-info,
    .header_mascot-info {
        font-size: 1.1rem;
        padding: 0;
    }
    
    .bsc-badge,
    .flap-badge,
    .lista-badge {
        padding: 0.45rem 0.7rem;
        border-radius: 10px;
    }
}

/* Mobile (576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .header_component {
        padding: 1rem 0;
    }
    
    .header-fill-item {
        min-height: 60px;
    }
    
    .header_brand-title {
        font-size: 4.5rem;
        letter-spacing: -1.5px;
    }
    
    .header_main-title {
        font-size: 2.4rem;
    }
    
    .header_subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .header_wrapper {
        gap: 1.5rem;
        max-width: 90%;
    }
    
    .header_main-content {
        margin-top: 5rem;
    }
    
    .header_info-wrapper {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .header_built-info,
    .header_launch-info,
    .header_mascot-info {
        font-size: 1.1rem;
        gap: 0.6rem;
        padding: 0;
        max-width: 95%;
    }
    
    .bsc-badge,
    .flap-badge,
    .lista-badge {
        padding: 0.4rem 0.6rem;
        border-radius: 8px;
    }
    
    .bsc-logo,
    .launch-icon,
    .moolah-logo {
        width: 28px;
        height: 28px;
    }
}

/* Small Mobile (575px and below) */
@media (max-width: 575.98px) {
    .section_header {
        height: 100vh;
        min-height: 600px;
    }
    
    .header_component {
        padding: 0.5rem 0;
        justify-content: center;
    }
    
    .header-fill-item {
        min-height: 40px;
        flex: 0.5;
    }
    
    .header_brand-title {
        font-size: 2.8rem;
        letter-spacing: -0.5px;
        line-height: 1;
    }
    
    .header_main-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .header_subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
        max-width: 400px;
        padding: 0 1rem;
    }
    
    .header_wrapper {
        gap: 1rem;
        max-width: 350px;
    }
    
    .header_main-content {
        margin-top: 3rem;
    }
    
    .header_info-wrapper {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .header_built-info,
    .header_launch-info,
    .header_mascot-info {
        font-size: 1rem;
        gap: 0.5rem;
        padding: 0;
    }
    
    .built-text,
    .launch-text,
    .mascot-text {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .bsc-badge,
    .flap-badge,
    .lista-badge {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .bsc-logo,
    .launch-icon,
    .moolah-logo {
        width: 24px;
        height: 24px;
    }
}

/* Extra Small Screens (400px and below) */
@media (max-width: 400px) {
    .header_brand-title {
        font-size: 2.2rem;
    }
    
    .header_main-title {
        font-size: 1.4rem;
    }
    
    .header_subtitle {
        font-size: 0.85rem;
        max-width: 300px;
    }
    
    .header_built-info,
    .header_launch-info,
    .header_mascot-info {
        max-width: 200px;
        font-size: 0.9rem;
    }
}

/* Landscape Mode Optimization */
@media (orientation: landscape) and (max-height: 600px) {
    .section_header {
        height: 100vh;
        min-height: 500px;
    }
    
    .header_component {
        padding: 0.5rem 0;
    }
    
    .header-fill-item {
        min-height: 20px;
        flex: 0.3;
    }
    
    .header_brand-title {
        font-size: 2.5rem;
    }
    
    .header_main-title {
        font-size: 1.5rem;
    }
    
    .header_subtitle {
        font-size: 0.9rem;
    }
    
    .header_wrapper {
        gap: 1rem;
    }
    
    .header_main-content {
        margin-top: 2rem;
    }
    
    .header_info-wrapper {
        gap: 0.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header_built-info,
    .header_launch-info,
    .header_mascot-info {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0;
        font-size: 0.8rem;
        max-width: none;
        min-width: 140px;
        background: none;
        border: none;
    }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .bsc-logo,
    .launch-icon,
    .moolah-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: optimizeQuality;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .header_built-info,
    .header_launch-info,
    .header_mascot-info {
        transition: none;
    }
    
    .header_built-info:hover,
    .header_launch-info:hover,
    .header_mascot-info:hover {
        background: none;
        transform: none;
        box-shadow: none;
    }
    
    .header_built-info:active,
    .header_launch-info:active,
    .header_mascot-info:active {
        transform: scale(0.98);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .header_info-wrapper {
        background: rgba(0, 0, 0, 0.7);
        border-radius: 10px;
        padding: 1rem;
    }
    
    .header_built-info,
    .header_launch-info,
    .header_mascot-info {
        background: none;
        border: none;
        color: white;
    }
    
    .bsc-badge,
    .flap-badge,
    .lista-badge {
        background: rgba(255, 255, 255, 0.25);
        border: 2px solid white;
        color: white;
    }
    
    .header-video-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .header_brand-title,
    .header_main-title {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .header_brand-title,
    .header_info-wrapper,
    .header_main-content {
        animation: none;
    }
    
    .header_built-info,
    .header_launch-info,
    .header_mascot-info {
        transition: none;
    }
    
    .header_built-info:hover,
    .header_launch-info:hover,
    .header_mascot-info:hover {
        transform: none;
    }
}

/* Video Optimization */
@media (max-width: 768px) {
    #hero-video {
        /* Mobile video optimization */
        object-position: center center;
        min-width: 100%;
        min-height: 100%;
    }
    
    /* Low bandwidth fallback */
    @media (max-width: 480px) and (prefers-reduced-data: reduce) {
        #hero-video {
            display: none;
        }
        
        .header-background-video::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            z-index: 1;
        }
    }
} 