/* Construction Alert Styles */
.construction-alert {
    position: fixed;
    right: 20px;
    top: 20px;
    transform: translateX(120%);
    background: rgb(30, 40, 20);
    border: 4px solid #ffff00;
    border-radius: 10px;
    padding: 20px;
    color: white;
    font-family: 'Share Tech Mono', monospace;
    max-width: 350px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.5s ease-in-out, opacity 0.3s ease;
    opacity: 0.95;
    overflow: hidden;
}

.construction-alert.show {
    transform: translateX(0);
}

.construction-alert.top {
    top: 20px;
    bottom: auto;
}

.construction-alert.bottom {
    top: auto;
    bottom: 20px;
    animation: slideInBottom 0.8s forwards 1s, pulse 2s infinite 2s;
}

.construction-alert h3 {
    margin: 0 0 10px 0;
    color: #ff00ff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.construction-alert h3 i {
    font-size: 1.2em;
}

.construction-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transform: translateX(-100%);
    animation: shine 3s infinite;
    pointer-events: none;
}

/* Mobile responsive - first breakpoint */
@media (max-width: 768px) {
    .construction-alert {
        left: 20px;
        right: auto;
        max-width: calc(100% - 40px);
        transform: translateX(-120%);
    }
    
    .construction-alert.show {
        transform: translateX(0);
    }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #ff00ff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ffffff;
}

.construction-alert p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.construction-alert .tools {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    animation: bounce 2s infinite;
}

.construction-alert .tools i {
    font-size: 1.2rem;
    color: var(--accent-light);
    animation: float 3s ease-in-out infinite;
}

.construction-alert .tools i:nth-child(1) { animation-delay: 0s; }
.construction-alert .tools i:nth-child(2) { animation-delay: 0.5s; }
.construction-alert .tools i:nth-child(3) { animation-delay: 1s; }
.construction-alert .tools i:nth-child(4) { animation-delay: 1.5s; }

@keyframes slideIn {
    from { transform: translateX(120%); }
    to { transform: translateX(0); }
}

@keyframes slideInBottom {
    from { transform: translateX(120%); }
    to { transform: translateX(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 165, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 165, 0, 0); }
}

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .construction-alert {
        left: 20px;
        right: 20px;
        max-width: none;
        text-align: center;
    }
    
    .construction-alert h3 {
        justify-content: center;
    }
    
    .construction-alert .tools {
        justify-content: center;
    }
}
