body {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  background: #0b0f14;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 75px 20px 40px;
  display: flex;
  justify-content: center;
}

.search {
  margin-top: 30px;
  padding: 8px 14px;
  width: 320px;
  max-width: 80%;
  border-radius: 20px;
  border: none;
  font-size: 14px;
  outline: none;
  box-shadow: 0 0 25px rgba(0,255,156,0.4);
  backdrop-filter: blur(10px);
}

.search:focus {
  box-shadow: 0 0 35px rgba(0,255,156,0.7);
  transform: scale(1.02);
  transition: 0.3s;
}

.search-container {
  position: relative;
  margin-left: 10px;
  width: 36px;
  height: 36px;
  transition: 0.4s;
}

.search-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: white;
  font-size: 16px;
  cursor: pointer;
  position: absolute;
  z-index: 2;
}

.search-input {
  position: absolute;
  left: 0;
  width: 0;
  height: 36px;
  border-radius: 18px;
  border: none;
  outline: none;
  padding-left: 44px;
  font-size: 14px;
  transition: 0.4s;
  opacity: 0;
}

.search-container.active {
  width: 280px;
}

.search-container.active .search-input {
  width: 280px;
  opacity: 1;
  background: white;
}

.cards {
  display: flex;
  flex: 1;
  overflow-x: auto;
  gap: 20px;
  padding: 20px;
}

.card {
  min-width: 180px;
  background: linear-gradient(145deg, #1a1f2b, #0e121a);
  border-radius: 15px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.DIV_BG {
  background: linear-gradient(to right, rgba(10, 58, 140, 0.95), rgba(255, 255, 255, 0.9)), url("frat.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.Name_Player {
  font-size: 60px;
}

.player-info-game {
  color: white;
}

.player-name {
  margin: 0;
  font-size: 60px;
  font-weight: 800;
  font-family: "eFootballStencil-Regular";
}

.player-header {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
}

.player-role {
  margin: 4px 0 16px 0;
  color: #facc15;
  font-size: 30px;
  font-family: "eFootballStencil-Regular";
}

.player-card img {
  width: 260px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,255,156,0.4);
}

.player-meta {
  display: flex;
  gap: 18px;
}

.meta-box {
  background: rgba(255,255,255,0.08);
  padding: 10px 14px;
  border-radius: 10px;
  text-align: center;
  min-width: 80px;
}

.meta-label {
  display: block;
  font-size: 30px;
  color: #cbd5e1;
}

.meta-value {
  font-size: 20px;
  font-weight: bold;
  color: #00ff9c;
}

.back {
  display: inline-block;
  margin: 20px;
  color: #00ff9c;
  text-decoration: none;
}

.cover {
  margin: 10px 20px;
  padding: 12px 20px;
  border-radius: 12px;
  background-image: url("cov.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 15px rgba(0, 255, 156, 0.4);
  text-align: center;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 20px;
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(90deg, #00ff9c, #00c3ff, #7a5cff);
  box-shadow: 0 0 15px rgba(0, 255, 156, 0.4);
  text-align: center;
}

.section-title span {
  flex: 1;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #0b0f14;
}

.section-title .filter {
  padding: 6px 10px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  height: 36px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: #00ff9c;
  text-decoration: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #00ff9c;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.empty-message {
  width: 100%;
  text-align: center;
  font-size: 22px;
  color: #00ff9c;
  margin-bottom: 50px;
}

.stats-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 25px;
  margin-top: 30px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.stat span {
  width: 140px;
  font-size: 14px;
  color: #cbd5e1;
}

.bar {
  flex: 1;
  height: 10px;
  background: #1e293b;
  border-radius: 10px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  background: linear-gradient(90deg, #00ff9c, #00c3ff, #7a5cff);
  box-shadow: 0 0 10px rgba(0,255,156,0.6);
}

.stat b {
  width: 32px;
  text-align: right;
  color: #00ff9c;
}

@font-face {
  font-family: "MyFont";
  src: url("fonts/eFootballStencil-Regular.ttf") format("truetype");
  font-weight: bold;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

/* ===== COMPARE ===== */

.compare-select {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px;
}

.compare-select select {
  padding: 10px;
  border-radius: 8px;
  font-size: 16px;
}

.compare-side {
  width: 45%;
  background: #0e121a;
  padding: 20px;
  border-radius: 15px;
}

.compare-side img {
  width: 200px;
  border-radius: 15px;
  display: block;
  margin: auto;
}

.compare-name {
  text-align: center;
  font-size: 26px;
  margin: 10px 0;
  font-family: 'Times New Roman', Times, serif;
}

.compare-stat {
  margin: 8px 0;
  font-size: 14px;
}

.compare-bar {
  height: 10px;
  background: #1e293b;
  border-radius: 10px;
  overflow: hidden;
}

.compare-bar div {
  height: 100%;
}

.win {
  background: #00ff9c;
}

.lose {
  background: #ff4d4d;
}

.compare-name,
.player-name,
.section-title span {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
}

.compare-stat,
.stat span,
.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

.page-title {
  text-align: center;
  margin-top: 20px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
}

/* Radar di tengah */
.radar-center {
  width: 420px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px auto;
}

#radarChart {
  width: 100% !important;
  height: 100% !important;
}

/* ===== COMPARE LAYOUT ===== */

.compare-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  margin-top: 40px;
}

.player-side {
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-center {
  width: 600px;
  background: rgba(255,255,255,0.03);
  padding: 20px 0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat-row:nth-child(even) {
  background: rgba(255,255,255,0.03);
}

.stat-name {
  width: 250px;
  text-align: center;
  font-weight: 500;
}

.stat-left {
  width: 80px;
  text-align: right;
  font-weight: bold;
}

.stat-right {
  width: 80px;
  text-align: left;
  font-weight: bold;
}

/* warna unggul */
.better {
  color: #00ff88;
}

.worse {
  color: #ff4444;
}

/* ===== ABOUT PAGE ===== */

.about-hero {
  height: 60vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,255,156,0.15), transparent 70%);
  top: -200px;
  right: -200px;
}

.hero-content h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 20px;
  max-width: 600px;
  margin: auto;
  color: #cbd5e1;
}

.about-content {
  padding: 60px 80px;
  display: grid;
  gap: 40px;
}

.about-box {
  background: rgba(255,255,255,0.04);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0,255,156,0.1);
  transition: 0.3s;
}

.about-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0,255,156,0.3);
}

.about-box h2 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 15px;
  color: #00ff9c;
}

.about-box p,
.category-list li {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #e2e8f0;
}

.category-list {
  list-style: none;
  padding: 0;
}

.category-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.creator {
  text-align: center;
}

.about-footer {
  margin-top: auto;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  background: #0f172a;
  color: #94a3b8;
}