@charset "UTF-8";

/* 인덱스 전용 레이아웃 */
.index-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 75vh; /* 화면 중앙 배치 */
    text-align: center;
}

/* 메인 타이틀 네온 효과 */
.main-title {
    font-size: 7dvw;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(88, 166, 255, 0.7),
    0 0 40px rgba(88, 166, 255, 0.4);
    letter-spacing: 10px;
    margin-bottom: 10px;
    animation: text-flicker 3s infinite;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    letter-spacing: 4px;
    margin-bottom: 50px;
}

/* 메뉴 리스트 스타일 */
.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list li {
    margin: 25px 0;
}

.menu-item {
    font-size: 1.8rem;
    color: var(--text-main);
    text-decoration: none;
    padding: 10px 30px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

/* 호버 시 터미널 선택 효과 */
.menu-item:hover {
    color: var(--primary-color);
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.2);
    transform: translateX(10px);
}

.pointer {
    display: inline-block;
    margin-right: 15px;
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--primary-color);
}

.menu-item:hover .pointer {
    opacity: 1;
    animation: blink 1s infinite;
}

/* 추가 애니메이션: 타이틀 지직거림 */
@keyframes text-flicker {
    0% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.8; }
    94% { opacity: 1; }
    96% { opacity: 0.9; }
    100% { opacity: 1; }
}