/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:linear-gradient(120deg, #ffffff, #f8f8f8);
color:#111;
position:relative;
overflow-x:hidden;
}

/* RED GLOW */
body::before{
content:"";
position:fixed;
top:-100px;
left:-100px;
width:350px;
height:350px;
background:rgba(230,0,35,0.12);
filter:blur(120px);
animation:moveGlow 10s infinite alternate;
z-index:-1;
}

/* LIGHT DARK ACCENT */
body::after{
content:"";
position:fixed;
bottom:-100px;
right:-100px;
width:300px;
height:300px;
background:rgba(0,0,0,0.05);
filter:blur(120px);
animation:moveGlow2 12s infinite alternate;
z-index:-1;
}

@keyframes moveGlow{
from{transform:translate(0,0);}
to{transform:translate(200px,150px);}
}

@keyframes moveGlow2{
from{transform:translate(0,0);}
to{transform:translate(-150px,-100px);}
}

/* NAVBAR */
nav{
background:white;
position:sticky;
top:0;
z-index:1000;
box-shadow:0 2px 15px rgba(0,0,0,0.08);
}

.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 8%;
}

.logo{
display:flex;
align-items:center;
gap:10px;
font-weight:700;
font-size:18px;
color:#e60023;
white-space:nowrap;
}

.logo img{
width:40px;
height:40px;
object-fit:contain;
border-radius:50%;
background:white;
padding:3px;
}

.nav-links{
display:flex;
list-style:none;
gap:25px;
}

.nav-links a{
text-decoration:none;
color:#111;
font-weight:500;
position:relative;
}

.nav-links a::after{
content:"";
position:absolute;
bottom:-5px;
left:0;
width:0%;
height:2px;
background:#e60023;
transition:.3s;
}

.nav-links a:hover::after{
width:100%;
}

.menu-toggle{
display:none;
}

@media (max-width:768px){

.menu-toggle{
display:block;
font-size:24px;
cursor:pointer;
}

/* HIDDEN MENU */
.nav-links{
display:none;
flex-direction:column;
background:white;
position:absolute;
top:70px;
right:0;
width:100%;
padding:20px;
box-shadow:0 10px 20px rgba(0,0,0,0.1);
}

/* SHOW MENU */
.nav-links.active{
display:flex;
}

}

/* HERO */
.hero{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
color:white;
background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
url('../images/hero..jpg') center/cover no-repeat;
}

.hero-logo{
width:90px;
margin-bottom:20px;
animation:fadeUp 1s ease;
}

.hero-content h1{
font-size:80px;
letter-spacing:4px;
animation:fadeUp 1.2s ease;
}

.hero-content p{
margin:15px 0;
font-size:20px;
animation:fadeUp 1.4s ease;
}

.hero-buttons{
margin-top:20px;
animation:fadeUp 1.6s ease;
}

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(20px);
}
to{
opacity:1;
transform:translateY(0);
}
}

.btn{
display:inline-block;
padding:12px 28px;
background:#e60023;
color:white;
border-radius:30px;
text-decoration:none;
transition:.3s;
font-weight:500;
}

.btn:hover{
background:black;
transform:scale(1.05);
}

/* SECTION */
section{
padding:80px 8%;
}

.section-title{
text-align:center;
margin-bottom:40px;
font-size:34px;
font-weight:700;
}

/* INFO SECTIONS */
.info{
max-width:900px;
margin:auto;
text-align:center;
margin-bottom:40px;
}

.info p{
margin-bottom:15px;
}

/* GRID */
.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

/* CARDS */
.card{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:.3s;
}

.card:hover{
transform:translateY(-8px);
}

/* FIXTURE CARDS */
.match-card{
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
text-align:center;
}

/* GALLERY */
.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:15px;
}

.gallery img{
width:100%;
height:220px;
object-fit:cover;
border-radius:10px;
transition:.3s;
}

.gallery img:hover{
transform:scale(1.05);
}

/* CTA */
.cta{
background:#e60023;
color:white;
text-align:center;
padding:60px 20px;
border-radius:12px;
}

.cta h2{
margin-bottom:15px;
}

/* FOOTER */
footer{
background:#111;
color:white;
padding:60px 8%;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:30px;
}

footer a{
color:#ccc;
text-decoration:none;
}

footer a:hover{
color:white;
}

.footer-bottom{
text-align:center;
margin-top:30px;
border-top:1px solid #333;
padding-top:15px;
}

/* MOBILE */
@media(max-width:768px){

.nav-links{
display:none;
flex-direction:column;
position:absolute;
right:20px;
top:70px;
background:white;
padding:20px;
}

.nav-links.active{
display:flex;
}

.menu-toggle{
display:block;
}

.hero h1{
font-size:40px;
}

}

/* ================= BUILT BY CREDIT ================= */
.built-by {
  margin-top: 20px;
  font-size: 12px;
  color: #aaa;
  text-align: center;
}

.credit-logo {
  margin-left: 5px;
  text-decoration: none;
  font-weight: 600;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.credit-logo:hover {
  filter: brightness(1.3);
}

.team-img{
width:100%;
height:180px;
object-fit:cover;
border-radius:10px;
margin-bottom:10px;
}

.logo{
display:flex;
align-items:center;
gap:10px;
font-weight:700;
font-size:18px;
color:#e60023;
}

.logo img{
width:45px;
height:45px;
object-fit:contain;
border-radius:50%;
box-shadow:0 4px 10px rgba(0,0,0,0.2);
}

body{
background:linear-gradient(120deg, #f5f5f5, #ffffff);
position:relative;
overflow-x:hidden;
}

/* subtle floating glow */
body::before{
content:"";
position:fixed;
top:-100px;
left:-100px;
width:400px;
height:400px;
background:rgba(230,0,35,0.15);
filter:blur(120px);
animation:moveGlow 10s infinite alternate;
z-index:-1;
}

@keyframes moveGlow{
from{
transform:translate(0,0);
}
to{
transform:translate(200px,150px);
}
}

.ball-container{
text-align:center;
margin-bottom:30px;
}

.ball{
width:90px;
animation:spinBall 6s linear infinite;
filter:drop-shadow(0 0 10px rgba(230,0,35,0.5));
}

@keyframes spinBall{
from{transform:rotate(0deg);}
to{transform:rotate(360deg);}
}

.ball{
width:80px;
animation:spinBall 6s linear infinite;
filter:drop-shadow(0 0 10px rgba(230,0,35,0.5));
}

.fixture-group{
margin-bottom:50px;
}

.group-title{
margin-bottom:20px;
color:#e60023;
font-size:22px;
border-left:4px solid #e60023;
padding-left:10px;
}

/* MATCH CARD */
.match-card{
display:flex;
align-items:center;
justify-content:space-between;
background:white;
padding:15px 20px;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
margin-bottom:12px;
}

/* TEAM SIDE */
.fixture-group{
margin-bottom:60px;
}

.group-title{
font-size:24px;
color:#e60023;
margin-bottom:25px;
border-left:5px solid #e60023;
padding-left:10px;
}

/* MATCH CARD */
.match-card{
display:flex;
align-items:center;
justify-content:space-between;
background:white;
padding:18px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
margin-bottom:15px;
transition:.3s;
}

.match-card:hover{
transform:translateY(-4px);
}

/* TEAMS */
.team{
width:35%;
text-align:center;
}

.team img{
width:45px;
height:45px;
object-fit:contain;
margin-bottom:5px;
}

.team span{
display:block;
font-weight:600;
}

/* CENTER INFO */
.center-info{
width:30%;
text-align:center;
}

.matchday{
font-size:12px;
color:#888;
}

.time{
font-weight:600;
margin:5px 0;
}

.venue{
font-size:13px;
color:#555;
}

/* GOALSCORERS */
.scorers{
margin-top:5px;
font-size:12px;
color:#666;
}

.fixture-link{
display:block;
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
text-decoration:none;
color:black;
transition:.3s;
}

.fixture-link:hover{
transform:translateY(-5px);
background:#e60023;
color:white;
}

.back-btn{
display:inline-block;
margin-top:20px;     /* pushes it DOWN */
margin-left:20px;    /* pushes it AWAY from edge */
color:#e60023;
text-decoration:none;
font-weight:600;
}

/* ===== FIXTURE SYSTEM GLOBAL ===== */

.fixture-group{
margin-bottom:60px;
}

.group-title{
font-size:24px;
color:#e60023;
margin-bottom:25px;
border-left:5px solid #e60023;
padding-left:10px;
}

/* MATCH CARD */
.match-card{
display:flex;
align-items:center;
justify-content:space-between;
background:white;
padding:18px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
margin-bottom:15px;
transition:.3s;
}

.match-card:hover{
transform:translateY(-4px);
}

/* TEAMS */
.team{
width:35%;
text-align:center;
}

.team img{
width:45px;
height:45px;
object-fit:contain;
margin-bottom:5px;
}

.team span{
display:block;
font-weight:600;
}

/* CENTER INFO */
.center-info{
width:30%;
text-align:center;
}

.matchday{
font-size:12px;
color:#888;
}

.time{
font-weight:600;
margin:5px 0;
}

.venue{
font-size:13px;
color:#555;
}

/* GOALSCORERS */
.scorers{
margin-top:5px;
font-size:12px;
color:#666;
}

/* RESULT COLORS */
.win{
border-left:5px solid #28a745;
background:rgba(40,167,69,0.05);
}

.loss{
border-left:5px solid #dc3545;
background:rgba(220,53,69,0.05);
}

.draw{
border-left:5px solid #ffc107;
background:rgba(255,193,7,0.05);
}

.score{
font-size:26px;
font-weight:700;
}

.built-by{
text-align:center;
margin-top:10px;
font-size:14px;
color:#555;
}

.credit-link{
color:#e60023;
font-weight:600;
text-decoration:none;
transition:0.3s;
}

.credit-link:hover{
text-decoration:underline;
color:#000;
}


/* EXCO GRID */
.card-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
margin-top:40px;
}

/* EXCO CARD */
.card{
background:white;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
text-align:center;
overflow:hidden; /* VERY IMPORTANT */
transition:0.3s;
}

.card:hover{
transform:translateY(-5px);
}

/* IMAGE FIX (THIS IS THE MAIN FIX) */
.card img{
width:100%;
height:220px;        /* ðŸ”¥ controls size */
object-fit:cover;    /* ðŸ”¥ crops nicely */
display:block;
}

/* CONTENT */
.card-content{
padding:15px;
}

.card-content h3{
color:#e60023;
margin-bottom:5px;
}

.card-content p{
font-size:14px;
color:#555;
}

.card img{
width:150px;
height:150px;
border-radius:50%;
object-fit:cover;
margin:20px auto 10px;
display:block;
border:4px solid #e60023;
}

/* MOBILE FIX */
@media (max-width:768px){

.nav-links{
display:none;
flex-direction:column;
background:white;
position:absolute;
top:60px;
right:0;
width:100%;
padding:20px;
box-shadow:0 10px 20px rgba(0,0,0,0.1);
}

.nav-links.active{
display:flex;
}

.menu-toggle{
display:block;
font-size:22px;
cursor:pointer;
}

.grid{
grid-template-columns:1fr;
}

.page-hero h1{
font-size:28px;
}

.page-hero p{
font-size:14px;
}

.info-box{
padding:15px;
font-size:14px;
}

footer{
text-align:center;
}

.footer-grid{
grid-template-columns:1fr;
gap:20px;
}

}

.spinning-logo{
display:flex;
justify-content:center;
align-items:center;
margin:40px 0;
}

.spinning-logo img{
width:120px;
height:120px;
object-fit:contain;
animation:spinLogo 6s linear infinite;
}

.hero-buttons{
display:flex;
gap:15px;
justify-content:center;
flex-wrap:wrap;
margin-top:20px;
}

@media (max-width:768px){
.hero-buttons{
flex-direction:column;
align-items:center;
}

.hero-buttons .btn{
width:80%;
text-align:center;
}
}

.btn{
background:#e60023;
color:white;
padding:12px 25px;
border-radius:30px;
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.btn:hover{
background:black;
transform:scale(1.05);
}

/* MAIN SPONSOR SECTION */
.main-sponsor{
background:#111;
color:white;
padding:60px 20px;
}

.sponsor-box{
display:flex;
align-items:center;
justify-content:center;
gap:40px;
max-width:1000px;
margin:auto;
flex-wrap:wrap;
}

.sponsor-box img{
width:180px;
height:auto;
background:white;
padding:15px;
border-radius:10px;
}

.sponsor-text{
max-width:500px;
}

.sponsor-text h3{
color:#e60023;
margin-bottom:10px;
}

/* MOBILE */
@media(max-width:768px){
.sponsor-box{
flex-direction:column;
text-align:center;
}
}

/* KIT LAUNCH SECTION */
.kit-launch{
padding:80px 8%;
background:#111;
color:white;
text-align:center;
}

.kit-subtitle{
max-width:700px;
margin:auto;
margin-bottom:40px;
opacity:0.85;
}

.kit-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

/* CARD */
.kit-card{
position:relative;
overflow:hidden;
border-radius:12px;
cursor:pointer;
}

.kit-card img{
width:100%;
height:300px;
object-fit:cover;
transition:0.5s;
}

@media(max-width:1024px){  /* iPads + tablets */

.kit-card img{
height:240px;
}

.kit-card.large img{
height:260px;
}

}

@media(max-width:768px){  /* phones */

.kit-card img{
height:200px;
}

.kit-card.large img{
height:220px;
}

/* Force clean spacing */
.kit-grid{
gap:15px;
}

}

/* BIG CARD */
.kit-card.large{
grid-column:auto;
}

.kit-launch{
background:#0a0a0a;  /* deeper black = more premium */
padding:80px 8%;
}

@media(max-width:768px){
.kit-launch{
padding:50px 15px;
}
}

.kit-card{
border-radius:10px;
overflow:hidden;
background:#000; /* prevents white flashing */
}

@media(max-width:768px){
.kit-card.large{
grid-column:span 1;
}
}

/* OVERLAY */
.kit-overlay{
position:absolute;
bottom:0;
left:0;
width:100%;
padding:20px;
background:linear-gradient(to top, rgba(0,0,0,0.8), transparent);
transform:translateY(100%);
transition:0.4s;
}

.kit-overlay h3{
color:#e60023;
margin-bottom:5px;
}

.kit-overlay{
padding:15px;
}

.kit-overlay h3{
font-size:16px;
}

.kit-overlay p{
font-size:13px;
}

/* HOVER EFFECT */
.kit-card:hover img{
transform:scale(1.1);
}

.kit-card:hover .kit-overlay{
transform:translateY(0);
}

@media(max-width:768px){

/* Make images slightly shorter */
.kit-card img{
height:250px;
}

/* ALWAYS show text (since no hover on mobile) */
.kit-overlay{
transform:translateY(0);
background:linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
}

/* Better spacing */
.kit-launch{
padding:60px 20px;
}

/* Text scaling */
.kit-overlay h3{
font-size:18px;
}

.kit-overlay p{
font-size:14px;
}

}


/* ðŸ”¥ FORCE MOBILE FIX FOR KIT SECTION */
@media screen and (max-width:1024px){

.kit-grid{
display:grid !important;
grid-template-columns:1fr !important;
gap:15px !important;
}

.kit-card,
.kit-card.large{
width:100% !important;
}

.kit-card img,
.kit-card.large img{
height:200px !important;
object-fit:cover !important;
}

.kit-overlay{
transform:translateY(0) !important;
background:linear-gradient(to top, rgba(0,0,0,0.85), transparent) !important;
}

}

/* HERO (make sure this matches other pages) */
.page-hero{
background:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),
url('../images/hero.jpg') center/cover no-repeat;
color:white;
text-align:center;
padding:90px 20px;
}

.page-hero h1{
font-size:42px;
margin-bottom:10px;
}

.page-hero p{
opacity:0.9;
}

/* EXCO SECTION */
.exco-section{
padding:80px 8%;
text-align:center;
}

.exco-intro{
max-width:800px;
margin:0 auto 50px;
}

.exco-intro h2{
color:#e60023;
margin-bottom:10px;
}

/* GRID */
.exco-grid{
gap:30px;
}

/* CARD */
.exco-card{
background:white;
border-radius:16px;
overflow:hidden;
box-shadow:0 15px 35px rgba(0,0,0,0.08);
transition:0.4s;
position:relative;
}

.exco-card:hover{
transform:translateY(-10px) scale(1.02);
box-shadow:0 20px 45px rgba(0,0,0,0.15);
}

/* IMAGE */
.exco-card img{
width:100%;
height:240px;
object-fit:cover;
}

/* CONTENT */
.exco-content{
padding:20px;
}

.exco-content h3{
color:#e60023;
margin-bottom:5px;
}

.role{
font-weight:600;
margin-bottom:8px;
}

.desc{
font-size:14px;
color:#666;
}

/* HIGHLIGHT BLOCK */
.exco-highlight{
margin-top:60px;
background:#111;
color:white;
padding:40px;
border-radius:16px;
max-width:800px;
margin-left:auto;
margin-right:auto;
}

.exco-highlight h3{
color:#e60023;
margin-bottom:10px;
}


.fixtures-wrapper{
max-width:1100px;   /* controls how "zoomed in" it feels */
margin:0 auto;      /* centers it */
padding:0 20px;     /* spacing on mobile */
}

.socials{
margin-top:20px;
}

.socials h3{
margin-bottom:10px;
}

.socials a{
display:flex;
align-items:center;
gap:10px;
color:#ccc;
text-decoration:none;
margin-bottom:8px;
font-size:14px;
transition:0.3s;
}

.socials a i{
font-size:18px;
}

/* HOVER EFFECTS */
.socials a:hover{
color:white;
transform:translateX(5px);
}

/* BRAND COLORS ON HOVER 🔥 */
.socials a:hover .fa-instagram{
color:#e1306c;
}

.socials a:hover .fa-facebook{
color:#1877f2;
}

.match-card.cup{
border:2px solid gold;
background:linear-gradient(135deg,#fffbe6,#fff);
box-shadow:0 10px 30px rgba(255,215,0,0.25);
}

/* KEEP RESULT COLORS STRONG */
.match-card.win{
border-left:5px solid #28a745;
}

.match-card.loss{
border-left:5px solid #dc3545;
}

.match-card.draw{
border-left:5px solid #ffc107;
}

.cup-badge{
display:inline-block;
background:gold;
color:black;
font-size:11px;
font-weight:700;
padding:4px 10px;
border-radius:20px;
margin-bottom:5px;
}