:root {
  --primary-color: #2563eb;
  --secondary-color: #64748b;
  --success-color: #059669;
  --danger-color: #dc2626;
  --background-color: #f1f5f9;
  --text-dark: #1e293b;
  --border-color: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: 'Inter', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Registration Container - Modern Split Design */
.registration-container {
  display: grid;
  grid-template-columns: 45% 55%;
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  min-height: 85vh;
}

/* Image Section - Left Side */
.image-section {
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 2rem; */
  position: relative;
  overflow: hidden;
}

.registration-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Scroll Indicator - Sadece mobilde görünür */
.scroll-indicator {
  display: none;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
  z-index: 10;
  background: rgba(37, 99, 235, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
    opacity: 0.8;
  }
  60% {
    transform: translateX(-50%) translateY(-8px);
    opacity: 0.9;
  }
}

/* Scroll indicator tıklanabilir yapma */
.scroll-indicator {
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-indicator:hover {
  background: rgba(37, 99, 235, 1);
  transform: translateX(-50%) scale(1.1);
}

/* Form Section - Right Side */
.form-section {
  padding: 2rem 3rem;
  overflow-y: auto;
  max-height: 85vh;
}

/* Scrollbar Styling */
.form-section::-webkit-scrollbar {
  width: 8px;
}

.form-section::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.form-section::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

/* Header Section */
.header-section {
  margin-bottom: 1.5rem;
}

.brand-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 0.75rem;
}

.subtitle {
  font-size: 0.95rem;
  color: var(--secondary-color);
  font-weight: 500;
  line-height: 1.4;
}

/* Countdown Timer */
.countdown-timer {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #bfdbfe;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.countdown-header {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.countdown-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.countdown-item {
  text-align: center;
  min-width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.countdown-label {
  font-size: 0.7rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.countdown-separator {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  padding: 0 0.25rem;
}

.event-started {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--success-color);
  padding: 0.5rem;
}

.countdown-separator {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

/* Form Styles */
.registration-form {
  margin-top: 1rem;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

/* Kayıt kodu alanı tam genişlikte */
.form-group:nth-child(9) {
  grid-column: 1 / -1;
}

.form-label {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-label i {
  color: var(--primary-color);
  font-size: 0.875rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: white;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-control.is-invalid {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

/* Privacy Section */
.privacy-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.form-check-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-check-input {
  margin-top: 0.25rem;
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-dark);
  cursor: pointer;
}

.form-check-label a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.form-check-label a:hover {
  text-decoration: underline;
}

/* Submit Button */
.btn-register {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
  border: none;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1d4ed8 0%, var(--primary-color) 100%);
}

.btn-register:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Login Link */
.login-link {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.login-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.login-link a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .registration-container {
    grid-template-columns: 40% 60%;
  }
}

@media (max-width: 992px) {
  .registration-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .image-section {
    height: auto;
    min-height: 350px;
    padding: 1rem;
    position: relative;
  }

  .registration-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
  }

  .scroll-indicator {
    display: flex;
  }

  .form-section {
    padding: 2rem;
    max-height: none;
  }

  .form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .registration-container {
    border-radius: 16px;
  }

  .image-section {
    height: auto;
    min-height: 300px;
    padding: 0.5rem;
  }

  .registration-image {
    width: 100%;
    height: auto;
  }

  .form-section {
    padding: 1.5rem;
  }

  .brand-logo {
    max-width: 150px;
  }

  .countdown-timer {
    padding: 1rem;
  }

  .countdown-header {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  .countdown-display {
    gap: 0.5rem;
  }

  .countdown-item {
    min-width: 50px;
  }

  .countdown-number {
    font-size: 1.5rem;
  }

  .countdown-label {
    font-size: 0.65rem;
  }

  .countdown-separator {
    font-size: 1.5rem;
    padding: 0 0.15rem;
  }
}

@media (max-width: 480px) {
  .image-section {
    min-height: 250px;
    padding: 0.25rem;
  }

  .form-section {
    padding: 1rem;
  }

  .countdown-timer {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  .countdown-header {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
  }

  .countdown-display {
    gap: 0.25rem;
    justify-content: space-around;
  }

  .countdown-item {
    min-width: 45px;
  }

  .countdown-number {
    font-size: 1.25rem;
  }

  .countdown-label {
    font-size: 0.6rem;
    letter-spacing: 0.3px;
  }

  .countdown-separator {
    font-size: 1.25rem;
    padding: 0 0.1rem;
  }

  .event-started {
    font-size: 1rem;
    padding: 0.25rem;
  }
}