/* ========== GLOBAL PAGE SETUP ========== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;
  background-image: url('https://wallpapercave.com/wp/wp5312100.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  overflow-x: hidden;
}

/* Moving background animation */
@keyframes bgMove {
  0% { background-position: center top; }
  50% { background-position: center center; }
  100% { background-position: center top; }
}
body {
  animation: bgMove 25s ease-in-out infinite;
}

/* Dark overlay for readability */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  z-index: -1;
}

/* ========== HEADER ========== */
header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,51,153,0.8);
  padding: 15px 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  z-index: 10;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #f7d600;
  animation: glowText 2s ease-in-out infinite alternate;
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
nav a:hover {
  color: #f7d600;
  text-shadow: 0 0 10px #f7d600;
}

/* ========== HERO SECTION ========== */
.hero {
  text-align: center;
  padding: 120px 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  width: 80%;
  margin: 40px auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  animation: fadeIn 2s ease;
}
.hero h1 {
  font-size: 3rem;
  color: #f7d600;
  animation: slideIn 1.5s ease;
}
.hero p {
  font-size: 1.2rem;
  color: #fff;
  margin-top: 10px;
  animation: fadeIn 3s ease;
}
.btn {
  display: inline-block;
  background-color: #f7d600;
  color: #003399;
  padding: 12px 25px;
  margin-top: 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}
.btn:hover {
  background-color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 20px #f7d600;
}

/* ========== CONTENT SECTIONS ========== */
section.content, section.player {
  background: rgba(255,255,255,0.08);
  border-radius: 15px;
  margin: 40px auto;
  width: 85%;
  max-width: 900px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  animation: fadeUp 1.5s ease;
}
h2 {
  color: #f7d600;
  text-align: center;
  margin-bottom: 15px;
}
p {
  text-align: justify;
  font-size: 18px;
}
img {
  display: block;
  margin: 20px auto;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  max-width: 90%;
  transition: all 0.4s ease;
}
img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #f7d600;
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  background: rgba(0,51,153,0.9);
  color: white;
  padding: 20px;
  font-size: 14px;
  border-top: 2px solid #f7d600;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.3);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glowText {
  from { text-shadow: 0 0 5px #f7d600, 0 0 15px #f7d600; }
  to { text-shadow: 0 0 20px #fff, 0 0 30px #f7d600; }
}

/* ========== FIREWORKS ========== */
.fireworks {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 999;
}
.fireworks::before,
.fireworks::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #f7d600 0%, #ff0000 100%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  animation: firecracker 2s ease-out forwards;
}
@keyframes firecracker {
  0% {
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 1;
  }
  50% {
    box-shadow:
      0 0 20px #fff,
      30px -20px #f7d600,
      -30px 20px #ff0000,
      20px 30px #f7d600,
      -25px -30px #ffffff,
      40px 10px #ff0000,
      -40px -10px #f7d600;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
    box-shadow: none;
  }
}

/* ========== FOOTBALL ANIMATION ========== */
.football {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/d/d3/Soccerball.svg');
  background-size: contain;
  background-repeat: no-repeat;
  transform-origin: -200px -200px;
  animation: spinBall 10s linear infinite, spinRotate 3s linear infinite;
  z-index: 998;
  filter: drop-shadow(0 0 10px #f7d600);
}

/* Football orbit path */
@keyframes spinBall {
  0%   { transform: rotate(0deg) translateX(200px) rotate(0deg); }
  25%  { transform: rotate(90deg) translateX(200px) rotate(-90deg); }
  50%  { transform: rotate(180deg) translateX(200px) rotate(-180deg); }
  75%  { transform: rotate(270deg) translateX(200px) rotate(-270deg); }
  100% { transform: rotate(360deg) translateX(200px) rotate(-360deg); }
}

/* Football spinning */
@keyframes spinRotate {
  from { transform: scale(1) rotate(0deg); }
  to   { transform: scale(1) rotate(360deg); }
}
