body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #1f242b;
  color: #e5e7eb;
}

h1,
h2 {
  color: #f8fafc;
}

a {
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  background: transparent;
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 140px;
  background: linear-gradient(180deg, #2b2f36 0%, #1f2329 100%);
  border-bottom: 4px solid #39ff14;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.topbar-left {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 130px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

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

.topbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.topbar-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 88px;
  font-weight: 900;
  letter-spacing: 6px;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.25);
  pointer-events: none;
}

#search-results {
  width: 100%;
  max-width: 600px;
  margin: 12px auto 0;
  position: relative;
  z-index: 5;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.search-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1f2933;
  border: 2px solid #39ff14;
  border-radius: 14px;
  padding: 14px 18px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.2s ease;
}

.search-card:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.5);
}

.search-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-left img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #39ff14;
}

.search-name {
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.search-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.flag {
  width: 32px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
}

.search-team {
  font-size: 15px;
  font-weight: 700;
  color: #cbd5f5;
  white-space: nowrap;
}

.search-position {
  font-size: 15px;
  font-weight: 900;
  min-width: 36px;
  text-align: center;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.pos-def {
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: rgba(56, 189, 248, 0.1);
}

.pos-mid {
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.6);
  background: rgba(250, 204, 21, 0.1);
}

.pos-att {
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.6);
  background: rgba(248, 113, 113, 0.1);
}

.pos-gk {
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.6);
  background: rgba(167, 139, 250, 0.1);
}

.search-card.empty {
  text-align: center;
  border: 1px dashed #666;
  color: #aaa;
}

.search-item {
  padding: 12px 18px;
  border-bottom: 1px solid #1e293b;
  cursor: pointer;
  color: #e5e7eb;
}

.search-item:hover {
  background: #39ff14;
  color: #000;
  font-weight: 700;
}

.search-form {
  display: flex;
  width: 75%;
  max-width: 850px;
  background: #ffffff;
  border-radius: 45px;
  overflow: unset;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  border: 2px solid #39ff14;
}

.search-form input {
  flex: 1;
  padding: 14px 22px;
  font-size: 17px;
  border: none;
  outline: none;
}

.search-form button {
  background: #39ff14;
  border: none;
  padding: 0 26px;
  font-size: 20px;
  cursor: pointer;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dropdown {
  position: relative;
}

.dropbtn {
  background: #39ff14;
  border: none;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 900;
  cursor: pointer;
  color: #000;
  letter-spacing: 0.6px;
}

.dropbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(57, 255, 20, 0.7);
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  background: #020617;
  min-width: 160px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.dropdown-content a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-weight: 600;
}

.dropdown-content a:hover {
  background: #39ff14;
  color: #000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.account a {
  padding: 8px 20px;
  border-radius: 25px;
  background: #39ff14;
  color: #000;
  font-weight: 900;
  letter-spacing: 0.6px;
}

.hero {
  text-align: center;
  padding: 15px 20px 50px;
  background: linear-gradient(180deg, #2a2f36 0%, #1f242b 100%);
}

.hero-small {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 5px;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

.hero-text {
  max-width: 600px;
  margin: 15px auto 0;
  font-size: 16px;
  color: #cbd5f5;
}

.hero-search {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.hero-search input {
  width: 60%;
  max-width: 600px;
  padding: 16px 22px;
  font-size: 18px;
  border-radius: 40px 0 0 40px;
  border: 2px solid #39ff14;
  outline: none;
}

.hero-search button {
  background: #39ff14;
  border: none;
  padding: 0 28px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 0 40px 40px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.card {
  background: #020617;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #1e293b;
  transition:
    transform 0.2s,
    border 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  border: 1px solid #39ff14;
}

.card h3 {
  margin: 0 0 5px 0;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background: #38bdf8;
  color: #020617;
  border-radius: 4px;
  font-size: 14px;
}

.btn:hover {
  background: #0ea5e9;
}

.footer {
  width: 100%;
  margin-top: 80px;
  padding: 35px 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #9ca3af;

  background: linear-gradient(180deg, #2b3238 0%, #1f252b 100%);
  border-top: 3px solid #39ff14;

  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5);
}

.footer a {
  color: #39ff14;
  font-weight: 800;
}

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

.brand-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
}

.brand-title:hover {
  color: #39ff14;
}

.flag {
  width: 60px;
  height: 38px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

.team-logo {
  width: 60px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.6));
}

.player-page {
  display: grid;
  grid-template-columns: 320px 1fr 420px;
  gap: 40px;
  max-width: 1500px;
  margin: 60px auto;
}

.player-left,
.player-center,
.player-right {
  background: linear-gradient(145deg, #0b0f17, #101827);
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 0 24px rgba(44, 255, 44, 0.12);
}

.player-center {
  text-align: center;
}

.player-center h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 20px;
}

.player-photo img {
  max-width: 420px;
  width: 100%;
  border-radius: 20px;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.85));
}

.stats div span {
  font-size: 26px;
  font-weight: bold;
  color: #00ff9c;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 8px;
  border-bottom: 1px solid #333;
  text-align: left;
}

.player-info p {
  margin: 6px 0;
  font-size: 14px;
}

.player-info strong {
  color: #9ca3af;
  font-weight: 600;
}

.player-stats {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.player-stats div {
  font-size: 15px;
}

.player-stats span {
  font-size: 26px;
  font-weight: 900;
  color: #39ff14;
  margin-right: 6px;
}

.player-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.player-top,
.player-middle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.player-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.player-box .label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.player-box .value {
  font-size: 16px;
  font-weight: 800;
  color: white;
}

.player-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: #39ff14;
}

.stat-label {
  font-size: 13px;
  color: #9ca3af;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.player-flag {
  width: 110px;
  height: auto;
  margin-top: 8px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.player-team {
  width: 100px;
  height: auto;
  margin-top: 8px;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.7));
}

.stat-number {
  font-size: 42px;
  font-weight: 900;
  color: #39ff14;
}

.stat-label {
  font-size: 15px;
  color: #9ca3af;
}

.player-top .player-box {
  background: transparent;
  padding: 0;
}

.player-right h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.player-right p {
  font-size: 15px;
  color: #9ca3af;
}

.match-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.draw .score-number {
  color: #9ca3af;
}

.match-date {
  font-size: 11px;
  margin-top: 6px;
  color: #6b7280;
  text-align: center;
  width: 100%;
}

.match-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.match-table th {
  text-align: left;
  color: #9ca3af;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid #2a2f36;
}

.match-table td {
  padding: 10px 0;
  border-bottom: 1px solid #1f242b;
}

.good-rating {
  color: #39ff14;
  font-weight: 700;
}

.match-table th,
.match-table td {
  padding: 10px 6px;
}

.stat-center {
  text-align: center;
  font-weight: 700;
}

.player-form {
  margin-top: 18px;
  text-align: center;
  width: 100%;
}

.form-title {
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.form-icons {
  gap: 16px;
}

.team-form-big {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.form-big {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-weight: 900;
    font-size: 22px;

    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.form-big.win {
    background: #16a34a;
}

.form-big.draw {
    background: #f59e0b;
}

.form-big.lose {
    background: #dc2626;
}

.icon {
  font-size: 28px;
}

.icon.goal {
  color: #39ff14;
}

.icon.assist {
  color: #38bdf8;
}

.icon.none {
  color: #6b7280;
}

.team-info h1 {
  margin-bottom: 5px;
}

.team-filter {
  margin-bottom: 20px;
}

.player-card {
  background: #141a20;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #2a2f36;
  transition: 0.2s ease;
}

.player-card:hover {
  transform: translateY(-4px);
  border-color: #39ff14;
  box-shadow: 0 6px 18px rgba(57, 255, 20, 0.2);
}

.player-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
}

.player-name {
  margin-top: 10px;
  font-weight: 800;
}

.player-pos {
  font-size: 13px;
  color: #9ca3af;
}

.league-table-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}

.league-filter {
  margin-bottom: 25px;
}

.league-filter select {
  background: #141a20;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #39ff14;
  font-weight: 600;
  cursor: pointer;
}

.league-table-container h1 {
  margin-bottom: 18px;
  font-size: 24px;
  color: white;
}

.league-table {
  width: 100%;
  border-collapse: collapse;
  background: linear-gradient(145deg, #0b0f17, #101827);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(44, 255, 44, 0.18);
}

.league-table thead {
  background: rgba(44, 255, 44, 0.12);
}

.league-table th {
  padding: 12px;
  color: #9aff9a;
  font-size: 14px;
  text-align: center;
}

.league-table td {
  padding: 12px;
  text-align: center;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.league-table tbody tr:hover {
  background: rgba(44, 255, 44, 0.08);
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.team-cell a {
  color: white;
  text-decoration: none;
}

.team-cell a:hover {
  color: #2cff2c;
}

.team-mini {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.points {
  color: #2cff2c;
  font-weight: bold;
}

.top-team {
  background: rgba(44, 255, 44, 0.06);
  font-weight: bold;
}

.back-btn {
  display: inline-block;
  margin-top: 18px;
  color: #2cff2c;
  text-decoration: none;
}

.match-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  transition: 0.2s ease;
  background: transparent;
}

.match-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(57,255,20,0.2);
}

.match-row .score {
  text-align: center;
  font-weight: 800;
  min-width: 60px;
}

.match-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
}

.score-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.score-number {
  font-size: 28px;
  font-weight: 900;
  color: #39ff14;
  text-shadow: 0 0 8px rgba(57,255,20,0.4);
}

.score-separator {
  font-size: 20px;
  color: #6b7280;
}

.winner span {
  color: #39ff14;
}

.winner img {
  filter: drop-shadow(0 0 6px rgba(57,255,20,0.6));
}

.match-row .team:first-child {
  justify-self: start;
}

.match-row .team:last-child {
  justify-self: end;
}

.team {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  width: 40%;
}

.team-left {
  justify-content: flex-start;
}

.team-right {
  justify-content: flex-end;
  text-align: right;
}

.match-row img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.score {
  font-size: 22px;
  font-weight: 900;
  color: #39ff14;
  text-align: center;
}

.team-page {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.team-main-info p {
  margin: 6px 0;
  color: #cbd5f5;
}

.kit span {
  display: block;
  margin-bottom: 10px;
  color: #9ca3af;
  font-weight: 700;
}

.club-header {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto 10px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 24px;
  align-items: flex-start;
}

.section-title {
  display: block;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.35);
}

.club-kits {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
}

.kit-block {
  text-align: center;
}

.club-kits img {
  width: 220px;
  height: 220px;
  filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.75));
  transition: 0.2s ease;
}

.club-kits img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 30px rgba(57, 255, 20, 0.6));
}

.club-center {
  text-align: center;
}

.club-center img {
  width: 170px;
  margin-bottom: 14px;
}

.club-center h1 {
  font-size: 36px;
  font-weight: 900;
  margin-top: 8px;
}

.club-center p {
  color: #9ca3af;
  font-size: 14px;
}

.club-staff {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
}

.staff-block {
  text-align: center;
  width: 260px;
}

.staff-block img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.75));
  transition: 0.2s ease;
}

.staff-block img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 30px rgba(57, 255, 20, 0.6));
}

.stadium-section {
  position: relative;
  margin: 30px 0 40px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.stadium-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) contrast(1.1);
  transition: transform 0.5s ease;
}

.stadium-section:hover img {
  transform: scale(1.03);
}

.stadium-info {
  position: absolute;
  bottom: 24px;
  left: 32px;
  color: white;
  text-shadow: 0 6px 25px rgba(0, 0, 0, 0.85);
}

.stadium-info h2 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 4px;
}

.stadium-info p {
  font-size: 16px;
  color: #d1d5db;
  font-weight: 600;
}

.stadium-wrap {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.team-players {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(57, 255, 20, 0.25);
}

.team-players h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.25);
}

.team-players .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 0;
}

.team-players .card {
  background: linear-gradient(145deg, #0b0f17, #101827);
  border: 2px solid rgba(44, 255, 44, 0.35);
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  transition: 0.25s ease;
}

.team-players .card:hover {
  transform: translateY(-4px);
  border-color: #39ff14;
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.25);
}

.team-players .card h3 {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 900;
}

.team-players .card p {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.team-players .btn {
  display: inline-block;
  padding: 6px 14px;
  background: #39ff14;
  color: #000;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.team-players .btn:hover {
  background: #ffffff;
}

.league-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1200px;
}

.league-card {
  background: linear-gradient(145deg, #0b0f17, #101827);
  border: 2px solid #2cff2c;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 0 15px rgba(44, 255, 44, 0.15);
  transition: 0.25s ease;
}

.league-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 35px rgba(44, 255, 44, 0.55);
}

.league-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 12px;
}

.league-card h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 14px;
}

.league-btn {
  background: #2cff2c;
  color: black;
  border: none;
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.league-btn:hover {
  background: white;
}

.league-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.league-header-logo {
  width: 85px;
  height: 85px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(44, 255, 44, 0.45));
}

.league-header h1 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.4px;
}

.page-title {
  font-size: 28px;
  margin-bottom: 14px;
}

.player-filter {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: flex-end;
}

.player-filter label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: #9aff9a;
}

.player-filter select {
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: #0e1422;
  color: white;
}

.filter-btn {
  background: #2cff2c;
  color: black;
  padding: 9px 18px;
  border-radius: 10px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.player-card {
  background: linear-gradient(145deg, #0b0f17, #101827);
  border: 2px solid rgba(44, 255, 44, 0.4);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 0 18px rgba(44, 255, 44, 0.15);
  transition: 0.25s ease;
}

.player-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 30px rgba(44, 255, 44, 0.4);
}

.player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.player-header h3 {
  font-size: 18px;
}

.player-badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
}

.goalkeeper {
  background: #00aaff;
}
.defender {
  background: #2cff2c;
  color: black;
}
.midfielder {
  background: #ffaa00;
}
.winger {
  background: #ff4dff;
}
.striker {
  background: #ff3333;
}

.player-team {
  margin-top: 10px;
  color: #ccc;
}

.player-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #2cff2c;
  color: black;
  font-weight: bold;
  text-decoration: none;
}

.player-team {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #ccc;
}

.team-mini {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.player-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  overflow: hidden;
}

.player-icons {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 4px;
}

.team-logo-big {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 6px rgba(44, 255, 44, 0.4));
}

.country-flag {
  width: 70px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 4px;
  opacity: 0.95;
}

.player-photo img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
}

.player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.player-photo-profile img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 18px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.player-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.rank-player-photo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #39ff14;
}

.rank-team-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin-right: 6px;
}

.rank-stat {
  font-weight: 900;
  color: #39ff14;
  text-align: center;
}

.rank-num {
  font-weight: 900;
}

.rank-gold {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.12), transparent);
}

.rank-silver {
  background: linear-gradient(90deg, rgba(192, 192, 192, 0.12), transparent);
}

.rank-bronze {
  background: linear-gradient(90deg, rgba(205, 127, 50, 0.12), transparent);
}

.ranking-table tr:hover {
  background: rgba(44, 255, 44, 0.08);
}

.team-col {
  text-align: center;
}

.team-logo-small {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px auto;
}

.team-name {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5f5;
}

.goals-col {
  text-align: center;
}

.goals-number {
  font-size: 22px;
  font-weight: 900;
  color: #39ff14;
}

.rankings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 25px;
}

.ranking-box {
  background: linear-gradient(145deg, #0b0f17, #101827);
  border: 2px solid rgba(44, 255, 44, 0.25);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 0 22px rgba(44, 255, 44, 0.18);
}
.ranking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 25px;
}

.ranking-card {
  background: linear-gradient(145deg, #0b0f17, #101827);
  border: 2px solid rgba(44, 255, 44, 0.4);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 0 18px rgba(44, 255, 44, 0.15);
}

.ranking-card h2 {
  margin-bottom: 12px;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-table th {
  color: #9aff9a;
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking-table td {
  padding: 12px 10px;
  text-align: center;
}

.ranking-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking-player {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}

.ranking-player a {
  color: white;
  font-weight: 700;
}

.ranking-photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #39ff14;
}

.ranking-team {
  text-align: center;
}

.ranking-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 4px;
}

.ranking-team-name {
  font-size: 12px;
  color: #cbd5f5;
}

.ranking-goals {
  font-size: 18px;
  font-weight: 900;
  color: #39ff14;
}

.top-1 {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.2), rgba(0, 0, 0, 0));
}

.top-2 {
  background: linear-gradient(
    90deg,
    rgba(192, 192, 192, 0.18),
    rgba(0, 0, 0, 0)
  );
}

.top-3 {
  background: linear-gradient(
    90deg,
    rgba(205, 127, 50, 0.18),
    rgba(0, 0, 0, 0)
  );
}

.rank-num {
  font-weight: 900;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 35px;
}

.compare-card {
  background: linear-gradient(145deg, #0b0f17, #101827);
  border: 2px solid rgba(44, 255, 44, 0.45);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 0 25px rgba(44, 255, 44, 0.18);
}

.compare-photo img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #2cff2c;
  box-shadow: 0 0 18px rgba(44, 255, 44, 0.45);
  margin-bottom: 14px;
}

.compare-name {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
}

.compare-team {
  font-size: 15px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.compare-stats {
  display: grid;
  gap: 12px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.better {
  color: #2cff2c;
  font-weight: 900;
}

.worse {
  color: #f87171;
}

.compare-form {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.compare-form select {
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: #0e1422;
  color: white;
}

.compare-form button {
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  background: #2cff2c;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

.compare-meta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.compare-flag {
  width: 58px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.compare-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(44, 255, 44, 0.4));
}

.compare-team {
  font-size: 14px;
  color: #9ca3af;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.admin-card {
  background: linear-gradient(145deg, #0f172a, #020617);
  border: 1px solid #22c55e;
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  text-decoration: none;
  color: #a855f7;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.admin-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.45);
}

.admin-icon {
  font-size: 46px;
  margin-bottom: 14px;
  display: block;
}

.admin-panel {
  max-width: 820px;
  margin: 40px auto;
  background: linear-gradient(145deg, #0b0f17, #101827);
  border: 2px solid rgba(57, 255, 20, 0.35);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.18);
}

.admin-title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.35);
}

.admin-msg {
  background: rgba(57, 255, 20, 0.15);
  border: 1px solid #39ff14;
  color: #39ff14;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

.admin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}

.admin-form button {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 4px;
  font-weight: 700;
}

.admin-form input,
.admin-form select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #1f2933;
  background: #0f172a;
  color: white;
  font-size: 14px;
}

.admin-form input:focus,
.admin-form select:focus {
  outline: none;
  border-color: #39ff14;
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

.admin-btn {
  margin-top: 10px;
  padding: 12px;
  background: #39ff14;
  color: black;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.admin-btn:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.6);
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .admin-form {
    grid-template-columns: 1fr;
  }
}

.admin-players {
  max-width: 820px;
  margin: 50px auto;
  background: linear-gradient(145deg, #0b0f17, #101827);
  border: 2px solid rgba(57, 255, 20, 0.25);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.15);
}

.admin-subtitle {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.admin-player-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-player-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #141a20;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #1f2933;
  transition: 0.2s ease;
}

.admin-player-row:hover {
  border-color: #39ff14;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.25);
}

.admin-search {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.admin-search input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #020617;
  color: white;
}

.admin-search button {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: #39ff14;
  color: white;
  cursor: pointer;
}

.admin-search button:hover {
  opacity: 0.9;
}

.player-name {
  font-weight: 800;
  color: #ffffff;
  font-size: 15px;
}

.admin-actions {
  display: flex;
  gap: 10px;
}

.edit-btn,
.delete-btn {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.edit-btn {
  background: #38bdf8;
  color: #020617;
}

.edit-btn:hover {
  background: white;
}

.delete-btn {
  background: #f87171;
  color: #020617;
}

.delete-btn:hover {
  background: #ffffff;
}

@media (max-width: 640px) {
  .admin-player-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.admin-edit-wrapper {
  max-width: 700px;
  margin: 60px auto;
  padding: 32px;
  background: linear-gradient(145deg, #0b0f17, #101827);
  border-radius: 20px;
  border: 2px solid rgba(57, 255, 20, 0.25);
  box-shadow: 0 0 35px rgba(57, 255, 20, 0.18);
}

.admin-title {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 30px;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.35);
}

.admin-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #9aff9a;
}

.admin-form input,
.admin-form select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  border-radius: 10px;
  border: none;
  background: #141a20;
  color: white;
  font-size: 14px;
  outline: none;
}

.admin-form input:focus,
.admin-form select:focus {
  border: 1px solid #39ff14;
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

.admin-form button {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: #39ff14;
  color: #020617;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.admin-form button:hover {
  background: white;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
}

.success {
  color: #22c55e;
  margin: 15px 0;
}

.matches-slider {
  overflow: hidden;
  width: 100%;
  margin: 30px 0;
}

.latest-matches-row {
    margin: 5px 0;
}

.matches-track {
  display: flex;
  gap: 40px;
  animation: scrollMatches 25s linear infinite;
}

.match-slide {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #141a20;
  padding: 12px 20px;
  border-radius: 999px;
  white-space: nowrap;
  color: #fff;
  font-weight: 600;
}

.match-slide img {
  width: 28px;
  height: 28px;
}

.match-slide .score {
  color: #2cff00;
  font-weight: 800;
  margin: 0 6px;
}

@keyframes scrollMatches {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.match-row-wrapper {
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(90deg, #141a20, #11161c);
  transition: 0.25s ease;
}

.match-details {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: all 0.35s ease;
  opacity: 0;
  background: transparent;
}

.match-row-wrapper:hover {
  box-shadow: 0 0 30px rgba(57,255,20,0.35);
}

.match-row-wrapper:hover .match-row {
  border-radius: 16px 16px 0 0;
}

.match-row-wrapper:hover .match-details {
  max-height: 250px;
  padding: 15px 30px;
  border-top: 1px solid rgba(57,255,20,0.2);
  border-radius: 0 0 16px 16px;
  opacity: 1;
}

.scorers {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  color: #cbd5f5;
}

.scorer-col {
  width: 45%;
}

.scorer-link {
  text-decoration: none;
  color: #cbd5f5;
  transition: 0.2s ease;
}

.scorer-link:hover {
  color: #39ff14;
}

.gw-title {
  text-align: center;
  margin: 50px 0 30px;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  position: relative;
}

.gw-title::before,
.gw-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: linear-gradient(to right, transparent, #39ff14, transparent);
}

.gw-title::before {
  left: 0;
}

.gw-title::after {
  right: 0;
}

.scorer-col div {
  padding: 4px 0;
  transform: translateY(5px);
  opacity: 0;
  transition: all 0.3s ease;
}

.match-row-wrapper:hover .scorer-col div {
  transform: translateY(0);
  opacity: 1;
}

.team-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: 0.2s ease;
}

.team-link:hover {
  color: #39ff14;
}