/* Isengard Intro System Styles */

.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s;
}

.intro-content {
    max-width: 900px;
    width: 90%;
    padding: 40px;
    position: relative;
}

.intro-text {
    min-height: 200px;
    color: #ecf0f1;
    font-size: 1.3em;
    line-height: 1.8;
    text-align: center;
}

.intro-line {
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.elder-name {
    color: #f39c12;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
    display: block;
    margin-bottom: 10px;
}

.elder-speech {
    color: #ecf0f1;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    display: block;
}

.intro-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.intro-continue {
    color: #f39c12;
    font-size: 1em;
    font-style: italic;
    font-weight: bold;
    transition: opacity 0.3s;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.intro-continue:hover {
    color: #ecf0f1;
}

.intro-skip {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-skip:hover {
    background: rgba(231, 76, 60, 0.4);
    border-color: #c0392b;
    color: #ecf0f1;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
}

.intro-skip:active {
    transform: scale(0.95);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .intro-content {
        padding: 20px;
    }
    
    .intro-text {
        font-size: 1.1em;
        line-height: 1.6;
    }
    
    .elder-name {
        font-size: 1em;
    }
    
    .intro-controls {
        padding: 20px;
        flex-direction: column-reverse;
        gap: 15px;
    }
    
    .intro-skip {
        width: 100%;
        padding: 12px 20px;
    }
    
    .intro-continue {
        width: 100%;
        text-align: center;
    }
}

/* Ambient effects */
.intro-sound-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(243, 156, 18, 0.05) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}
