/* ===== Global Styles ===== */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #0a0a0a;
  color: #fff;
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: bold;
  color: orange;
  margin-bottom: 0.5rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Header ===== */
.site-header {
  background: linear-gradient(90deg, #111, #222);
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: 3px solid orange;
}

.site-title {
  font-size: 2.8rem;
  margin: 0;
  text-shadow: 0 0 15px orange;
}

.tagline {
  font-size: 1.2rem;
  color: #ddd;
}

/* ===== Curved Box Design ===== */
.box {
  background: #111;
  border: 2px solid orange;
  border-radius: 18px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.6);
  transition: transform 0.3s, box-shadow 0.3s;
}

.box:hover {
  transform: scale(1.01);
  box-shadow: 0 0 35px rgba(255, 140, 0, 0.9);
}

/* ===== Home Page (football.html) ===== */
.players-gallery h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.players-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.player-card {
  text-align: center;
  transition: transform 0.3s;
}

.player-card:hover {
  transform: translateY(-5px);
}

.player-img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid orange;
  transition: transform 0.3s, box-shadow 0.3s;
}

.player-card:hover .player-img {
  transform: scale(1.05);
  box-shadow: 0 0 20px orange;
}

.player-card h3 {
  margin-top: 0.6rem;
  font-size: 1.1rem;
  color: white;
}

/* ===== Player Page Layout ===== */
.player-page {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
}

.player-header {
  text-align: center;
  margin-bottom: 2rem;
}

.player-photo {
  width: 220px;
  height: 260px;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid orange;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.7);
  margin-bottom: 1rem;
}

.player-name {
  font-size: 2.4rem;
  margin: 0.5rem 0;
}

.player-about {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 2rem;
}

/* Sections for career, clubs, stats, trophies */
.section {
  margin-bottom: 2rem;
}

.section h2 {
  margin-bottom: 1rem;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.stats-table th,
.stats-table td {
  border: 1px solid orange;
  padding: 0.6rem;
  text-align: center;
}

.stats-table th {
  background: #222;
  color: orange;
}

.stats-table tr:nth-child(even) {
  background: #1a1a1a;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 2px solid orange;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* ===== Buttons ===== */
.back-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  background: orange;
  color: black;
  border-radius: 10px;
  font-weight: bold;
  transition: background 0.3s, box-shadow 0.3s;
}

.back-btn:hover {
  background: #ffae42;
  box-shadow: 0 0 15px orange;
}
