* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    width: 100%;
    scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0a0a0a;
  color: #fff;
  line-height: 1.6;
}

.hero {
  position: relative;
  height: 200vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-items: flex-start;
  padding-top: 60px;
}

.hero-image {
  position: absolute;
  inset: 0;
  float: right;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% top;
  z-index: -1;
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  top: -5%;
  margin-top: 40vh;
  right: 25%;
  transform: translateY(120px);
  text-align: center;
  color: white;
  animation: fadeSlideIn 1.4s ease-out forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.main-title {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-size: 5rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 5px;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: softGlow 4.5s ease-in-out infinite;
  text-shadow: white;
}

@keyframes softGlow {
  0%, 100% {
    text-shadow: red;
  }
  50% {
    text-shadow: red;
  }
}

.goal-gif {
    position: absolute;
    top: 320px;
    left: 60px;
    width: 500px;
    height: auto;
    z-index: 50;
    border-radius: 18px;

    box-shadow: 0 0 70px rgba(255,255,255,0.45);
}


.dynamic-separator {
    position: relative;
    height: 60px;
    background: linear-gradient(90deg, #0033A0, #A50044);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 51, 160, 0.5), 0 0 15px rgba(165, 0, 68, 0.5);
    z-index: 5;
    padding: 0;
}

/* Centering nudge applies to both the archived @gavihugefan widget and the
   active @gavicorner widget so neither hugs the gradient edge. */
.dynamic-separator > div.elfsight-app-f5cd14f0-1c79-4ac3-989f-0db8b5a738c5,
.dynamic-separator > div.elfsight-app-2b5d6504-b46f-48dd-939a-20a3978c43a8 {
    transform: translateY(6px) !important;
}

.htmlsnpt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200%;
}

.instagram-live-widget-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white; 
    font-size: 1.1rem;
    font-weight: 700;
}

#live-follower-widget-placeholder {
    padding: 0 20px;
}

.separator-line {
    position: absolute;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #0033A0, #A50044);
    box-shadow: 0 0 10px rgba(165, 0, 68, 0.7);
}

.separator-line-1 {
    top: 0;
    animation: moveLine 6s linear infinite;
}

.separator-line-2 {
    bottom: 0;
    animation: moveLine 6s linear infinite reverse;
}

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

.next-match-inner .hero-btn {
  margin-top: 30px;
}

.next-match {
  position: relative;
  padding: 120px 5%;
  color: #fff;
  background: url("images/campnou-dark.jpg") center/cover no-repeat fixed;
  /* Give the section breathing room when deep-linked via #next-match from
     Home, so the title isn't flush against the top of the viewport. */
  scroll-margin-top: 24px;
}

.next-match-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 0;
}

.next-match-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: 'Poppins', sans-serif;
  animation: softGlow 4.5s ease-in-out infinite;
  text-transform: uppercase;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-top: -80px;
  margin-bottom: 20px;
  position: relative;
  z-index: 5; 
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 25px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.match-card img,
.team-logo {
    max-width: 120px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.match-vs span {
  font-size: 1.1rem;
  letter-spacing: 3px;
}

.match-vs p {
  margin: 3px 0;
}

.match-date {
  opacity: 0.85;
  font-size: 0.95rem;
}

.scoreboard {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 2rem;
    color: white;
    margin: 20px 0;
}

.next-match-section {
    padding: 60px 0;
}

.timer {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 15px;
}

.timer-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 20px;
  border-radius: 16px;
  min-width: 110px; 
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 51, 160, 0.5);
  transition: transform 0.2s ease;
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.timer-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 
                0 0 25px rgba(0, 51, 160, 0.8), 
                0 0 40px rgba(165, 0, 68, 0.6);
}

.timer-box span {
  display: block;
  font-size: 2.2rem; 
  font-weight: 800; 
  background: linear-gradient(45deg, #0033A0, #A50044);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 5px;
}

.timer-box small {
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.9;
  font-weight: 600;
}

.hero-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 45px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  border: 2px solid transparent;
  border-radius: 6px;
  background: linear-gradient(90deg, #0046ad, #c8102e);
  background-size: 200%;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 0 25px rgba(255,255,255,0.4), 0 0 60px rgba(200,16,46,0.3);
  background: linear-gradient(90deg, #c8102e, #0046ad);
}

.hero-btn:active {
  transform: scale(0.97);
  box-shadow: inset 0 0 12px rgba(0,0,0,0.6);
}

.latest-title-wrapper {
    position: absolute;
    top: 12%;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.latest-main-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.latest-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow-y: auto;
    padding: 0 6%;
    gap: 80px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.latest-text-block {
    width: 55%;
    max-width: 750px;
}

.latest-section-title {
    font-size: 3.4rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(90deg, #A50044, #0033A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    width: 100%;
    margin-bottom: 35px;
    margin-top: -50px;
}

.latest-news-title {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: normal;
    word-break: keep-all;
}

.latest-news-subtitle {
    font-size: 1.1rem;
    color: #e4e4e4;
    margin-bottom: 20px;
    letter-spacing: 1.4px;
    font-weight: 600;
    opacity: 0.9;
}

.latest-image-block {
    width: 48%;
    display: flex;
    justify-content: center;
}

.latest-image-block img {
    width: 85%;        
    max-height: 450px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 0 40px rgba(165,0,68,0.45),
                0 0 40px rgba(0,51,160,0.45);
    animation: floatImage 6s ease-in-out infinite alternate;
}

@keyframes floatImage {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-14px) scale(1.02); }
}

.gavi-story {
  background: linear-gradient(rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.82)), url('../images/championsleaguewallpaper.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding: 40px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  min-height: 70vh;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gavi-story-left {
  flex: 1;
  margin-bottom: 40px;
}

.gavi-story-left h1 {
  font-size: 3.8rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.1;
  opacity: 0;
  animation: slideUpFadeIn 0.8s ease-out forwards;
  text-align: left;
}

.gavi-story-left h2 {
  font-size: 3.8rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  margin-top: 5px;
  margin-bottom: 0px;
  letter-spacing: 2px;
  color: #cc0000;
  line-height: 1.1;
  opacity: 0;
  animation: slideUpFadeIn 0.8s ease-out 0.3s forwards;
  text-align: left;
  white-space: nowrap;
}

.gavi-story-left p {
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  line-height: 1.75;
  max-width: 500px;
  color: #ddd;
  margin-top: 25px;
  text-align: justify;
}

.gavi-story-right {
  flex: 1;
  position: relative;
  height: 350px;
}

.gavi-gif {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.gavi-gif.active {
  opacity: 1;
}

.gavi-first-appearance {
  background: linear-gradient(rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.82)), url('../images/championsleaguewallpaper.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding: 60px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  min-height: 70vh;
}

.first-left h1 {
  font-size: 3.8rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 0;
  text-transform: uppercase;
  animation: slideUpFadeIn 0.8s ease-out forwards;
  opacity: 0;
  max-width: 580px;
  line-height: 1.1;
  text-align: left;
}

.first-left h2 {
  font-size: 3.8rem;
  color: #cc0000;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  animation: slideUpFadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
  max-width: 580px;
  text-align: left;
}

.first-left p {
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  line-height: 1.75;
  margin-top: 25px;
  max-width: 580px;
  color: #ddd;
  text-align: justify;
}

.first-right {
  flex: 1;
  position: relative;
  height: 360px;
}

.appearance-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background: rgba(0, 0, 0, 0.35);
}

.appearance-img.active {
  opacity: 1;
}

.gavi-last-match {
    position: relative;
    padding: 0 5% 80px;
    background:
      url("images/gavi-to-world-cup-2026.png") center top / cover no-repeat,
      #06060c;
    color: white;
    overflow: hidden;
}

.glm-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(6, 6, 12, 0.15) 0%, rgba(6, 6, 12, 0.55) 100%);
    pointer-events: none;
}

.glm-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding-top: 12px;
}

.glm-head {
    text-align: center;
    margin-bottom: 32px;
}

.glm-kicker {
    margin: 0 0 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #fbbf24;
}

.glm-title {
    font-size: clamp(1.85rem, 3.8vw, 2.85rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: none;
    margin: 0 0 10px;
}

.glm-info {
    text-align: center;
    font-size: 1.05rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.glm-shell {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glm-recap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 0;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 12, 20, 0.88);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.glm-recap__copy {
    padding: clamp(24px, 3.5vw, 36px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.glm-recap__gallery {
    position: relative;
    min-height: 100%;
    background: #0a0c14;
}

.glm-recap--solo {
    grid-template-columns: 1fr;
}

.glm-recap--solo .glm-recap__copy {
    border-right: none;
}

.glm-recap__gallery--single {
    min-height: 340px;
}

.glm-recap__photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}

.glm-featured-placeholder {
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
}

.glm-featured-heading,
.glm-text h2,
.glm-text h3 {
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    font-family: 'Poppins', sans-serif;
    margin: 0 0 18px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.06em;
    color: #fff;
}

.glm-featured-body p,
.glm-text p {
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.86);
}

.glm-featured-body p:last-child,
.glm-text p:last-child {
    margin-bottom: 0;
}

.glm-slider {
    width: 100%;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 340px;
}

.glm-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.55s ease-in-out;
    z-index: 5;
}

.glm-slide.active {
    opacity: 1;
}

.glm-discuss {
    width: 100%;
    padding: clamp(22px, 3vw, 30px) clamp(24px, 3.5vw, 36px);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(8, 10, 18, 0.92);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.glm-discuss__title {
    margin: 0 0 16px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #7dd3fc;
}

.glm-engage {
    width: 100%;
    max-width: none;
    margin: 0;
}

.glm-engage .gc-content-engage {
    margin-top: 0;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
}

.glm-video {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.glm-video iframe {
    width: min(100%, 820px);
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

@media (max-width: 900px) {
    .glm-recap {
        grid-template-columns: 1fr;
    }

    .glm-recap__copy {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .glm-slider,
    .glm-recap__gallery {
        min-height: 300px;
    }
}

.wc-section {
    position: relative;
    padding: 120px 7%;
    min-height: 110vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-gavi-depth {
    position: absolute;
    inset: 0;
    background: url("images/gavi-depth.png") center/contain no-repeat;
    animation: depthFloat 8s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 22px rgba(0,0,0,0.25));
    opacity: 0.25;
    z-index: 2;
    pointer-events: none;
}

@keyframes depthFloat {
    0% { transform: translateY(10px) scale(1); }
    100% { transform: translateY(-20px) scale(1.05); }
}

.wc-color-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    z-index: 3;
}

.wc-inner {
    position: relative;
    z-index: 5;
    max-width: 1400px;
}

.wc-title {
    font-size: 4rem;
    text-align: center;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 0 12px rgba(0,0,0,0.7);
    background: linear-gradient(to right, #C60B1E, #FFC400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wc-subtitle {
    font-size: 1.6rem;
    text-align: center;
    color: #680000;
    text-shadow: 0 0 12px rgba(0,0,0,0.7);
    font-weight: 700;
    margin-bottom: 60px;
}

.wc-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.wc-text {
    width: 45%;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(0,0,0,0.7);
    font-size: 1.3rem;
    line-height: 1.4;
}

.wc-mvp-card {
    margin-top: 25px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.6);
    border-left: 6px solid #3d0000;
    border-radius: 14px;
    box-shadow: 0 0 22px rgba(0,0,0,0.1);
}

.wc-mvp-card h3 {
    font-size: 1.3rem;
    color: #3d0000;
    margin-bottom: 6px;
}

.wc-slider {
    width: 48%;
    height: 420px;
    position: relative;
}

.wc-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    box-shadow: 0 0 35px rgba(0,0,0,0.3);
}

.wc-img.active {
    opacity: 1;
}

.wc-section > * {
    position: relative;
    z-index: 2;
}

.wc-hex-layer {
    position: absolute;
    inset: 0;
    background-image: url("images/hex-pattern.png");
    background-size: 220px;
    opacity: 0.15;
    z-index: 0;
    animation: hexMove 22s linear infinite;
}

@keyframes hexMove {
    from { background-position: 0 0; }
    to   { background-position: 600px 400px; }
}

.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: 0.9s cubic-bezier(0.16, 0.6, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.record-link {
    text-decoration: none;
    display: block;
    color: inherit;
    transform: translateY(20px); 
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out, box-shadow 0.3s ease;
}

.record-link.reveal.visible {
    transform: translateY(0);
    opacity: 1;
}

.wc-records-full {
    margin-top: 80px;
}

.records-title {
    font-size: 4rem;
    text-align: center;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 0 12px rgba(0,0,0,0.7);
    background: linear-gradient(to right, #C60B1E, #FFC400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wc-records-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 15px;
}

.record-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    
    padding: 18px 25px;
    background: #F5E0D5;
    border-radius: 8px;
    border-left: 8px solid #3d0000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.record-link:hover .record-card {
    box-shadow: 0 5px 25px #fff;
}

.record-card-text {
    width: 100%;
}

.record-stat {
    display: inline;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem; 
    font-weight: 900;
    line-height: 1.4;
    color: #3d0000;
    margin-right: 15px;
}

.record-card-text p {
    font-family: 'Poppins', sans-serif;
    display: inline;
    font-size: 1.4rem; 
    font-weight: 900;
    line-height: 1.4;
    color: #3d0000;
    margin: 0;
}

.spain-wc-path {
    margin-top: 100px;
    padding: 40px;
    border-radius: 18px;
}

.path-title {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 35px;
    color: #FFC400;
    text-shadow: 0 0 10px rgba(255, 196, 0, 0.5);
}

.path-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.path-image {
    flex: 1;
    min-width: 300px;
    max-width: 40%;
}

.path-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 3px solid #FFC400;
}

.path-info {
    flex: 2;
    padding-left: 20px;
    color: #fff;
}

.path-detail {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.path-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-label {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFC400;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    color: #fff;
}

.match-list p {
    font-size: 1.1rem;
    margin-bottom: 5px;
    padding: 5px 0;
    border-left: 4px solid #C60B1E;
    padding-left: 10px;
}

.result-win {
    color: #4CAF50;
    font-weight: 600;
}
.result-draw {
    color: #FFC400;
    font-weight: 600;
}
.result-loss {
    color: #E53935;
    font-weight: 600;
}

.knockout-label {
    color: #C60B1E !important;
    font-size: 1.6rem;
    padding-bottom: 5px;
}

.knockout-match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #C60B1E;
    margin-bottom: 10px;
}

.knockout-stage, .knockout-opponent {
    font-size: 1.2rem;
    font-weight: 600;
}

.knockout-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: #E53935;
}

.knockout-summary {
    font-style: italic;
    color: #aaa;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .path-content {
        flex-direction: column;
        gap: 20px;
    }

    .path-image {
        min-width: 100%;
        max-width: 100%;
    }

    .path-info {
        padding-left: 0;
    }
}

.path-gavi-stats {
    background: rgba(255, 255, 255, 0.05);
    margin-top: 20px;
    padding: 22px;
    border-radius: 8px;
    border-left: 5px solid #FFC400;
}

.stats-title {
    font-size: 1.2rem;
    color: #FFC400;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #C60B1E;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #ddd;
    text-transform: uppercase;
    margin-top: 5px;
}

.gavi-debut-clean {
    padding: 120px 8%;
    background-image: linear-gradient(rgba(8, 8, 8, 0.56), rgba(8, 8, 8, 0.56)), url("../images/gaviwallpaperformatchessection.jpg");
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
}

.debut-clean-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.debut-clean-text {
    flex: 1.15;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 20px 24px 24px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.debut-clean-text h1 {
  font-size: 3.8rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 0;
  text-transform: uppercase;
  line-height: 1.1;
  animation: slideUpFadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.debut-clean-text h2 {
  font-size: 3.8rem;
  color: #cc0000;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  animation: slideUpFadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.debut-clean-text p {
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
  max-width: 620px;
  color: #ddd;
  margin-top: 25px;
  font-size: 1.1rem;
  text-align: justify;
}

.debut-image-rotator {
    flex: 0.95;
    max-width: 470px;
    height: 420px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.rot-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    border-radius: 20px;
}

.rot-img.active {
    opacity: 1;
}

.gavi-goal-clean {
    padding: 60px 8%; 
    padding-top: 40px;
    background-image: linear-gradient(rgba(8, 8, 8, 0.56), rgba(8, 8, 8, 0.56)), url("../images/gaviwallpaperformatchessection.jpg");
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
}

.goal-clean-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.goal-clean-text {
    flex: 1.25;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 20px 24px 24px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.goal-title {
  font-size: 3.8rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 0;
  text-transform: uppercase;
  line-height: 1.1;
  animation: slideUpFadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.goal-subtitle {
  font-size: 3.8rem;
  color: #cc0000;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  animation: slideUpFadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
  margin-bottom: 25px;
}

.goal-clean-text p {
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
  max-width: 760px;
  color: #ddd;
  margin-top: 25px;
  font-size: 1.1rem;
  text-align: justify;
}

.goal-image-rotator {
    flex: 0.9;
    max-width: 460px;
    height: 420px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.goal-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    border-radius: 20px;
}

.goal-img.active {
    opacity: 1;
}

.finals-header {
    text-align: center;
    background-image: linear-gradient(rgba(8, 8, 8, 0.56), rgba(8, 8, 8, 0.56)), url("../images/gaviwallpaperformatchessection.jpg");
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0 40px;
}

.finals-header h1 {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    display: inline-block;
}

.finals-header h1::before,
.finals-header h1::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 120px;
    height: 3px;
    background: #fff;
}

.finals-header h1::before {
    right: 100%;
    margin-right: 25px;
}

.finals-header h1::after {
    left: 100%;
    margin-left: 25px;
}

.light-title {
    display: inline-block;
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
}

.light-title span {
    display: inline-block;
    animation: lightUp 1.4s ease-in-out infinite;
    opacity: 0.25;
}

@keyframes lightUp {
    0% { opacity: 0.25; transform: translateY(0); }
    25% { opacity: 1; transform: translateY(-4px); }
    50% { opacity: 0.25; transform: translateY(0); }
    100% { opacity: 0.25; transform: translateY(0); }
}

.final-section {
    padding: 40px 8%;
    background-image: linear-gradient(rgba(8, 8, 8, 0.56), rgba(8, 8, 8, 0.56)), url("../images/gaviwallpaperformatchessection.jpg");
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
}

.final-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.final-title {
  margin-bottom: 5px;
  font-size: 3.8rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 0;
  text-transform: uppercase;
  animation: slideUpFadeIn 0.8s ease-out forwards;
  opacity: 0;
  line-height: 1.2;
}

.final-subtitle {
  margin-bottom: 25px;
  font-size: 3.8rem;
  color: #cc0000;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  animation: slideUpFadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.final-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  max-width: 680px;
  line-height: 1.5;
  margin-top: 25px;
  color: #ddd;
}

.final-title2 {
  margin-bottom: 5px;
  font-size: 3.35rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 0;
  text-transform: uppercase;
  animation: slideUpFadeIn 0.8s ease-out forwards;
  opacity: 0;
  line-height: 1.1;
  max-width: 620px;
  white-space: pre-line;
}

.final-subtitle2 {
  margin-bottom: 25px;
  font-size: 3.8rem;
  color: #cc0000;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  animation: slideUpFadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.final-text2 p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  max-width: 480px;
  line-height: 1.5;
  margin-top: 18px;
  color: #ddd;
}

.final-title3 {
  margin-bottom: 5px;
  font-size: 3.35rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 0;
  text-transform: uppercase;
  animation: slideUpFadeIn 0.8s ease-out forwards;
  opacity: 0;
  max-width: 620px;
  line-height: 1.1;
  white-space: pre-line;
}

.final-subtitle3 {
  margin-bottom: 25px;
  font-size: 3.8rem;
  color: #cc0000;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  animation: slideUpFadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
  max-width: none;
  white-space: nowrap;
}

.final-text3 p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  max-width: 480px;
  line-height: 1.5;
  margin-top: 18px;
  color: #ddd;
}

.final-title5 {
  margin-bottom: 5px;
  font-size: 3.35rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 0;
  text-transform: uppercase;
  animation: slideUpFadeIn 0.8s ease-out forwards;
  opacity: 0;
  max-width: 620px;
  line-height: 1.1;
  white-space: pre-line;
}

.final-subtitle5 {
  margin-bottom: 25px;
  font-size: 3.8rem;
  color: #cc0000;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  animation: slideUpFadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
  max-width: none;
  white-space: nowrap;
}

.final-text5 p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  max-width: 480px;
  line-height: 1.5;
  margin-top: 18px;
  color: #ddd;
}

.final-title4 {
  margin-bottom: 5px;
  font-size: 3.8rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 0;
  text-transform: uppercase;
  animation: slideUpFadeIn 0.8s ease-out forwards;
  opacity: 0;
  max-width: 480px;
  line-height: 1.1;
}

.final-subtitle4 {
  margin-bottom: 25px;
  font-size: 3.8rem;
  color: #cc0000;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  animation: slideUpFadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
  max-width: none;
  white-space: nowrap;
}

.final-text4 p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-top: 18px;
  max-width: 480px;
  color: #ddd;
}

.final-text,
.final-text2,
.final-text3,
.final-text4,
.final-text5 {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 20px 24px 24px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.final-rotator {
    flex: 1;
    max-width: 500px;
    height: 420px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.final-text {
    flex: 1;
}
.final-rotator {
    flex: 1;
}

.final-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.3s ease-in-out;
    border-radius: 20px;
}

.final-img.active {
    opacity: 1;
}

.season-matches {
    padding: 120px 10%;
    background-image: url("../images/background_image_for_FCB_matches.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-image 0.6s ease;
}

.season-matches.match-archive--fcb {
    background-image: url("../images/background_image_for_FCB_matches.png");
    background-position: center top;
}

.season-matches.match-archive--spain {
    background-image: url("../images/background_image_for_Spain_matches.png");
    background-position: center top;
}

.season-title {
    font-size: 2.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 28px;
    color: #fff;
}

.match-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.7);
    padding: 35px;
    margin-bottom: 25px;
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    overflow: hidden;

    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease;
}

.match-info {
  color: black;
}

.match-card.open {
    opacity: 1;
    max-height: min(2200px, 95vh);
}

.match-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.match-photos-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.match-photos-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(220, 39, 67, 0.35);
}

.prev-btn {
    display: inline-block;
    margin-top: 22px;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    background: #000;
    border: none;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.prev-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

.match-date {
    color: #b30000;
    font-weight: 700;
    margin-bottom: 15px;
}

.match-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.show-previous-btn {
    padding: 12px 22px;
    background: #000;
    color: #fff;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.show-previous-btn:hover {
    background: #b30000;
}
