* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 100%);
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #333;
}

header h1 {
  font-size: 2.5rem;
  background: linear-gradient(45deg, #ffd700, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

section {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

h2 {
  color: #ffd700;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

h3 {
  color: #ff6b35;
  margin: 2rem 0 1rem 0;
  font-size: 1.3rem;
}

.input-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

input, select {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 2px solid #333;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
}

input::placeholder {
  color: #aaa;
}

input:focus, select:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255,215,0,0.2);
}

button {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(45deg, #1e90ff, #00bfff);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30,144,255,0.4);
}

#player-info, #player-last5 div, #player-h2h div, #player-no-injured div, #dvpp-result {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border-left: 4px solid #ffd700;
}

#player-last5 div, #player-h2h div, #player-no-injured div {
  margin-bottom: 0.75rem;
}

div[style*="ff4444"] { /* CORS warning styling */
  background: linear-gradient(45deg, #ff4444, #ff6b6b) !important;
  border-radius: 8px !important;
  padding: 1rem !important;
  margin-bottom: 1rem !important;
}

footer {
  text-align: center;
  padding-top: 3rem;
  color: #888;
  border-top: 1px solid #333;
}

@media (max-width: 768px) {
  .input-group { flex-direction: column; }
  input, select, button { min-width: unset; }
  header h1 { font-size: 2rem; }
}
