/* Additional styles for TIE Phantom Nav challenge */

/* Mission, Objective, and Steps Sections */
.mission-section,
.objective-section,
.tech-details,
.steps-section,
.download-section {
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--accent-color);
    border-radius: 2px;
}

.section-title {
    color: var(--primary-color);
    font-family: var(--font-header);
    font-size: 1.2em;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(162, 155, 254, 0.4);
}

.subsection-title {
    color: var(--highlight-color);
    font-family: var(--font-header);
    font-size: 1em;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.mission-text,
.objective-text {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-ui);
    line-height: 1.8;
    font-size: 0.95em;
}

code {
    background: rgba(0, 217, 255, 0.1);
    color: var(--highlight-color);
    padding: 2px 8px;
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

/* Technical Details Grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.detail-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border: 1px solid rgba(162, 155, 254, 0.2);
    border-radius: 2px;
    text-align: center;
}

.detail-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7em;
    color: #666;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.detail-value {
    display: block;
    font-family: var(--font-header);
    font-size: 0.9em;
    color: var(--primary-color);
}

.detail-value.difficulty-high {
    color: #ff6b6b;
    font-weight: bold;
}

/* Operation Chain Steps */
.step-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.step-item {
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border: 1px solid rgba(162, 155, 254, 0.2);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: var(--highlight-color);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.3);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-family: var(--font-header);
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 0 0 10px var(--primary-color);
}

.step-content {
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-ui);
    line-height: 1.6;
    font-size: 0.9em;
}

.step-content strong {
    color: var(--highlight-color);
    display: block;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

/* Download Section */
.download-desc {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-ui);
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.3), rgba(0, 217, 255, 0.2));
    border: 2px solid var(--highlight-color);
    color: #fff;
    padding: 18px 40px;
    font-family: var(--font-header);
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1em;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.download-btn:hover {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.5), rgba(0, 217, 255, 0.4));
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.5);
    transform: translateY(-2px);
}

.download-btn .btn-icon {
    font-size: 1.3em;
    animation: pulse-glow 2s infinite;
}

.download-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.6s ease;
}

.download-btn:hover .btn-glow {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}