// interviewer.component.scss
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');

$primary-color: #2563EB;
$secondary-color: #7C3AED;
$accent-color: #00F0FF;
$dark-bg: #0F172A;
$light-bg: #1E293B;
$text-color: #E2E8F0;

.sci-fi-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: $dark-bg;
  color: $text-color;
  font-family: 'Orbitron', '阿里巴巴普惠体', sans-serif;
  position: relative;
  overflow-x: hidden;
  
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, $accent-color, transparent);
    z-index: 10;
    animation: scanline 3s linear infinite;
  }
}

@keyframes scanline {
  0% { transform: translateY(0); }
  100% { transform: translateY(100vh); }
}

.sci-fi-header {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  position: relative;
  z-index: 2;
  
  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, $secondary-color, transparent);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: $accent-color;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  
  .logo-icon {
    width: 2rem;
    height: 2rem;
    filter: drop-shadow(0 0 5px $accent-color);
  }
}

.progress-tracker {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  position: relative;
  
  &::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: $light-bg;
    z-index: 1;
  }
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  
  &-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: $light-bg;
    color: $text-color;
    font-weight: 700;
    margin-bottom: 0.5rem;
    border: 2px solid $light-bg;
    transition: all 0.3s ease;
  }
  
  &-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  
  &.active {
    .step-circle {
      background: $primary-color;
      border-color: $accent-color;
      box-shadow: 0 0 10px $primary-color;
      color: white;
    }
    
    .step-label {
      opacity: 1;
      color: $accent-color;
    }
  }
  
  &.completed {
    .step-circle {
      background: $secondary-color;
      color: white;
    }
    
    .step-label {
      opacity: 0.9;
    }
  }
}

.sci-fi-content {
  flex: 1;
  padding: 2rem;
  position: relative;
  z-index: 1;
  
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 20% 30%, rgba($primary-color, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba($secondary-color, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
  }
}

.sci-fi-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.7;
  position: relative;
  
  .neon-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, $accent-color, transparent);
    margin-bottom: 1rem;
  }
}