
/* Video Overlay Z-Index Fix */
.video-overlay {
    z-index: 21000 !important; /* intro-overlay(20000)보다 높게 설정 */
    background-color: black;
}

/* Guide Modal Styles */
.guide-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 30000; /* 최상위 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.guide-modal.hidden {
    display: none !important;
}

.guide-content {
    background: var(--bg-card);
    border: 1px solid var(--primary-cyan);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.4);
    animation: modal-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.guide-title {
    font-size: 1.8rem;
    color: var(--primary-cyan);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.guide-text {
    text-align: left;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
}

.guide-text p {
    margin-bottom: 10px;
}

.guide-text p:last-child {
    margin-bottom: 0;
}

.warning-text {
    color: var(--error);
    font-weight: bold;
    text-decoration: underline;
}

.guide-options {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-cyan);
}

.guide-btn {
    background: linear-gradient(90deg, var(--primary-cyan), var(--secondary-cyan));
    color: var(--bg-darker);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.guide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.4);
}

.guide-timer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.guide-progress {
    height: 100%;
    background: var(--primary-cyan);
    width: 100%;
    transition: width 1s linear;
}
