/* Seminar Qeydiyyat Seksiyası */
.register-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 350px); /* Ekranı ortalamaq üçün optimal hündürlük */
}

.register-container {
  background: #121212;
  max-width: 750px;
  width: 100%;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid #282828;
}

/* Tədbir bitdikdən sonra kartın xüsusi dizaynı */
.finished-container {
  max-width: 600px; /* Daha yığcam görünüş üçün */
  text-align: center;
  padding: 50px 40px;
}

.register-header {
  text-align: center;
  margin-bottom: 20px;
}

.seminar-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tədbir bitdi yazısının fərqli rəngdə olması üçün */
.badge-ended {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.register-header h2 {
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
}

/* Əl sallayan animasiya bloku */
.wave-animation-container {
  font-size: 70px;
  margin-bottom: 25px;
  display: inline-block;
}

.wave-emoji {
  display: inline-block;
  animation: wave-animation 2.5s infinite;
  transform-origin: 70% 70%; /* Əlin biləkdən sallanması effekti üçün */
}

/* Əl sallama animasiyasının düsturu */
@keyframes wave-animation {
    0% { transform: rotate( 0.0deg) }
   10% { transform: rotate(14.0deg) }
   20% { transform: rotate(-8.0deg) }
   30% { transform: rotate(14.0deg) }
   40% { transform: rotate(-4.0deg) }
   50% { transform: rotate(10.0deg) }
   60% { transform: rotate( 0.0deg) } /* Qısa bir fasilə effekti */
  100% { transform: rotate( 0.0deg) }
}

/* Mətnlər */
.ended-message {
  margin: 25px 0 35px 0;
}

.ended-message p {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.ended-message .secondary-text {
  color: #b3b3b3;
  font-size: 14.5px;
}

/* Düymələr */
.action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.home-btn {
  display: inline-block;
  text-decoration: none;
  width: auto;
  min-width: 200px;
  text-align: center;
}

.explore-link {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.explore-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Qeydiyyat Düyməsi (mövcud stilin qorunması) */
.register-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.register-btn:hover {
  transform: scale(1.02);
  background: #f0f0f0;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

/* Sosial Media Dəvət Bölməsi */
.social-invite-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #282828;
}

.social-invite-section h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.social-subtitle {
  color: #b3b3b3;
  margin-bottom: 25px;
}

/* Kartların Yerləşməsi */
.social-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  perspective: 1000px; /* 3D effekt üçün mütləqdir */
}

@media (min-width: 480px) {
  .social-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 3D Sosial Kart */
.social-3d-card {
  position: relative;
  background: #181818;
  border: 1px solid #282828;
  border-radius: 14px;
  padding: 20px;
  display: block;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.1s ease;
  transform-style: preserve-3d;
}

.social-3d-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255,255,255,0.06), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

/* İçindəki elementləri 3D müstəvidə önə çəkmək */
.card-content {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 2;
  transform: translateZ(30px); /* Elementləri havada asılı göstərir */
}

/* İkon bükümü */
.social-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

/* Məlumat paneli */
.social-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

.platform-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.social-handle {
  color: #b3b3b3;
  font-size: 13px;
  transition: color 0.3s ease;
}

/* Ox işarəsi animasiyası */
.arrow-indicator {
  color: #b3b3b3;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Instagram-a xas üslublar */
.instagram-card:hover {
  border-color: #e1306c;
}

.instagram-card:hover .social-icon-wrapper {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  transform: scale(1.1) rotate(-8deg);
}

/* YouTube-a xas üslublar */
.youtube-card:hover {
  border-color: #ff0000;
}

.youtube-card:hover .social-icon-wrapper {
  background: #ff0000;
  transform: scale(1.1) rotate(8deg);
}

/* Hover zamanı ümumi hərəkətlər */
.social-3d-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.social-3d-card:hover .social-handle {
  color: #ffffff;
}

.social-3d-card:hover .arrow-indicator {
  transform: translate(3px, -3px);
  opacity: 1;
  color: #ffffff;
}

/* Seminar Qeydiyyat Seksiyası */
.register-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 350px); /* Ekranı ortalamaq üçün optimal hündürlük */
}

.register-container {
  background: #121212;
  max-width: 750px;
  width: 100%;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid #282828;
}

/* Tədbir bitdikdən sonra kartın xüsusi dizaynı */
.finished-container {
  max-width: 600px; /* Daha yığcam görünüş üçün */
  text-align: center;
  padding: 50px 40px;
}

.register-header {
  text-align: center;
  margin-bottom: 20px;
}

.seminar-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tədbir bitdi yazısının fərqli rəngdə olması üçün */
.badge-ended {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.register-header h2 {
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
}

/* Əl sallayan animasiya bloku */
.wave-animation-container {
  font-size: 70px;
  margin-bottom: 25px;
  display: inline-block;
}

.wave-emoji {
  display: inline-block;
  animation: wave-animation 2.5s infinite;
  transform-origin: 70% 70%; /* Əlin biləkdən sallanması effekti üçün */
}

/* Əl sallama animasiyasının düsturu */
@keyframes wave-animation {
    0% { transform: rotate( 0.0deg) }
   10% { transform: rotate(14.0deg) }
   20% { transform: rotate(-8.0deg) }
   30% { transform: rotate(14.0deg) }
   40% { transform: rotate(-4.0deg) }
   50% { transform: rotate(10.0deg) }
   60% { transform: rotate( 0.0deg) } /* Qısa bir fasilə effekti */
  100% { transform: rotate( 0.0deg) }
}

/* Mətnlər */
.ended-message {
  margin: 25px 0 35px 0;
}

.ended-message p {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.ended-message .secondary-text {
  color: #b3b3b3;
  font-size: 14.5px;
}

/* Düymələr */
.action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.home-btn {
  display: inline-block;
  text-decoration: none;
  width: auto;
  min-width: 200px;
  text-align: center;
}

.explore-link {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.explore-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Qeydiyyat Düyməsi (mövcud stilin qorunması) */
.register-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.register-btn:hover {
  transform: scale(1.02);
  background: #f0f0f0;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

/* Sosial Media Dəvət Bölməsi */
.social-invite-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #282828;
}

.social-invite-section h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.social-subtitle {
  color: #b3b3b3;
  margin-bottom: 25px;
}

/* Kartların Yerləşməsi */
.social-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  perspective: 1000px; /* 3D effekt üçün mütləqdir */
}

@media (min-width: 480px) {
  .social-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 3D Sosial Kart */
.social-3d-card {
  position: relative;
  background: #181818;
  border: 1px solid #282828;
  border-radius: 14px;
  padding: 20px;
  display: block;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.1s ease;
  transform-style: preserve-3d;
}

.social-3d-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255,255,255,0.06), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

/* İçindəki elementləri 3D müstəvidə önə çəkmək */
.card-content {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 2;
  transform: translateZ(30px); /* Elementləri havada asılı göstərir */
}

/* İkon bükümü */
.social-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

/* Məlumat paneli */
.social-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

.platform-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.social-handle {
  color: #b3b3b3;
  font-size: 13px;
  transition: color 0.3s ease;
}

/* Ox işarəsi animasiyası */
.arrow-indicator {
  color: #b3b3b3;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Instagram-a xas üslublar */
.instagram-card:hover {
  border-color: #e1306c;
}

.instagram-card:hover .social-icon-wrapper {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  transform: scale(1.1) rotate(-8deg);
}

/* YouTube-a xas üslublar */
.youtube-card:hover {
  border-color: #ff0000;
}

.youtube-card:hover .social-icon-wrapper {
  background: #ff0000;
  transform: scale(1.1) rotate(8deg);
}

/* Hover zamanı ümumi hərəkətlər */
.social-3d-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.social-3d-card:hover .social-handle {
  color: #ffffff;
}

.social-3d-card:hover .arrow-indicator {
  transform: translate(3px, -3px);
  opacity: 1;
  color: #ffffff;
}

/* ==========================================
   Mobil Cihazlar Üçün Responsive Uyğunlaşma
   ========================================== */
@media (max-width: 576px) {
  .register-section {
    padding: 30px 15px; /* Kənar boşluqları azaltdıq ki, ekrana sığsın */
    min-height: auto; /* Kiçik ekranda hündürlüyün dinamik olması daha yaxşıdır */
  }

  .register-container {
    padding: 30px 20px; /* Daxili sıxlığı azaltdıq */
    border-radius: 12px;
  }

  .finished-container {
    padding: 40px 20px;
  }

  .register-header h2 {
    font-size: 26px; /* Başlığı mobilə uyğun kiçiltdik */
    line-height: 1.2;
  }

  .wave-animation-container {
    font-size: 55px; /* Əl sallayan emojini bir qədər balacalaşdırdıq */
    margin-bottom: 20px;
  }

  .ended-message p {
    font-size: 15px; /* Mətn oxunaqlı və yığcam olsun */
  }

  .ended-message .secondary-text {
    font-size: 13.5px;
  }

  /* Düymələr mobil ekranda tam eni tutsun */
  .home-btn, .register-btn {
    width: 100%;
    min-width: unset;
    box-sizing: border-box;
  }

  /* 3D sosial kartların mobil optimizasiyası */
  .social-3d-card {
    padding: 16px; /* İç boşluğu azaltdıq */
  }

  /* Mobildə 3D hover fırlanmasını söndürmək məsləhətdir, çünki barmaq toxunuşunda qəribə görünə bilər */
  .social-3d-card:active {
    transform: scale(0.98); /* Toxunanda basılma effekti verir */
  }
}