.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--bg-primary);
}

.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
}

.auth-logo {
  width: 60px;
  height: 60px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--bg-primary);
  margin-bottom: 24px;
}

.auth-card h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.auth-card > p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.auth-tabs {
  display: flex;
  background: var(--bg-tertiary);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tabs .tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
}

.auth-tabs .tab.active {
  background: var(--primary);
  color: var(--bg-primary);
  font-weight: 600;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-bg);
  outline: none;
}

.btn-full {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-primary);
  border: none;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
}

.divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: var(--text-muted);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider span {
  padding: 0 16px;
}

.auth-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
}

.auth-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: var(--grad-glow);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary-bg);
  border: 1px solid var(--border-primary);
  border-radius: 20px;
  color: var(--primary);
  font-size: 0.85rem;
  width: fit-content;
  margin-bottom: 24px;
}

.auth-hero h2 {
  font-size: 3rem;
  line-height: 1.2;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.auth-hero > p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-buttons .btn-outline,
.hero-buttons .btn-ghost {
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.hero-buttons .btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border-primary);
}

.hero-buttons .btn-outline:hover {
  background: var(--primary-bg);
}

.hero-buttons .btn-ghost {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.hero-buttons .btn-ghost:hover {
  background: var(--bg-card-hover);
}

.play-icon {
  margin-right: 8px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.hero-stats .stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-stats .stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.nav-minimal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.nav-minimal .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-family: var(--font-display);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--bg-primary);
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-switch button {
  padding: 8px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.lang-switch button:hover,
.lang-switch button.active {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-bg);
}

html[dir="rtl"] .auth-card {
  border-right: none;
  border-left: 1px solid var(--border);
}

html[dir="rtl"] .auth-container {
  direction: rtl;
}

@media (max-width: 968px) {
  .auth-container {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    display: none;
  }

  .auth-card {
    padding: 40px 20px;
    border-right: none;
    border-left: none;
  }
}
