body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
  }
  
  h1 {
    text-align: center;
    padding: 20px;
  }

  
  .intro {
    text-align: center;
    margin-bottom: 40px;
  }
  

  /* Make the scroll container scrollable left-to-right */
/* Outer container that scrolls in both directions */
.player-scroll-container {
  width: 100%;
  max-height: 600px;
  overflow-x: auto;           /* horizontal scroll only */
  overflow-y: hidden;         /* hide vertical scroll */
  padding: 1rem;
  border: 2px solid #000000;
  white-space: nowrap;        /* prevents line breaks */
}

/* Change to horizontal flex layout */
.player-card-grid {
  display: flex;
  flex-wrap: nowrap;          /* all cards in a row */
  gap: 1rem;                  /* space between cards */
}

/* Player card styling */
.player-card {
  flex: 0 0 auto;             /* don’t shrink or grow */
  width: 250px;               /* fixed width for scrolling */
  height: 300px;              /* fixed height */
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.player-card img {
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
}

  .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  .player-card:hover .card-inner {
    transform: rotateY(180deg);
  }
  
  .card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000000;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .card-front img {
    width: 100%;
    height: 180px;
    object-fit:fill
  }
  
  
  .timeline-item {
    margin: 60px 0;
    padding: 20px;
    background: white;
    border-left: 5px solid #000000;
    opacity: 0;          
    transform: translateY(50px); 
    transition: all 0.6s ease-out;
  }
  
  .timeline-item.visible {
    opacity: 1;             
    transform: translateY(0);
  }
  
  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }

  .big-soccer-background {
position: fixed;
top: 50%;
left: 50%;
width: 1000px;
height: 1000px;
z-index: -1; 
opacity: 2; 
transform: translate(-50%, -50%);
animation: slow-spin 60s linear infinite;
pointer-events: none; 
  }

.big-soccer-background img {
width: 100%;
height: 100%;
object-fit: contain;
}

@keyframes slow-spin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}

  body, html {
    font-family: 'Helvetica Neue', sans-serif;
    color: rgb(0, 0, 0);
    background-color: rgba(106, 191, 255, 0.95);
  }

  .parallax {
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .parallax h1 {
    font-size: 4rem;
    background-color: rgb(255, 255, 255);
    padding: 1rem 2rem;
    border-radius: 10px;
  }

  section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: auto;
  }

  h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #050d7f;
  }

  p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

.player-card {
width: 180px;
height: 270px;
perspective: 1000px; 
}

.card-inner {
position: relative;
width: 100%;
height: 100%;
transition: transform 0.8s;
transform-style: preserve-3d;
}

.player-card:hover .card-inner {
transform: rotateY(180deg);
}

.card-front,
.card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border-radius: 12px;
overflow: hidden;
background-color: #002b8a;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
text-align: center;
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.card-front img {
width: 100%;
height: 180px;
object-fit: cover;
}

.card-front h3 {
margin-top: 0.5rem;
font-size: 1.1rem;
}

.card-front p {
font-size: 0.9rem;
color: #ccc;
}

.card-back {
background-color: #001f5b;
transform: rotateY(180deg);
padding: 1rem;
}

body::before {
content: '';
position: fixed;
top: 50%;
left: 50%;
width: 1000px;
height: 1000px;
background: url('https://upload.wikimedia.org/wikipedia/commons/d/d3/Soccerball.svg') no-repeat center/contain;
opacity: 0.4;
z-index: -1;
transform: translate(-50%, -50%);
animation: slow-spin 60s linear infinite;
pointer-events: none;
}

@keyframes slow-spin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.card-back h4 {
font-size: 1.2rem;
margin-bottom: 0.5rem;
color: #87CEFA;
}

.card-back p {
font-size: 0.95rem;
line-height: 1.5;
}

  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  footer {
    text-align: center;
    padding: 2rem;
    background: #000;
    color: #aaa;
  }
  