/* ================= GLOBAL ================= */

:root {
  --primary-blue: #0A2E6D;
  --secondary-blue: #1E5BB8;
  --accent-gold: #F2B705;
  --light-bg: #F9FAFB;
  --dark-gray: #111827;
  --soft-gray: #6B7280;
  --white: #FFFFFF;
}

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

body{
font-family:'Inter',sans-serif;
line-height:1.6;
color:var(--dark-gray);
background:var(--light-bg);
overflow-x:hidden;
}

/* ================= ANIMATIONS ================= */

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

@keyframes pulse{
0%,100%{transform:scale(1);}
50%{transform:scale(1.05);}
}

.animate-on-scroll{
opacity:0;
transform:translateY(30px);
transition:opacity .6s ease,transform .6s ease;
}

.animate-on-scroll.animated{
opacity:1;
transform:translateY(0);
}

/* ================= HEADER ================= */

header{
background:rgba(255,255,255,0.95);
border-bottom:1px solid rgba(10,46,109,0.1);
backdrop-filter:blur(10px);
position:fixed;
width:100%;
top:0;
z-index:1000;
transition:all .3s ease;
}

header.scrolled{
box-shadow:0 4px 30px rgba(0,0,0,0.08);
}

nav{
display:flex;
justify-content:space-between;
align-items:center;
max-width:1400px;
margin:0 auto;
padding:1.2rem 3rem;
}

.logo{
font-size:1.6rem;
font-weight:900;
color:var(--primary-blue);
display:flex;
align-items:center;
gap:.75rem;
cursor:pointer;
transition:transform .3s ease;
}

.logo:hover{
transform:scale(1.05);
}

.logo-icon{
width:45px;
height:45px;
background:linear-gradient(135deg,#dbe4f5,#e0ebf9);
border-radius:12px;
display:flex;
align-items:center;
justify-content:center;
font-size:1.5rem;
color:#fff;
box-shadow:0 6px 16px rgba(11,60,138,.35);
animation:pulse 2s infinite;
}

.nav-links{
display:flex;
list-style:none;
gap:2.5rem;
align-items:center;
}

.nav-links a{
color:var(--soft-gray);
text-decoration:none;
font-weight:500;
font-size:1rem;
position:relative;
transition:.3s;
}

.nav-links a::after{
content:'';
position:absolute;
bottom:-5px;
left:0;
width:0;
height:2px;
background:linear-gradient(90deg,var(--primary-blue),var(--secondary-blue));
transition:.3s;
}

.nav-links a:hover{
color:var(--primary-blue);
transform:translateY(-2px);
}

.nav-links a:hover::after{
width:100%;
}

.nav-cta{
background:linear-gradient(135deg,var(--accent-gold),#FFD24D);
color:var(--primary-blue);
padding:.7rem 1.8rem;
border-radius:10px;
font-weight:800;
box-shadow:0 6px 18px rgba(242,183,5,.35);
transition:.3s;
}

.nav-cta:hover{
transform:translateY(-2px);
box-shadow:0 10px 25px rgba(242,183,5,.55);
}

.menu-toggle{
display:none;
flex-direction:column;
cursor:pointer;
}

.menu-toggle span{
width:26px;
height:2px;
background:var(--soft-gray);
margin:4px 0;
border-radius:2px;
transition:.3s;
}

/* ================= TEAMS SECTION ================= */

.teams-section{
padding:7rem 2rem;
background:var(--light-bg);
}

.section-title{
text-align:center;
font-size:3rem;
font-weight:900;
color:var(--dark-gray);
margin-bottom:3rem;
animation:fadeInUp 1s ease forwards;
}

/* ================= TEAMS GRID ================= */

.teams-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
gap:2.5rem;
max-width:1300px;
margin:0 auto;
}

/* ================= TEAM CARD ================= */

.team-card{
background:var(--white);
border-radius:16px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
overflow:hidden;
cursor:pointer;
display:flex;
flex-direction:column;
height:auto;
}



.team-card:hover{
transform:translateY(-6px);
box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.team-header{
display:flex;
align-items:center;
padding:1.5rem 2rem;
background:linear-gradient(135deg,var(--primary-blue),var(--secondary-blue));
color:var(--white);
gap:1.5rem;
border-bottom:1px solid rgba(255,255,255,.2);
border-radius:16px 16px 0 0;
transition:.3s;
}

.team-header:hover{
background:linear-gradient(135deg,var(--secondary-blue),var(--primary-blue));
}

.team-logo{
width:80px;
height:80px;
border-radius:50%;
background:var(--white);
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
box-shadow:0 4px 12px rgba(0,0,0,.2);
flex-shrink:0;
}

.team-logo img{
width:100%;
height:100%;
object-fit:cover;
border-radius:50%;
transition:.3s;
}

.team-card:hover .team-logo img{
transform:scale(1.1);
}

.team-info h3{
margin-bottom:.3rem;
font-size:1.5rem;
font-weight:700;
}

.team-info p{
font-size:.95rem;
}

/* ================= TEAM PLAYERS TABLE ================= */

.team-players{
padding:1rem 2rem;
background:transparent;
flex-grow:0;
}
.team-players tbody tr:nth-child(even){
background:#f3f4f6;
}

.team-players table{
width:100%;
border-collapse:collapse;
font-size:.95rem;
border-radius:12px;
overflow:hidden;
}

.team-players th,
.team-players td{
text-align:left;
padding:.75rem .5rem;
border-bottom:1px solid #E5E7EB;
}

.team-players th{
color:var(--primary-blue);
font-weight:600;
}

.team-players tbody tr:nth-child(even){
background:#f9fafb;
}

.team-players tr:hover{
background:rgba(10,46,109,.05);
}

/* ================= SEARCH ================= */

#teamSearch{
display:block;
margin:0 auto 35px auto;
width:100%;
max-width:420px;
padding:12px;
border-radius:8px;
border:1px solid #d1d5db;
}

/* ================= SCROLL TOP ================= */

#scrollTopBtn{
position:fixed;
bottom:30px;
right:30px;
background:#4e8cff;
color:#fff;
border:none;
padding:12px 14px;
border-radius:50%;
font-size:18px;
cursor:pointer;
display:none;
box-shadow:0 4px 12px rgba(0,0,0,.2);
transition:.3s;
}

#scrollTopBtn:hover{
background:#3a6ed9;
}

/* ================= FOOTER ================= */

footer{
background:#111827;
color:white;
padding:4rem 2rem;
border-top:2px solid var(--primary-blue);
}

.footer-container{
max-width:1300px;
margin:0 auto;
display:grid;
grid-template-columns:1fr 1fr;
gap:4rem;
align-items:center;
}

.footer-left{
display:flex;
flex-direction:column;
gap:1.5rem;
}

.footer-brand{
display:flex;
align-items:center;
gap:1rem;
justify-content:center;
}

.footer-logo{
width:70px;
height:70px;
border-radius:12px;
overflow:hidden;
box-shadow:0 6px 20px rgba(0,0,0,.15);
}

.footer-logo img{
width:100%;
height:100%;
object-fit:cover;
}

.footer-title{
font-family:'Bebas Neue',sans-serif;
font-size:2rem;
letter-spacing:2px;
color:var(--primary-blue);
text-transform:uppercase;
}

.footer-info{
color:#9ca3af;
line-height:1.7;
}

.footer-info a{
color:var(--secondary-blue);
text-decoration:none;
}

.footer-info a:hover{
text-decoration:underline;
}

.footer-copy{
font-size:.85rem;
color:#6b7280;
margin-top:1rem;
}

.footer-right{
border-radius:16px;
overflow:hidden;
box-shadow:0 12px 35px rgba(0,0,0,.25);
height:280px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

nav{
padding:1rem 1.5rem;
}

.nav-links{
position:fixed;
left:-100%;
top:77px;
flex-direction:column;
background:white;
width:100%;
text-align:center;
transition:.3s;
padding:2rem 0;
box-shadow:0 10px 30px rgba(0,0,0,.1);
gap:1.5rem;
}

.nav-links.active{
left:0;
}

.menu-toggle{
display:flex;
}

.teams-container{
grid-template-columns:1fr;
padding:0 1rem;
}

.team-card{
margin-bottom:2rem;
}

.team-header{
flex-direction:column;
align-items:flex-start;
gap:1rem;
padding:1rem;
}

.team-logo{
width:60px;
height:60px;
}

.team-info h3{
font-size:1.2rem;
}

.team-info p{
font-size:.85rem;
}

.team-players{
padding:.5rem;
}

.team-players th,
.team-players td{
padding:.5rem .3rem;
font-size:.85rem;
}


.footer-container{
grid-template-columns:1fr;
text-align:center;
gap:2.5rem;
}

.footer-left{
align-items:center;
}

.footer-brand{
justify-content:center;
}

.footer-right{
width:100%;
max-width:500px;
}

}

html{
scroll-behavior:smooth;
}