/* ============================================
   UNDER CONSTRUCTION PAGE - MAJESTIC EDITION
   ============================================ */

.under-construction-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 25%, #0f2744 50%, #1a365d 75%, #0a1628 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

/* Animated Background Gradient */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Particles */
.under-construction-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(212, 164, 55, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(3px 3px at 50px 160px, rgba(198, 79, 46, 0.4), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(212, 164, 55, 0.3), transparent),
        radial-gradient(3px 3px at 130px 80px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(212, 164, 55, 0.4), transparent);
    background-size: 200px 200px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-200px) translateX(50px); }
}

/* Glowing Orbs */
.under-construction-page::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 164, 55, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: orbPulse 8s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Main Content Card */
.construction-content {
    text-align: center;
    max-width: 650px;
    padding: 70px 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(212, 164, 55, 0.1),
        inset 0 0 60px rgba(255, 255, 255, 0.02);
    animation: cardEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animated Border Glow */
.construction-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #d4a437, #c64f2e, #d4a437, #1a365d, #d4a437);
    background-size: 400% 400%;
    border-radius: 32px;
    z-index: -1;
    animation: borderGlow 6s linear infinite;
    opacity: 0.5;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Logo Container */
.construction-logo {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

/* Logo Glow Ring */
.construction-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(212, 164, 55, 0.3);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.construction-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240px;
    height: 240px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(212, 164, 55, 0.15);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite 0.5s;
}

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Logo Image */
.construction-logo img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(212, 164, 55, 0.5));
    animation: logoFloat 4s ease-in-out infinite, logoGlow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    75% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 30px rgba(212, 164, 55, 0.5)); }
    to { filter: drop-shadow(0 0 50px rgba(212, 164, 55, 0.8)) drop-shadow(0 0 80px rgba(198, 79, 46, 0.4)); }
}

/* Brand Name */
.construction-brand {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 25px;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #d4a437 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite, textEntrance 0.8s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
    text-shadow: 0 0 40px rgba(212, 164, 55, 0.3);
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

@keyframes textEntrance {
    to { opacity: 1; transform: translateY(0); }
}

/* Animated Divider */
.construction-divider {
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4a437, #c64f2e, #d4a437);
    background-size: 200% 100%;
    margin: 0 auto 35px;
    border-radius: 2px;
    animation: dividerExpand 1s ease-out 0.6s forwards, dividerShimmer 2s linear infinite 1.6s;
    position: relative;
}

@keyframes dividerExpand {
    to { width: 120px; }
}

@keyframes dividerShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.construction-divider::before,
.construction-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #d4a437;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: dotPulse 1.5s ease-in-out infinite;
}

.construction-divider::before { left: -4px; }
.construction-divider::after { right: -4px; animation-delay: 0.75s; }

@keyframes dotPulse {
    0%, 100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(212, 164, 55, 0.5); }
    50% { transform: translateY(-50%) scale(1.3); box-shadow: 0 0 20px 5px rgba(212, 164, 55, 0.3); }
}

/* Title */
.construction-title {
    font-size: 1.6rem;
    font-weight: 300;
    color: #d4a437;
    margin: 0 0 25px;
    text-transform: uppercase;
    letter-spacing: 6px;
    animation: textEntrance 0.8s ease-out 0.5s forwards, textGlow 2s ease-in-out infinite alternate;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(212, 164, 55, 0.3); }
    to { text-shadow: 0 0 30px rgba(212, 164, 55, 0.6), 0 0 60px rgba(212, 164, 55, 0.3); }
}

/* Message */
.construction-message {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin: 0 0 40px;
    animation: textEntrance 0.8s ease-out 0.7s forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* CTA Button */
.construction-btn {
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    border: 2px solid transparent;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    animation: textEntrance 0.8s ease-out 0.9s forwards;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.construction-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #d4a437, #c64f2e);
    border-radius: 50px;
    z-index: -2;
}

.construction-btn::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, #0f2744, #1a365d);
    border-radius: 50px;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.construction-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(212, 164, 55, 0.3),
        0 0 60px rgba(212, 164, 55, 0.2);
    color: #1a365d;
}

.construction-btn:hover::after {
    opacity: 0;
}

/* Spinning Gear Icon (decorative) */
.construction-content .gear-icon {
    position: absolute;
    opacity: 0.05;
    animation: gearSpin 20s linear infinite;
}

@keyframes gearSpin {
    to { transform: rotate(360deg); }
}

/* Corner Accents */
.construction-content .corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(212, 164, 55, 0.3);
}

.construction-content .corner-tl { top: 15px; left: 15px; border-right: none; border-bottom: none; }
.construction-content .corner-tr { top: 15px; right: 15px; border-left: none; border-bottom: none; }
.construction-content .corner-bl { bottom: 15px; left: 15px; border-right: none; border-top: none; }
.construction-content .corner-br { bottom: 15px; right: 15px; border-left: none; border-top: none; }

/* Responsive */
@media (max-width: 768px) {
    .under-construction-page {
        padding: 100px 15px 60px;
    }
    
    .construction-content {
        padding: 50px 30px;
    }
    
    .construction-logo img {
        width: 130px;
        height: 130px;
    }
    
    .construction-logo::before {
        width: 170px;
        height: 170px;
    }
    
    .construction-logo::after {
        width: 200px;
        height: 200px;
    }
    
    .construction-brand {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }
    
    .construction-title {
        font-size: 1.3rem;
        letter-spacing: 4px;
    }
    
    .construction-message {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .construction-content {
        padding: 40px 25px;
        border-radius: 20px;
    }
    
    .construction-logo img {
        width: 110px;
        height: 110px;
    }
    
    .construction-logo::before {
        width: 140px;
        height: 140px;
    }
    
    .construction-logo::after {
        width: 170px;
        height: 170px;
    }
    
    .construction-brand {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .construction-title {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }
    
    .construction-btn {
        padding: 15px 35px;
        font-size: 0.9rem;
    }
    
    .construction-content .corner {
        width: 20px;
        height: 20px;
    }
}
