/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 50%, #2d2d5f 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Background animations */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Gear animations */
.gear {
    position: absolute;
    border: 3px solid rgba(255, 165, 0, 0.3);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.gear::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border: 2px solid rgba(255, 165, 0, 0.5);
    border-radius: 50%;
}

.gear::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: rgba(255, 165, 0, 0.7);
    border-radius: 50%;
    box-shadow: 
        0 25px 0 rgba(255, 165, 0, 0.7),
        25px 0 0 rgba(255, 165, 0, 0.7),
        0 -25px 0 rgba(255, 165, 0, 0.7),
        -25px 0 0 rgba(255, 165, 0, 0.7),
        18px 18px 0 rgba(255, 165, 0, 0.7),
        -18px 18px 0 rgba(255, 165, 0, 0.7),
        18px -18px 0 rgba(255, 165, 0, 0.7),
        -18px -18px 0 rgba(255, 165, 0, 0.7);
}

.gear-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-duration: 8s;
}

.gear-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation-direction: reverse;
    animation-duration: 12s;
}

.gear-3 {
    width: 60px;
    height: 60px;
    bottom: 15%;
    left: 20%;
    animation-duration: 6s;
}

/* Floating dots */
.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.dot:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.dot:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.dot:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 2s;
}

.dot:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 3s;
}

.dot:nth-child(5) {
    top: 70%;
    left: 50%;
    animation-delay: 4s;
}

/* Main content */
.main-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

/* Logo section */
.logo-section {
    margin-bottom: 40px;
}

.construction-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    animation: bounce 2s ease-in-out infinite;
}

.helmet {
    width: 80px;
    height: 60px;
    background: linear-gradient(145deg, #ffa500, #ff8c00);
    border-radius: 40px 40px 20px 20px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.helmet::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #ffff00;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.tools {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.hammer, .wrench {
    position: absolute;
    width: 30px;
    height: 4px;
    background: #888;
    border-radius: 2px;
}

.hammer {
    transform: rotate(-45deg);
    left: -20px;
}

.hammer::before {
    content: '';
    position: absolute;
    right: -8px;
    top: -6px;
    width: 12px;
    height: 16px;
    background: #666;
    border-radius: 2px;
}

.wrench {
    transform: rotate(45deg);
    right: -20px;
}

.wrench::before {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 8px;
    height: 12px;
    background: #666;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #666;
}

/* Text section */
.text-section {
    margin-bottom: 40px;
}

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
}

.title-word {
    display: inline-block;
    animation: glow 2s ease-in-out infinite alternate;
}

.title-word:nth-child(2) {
    animation-delay: 0.5s;
}

.subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Progress section */
.progress-section {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 1s both;
}

.progress-label {
    font-size: 1rem;
    color: #aaaaaa;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #0080ff, #00ffff);
    background-size: 200% 100%;
    border-radius: 10px;
    width: 0%;
    animation: progressFill 3s ease-out 2s forwards, shimmer 2s linear infinite;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s linear infinite;
}

.progress-percentage {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 0.9rem;
    font-weight: bold;
    color: #ffffff;
}

/* Countdown section */
.countdown-section {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.countdown-label {
    font-size: 1rem;
    color: #aaaaaa;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.time-unit {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    min-width: 80px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-unit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

.time-value {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.time-label {
    display: block;
    font-size: 0.8rem;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Contact section */
.contact-section {
    animation: fadeInUp 1s ease-out 2s both;
}

.contact-text {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 20px;
}

.email-signup {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 200px;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.email-input::placeholder {
    color: #aaaaaa;
}

.notify-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.4);
    background: linear-gradient(45deg, #ff5252, #ff9800);
}

/* Footer */
.footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #666666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255, 165, 0, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 165, 0, 0.8), 0 0 40px rgba(255, 165, 0, 0.6); }
}

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

@keyframes progressFill {
    from { width: 0%; }
    to { width: 65%; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .title-word {
        display: block;
        margin-bottom: 10px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 15px;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .email-signup {
        flex-direction: column;
        align-items: center;
    }
    
    .email-input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .gear-1, .gear-2, .gear-3 {
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .construction-icon {
        width: 80px;
        height: 80px;
    }
    
    .helmet {
        width: 60px;
        height: 45px;
    }
    
    .countdown-timer {
        gap: 8px;
    }
    
    .time-unit {
        min-width: 50px;
        padding: 10px;
    }
    
    .time-value {
        font-size: 1.2rem;
    }
}

