/* ============================================ */
/* DIALOGS.CSS - Intro Dialog (Holographic     */
/* Transmission)                               */
/* ============================================ */

/* ============================================ */
/* INTRO DIALOG - Holographic Transmission     */
/* ============================================ */
.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 20, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-dialog {
    width: 820px;
    max-height: 680px;
    background: rgba(10, 30, 50, 0.95);
    border: 2px solid #00aaff;
    border-radius: 4px;
    box-shadow: 0 0 60px rgba(0, 170, 255, 0.3),
                inset 0 0 40px rgba(0, 170, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.intro-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 170, 255, 0.8), transparent);
    animation: introScan 2.5s linear infinite;
    z-index: 10;
}

@keyframes introScan {
    0% { top: 0; }
    100% { top: 100%; }
}

.intro-static-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 170, 255, 0.03) 2px,
        rgba(0, 170, 255, 0.03) 4px
    );
    pointer-events: none !important;
    z-index: 5;
}

.intro-scan-line {
    pointer-events: none !important;
}

.intro-header {
    padding: 15px 30px;
    border-bottom: 1px solid rgba(0, 170, 255, 0.3);
    background: linear-gradient(180deg, rgba(0, 170, 255, 0.15) 0%, transparent 100%);
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

.intro-title {
    color: #00ddff;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(0, 221, 255, 0.8);
    margin: 0;
}

.intro-signal-info {
    color: #ff6600;
    font-size: 11px;
    font-family: 'Courier New', monospace;
    margin-top: 5px;
}

.intro-content {
    display: flex;
    padding: 20px 30px;
    gap: 25px;
    position: relative;
    z-index: 20;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.intro-portrait-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.intro-commander-portrait {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(180deg, #3a3020 0%, #2a2018 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #00aaff;
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.5);
    animation: introPortraitGlow 2s ease-in-out infinite;
}

@keyframes introPortraitGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 170, 255, 0.5); }
    50% { box-shadow: 0 0 50px rgba(0, 170, 255, 0.8); }
}

.intro-commander-portrait .helmet {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    background: #2a3a2a;
    border-radius: 30px 30px 0 0;
}

.intro-commander-portrait .face {
    position: absolute;
    top: 34px;
    left: 50%;
    transform: translateX(-50%);
    width: 47px;
    height: 55px;
    background: linear-gradient(180deg, #e8c4a0 50%, #d4a878 100%);
    border-radius: 10px 10px 17px 17px;
}

.intro-commander-portrait .eyes {
    position: absolute;
    top: 47px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.intro-commander-portrait .eye {
    width: 7px;
    height: 5px;
    background: #2a2a2a;
    border-radius: 50%;
}

.intro-commander-portrait .mouth {
    position: absolute;
    top: 68px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 4px;
    background: #8a6a5a;
    border-radius: 2px;
}

.intro-commander-portrait .uniform {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 77px;
    height: 30px;
    background: linear-gradient(180deg, #3a4a3a 0%, #2a3a2a 100%);
    border-radius: 0 0 43px 43px;
}

.intro-commander-portrait .badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 17px;
    height: 17px;
    background: radial-gradient(circle, #ffdd00 30%, #cc9900 100%);
    border-radius: 50%;
}

.intro-commander-name {
    color: #00ddff;
    font-size: 15px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.intro-commander-id {
    color: #666;
    font-size: 11px;
    font-family: 'Courier New', monospace;
}

.intro-message-section {
    flex: 1;
}

.intro-message-text {
    color: #aaddff;
    font-size: 16px;
    line-height: 1.7;
    font-family: 'Courier New', monospace;
    margin: 0;
}

.intro-footer {
    padding: 15px 30px;
    border-top: 1px solid rgba(0, 170, 255, 0.3);
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

.intro-understood-btn {
    padding: 12px 40px;
    background: rgba(0, 100, 150, 0.5);
    border: 1px solid #00aaff;
    border-radius: 4px;
    color: #00ddff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    z-index: 25;
    pointer-events: auto !important;
}

.intro-understood-btn:hover {
    background: rgba(0, 150, 200, 0.5);
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.5);
}

/* Mobile: 20% larger intro dialog text */
.mobile .intro-title { font-size: 22px; }
.mobile .intro-signal-info { font-size: 13px; }
.mobile .intro-commander-name { font-size: 18px; }
.mobile .intro-commander-id { font-size: 13px; }
.mobile .intro-message-text { font-size: 19px; }
.mobile .intro-understood-btn { font-size: 17px; padding: 14px 48px; }
