/* ==========================================================================
   YATORO // DOTA 2 ESPORTS PORTFOLIO
   "The Moment" Aegis Section Stylesheet
   Cinematic Sports Documentary Full-Bleed Showcase
   ========================================================================== */

.aegis-section {
  position: relative;
  min-height: 120vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0;
  overflow: hidden;
  background-color: #040507;
}

/* Full-bleed Cinematic Backdrop with Parallax Zoom */
.aegis-backdrop-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.aegis-bg-image {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 110%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.42) contrast(1.18) saturate(0.85);
  transform: scale(1.05);
  transition: transform 1.2s cubic-bezier(0.1, 0.9, 0.2, 1);
  will-change: transform;
}

.aegis-section.in-view .aegis-bg-image {
  transform: scale(1.12);
}

/* Dark Cinematic Overlays & Gradients */
.aegis-overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 100%);
  z-index: 2;
}

.aegis-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(0deg, var(--bg-primary) 0%, transparent 100%);
  z-index: 2;
}

.aegis-radial-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.16) 0%, rgba(16, 231, 178, 0.05) 35%, transparent 70%);
  filter: blur(70px);
  z-index: 2;
  pointer-events: none;
  animation: aegisRadiance 6s ease-in-out infinite alternate;
}

@keyframes aegisRadiance {
  0% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

/* Aegis Showcase Layout */
.aegis-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.aegis-card-frame {
  background: rgba(11, 14, 20, 0.7);
  border: 1px solid rgba(245, 196, 81, 0.25);
  border-radius: 24px;
  padding: 56px 64px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 30px 100px -20px rgba(0, 0, 0, 0.8),
              0 0 60px -15px var(--aegis-gold-glow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* Left: 3D Shield Artifact Showcase */
.aegis-shield-display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-orbit-ring {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 196, 81, 0.3);
  animation: orbitRotate 45s linear infinite;
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.shield-image-wrap {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(245, 196, 81, 0.35);
  transition: transform 0.5s var(--ease-spring);
}

.shield-image-wrap:hover {
  transform: scale(1.05) rotate(1deg);
}

.shield-render-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.8));
}

/* Right: Documentary Narrative */
.aegis-story {
  display: flex;
  flex-direction: column;
}

.aegis-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--aegis-gold);
  background: var(--aegis-gold-dim);
  border: 1px solid var(--border-gold);
  padding: 5px 14px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 20px;
}

.aegis-story-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: #ffffff;
}

.aegis-quote {
  font-family: var(--font-body);
  font-size: 1.12rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 28px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--aegis-gold);
}

.aegis-quote em {
  color: var(--aegis-gold-light);
  font-style: normal;
  font-weight: 600;
}

/* Double TI Badge Details */
.aegis-victories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.ti-victory-card {
  background: rgba(18, 22, 31, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 18px;
  transition: all 0.3s var(--ease-spring);
}

.ti-victory-card:hover {
  border-color: var(--border-gold);
  background: rgba(28, 24, 16, 0.8);
  transform: translateY(-3px);
}

.ti-victory-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--aegis-gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.ti-victory-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.ti-victory-stat {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 992px) {
  .aegis-card-frame {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    gap: 40px;
    text-align: center;
  }
  
  .aegis-quote {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid var(--aegis-gold);
    padding-top: 18px;
  }
  
  .shield-orbit-ring {
    width: 320px;
    height: 320px;
  }
  
  .shield-image-wrap {
    width: 250px;
    height: 250px;
  }
  
  .aegis-meta-badge {
    margin: 0 auto 20px;
  }
}
