/* Registration Page Styles */
.reg-hero {
  background: linear-gradient(135deg, #0a0f1e 0%, #1a2332 100%);
  padding: 100px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reg-hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(0, 191, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0, 255, 157, 0.1) 0%, transparent 50%);
  animation: heroFloat 25s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-5%, -5%) rotate(120deg); }
  66% { transform: translate(5%, -5%) rotate(240deg); }
}

.reg-hero h1 {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  margin: 0 0 24px 0;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.reg-hero__accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reg-hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.reg-hero__stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-item__value {
  font-size: 48px;
  font-weight: 800;
  color: var(--brand-light);
  margin: 0;
}

.stat-item__label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 0 0;
}

/* Filters Section */
.filters-section {
  background: #0f1823;
  padding: 100px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filters-container {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  display: block;
}

.filter-select,
.filter-search {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.filter-select:focus,
.filter-search:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 191, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.filter-select option {
  background: #1a2332;
  color: #ffffff;
}

.filter-buttons {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.filter-btn {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.filter-btn:hover {
  background: rgba(0, 191, 255, 0.1);
  border-color: rgba(0, 191, 255, 0.3);
  transform: translateY(-2px);
}

/* Countries Grid */
.countries-section {
  background: #0a0f1e;
  padding: 80px 0;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.country-card {
  background: rgba(26, 35, 50, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.country-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.country-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 191, 255, 0.3);
}

.country-card:hover::before {
  transform: scaleX(1);
}

.country-flag {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.country-card:hover .country-flag {
  transform: scale(1.1);
}

.country-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.country-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.country-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.country-info-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.country-info-value {
  color: #ffffff;
  font-weight: 600;
}

.country-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-light);
  margin: 20px 0;
}

.country-cta {
  width: 100%;
  padding: 14px 24px;
  background: var(--gradient-brand);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.country-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 191, 255, 0.3);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1a2332 0%, #0a0f1e 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 50%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.cta-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px 0;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Info Section */
.info-section {
  background: #0f1823;
  padding: 80px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-top: 48px;
}

.info-item {
  text-align: center;
}

.info-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-brand);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.info-icon svg {
  width: 32px;
  height: 32px;
  color: #ffffff;
}

.info-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.info-desc {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .reg-hero {
    padding: 80px 0 100px;
  }
  
  .reg-hero__stats {
    flex-direction: column;
    gap: 32px;
  }
  
  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    width: 100%;
  }
  
  .filter-buttons {
    width: 100%;
    justify-content: stretch;
  }
  
  .filter-btn {
    flex: 1;
  }
  
  .countries-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 28px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Animations */
.country-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.country-card:nth-child(1) { animation-delay: 0.1s; }
.country-card:nth-child(2) { animation-delay: 0.2s; }
.country-card:nth-child(3) { animation-delay: 0.3s; }
.country-card:nth-child(4) { animation-delay: 0.4s; }
.country-card:nth-child(5) { animation-delay: 0.5s; }
.country-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
