/* ============================================
   PLAYER PROFILE-SPECIFIC CEEFAX STYLES
   ============================================ */

/* Profile Section */
.profile-section {
  background: #cc0000;
  padding: 30px;
  text-align: center;
  border-bottom: 4px solid #ffff00;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border: 4px solid #ffff00;
  object-fit: cover;
  background: #000;
  margin: 0 auto 15px;
  display: block;
}

.blank-head {
  width: 120px;
  height: 120px;
  background: #000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='yellow' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='8' y='6' width='8' height='8'/%3E%3Crect x='6' y='16' width='12' height='6'/%3E%3C/svg%3E");
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
  border: 4px solid #ffff00;
  margin: 0 auto 15px;
}

.player-name {
  color: #ffff00;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: 3px 3px 0 #000;
  margin: 0;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: #000;
}

.stat-box {
  background: #0066cc;
  border: 3px solid #000;
  padding: 20px;
  text-align: center;
}

.stat-box:nth-child(1) { background: #ffff00; color: #000; }
.stat-box:nth-child(2) { background: #00ff00; color: #000; }
.stat-box:nth-child(3) { background: #ff00ff; color: #fff; }
.stat-box:nth-child(4) { background: #00ffff; color: #000; }
.stat-box:nth-child(5) { background: #ff0000; color: #fff; }

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 2px;
}

/* Table Row Colors */
.ceefax-table tbody tr:nth-child(odd) {
  background: #0066cc;
  color: #fff;
}

.ceefax-table tbody tr:nth-child(even) {
  background: #004499;
  color: #fff;
}

/* Result Indicators */
.result-win { color: #00ff00; font-weight: 900; }
.result-loss { color: #ff0000; font-weight: 900; }
.result-draw { color: #ffff00; font-weight: 900; }
.result-dnp { color: #666; font-weight: 900; }

/* Navigation Link */
.nav-link {
  color: #ffff00;
  text-decoration: none;
  text-shadow: 2px 2px 0 #000;
}

.nav-link:hover {
  color: #00ffff;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .player-name {
    font-size: 1.8rem;
  }

  .stat-value {
    font-size: 1.8rem;
  }
}
