html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.an-hero-banner {
  flex: 1 0 auto; 
}

.an-footer {
  flex-shrink: 0;
}

.an-has-children.an-active .an-sub-menu a {
  color: var(--burgundy-mid);
}

.an-nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .an-nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(var(--max-w), 100% - 2.5rem);
    margin-inline: auto;
    gap: 1rem;
  }
}

@media (max-width: 1024px) {
  .an-nav-inner {
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .an-nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 75%;
  }
  .an-nav-logo img {
    max-height: 26px;
    width: auto;
    object-fit: contain;
  }
  .an-nav-logo a:nth-child(3) img {
    max-height: 46px;
  }
}

@media (max-width: 360px) {
  .an-nav-logo {
    gap: 4px;
  }
  .an-nav-logo img {
    max-height: 22px;
  }
  .an-nav-logo a:nth-child(3) img {
    max-height: 28px;
  }
}

.an-hero-banner {
  position: relative;
  width: 100%;
  min-height: 740px;
  background: linear-gradient(
    357deg, rgba(255, 214, 221, 0.6) 0%, rgba(253, 246, 247, 0.8) 25%, rgba(255, 255, 255, 0.9) 100%), 
    url(../images/og-bg.png) no-repeat center right / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 94px;
  padding-bottom: 60px;
  overflow: hidden;
  box-sizing: border-box;
}

.an-masthead-kicker{
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(110, 58, 67, 0.5);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.an-hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.an-hero-logos {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-bottom: 45px;
  flex-wrap: nowrap;
}

.an-hero-logos .logo-item img {
  max-height: 78px;
  object-fit: contain;
  display: block;
}

.an-hero-content {
  width: 100%;
  max-width: 820px;
  color: #1a2a56; 
  text-align: center; 
  display: flex;
  flex-direction: column;
  align-items: center;
}

.an-hero-subtitle {
  font-family: var(--font-playfair);
  font-size: 3.1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
  line-height: 1.2;
  background: linear-gradient(179deg, rgb(189 156 50) 0%, rgb(154 137 78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.an-hero-title {
  font-family: var(--font-playfair);
  margin: 0;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  font-style: italic;
  background: linear-gradient(0deg, rgb(122 111 70) 0% 0%, rgb(203 170 71) 100%);
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.an-hero-title .an-hero-num {
  font-size: 15.5rem;
  font-weight: 700;
  line-height: 0.85;
  margin-right: 2px;
}

.an-hero-title sup {
  font-size: 2.8rem;
  font-weight: 600;
  vertical-align: super;
  position: relative;
  top: -2.9rem;
  margin-right: 15px;
  background: linear-gradient(0deg, rgb(169 154 100) 0% 0%, rgb(203 170 71) 100%);
  background-clip: text;
  color: transparent;
}

.an-hero-title .an-hero-text {
  font-size: 3rem;
  font-weight: 700;
  width: 600px;
  display: block;
  white-space: nowrap;
}

.an-hero-hr {
  width: 100%;
  max-width: 580px;
  height: 1px;
  background: linear-gradient(to right, transparent, #d5435d 50%, transparent);
  margin: 35px 0;
  opacity: 0.5;
}

.an-hero-details {
  display: flex;
  flex-direction: column;
  align-items: center; 
  gap: 20px;
  width: 50%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  padding: 20px;
  margin-bottom: 40px;
}

.detail-item {
  display: flex;
  align-items: center; 
  text-align: left;
  gap: 15px;
  width: 344px;
  max-width: 100%;
}

.detail-icon {
  width: 28px;
  height: 28px;
  background-color: var(--rose-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-icon i {
  color: #ffffff;
  font-size: 0.8rem;
}

.detail-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--burgundy);
  line-height: 1.4;
}

.an-sponsor-section {
  width: 100%;
  max-width: 680px;
  margin: 10px auto 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.an-sponsor-header {
  margin-bottom: 16px;
}

.an-sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6e3a43;
   background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(245,238,240,0.9) 100%);

  border: 1px solid rgba(213, 67, 93, 0.2);
  padding: 6px 18px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(110, 58, 67, 0.04);
}

.an-sponsor-badge i {
  color: #d5435d;
  font-size: 0.8rem;
}

.an-sponsor-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  width: 100%;
}

.an-sponsor-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(110, 58, 67, 0.08);
  box-shadow: 0 4px 20px rgba(110, 58, 67, 0.06);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  flex: 1;
  max-width: 260px;
  height: 80px;
}

.an-sponsor-logo {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.02));
  transition: transform 0.3s ease;
}

.an-sponsor-card:hover .an-sponsor-logo {
  transform: scale(1.03);
}

.an-footer {
  box-shadow: 0 15px 100px rgb(153 153 153 / 20%);
  background: #fde7e4;
}

.an-footer-bottom {
  color: #c76969;
  text-align: center;
}

.an-tracking-in {
  opacity: 0;
  letter-spacing: -0.2em;
  animation: trackingInAnim 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

@keyframes trackingInAnim {
  0% { opacity: 0; letter-spacing: -0.2em; }
  40% { opacity: 0.6; }
  100% { opacity: 1; letter-spacing: 0.5px; }
}

@keyframes glowNumAnim {
  0% { 
    opacity: 0; 
    transform: scale(0.3);
    filter: drop-shadow(0 0 30px #e5b152);
  }
  50% {
    opacity: 0.9;
    filter: drop-shadow(0 0 15px rgba(183, 147, 81, 0.6));
  }
  100% { 
    opacity: 1; 
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(183, 147, 81, 0));
  }
}

@keyframes supBounceAnim {
  to { opacity: 1; transform: translateY(0); }
}

.class-split-text {
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  animation: splitTextAnim 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.5s;
  mask-image: radial-gradient(circle, black 75%, transparent 90%);
}

@keyframes splitTextAnim {
  0% { opacity: 0; clip-path: inset(0 50% 0 50%); }
  30% { opacity: 0.5; }
  100% { opacity: 1; clip-path: inset(0 0% 0 0%); }
}

.an-line-grow {
  transform: scaleX(0);
  transform-origin: center;
  animation: lineGrowAnim 1s ease forwards;
  animation-delay: 1s;
}

@keyframes lineGrowAnim {
  to { transform: scaleX(1); }
}

.an-mask-reveal {
  opacity: 0;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transform: translateY(30px);
  animation: maskRevealAnim 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.anim-d-1 { animation-delay: 1.2s; }
.anim-d-2 { animation-delay: 1.4s; }

@keyframes maskRevealAnim {
  to {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .an-hero-banner {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.7) 100%), 
                url(../images/og-bg.png) no-repeat left center / cover;
    padding: 100px 24px 60px 24px;
    min-height: auto;
  }
  
  .an-hero-logos {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    opacity: 0;
    pointer-events: none;
  }

  .an-hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 12px;
  }
  
  .an-hero-title {
    display: flex;
    flex-direction: column; 
    align-items: center;   
    justify-content: center;
  }

  .an-hero-title .an-hero-num { 
    font-size: 6.5rem; 
    line-height: 0.9;
    margin-right: 2px;
    display: inline-block;
  }
  
  .an-hero-title sup { 
    font-size: 2.4rem; 
    vertical-align: super;
    top: -2.2em;            
    margin-right: -230px; 
  }
  
  .an-hero-title .an-hero-text { 
    font-size: 2.4rem;      
    white-space: normal;    
    line-height: 1.2;
    display: block;
    width: 100%;
    margin: -30px auto 0;
  }
  
  .an-hero-hr {
    margin: 25px 0;
    max-width: 320px;
  }
  
  .an-hero-details {
    gap: 16px;
    width: 100%;
  }
  
  .detail-item {
    align-items: flex-start;
    gap: 12px;
  }
  
  .detail-text {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .detail-icon {
    width: 30px;
    height: 30px;
  }

  .detail-icon i {
    font-size: 0.9rem;
  }

  .an-sponsor-grid {
    flex-direction: column;
    gap: 15px;
  }

  .an-sponsor-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 576px) {
  .an-hero-subtitle {
    font-size: 1.2rem;
  }
  .an-hero-title .an-hero-num { 
    font-size: 13.8rem;      
    margin-right: 24px;
  }
  .an-hero-title sup { 
    top: -1.6em;            
  }
  .an-hero-title .an-hero-text { 
    font-size: 1.95rem;      
  }
  .an-hero-title {
    width: 576px !important;
  }
}

@media (min-width: 577px) and (max-width: 1024px) {
  .an-hero-banner {
    padding: 120px 30px 80px 30px !important;
    min-height: auto !important;
  }

  .an-hero-content { 
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
  }

  .an-hero-subtitle {
    font-size: 1.65rem !important;
    margin-bottom: 15px !important;
  }

  .an-hero-title {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

  .an-hero-title .an-hero-num {
    font-size: 18.5rem !important; 
    line-height: 1.3 !important;
    margin-right: 0 !important;
    display: inline-block !important;
    vertical-align: bottom !important;
  }

  .an-hero-title sup {
    font-size: 2.8rem !important;
    display: inline-block !important;
    vertical-align: super !important;
    position: relative !important;
    top: -0.2em !important;
    margin-right: 0 !important;
    margin-left: 5px !important;
  }

  .an-hero-title .an-hero-text {
    font-size: 3.2rem !important; 
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    margin: 20px auto 0 !important;
  }

  .an-hero-hr {
    max-width: 480px !important;
    margin: 35px 0 !important;
  }

  .an-hero-details {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    max-width: 720px !important;
    margin: 0 auto 40px !important;
  }

  .detail-item {
    width: 100% !important;
    max-width: 100% !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  .detail-text {
    font-size: 1.15rem !important;
    line-height: 1.5 !important;
  }

  .an-sponsor-grid {
    flex-direction: row !important;
  }
}