:root {
  --orange: #ED5D0E;
  --orange-dark: #c44d0b;
  --orange-light: rgba(237, 93, 14, 0.12);
  --dark: #1a1a1a;
  --grey: #f0f0f0;
  --text: #333;
  --muted: #888;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  display: flex;
  font-family: 'Barlow', sans-serif;
  background: var(--dark);
  overflow: hidden;
}
.panel-left {
  flex: 1;
  background: var(--orange);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.panel-left::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -150px; right: -150px;
}
.panel-left::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  bottom: -80px; left: -80px;
}
.ping-pong {
  font-size: 5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.club-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.club-name span {
  display: block;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  margin-top: 0.5rem;
  opacity: 0.85;
}
.tagline {
  margin-top: 2rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  text-align: center;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}
.panel-right {
  width: 420px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem;
  position: relative;
  animation: slideIn 0.4s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.form-header { margin-bottom: 2.5rem; }
.form-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
  letter-spacing: 0.03em;
}
.form-header p { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.form-group { margin-bottom: 1.25rem; }
label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid var(--grey);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Barlow', sans-serif;
  color: var(--dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: #fafafa;
}
input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-light);
  background: white;
}
.btn-login {
  width: 100%;
  padding: 1rem;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.1s;
}
.btn-login:hover { background: var(--orange-dark); }
.btn-login:active { transform: scale(0.98); }
.error-msg {
  display: none;
  background: #fff0ec;
  border: 1px solid #f7c4b0;
  color: var(--orange-dark);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.error-msg.show { display: block; }
.back-link {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover { color: var(--orange); }
.footer-form {
  position: absolute;
  bottom: 1.5rem;
  left: 0; right: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #ccc;
}
@media (max-width: 700px) {
  .panel-left { display: none; }
  .panel-right { width: 100%; padding: 2rem 1.5rem; }
}
