/* ==========================================================================
   KASA COSMOS - style.css
   우주항공청 사보 웹진 데모 6 스타일시트 (CSS Nesting, @container 쿼리 적용)
   ========================================================================== */

:root {
  /* Cosmic Indigo 테마 컬러 시스템 */
  --accent-primary: #818cf8;      /* 코스믹 인디고 (주요 인터랙션) */
  --accent-secondary: #38bdf8;    /* 스타 시안 (보조 하이라이트) */
  --accent-nebula: #c084fc;       /* 네뷸라 퍼플 (장식/그래디언트) */
  --accent-aurora: #34d399;       /* 오로라 그린 (성공/ESG 포인트) */
  --accent-solar: #fbbf24;        /* 솔라 앰버 (경고/배지) */
  
  --gradient-primary: linear-gradient(135deg, #818cf8 0%, #38bdf8 50%, #c084fc 100%);
  --gradient-hero: linear-gradient(180deg, rgba(129, 140, 248, 0.08) 0%, rgba(3, 7, 18, 0.97) 100%);
  --gradient-cosmic: linear-gradient(180deg, #0f0a2e 0%, #070318 50%, #030712 100%);
  
  --bg-section-alt: #0f0a2e;      /* 코스믹 딥 퍼플 */
  --bg-space: #030712;            /* 심우주 최심부 배경 */
  --text-mono: 'JetBrains Mono', monospace;
  --text-heading: 'Outfit', sans-serif;
  --border-cosmic: rgba(129, 140, 248, 0.12);   /* 코스믹 보더 */
  --star-line: rgba(129, 140, 248, 0.06);        /* 배경 별자리 라인 */
  
  --glass-bg: rgba(8, 12, 28, 0.65);
  --glass-border: rgba(129, 140, 248, 0.15);
  --glass-shadow: 0 12px 40px 0 rgba(3, 7, 18, 0.5);
  --glow-indigo: 0 0 20px rgba(129, 140, 248, 0.4);
  --glow-cyan: 0 0 20px rgba(56, 189, 248, 0.4);

  /* 전역 텍스트 및 기본 컬러 테마 변수 (다크모드) */
  --text-color: rgba(255, 255, 255, 0.85);
  --text-heading-color: #ffffff;
  --text-muted-color: rgba(255, 255, 255, 0.55);
  
  --input-bg: rgba(3, 2, 10, 0.4);
  --input-border: rgba(255, 255, 255, 0.1);
  --btn-prev-border: rgba(255, 255, 255, 0.15);
  --btn-prev-text: rgba(255, 255, 255, 0.7);
  --btn-prev-hover-bg: rgba(255, 255, 255, 0.05);
  --btn-prev-hover-text: #ffffff;
  
  --quote-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 라이트모드 대응 */
[data-mode="light"] {
  --accent-primary: #5c67f2;      
  --accent-secondary: #0284c7;    
  --accent-nebula: #9333ea;
  --bg-section-alt: #f0f2fe;
  --bg-space: #f8fafc;
  --border-cosmic: rgba(92, 103, 242, 0.12);
  --star-line: rgba(92, 103, 242, 0.04);
  
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(92, 103, 242, 0.18);
  --glass-shadow: 0 12px 30px 0 rgba(92, 103, 242, 0.06);
  --glow-indigo: 0 0 15px rgba(92, 103, 242, 0.2);
  --glow-cyan: 0 0 15px rgba(2, 132, 199, 0.2);

  /* 전역 텍스트 및 기본 컬러 테마 변수 (라이트모드) */
  --text-color: rgba(15, 23, 42, 0.85);
  --text-heading-color: #0f172a;
  --text-muted-color: rgba(15, 23, 42, 0.55);
  
  --input-bg: rgba(255, 255, 255, 0.8);
  --input-border: rgba(92, 103, 242, 0.2);
  --btn-prev-border: rgba(92, 103, 242, 0.3);
  --btn-prev-text: var(--accent-primary);
  --btn-prev-hover-bg: rgba(92, 103, 242, 0.08);
  --btn-prev-hover-text: var(--accent-primary);
  
  --quote-shadow: none;
}

/* Reset & Base 설정 */
body {
  background-color: var(--bg-space);
  color: var(--text-color);
  font-family: 'Inter', 'Pretendard', sans-serif;
  overflow-x: hidden;
}

.text-mono {
  font-family: var(--text-mono);
}

.keep-all {
  word-break: keep-all;
}

/* 공통 섹션 헤더 구조 */
.section-container {
  padding: 8vw 5%;
  position: relative;
  
  .section-header {
    margin-bottom: 4vw;
    z-index: 2;
    position: relative;
    
    &.center-align {
      text-align: center;
    }
    
    .section-tag {
      font-family: var(--text-mono);
      font-size: clamp(12px, 1vw, 15px);
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--accent-primary);
      display: inline-block;
      margin-bottom: 10px;
    }
    
    .section-title {
      font-family: var(--text-heading);
      font-size: clamp(28px, 3vw, 42px);
      font-weight: 800;
      color: var(--text-heading-color, #ffffff);
      margin: 0 0 15px 0;
      letter-spacing: -0.02em;
    }
    
    .section-desc {
      font-size: clamp(14px, 1.2vw, 17px);
      color: var(--text-muted-color, rgba(255, 255, 255, 0.6));
      max-width: 680px;
      margin: 0 auto;
      line-height: 1.6;
    }
  }
}

.text-cyan {
  color: var(--accent-secondary) !important;
}
.text-indigo {
  color: var(--accent-primary) !important;
}

/* ==========================================================================
   1. HERO AREA
   ========================================================================== */
.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #03020a;
  
  .hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  /* 상단 중앙 슬로건 */
  .cosmic-slogan-overlay {
    position: absolute;
    top: calc(80px + 2vh);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    pointer-events: none;
    
    .slogan-center-text {
      font-family: var(--text-heading);
      font-size: clamp(14px, 1.2vw, 18px);
      font-weight: 500;
      color: rgba(255, 255, 255, 0.85);
      letter-spacing: 0.05em;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
    
    .slogan-sub-text {
      font-family: var(--text-mono);
      font-size: 11px;
      color: var(--accent-primary);
      margin-top: 5px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }
  }
  
  /* 오버레이 콘텐츠 영역 */
  .visual-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    box-sizing: border-box;
    
    .v6-title-container {
      position: absolute;
      top: 50%;
      left: 6%;
      transform: translateY(-50%);
      max-width: 42%;
      pointer-events: auto;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      
      .v6-badge {
        font-family: var(--text-mono);
        font-size: 12px;
        color: var(--accent-primary);
        letter-spacing: 0.12em;
        text-shadow: var(--glow-indigo);
        display: inline-block;
        margin-bottom: 12px;
      }
      
      .v6-main-title {
        font-family: var(--text-heading);
        font-size: clamp(32px, 3.5vw, 56px);
        font-weight: 800;
        color: #ffffff;
        margin: 0 0 12px 0;
        letter-spacing: -0.01em;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
      }
      
      .v6-catchphrase {
        font-family: var(--text-heading);
        font-size: clamp(16px, 1.5vw, 22px);
        font-weight: 300;
        color: var(--accent-secondary);
        margin: 0 0 20px 0;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
        
        .v6-char {
          display: inline-block;
        }
      }
      
      .v6-desc {
        font-size: clamp(13px, 1vw, 15px);
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.6;
        margin: 0;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
        word-break: keep-all;
      }
    }
    
    /* 슬라이더 스케일 바 */
    .v6-scale-bar-container {
      position: absolute;
      bottom: 5vh;
      left: 6%;
      display: flex;
      gap: 15px;
      pointer-events: auto;
      
      .v6-scale-marker {
        width: 32px;
        height: 6px;
        border-radius: 3px;
        background-color: rgba(255, 255, 255, 0.2);
        border: none;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        padding: 0;
        
        &.active {
          width: 60px;
          background-color: var(--accent-primary);
          box-shadow: var(--glow-indigo);
        }
        
        &:hover:not(.active) {
          background-color: rgba(255, 255, 255, 0.45);
        }
      }
    }
  }
}

/* ==========================================================================
   2. MISSION BRIEFING
   ========================================================================== */
.mission-section {
  background-color: var(--bg-space);
  
  .section-cosmic-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(129, 140, 248, 0.02) 0%, transparent 40%),
      radial-gradient(circle at 90% 80%, rgba(192, 132, 252, 0.02) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
  }

  /* 카운터 통계 그리드 */
  .mission-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 6vw;
    z-index: 2;
    position: relative;
    
    .stat-card {
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      padding: 30px 24px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: var(--glass-shadow);
      transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
      
      &:hover {
        transform: translateY(-5px);
        border-color: var(--accent-primary);
        box-shadow: var(--glow-indigo);
      }
      
      .stat-num-wrapper {
        margin-bottom: 8px;
        
        .stat-num {
          font-family: var(--text-mono);
          font-size: clamp(32px, 3.5vw, 52px);
          font-weight: 700;
          color: var(--text-heading-color);
          letter-spacing: -0.02em;
          text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
        }
      }
      
      &.text-glow-indigo {
        .stat-num {
          color: var(--accent-primary);
          text-shadow: var(--glow-indigo);
        }
      }
      
      .stat-label {
        font-family: var(--text-heading);
        font-size: 15px;
        font-weight: 600;
        color: var(--text-heading-color);
        margin-bottom: 6px;
      }
      
      .stat-meta {
        font-size: 12px;
        color: var(--text-muted-color);
      }
    }
  }

  /* 카드 덱 슬라이더 */
  .deck-slider-container {
    z-index: 2;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    
    .deck-wrapper {
      height: 480px;
      position: relative;
      perspective: 1000px;
      
      .deck-card {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        display: flex;
        overflow: hidden;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: var(--glass-shadow);
        opacity: 0;
        pointer-events: none;
        transform: scale(0.85) translateZ(-100px);
        transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1;
        
        &.active {
          opacity: 1;
          pointer-events: auto;
          transform: scale(1) translateZ(0);
          z-index: 10;
          border-color: var(--accent-primary);
          box-shadow: var(--glow-indigo);
        }
        
        /* 다음 카드 프리뷰 */
        &.next-preview {
          opacity: 0.4;
          transform: scale(0.9) translateX(40px) translateZ(-50px) rotateY(-5deg);
          z-index: 5;
        }

        /* 이전 카드 프리뷰 */
        &.prev-preview {
          opacity: 0.4;
          transform: scale(0.9) translateX(-40px) translateZ(-50px) rotateY(5deg);
          z-index: 5;
        }
        
        .card-image-area {
          width: 50%;
          position: relative;
          background-color: #0c081e;
          
          .card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
          }
          
          .no-image-placeholder {
            width: 100%;
            height: 100%;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 15px;
            
            &.cosmic-indigo-bg { background: linear-gradient(135deg, #090520, #1b1062); }
            &.cosmic-cyan-bg { background: linear-gradient(135deg, #051420, #0a3f62); }
            &.cosmic-purple-bg { background: linear-gradient(135deg, #110520, #380a62); }
            
            .no-image-icon {
              font-size: 40px;
              animation: float-icon 4s ease-in-out infinite;
            }
            
            .no-image-text {
              font-family: var(--text-mono);
              font-size: 13px;
              color: rgba(255, 255, 255, 0.5);
              letter-spacing: 0.05em;
            }
          }
          
          .card-status {
            position: absolute;
            top: 20px;
            left: 20px;
            padding: 6px 14px;
            border-radius: 30px;
            font-size: 12px;
            font-weight: 700;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            
            &.status-success { background: rgba(52, 211, 153, 0.25); color: #6ee7b7; border-color: rgba(52, 211, 153, 0.4); }
            &.status-active { background: rgba(56, 189, 248, 0.25); color: #7dd3fc; border-color: rgba(56, 189, 248, 0.4); }
            &.status-ready { background: rgba(251, 191, 36, 0.25); color: #fde047; border-color: rgba(251, 191, 36, 0.4); }
          }
        }
        
        .card-content {
          width: 50%;
          padding: 40px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          
          .card-title {
            font-family: var(--text-heading);
            font-size: 26px;
            font-weight: 800;
            color: var(--text-heading-color);
            margin: 0 0 15px 0;
            letter-spacing: -0.01em;
          }
          
          .card-desc {
            font-size: 15px;
            color: var(--text-color);
            line-height: 1.6;
            margin: 0 0 30px 0;
            word-break: keep-all;
          }
          
          .btn-briefing {
            align-self: flex-start;
            background: linear-gradient(135deg, rgba(129, 140, 248, 0.15) 0%, rgba(56, 189, 248, 0.15) 100%);
            border: 1px solid rgba(129, 140, 248, 0.3);
            border-radius: 30px;
            color: var(--text-heading-color);
            padding: 12px 24px;
            font-family: var(--text-heading);
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            
            &:hover {
              background: var(--gradient-primary);
              border-color: transparent;
              box-shadow: var(--glow-indigo);
              color: #ffffff;
              transform: translateY(-2px);
            }
          }
        }
        
        &:hover {
          .card-image-area .card-image {
            transform: scale(1.05);
          }
        }
      }
    }
    
    /* 덱 슬라이더 컨트롤 */
    .deck-controls {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 25px;
      margin-top: 30px;
      
      .deck-nav-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
        
        svg {
          width: 22px;
          height: 22px;
          fill: none;
          stroke: var(--text-heading-color);
          stroke-width: 2.5;
          transition: stroke 0.3s ease;
        }
        
        &:hover {
          background: var(--accent-primary);
          border-color: transparent;
          box-shadow: var(--glow-indigo);
          
          svg {
            stroke: #ffffff;
          }
        }
      }
      
      .deck-dots {
        display: flex;
        gap: 10px;
        
        .deck-dot {
          width: 10px;
          height: 10px;
          border-radius: 50%;
          background-color: var(--text-muted-color);
          opacity: 0.4;
          cursor: pointer;
          transition: all 0.3s ease;
          
          &.active {
            background-color: var(--accent-primary);
            box-shadow: var(--glow-indigo);
            transform: scale(1.2);
            opacity: 1;
          }
        }
      }
    }
  }
}

/* 네이티브 Popover API 스타일 */
.mission-popover {
  border: 1px solid var(--glass-border);
  background: rgba(6, 4, 18, 0.96);
  border-radius: 20px;
  color: #ffffff;
  padding: 0;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), var(--glow-indigo);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  
  /* 브라우저 센터 정렬 */
  inset: 0;
  margin: auto;
  
  &::backdrop {
    background-color: rgba(3, 2, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  
  .popover-wrapper {
    padding: 30px;
    
    .popover-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 25px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding-bottom: 15px;
      
      .popover-tag {
        font-family: var(--text-mono);
        font-size: 11px;
        color: var(--accent-primary);
        display: block;
        letter-spacing: 0.1em;
        margin-bottom: 4px;
      }
      
      .popover-title {
        font-family: var(--text-heading);
        font-size: 20px;
        font-weight: 700;
        margin: 0;
      }
      
      .popover-close-btn {
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.5);
        font-size: 22px;
        cursor: pointer;
        transition: color 0.3s ease;
        padding: 5px;
        line-height: 1;
        
        &:hover {
          color: #ffffff;
        }
      }
    }
    
    .popover-body {
      .popover-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 25px;
        font-size: 14px;
        
        th, td {
          padding: 10px 0;
          border-bottom: 1px solid rgba(255, 255, 255, 0.05);
          text-align: left;
        }
        
        th {
          font-weight: 600;
          color: rgba(255, 255, 255, 0.5);
          width: 30%;
        }
        
        td {
          color: #ffffff;
        }
      }
      
      .popover-timeline {
        h5 {
          font-family: var(--text-heading);
          font-size: 14px;
          font-weight: 600;
          color: var(--accent-secondary);
          margin: 0 0 12px 0;
        }
        
        ul {
          list-style: none;
          padding: 0;
          margin: 0;
          display: flex;
          flex-direction: column;
          gap: 10px;
          font-size: 13px;
          
          li {
            display: flex;
            gap: 15px;
            color: rgba(255, 255, 255, 0.7);
            
            span {
              font-family: var(--text-mono);
              color: var(--accent-primary);
              font-weight: 600;
              flex-shrink: 0;
              width: 55px;
            }
          }
        }
      }
    }
  }
}

/* ==========================================================================
   3. RESEARCH HIGHLIGHTS
   ========================================================================== */
.research-section {
  background-color: var(--bg-space);
  
  .research-split-container {
    display: flex;
    position: relative;
    width: 100%;
    
    .research-left-pane {
      width: 50%;
      height: 100vh;
      position: sticky;
      top: 0;
      overflow: hidden;
      background-color: #020108;
      
      .research-image-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transform: scale(1.05);
        transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
        
        &.active {
          opacity: 0.85;
          transform: scale(1);
        }
        
        .research-image {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
        
        .no-image-placeholder {
          width: 100%;
          height: 100%;
          display: none;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 15px;
          
          &.research-grad-1 { background: linear-gradient(135deg, #090b21 0%, #15224e 100%); }
          &.research-grad-2 { background: linear-gradient(135deg, #081a2e 0%, #034b75 100%); }
          &.research-grad-3 { background: linear-gradient(135deg, #18092a 0%, #3a1563 100%); }
          &.research-grad-4 { background: linear-gradient(135deg, #09211c 0%, #154e3d 100%); }
          
          .no-image-icon {
            font-size: 52px;
            animation: float-icon 4s ease-in-out infinite;
          }
          
          .no-image-text {
            font-family: var(--text-mono);
            font-size: 14px;
            color: rgba(255, 255, 255, 0.4);
            letter-spacing: 0.1em;
          }
        }
      }
    }
    
    .research-right-pane {
      width: 50%;
      padding: 10vh 8% 25vh 8%;
      
      .research-header {
        margin-bottom: 12vh;
        
        .section-tag {
          font-family: var(--text-mono);
          font-size: 13px;
          color: var(--accent-primary);
          letter-spacing: 0.15em;
          text-transform: uppercase;
        }
        
        .section-title {
          font-family: var(--text-heading);
          font-size: clamp(32px, 3vw, 46px);
          font-weight: 800;
          color: var(--text-heading-color);
          margin-top: 10px;
        }
      }
      
      .research-item {
        margin-bottom: 22vh;
        opacity: 0.35;
        transition: opacity 0.5s ease;
        
        &.active-visible {
          opacity: 1;
        }
        
        .research-num {
          font-family: var(--text-mono);
          font-size: clamp(24px, 2.5vw, 36px);
          font-weight: 700;
          color: var(--accent-primary);
          text-shadow: var(--glow-indigo);
          margin-bottom: 10px;
        }
        
        .research-badge {
          background-color: rgba(129, 140, 248, 0.08);
          border: 1px solid rgba(129, 140, 248, 0.2);
          color: var(--accent-primary);
          padding: 4px 10px;
          border-radius: 4px;
          font-size: 11px;
          font-family: var(--text-mono);
          display: inline-block;
          margin-bottom: 12px;
        }
        
        .research-item-title {
          font-family: var(--text-heading);
          font-size: clamp(20px, 2vw, 28px);
          font-weight: 700;
          color: var(--text-heading-color);
          margin: 0 0 15px 0;
        }
        
        .research-desc {
          font-size: 15px;
          color: var(--text-color);
          line-height: 1.7;
          margin-bottom: 25px;
        }
        
        /* 별자리 연결선 SVG 구분선 */
        .constellation-divider {
          width: 100%;
          height: 20px;
          margin-top: 25px;
          opacity: 0.6;
          
          svg {
            width: 100%;
            height: 100%;
          }
        }
      }
    }
  }
}

/* ==========================================================================
   4. PEOPLE FOCUS
   ========================================================================== */
.people-section {
  position: relative;
  background-color: #03010b;
  overflow: hidden;
  padding: 10vw 5%;
  
  .people-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    
    .parallax-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.25;
      transform: scale(1.05);
      transition: transform 0.1s linear;
    }
    
    .cosmic-glow-layer {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 70% 30%, rgba(192, 132, 252, 0.15) 0%, transparent 60%);
    }
  }
  
  .people-content-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    
    .people-grid {
      display: grid;
      grid-template-columns: 4fr 6fr;
      gap: 60px;
      align-items: center;
      
      /* 좌측 아바타 카드 (상시 다크 배경인 people-section에 속하므로 다크 글래스 고정) */
      .people-profile-card {
        background: rgba(8, 12, 28, 0.65);
        border: 1px solid rgba(129, 140, 248, 0.15);
        border-radius: 20px;
        padding: 40px;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 12px 40px 0 rgba(3, 7, 18, 0.5);
        text-align: center;
        transition: all 0.4s ease;
        
        &:hover {
          border-color: var(--accent-secondary);
          box-shadow: var(--glow-cyan);
        }
        
        .profile-avatar {
          width: 160px;
          height: 160px;
          border-radius: 50%;
          margin: 0 auto 25px auto;
          border: 3px solid var(--accent-primary);
          box-shadow: var(--glow-indigo);
          overflow: hidden;
          background-color: #0b0722;
          
          .profile-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
          
          .profile-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #090620, #381062);
            
            .no-image-icon {
              font-size: 64px;
            }
          }
        }
        
        .profile-info {
          .profile-badge {
            font-family: var(--text-mono);
            font-size: 11px;
            color: var(--accent-secondary);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            display: block;
            margin-bottom: 8px;
          }
          
          .profile-name {
            font-family: var(--text-heading);
            font-size: 24px;
            font-weight: 800;
            color: #ffffff;
            margin: 0 0 8px 0;
          }
          
          .profile-role {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
            margin-bottom: 12px;
          }
          
          .profile-spec {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.45);
            line-height: 1.5;
          }
        }
      }
      
      /* 우측 인용구 캐러셀 */
      .people-quotes-box {
        position: relative;
        padding-left: 20px;
        
        .quote-mark {
          font-size: 80px;
          color: rgba(129, 140, 248, 0.25);
          font-family: var(--text-heading);
          position: absolute;
          top: -40px;
          left: 0;
          line-height: 1;
        }
        
        .quotes-track {
          min-height: 180px;
          position: relative;
          
          .quote-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            opacity: 0;
            pointer-events: none;
            transform: translateY(20px);
            transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
            
            &.active {
              opacity: 1;
              pointer-events: auto;
              transform: translateY(0);
              position: relative;
            }
            
            .quote-text {
              font-family: var(--text-heading);
              font-size: clamp(16px, 1.6vw, 22px);
              font-weight: 300;
              line-height: 1.65;
              color: rgba(255, 255, 255, 0.95);
              margin: 0 0 15px 0;
              text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            }
            
            .quote-author {
              font-family: var(--text-mono);
              font-size: 13px;
              color: var(--accent-primary);
              font-style: normal;
              font-weight: 500;
            }
          }
        }
        
        .quote-dots {
          display: flex;
          gap: 10px;
          margin-top: 30px;
          
          .quote-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.2);
            cursor: pointer;
            transition: all 0.3s ease;
            
            &.active {
              background-color: var(--accent-primary);
              box-shadow: var(--glow-indigo);
              transform: scale(1.2);
            }
          }
        }
      }
    }
  }
}

/* ==========================================================================
   5. ADMINISTRATOR ACTIVITIES
   ========================================================================== */
.admin-section {
  background-color: var(--bg-space);
  
  .admin-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    
    .grid-card {
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--glass-shadow);
      
      .grid-image-area {
        position: relative;
        height: 320px;
        overflow: hidden;
        background-color: #0c091f;
        
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        }
        
        .no-image-placeholder {
          width: 100%;
          height: 100%;
          display: none;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 15px;
          
          &.grid-grad-1 { background: linear-gradient(135deg, #090e21, #0f2762); }
          &.grid-grad-2 { background: linear-gradient(135deg, #21091a, #4e153d); }
          &.grid-grad-3 { background: linear-gradient(135deg, #092113, #154e2d); }
          &.grid-grad-4 { background: linear-gradient(135deg, #1a0921, #48154e); }
          
          .no-image-icon { font-size: 40px; animation: float-icon 4s ease-in-out infinite; }
          .no-image-text { font-family: var(--text-mono); font-size: 13px; color: rgba(255, 255, 255, 0.4); }
        }
        
        .grid-date {
          position: absolute;
          top: 20px;
          right: 20px;
          background: rgba(3, 2, 10, 0.6);
          border: 1px solid rgba(255, 255, 255, 0.1);
          color: #ffffff;
          padding: 4px 12px;
          border-radius: 30px;
          font-size: 11px;
          font-family: var(--text-mono);
          backdrop-filter: blur(8px);
          -webkit-backdrop-filter: blur(8px);
          z-index: 2;
        }
        
        /* 호버 시 등장하는 오버레이 */
        .grid-overlay {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: linear-gradient(180deg, rgba(8, 12, 28, 0.2) 0%, rgba(3, 2, 10, 0.95) 85%);
          padding: 40px;
          box-sizing: border-box;
          display: flex;
          flex-direction: column;
          justify-content: flex-end;
          opacity: 0;
          transform: translateY(20px);
          transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
          z-index: 3;
          
          .grid-tag {
            font-family: var(--text-mono);
            font-size: 11px;
            color: var(--accent-secondary);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 6px;
          }
          
          .grid-card-title {
            font-family: var(--text-heading);
            font-size: 20px;
            font-weight: 700;
            color: #ffffff;
            margin: 0 0 10px 0;
          }
          
          .grid-card-desc {
            font-size: 13.5px;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.6;
            margin: 0;
          }
        }
      }
      
      &:hover {
        .grid-image-area {
          img {
            transform: scale(1.04);
          }
          .grid-overlay {
            opacity: 1;
            transform: translateY(0);
          }
        }
      }
    }
  }
}

/* ==========================================================================
   6. KASA EVENTS (사내 행사 필름 스트립)
   ========================================================================== */
.event-strip-section {
  background-color: var(--bg-space);
  
  .film-scroll-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    cursor: grab;
    
    &::-webkit-scrollbar {
      display: none; /* 크롬/사파리 스크롤바 감춤 */
    }
    scrollbar-width: none; /* 파이어폭스 스크롤바 감춤 */
    
    &:active {
      cursor: grabbing;
    }
    
    .film-track {
      display: flex;
      gap: 30px;
      padding: 10px 0;
      width: max-content;
      
      .film-card {
        width: 320px;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 16px;
        overflow: hidden;
        scroll-snap-align: start;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: var(--glass-shadow);
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        
        .film-image-wrapper {
          height: 200px;
          overflow: hidden;
          position: relative;
          background-color: #0a071d;
          
          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
          }
          
          .no-image-placeholder {
            width: 100%;
            height: 100%;
            display: none;
            align-items: center;
            justify-content: center;
            
            &.film-grad-1 { background: linear-gradient(135deg, #091221, #0f3662); }
            &.film-grad-2 { background: linear-gradient(135deg, #210915, #4d1533); }
            &.film-grad-3 { background: linear-gradient(135deg, #1c0921, #40154d); }
            &.film-grad-4 { background: linear-gradient(135deg, #09211c, #154d40); }
            &.film-grad-5 { background: linear-gradient(135deg, #211c09, #4d4015); }
            
            .no-image-icon { font-size: 32px; animation: float-icon 4s ease-in-out infinite; }
          }
        }
        
        .film-card-info {
          padding: 24px;
          
          .film-date {
            font-family: var(--text-mono);
            font-size: 11px;
            color: var(--accent-primary);
            display: block;
            margin-bottom: 6px;
          }
          
          .film-title {
            font-family: var(--text-heading);
            font-size: 17px;
            font-weight: 700;
            color: var(--text-heading-color);
            margin: 0 0 10px 0;
            letter-spacing: -0.01em;
          }
          
          .film-desc {
            font-size: 13px;
            color: var(--text-muted-color);
            line-height: 1.55;
            margin: 0;
            word-break: keep-all;
          }
        }
        
        &:hover {
          border-color: var(--accent-primary);
          box-shadow: var(--glow-indigo);
          transform: translateY(-5px);
          
          .film-image-wrapper img {
            transform: scale(1.05);
          }
        }
      }
    }
  }
  
  /* 스크롤 프로그레스 바 */
  .film-progress-container {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin-top: 25px;
    overflow: hidden;
    
    .film-progress-bar {
      height: 100%;
      width: 0;
      background: var(--gradient-primary);
      border-radius: 2px;
      transition: width 0.1s linear;
    }
  }
}

/* ==========================================================================
   7. EVENT ENTRY (멀티 스텝 폼)
   ========================================================================== */
.apply-section {
  background-color: var(--bg-space);
  
  .wizard-container {
    max-width: 720px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--glass-shadow);
    z-index: 2;
    position: relative;
    
    /* 궤도식 프로그레스 탑 바 */
    .wizard-progress-bar {
      display: flex;
      justify-content: space-between;
      position: relative;
      margin-bottom: 45px;
      
      .progress-line {
        position: absolute;
        top: 18px;
        left: 5%;
        width: 90%;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.08);
        z-index: 1;
        
        .progress-line-fill {
          height: 100%;
          background: var(--gradient-primary);
          transition: width 0.4s ease;
        }
      }
      
      .step-indicator {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        
        .step-num {
          width: 36px;
          height: 36px;
          border-radius: 50%;
          background-color: var(--bg-section-alt);
          border: 2px solid var(--input-border);
          color: var(--text-muted-color);
          font-family: var(--text-mono);
          font-weight: 700;
          font-size: 14px;
          display: flex;
          align-items: center;
          justify-content: center;
          transition: all 0.4s ease;
        }
        
        .step-label {
          font-family: var(--text-heading);
          font-size: 12px;
          font-weight: 600;
          color: var(--text-muted-color);
          margin-top: 10px;
          transition: all 0.4s ease;
        }
        
        &.active {
          .step-num {
            background-color: var(--accent-primary);
            border-color: transparent;
            color: #ffffff;
            box-shadow: var(--glow-indigo);
            transform: scale(1.1);
          }
          .step-label {
            color: var(--text-heading-color);
          }
        }
        
        &.completed {
          .step-num {
            background-color: #0c0724;
            border-color: var(--accent-secondary);
            color: var(--accent-secondary);
            box-shadow: var(--glow-cyan);
            
            &::after {
              content: '✓';
              position: absolute;
            }
            span {
              visibility: hidden;
            }
          }
          .step-label {
            color: var(--accent-secondary);
          }
        }
      }
    }
    
    /* 폼 슬라이더 박스 */
    .wizard-form-box {
      overflow: hidden;
      
      .wizard-step {
        display: none;
        
        &.active {
          display: block;
        }
        
        .step-title {
          font-family: var(--text-heading);
          font-size: 18px;
          font-weight: 700;
          color: var(--text-heading-color);
          margin: 0 0 25px 0;
          border-left: 3px solid var(--accent-primary);
          padding-left: 12px;
          line-height: 1;
        }
      }
    }
    
    /* 인풋 폼 구조 공통 */
    .form-group {
      margin-bottom: 22px;
      
      label {
        font-family: var(--text-heading);
        font-size: 13.5px;
        font-weight: 600;
        color: var(--text-color);
        display: block;
        margin-bottom: 8px;
        
        &.required::after {
          content: ' *';
          color: var(--accent-nebula);
        }
      }
      
      .form-input, .form-textarea {
        width: 100%;
        box-sizing: border-box;
        background: var(--input-bg);
        border: 1px solid var(--input-border);
        border-radius: 10px;
        color: var(--text-heading-color);
        padding: 12px 16px;
        font-size: 14px;
        transition: all 0.3s ease;
        outline: none;
        
        &:focus {
          border-color: var(--accent-primary);
          box-shadow: var(--glow-indigo);
          background: var(--input-bg);
        }
      }
      
      .form-textarea {
        resize: vertical;
      }
      
      /* 라디오 그룹 커스텀 */
      .radio-group {
        display: flex;
        gap: 20px;
        padding: 8px 0;
        
        .radio-label {
          display: flex;
          align-items: center;
          gap: 8px;
          font-size: 13.5px;
          color: var(--text-color);
          cursor: pointer;
          
          input[type="radio"] {
            display: none;
            
            &:checked + .radio-custom {
              border-color: var(--accent-primary);
              
              &::after {
                transform: translate(-50%, -50%) scale(1);
              }
            }
          }
          
          .radio-custom {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px solid var(--input-border);
            position: relative;
            box-sizing: border-box;
            transition: all 0.3s ease;
            
            &::after {
              content: '';
              position: absolute;
              top: 50%;
              left: 50%;
              width: 8px;
              height: 8px;
              border-radius: 50%;
              background-color: var(--accent-primary);
              transform: translate(-50%, -50%) scale(0);
              transition: transform 0.3s ease;
            }
          }
        }
      }

      /* TRL 슬라이더 */
      .slider-wrapper {
        .form-slider {
          -webkit-appearance: none;
          width: 100%;
          height: 6px;
          border-radius: 3px;
          background: var(--input-border);
          outline: none;
          margin: 15px 0;
          
          &::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--accent-primary);
            cursor: pointer;
            box-shadow: var(--glow-indigo);
            transition: transform 0.1s ease;
            
            &:hover {
              transform: scale(1.2);
            }
          }
        }
        
        .slider-value-display {
          font-family: var(--text-mono);
          font-size: 12px;
          color: var(--accent-secondary);
          text-align: right;
          margin-top: 5px;
        }
      }

      /* 드롭존 업로드 */
      .file-dropzone {
        border: 2px dashed var(--input-border);
        border-radius: 12px;
        padding: 30px 20px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: var(--input-bg);
        
        &:hover, &.dragover {
          border-color: var(--accent-primary);
          background-color: rgba(129, 140, 248, 0.04);
        }
        
        .dropzone-icon {
          font-size: 28px;
          display: block;
          margin-bottom: 8px;
        }
        
        .dropzone-text {
          font-size: 13.5px;
          color: var(--text-heading-color);
          display: block;
          margin-bottom: 4px;
        }
        
        .dropzone-info {
          font-size: 11px;
          color: var(--text-muted-color);
        }
      }
      
      .selected-file-name {
        font-family: var(--text-mono);
        font-size: 12px;
        color: var(--accent-aurora);
        margin-top: 8px;
        word-break: break-all;
      }
      
      /* 에러 메시지 */
      .error-msg {
        display: none;
        font-size: 11px;
        color: var(--accent-nebula);
        margin-top: 5px;
        font-weight: 500;
      }
      
      &.has-error {
        .form-input, .form-textarea {
          border-color: var(--accent-nebula);
          background-color: rgba(192, 132, 252, 0.04);
        }
        .file-dropzone {
          border-color: var(--accent-nebula);
        }
        .error-msg {
          display: block;
        }
      }
    }
    
    .form-row {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    
    /* 체크박스 커스텀 */
    .checkbox-wrapper {
      margin-top: 10px;
      
      .check-label {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 13px;
        color: var(--text-color);
        cursor: pointer;
        
        input[type="checkbox"] {
          display: none;
          
          &:checked + .check-custom {
            border-color: var(--accent-primary);
            background-color: var(--accent-primary);
            
            &::after {
              content: '✓';
              position: absolute;
              color: #ffffff;
              font-size: 11px;
              font-weight: 700;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
            }
          }
        }
        
        .check-custom {
          width: 18px;
          height: 18px;
          border-radius: 4px;
          border: 2px solid var(--input-border);
          position: relative;
          flex-shrink: 0;
          box-sizing: border-box;
          transition: all 0.3s ease;
          margin-top: 2px;
        }
      }
      
      .terms-scroll-box {
        background-color: var(--input-bg);
        border: 1px solid var(--input-border);
        border-radius: 8px;
        padding: 12px;
        font-size: 11px;
        color: var(--text-muted-color);
        line-height: 1.5;
        height: 60px;
        overflow-y: auto;
        margin-top: 12px;
      }
    }
    
    /* 스텝 액션 버튼 */
    .step-actions {
      display: flex;
      justify-content: space-between;
      margin-top: 35px;
      padding-top: 20px;
      border-top: 1px solid var(--input-border);
      
      button {
        padding: 12px 28px;
        border-radius: 8px;
        font-family: var(--text-heading);
        font-weight: 700;
        font-size: 13.5px;
        cursor: pointer;
        transition: all 0.3s ease;
      }
      
      .btn-prev {
        background: transparent;
        border: 1px solid var(--btn-prev-border);
        color: var(--btn-prev-text);
        
        &:hover {
          background-color: var(--btn-prev-hover-bg);
          color: var(--btn-prev-hover-text);
          border-color: var(--btn-prev-hover-text);
        }
      }
      
      .btn-next {
        background: var(--accent-primary);
        border: none;
        color: #ffffff;
        box-shadow: var(--glow-indigo);
        margin-left: auto;
        
        &:hover {
          background-color: #6366f1;
          transform: translateY(-2px);
        }
      }
      
      .btn-submit {
        background: var(--gradient-primary);
        border: none;
        color: #ffffff;
        box-shadow: var(--glow-indigo);
        margin-left: auto;
        
        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 0 25px rgba(129, 140, 248, 0.6);
        }
      }
    }
  }
}

/* 응모 성공 Popover 모달 */
.success-popover {
  border: 1px solid var(--glass-border);
  background: rgba(5, 3, 15, 0.98);
  border-radius: 24px;
  color: #ffffff;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95), var(--glow-indigo);
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  
  inset: 0;
  margin: auto;
  
  &::backdrop {
    background-color: rgba(3, 2, 10, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  
  .popover-badge {
    font-family: var(--text-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-aurora);
    letter-spacing: 0.12em;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(52, 209, 153, 0.2);
  }
  
  .popover-title {
    font-family: var(--text-heading);
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 15px 0;
  }
  
  .popover-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0 0 30px 0;
    word-break: keep-all;
  }
  
  .popover-close-btn {
    background: var(--gradient-primary);
    border: none;
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 30px;
    font-family: var(--text-heading);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--glow-indigo);
    transition: all 0.3s ease;
    
    &:hover {
      box-shadow: 0 0 25px rgba(129, 140, 248, 0.5);
      transform: translateY(-2px);
    }
  }
}

/* ==========================================================================
   8. TODAY'S QUOTE
   ========================================================================== */
.quote-section {
  background: var(--gradient-cosmic);
  position: relative;
  padding: 10vw 5%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* 별빛 파티클 영역 */
  .starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    
    .star {
      position: absolute;
      border-radius: 50%;
      background-color: #ffffff;
      animation: twinkle 4s ease-in-out infinite;
    }
  }
  
  .quote-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    
    .quote-ornament {
      font-size: 110px;
      color: rgba(129, 140, 248, 0.15);
      font-family: var(--text-heading);
      display: block;
      line-height: 1;
      height: 50px;
      margin-bottom: 20px;
      text-shadow: var(--glow-indigo);
    }
    
    .quote-slider {
      min-height: 150px;
      position: relative;
      
      .quote-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        pointer-events: none;
        transform: scale(0.95);
        transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        
        &.active {
          opacity: 1;
          pointer-events: auto;
          transform: scale(1);
          position: relative;
        }
        
        .quote-body {
          font-family: 'Noto Serif KR', Georgia, serif;
          font-size: clamp(20px, 2.2vw, 30px);
          font-weight: 300;
          color: #ffffff;
          line-height: 1.6;
          margin: 0 0 25px 0;
          text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
          word-break: keep-all;
        }
        
        .quote-author {
          font-family: var(--text-mono);
          font-size: 14px;
          color: var(--accent-secondary);
          font-style: normal;
          letter-spacing: 0.05em;
          border-bottom: 1px solid rgba(56, 189, 248, 0.3);
          padding-bottom: 3px;
        }
      }
    }
    
    .quote-nav-dots {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-top: 40px;
      
      .quote-nav-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
        
        &.active {
          background-color: var(--accent-primary);
          box-shadow: var(--glow-indigo);
          transform: scale(1.25);
        }
      }
    }
  }
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.cosmic-footer {
  background-color: #020108;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0 5% 50px 5%;
  position: relative;
  overflow: hidden;
  
  .footer-constellation {
    width: 100%;
    height: 100px;
    position: relative;
    margin-bottom: 30px;
    
    .constellation-svg {
      width: 100%;
      height: 100%;
      opacity: 0.5;
    }
    
    .constellation-path {
      stroke-dasharray: 8, 8;
      animation: dash-constellation 40s linear infinite;
    }
    
    .foot-star {
      animation: foot-twinkle 3s ease-in-out infinite;
      
      &.star-glow-cyan { fill: var(--accent-secondary); filter: drop-shadow(0 0 4px var(--accent-secondary)); animation-delay: 0.5s; }
      &.star-glow-purple { fill: var(--accent-nebula); filter: drop-shadow(0 0 4px var(--accent-nebula)); animation-delay: 1.2s; }
      &.star-glow-indigo { fill: var(--accent-primary); filter: drop-shadow(0 0 4px var(--accent-primary)); animation-delay: 2s; }
    }
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    
    .footer-main-info {
      display: flex;
      justify-content: space-between;
      margin-bottom: 45px;
      
      .footer-brand {
        .footer-brand-title {
          font-family: var(--text-heading);
          font-size: 18px;
          font-weight: 700;
          color: #ffffff;
          margin: 0 0 6px 0;
        }
        .footer-brand-slogan {
          font-size: 13px;
          color: rgba(255, 255, 255, 0.45);
          margin: 0;
        }
      }
      
      .footer-links {
        display: flex;
        gap: 80px;
        
        .link-col {
          h6 {
            font-family: var(--text-heading);
            font-size: 13px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.4);
            text-transform: uppercase;
            margin: 0 0 15px 0;
            letter-spacing: 0.05em;
          }
          
          ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 8px;
            
            li a {
              color: rgba(255, 255, 255, 0.65);
              font-size: 13.5px;
              text-decoration: none;
              transition: color 0.3s ease;
              
              &:hover {
                color: var(--accent-secondary);
              }
            }
          }
        }
      }
    }
    
    .footer-bottom-info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding-top: 25px;
      
      .footer-copyright {
        font-size: 12.5px;
        color: rgba(255, 255, 255, 0.35);
        margin: 0;
      }
      
      .footer-meta-info {
        display: flex;
        gap: 30px;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.25);
        
        .warning-text {
          color: rgba(192, 132, 252, 0.4);
        }
      }
    }
  }
}

/* ==========================================================================
   Keyframes & Animations
   ========================================================================== */
@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes foot-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes dash-constellation {
  to {
    stroke-dashoffset: -1000;
  }
}

/* ==========================================================================
   10. KASA ARCHIVE (사보 아카이브)
   ========================================================================== */
.archive-section {
  background-color: var(--bg-space);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-cosmic);
  padding: 100px 6% 120px 6%;

  .archive-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
  }

  .archive-card {
    background: rgba(15, 10, 46, 0.45);
    border: 1px solid var(--border-cosmic);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;

    &:hover {
      transform: translateY(-8px);
      border-color: rgba(129, 140, 248, 0.4);
      box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(129, 140, 248, 0.15);

      .archive-cover-wrapper {
        .archive-cover {
          transform: scale(1.06);
        }
        
        .archive-hologram-glow {
          opacity: 0.8;
          transform: translateY(0) scale(1);
        }
      }

      .archive-info {
        .btn-read-archive {
          background: var(--gradient-primary);
          color: #ffffff;
          border-color: transparent;
          box-shadow: 0 0 15px rgba(129, 140, 248, 0.4);
        }
      }
    }
  }

  .archive-cover-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #080518;
    border-bottom: 1px solid var(--border-cosmic);

    .archive-cover {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .no-image-placeholder {
      width: 100%;
      height: 100%;
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 15px;

      &.cosmic-indigo-bg { background: linear-gradient(135deg, #090520, #1b1062); }
      &.cosmic-cyan-bg { background: linear-gradient(135deg, #051420, #0a3f62); }
      &.cosmic-purple-bg { background: linear-gradient(135deg, #110520, #380a62); }
      &.cosmic-solar-bg { background: linear-gradient(135deg, #201305, #623f0a); }

      .no-image-icon {
        font-size: 40px;
        animation: float-icon 4s ease-in-out infinite;
      }
      .no-image-text {
        font-family: var(--text-mono);
        font-size: 13px;
        color: rgba(255, 255, 255, 0.5);
        letter-spacing: 0.05em;
      }
    }

    /* 홀로그램 반사광 데코 */
    .archive-hologram-glow {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(192, 132, 252, 0.25) 50%, transparent 100%);
      opacity: 0;
      transform: translateY(-20px) scale(0.95);
      transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
      pointer-events: none;
      mix-blend-mode: screen;
      z-index: 2;
    }
  }

  .archive-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;

    .archive-vol {
      font-family: var(--text-mono);
      font-size: 12px;
      font-weight: 700;
      color: var(--accent-secondary);
      letter-spacing: 0.05em;
      display: inline-block;
      margin-bottom: 4px;
    }

    .archive-date {
      font-family: var(--text-mono);
      font-size: 11px;
      color: rgba(255, 255, 255, 0.4);
      margin-bottom: 12px;
      display: block;
    }

    .archive-card-title {
      font-family: var(--text-heading);
      font-size: 18px;
      font-weight: 700;
      color: #ffffff;
      margin: 0 0 10px 0;
      letter-spacing: -0.01em;
      line-height: 1.3;
    }

    .archive-card-desc {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.6);
      line-height: 1.6;
      margin: 0 0 20px 0;
      flex-grow: 1;
    }

    .btn-read-archive {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding: 10px 0;
      font-family: var(--text-heading);
      font-size: 13px;
      font-weight: 600;
      color: var(--accent-primary);
      background: transparent;
      border: 1px solid var(--border-cosmic);
      border-radius: 8px;
      text-decoration: none;
      transition: all 0.3s ease;
      cursor: pointer;
    }
  }
}

/* 라이트 모드 컬러 오버라이드 */
[data-mode="light"] {
  .archive-section {
    .archive-card {
      background: rgba(255, 255, 255, 0.85);
      border-color: var(--border-cosmic);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

      &:hover {
        border-color: var(--accent-primary);
        box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
      }
    }

    .archive-info {
      .archive-date {
        color: rgba(0, 0, 0, 0.45);
      }
      .archive-card-title {
        color: #111827;
      }
      .archive-card-desc {
        color: rgba(17, 24, 39, 0.7);
      }
      .btn-read-archive {
        color: var(--accent-primary);
        border-color: var(--border-cosmic);
      }
    }
  }
}

/* ==========================================================================
   @container Queries (모바일 시뮬레이터 및 반응형 최적화)
   ========================================================================== */
.mixed-main {
  container-type: inline-size;
}

@container (max-width: 768px) {
  .section-container {
    padding: 12vw 5%;
    
    .section-header {
      margin-bottom: 6vw;
    }
  }
  
  /* Hero */
  .hero-section {
    .cosmic-slogan-overlay {
      top: calc(75px + 1vh);
    }
    .visual-overlay-container {
      flex-direction: column;
      align-items: flex-start;
      bottom: 5vh;
      gap: 20px;
      
      .v6-title-container {
        max-width: 100%;
      }
    }
  }
  
  /* Mission stats & deck */
  .mission-section {
    .mission-stats-grid {
      grid-template-columns: 1fr;
      gap: 15px;
      
      .stat-card {
        padding: 20px;
      }
    }
    
    .deck-slider-container {
      .deck-wrapper {
        height: 520px;
        
        .deck-card {
          flex-direction: column;
          
          .card-image-area {
            width: 100%;
            height: 40%;
          }
          
          .card-content {
            width: 100%;
            height: 60%;
            padding: 24px;
            
            .card-title {
              font-size: 20px;
              margin-bottom: 8px;
            }
            .card-desc {
              font-size: 13.5px;
              margin-bottom: 15px;
            }
            .btn-briefing {
              padding: 10px 20px;
            }
          }
        }
      }
    }
  }
  
  /* Research split screen */
  .research-section {
    .research-split-container {
      flex-direction: column;
      
      .research-left-pane {
        width: 100%;
        height: 250px;
        position: relative;
        z-index: 5;
      }
      
      .research-right-pane {
        width: 100%;
        padding: 40px 5% 10px 5%;
        
        .research-header {
          margin-bottom: 40px;
        }
        
        .research-item {
          margin-bottom: 60px;
          opacity: 1; /* 모바일은 스크롤 리빌 고정 해제 */
        }
      }
    }
  }
  
  /* People Focus */
  .people-section {
    .people-content-container {
      .people-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        
        .people-profile-card {
          padding: 24px;
        }
        .people-quotes-box {
          padding-left: 0;
          
          .quotes-track {
            min-height: 220px;
          }
        }
      }
    }
  }
  
  /* Admin Photo Grid */
  .admin-section {
    .admin-photo-grid {
      grid-template-columns: 1fr;
      gap: 20px;
      
      .grid-card {
        .grid-image-area {
          height: 240px;
          
          .grid-overlay {
            opacity: 1;
            transform: translateY(0);
            padding: 24px;
            background: linear-gradient(180deg, rgba(8, 12, 28, 0) 0%, rgba(3, 2, 10, 0.95) 100%);
            
            .grid-card-title {
              font-size: 17px;
            }
            .grid-card-desc {
              font-size: 12.5px;
            }
          }
        }
      }
    }
  }
  
  /* Event Apply Form */
  .apply-section {
    .wizard-container {
      padding: 24px;
      
      .wizard-progress-bar {
        margin-bottom: 30px;
        
        .step-indicator {
          .step-label {
            display: none; /* 모바일 글자 숨김 */
          }
        }
      }
      
      .form-row {
        grid-template-columns: 1fr;
        gap: 0;
      }
      
      .step-actions {
        margin-top: 25px;
        
        button {
          padding: 10px 20px;
        }
      }
    }
  }
  
  /* Archive */
  .archive-section {
    padding: 12vw 0 !important;
    
    .section-header {
      padding: 0 5%;
    }
    
    .archive-cards-grid {
      display: flex;
      flex-direction: row;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 20px;
      padding: 0 5% 24px 5%;
      scrollbar-width: none;
      -ms-overflow-style: none;
      
      &::-webkit-scrollbar {
        display: none;
      }
    }
    
    .archive-card {
      width: 280px;
      flex-shrink: 0;
      scroll-snap-align: start;
    }
  }
  
  /* Footer */
  .cosmic-footer {
    padding-bottom: 30px;
    
    .footer-content {
      .footer-main-info {
        flex-direction: column;
        gap: 30px;
        
        .footer-links {
          flex-direction: column;
          gap: 25px;
        }
      }
      
      .footer-bottom-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        
        .footer-meta-info {
          flex-direction: column;
          gap: 8px;
        }
      }
    }
  }
}

/* --- Archive Responsive Fallbacks --- */
@container (max-width: 480px) {
  .archive-section .archive-card {
    width: 260px;
  }
}

/* Media Query Fallbacks (for robust cross-simulator rendering) */
@media (max-width: 768px) {
  .archive-section {
    padding: 12vw 0 !important;
  }
  .archive-section .section-header {
    padding: 0 5%;
  }
  .archive-section .archive-cards-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 5% 24px 5%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .archive-section .archive-cards-grid::-webkit-scrollbar {
    display: none;
  }
  .archive-section .archive-card {
    width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

@media (max-width: 480px) {
  .archive-section .archive-card {
    width: 260px;
  }
}


