/* ===================================
   Under Construction Modal Styles
   =================================== */

.construction-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.construction-modal.active {
    opacity: 1;
    visibility: visible;
}

.construction-content {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-2xl);
}

.construction-modal.active .construction-content {
    transform: scale(1) translateY(0);
}

.construction-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.construction-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.construction-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.construction-icon > svg {
    stroke: var(--accent-color);
    animation: bounce 2s ease-in-out infinite;
}

.construction-gears {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.gear {
    position: absolute;
    stroke: var(--accent-secondary);
    opacity: 0.3;
}

.gear-1 {
    top: -10px;
    right: -10px;
    animation: rotateGear 4s linear infinite;
}

.gear-2 {
    bottom: 0;
    left: 0;
    animation: rotateGear 3s linear infinite reverse;
}

.construction-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.construction-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.construction-progress {
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 999px;
    animation: progressAnimation 2s ease-in-out infinite;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotateGear {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes progressAnimation {
    0% {
        width: 0%;
        opacity: 0.5;
    }
    50% {
        width: 70%;
        opacity: 1;
    }
    100% {
        width: 0%;
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .construction-content {
        padding: 2rem 1.5rem;
    }
    
    .construction-title {
        font-size: 1.5rem;
    }
    
    .construction-icon {
        width: 100px;
        height: 100px;
    }
    
    .construction-icon > svg {
        width: 60px;
        height: 60px;
    }
}
