/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #00f5ff;
    --secondary-color: #ff00ff;
    --accent-color: #ffff00;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 35, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.5);
    --glow-magenta: 0 0 20px rgba(255, 0, 255, 0.5);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===== ANIMATED BACKGROUND ===== */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Starfield Animation */
.stars,
.twinkling {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.stars {
    background: #000 url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAEklEQVQIW2NkYGD4z8DAwAAACQQBAQCvQfpzAAAAAElFTkSuQmCC') repeat;
    animation: stars-move 100s linear infinite;
}

.twinkling {
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAEklEQVQIW2NkYGD4z8DAwAAACQQBAQCvQfpzAAAAAElFTkSuQmCC') repeat;
    animation: twinkling 5s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes stars-move {
    from { transform: translateY(0); }
    to { transform: translateY(-2000px); }
}

@keyframes twinkling {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Gradient Orbs */
.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.8) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.8) 0%, transparent 70%);
    top: 50%;
    right: -10%;
    animation-delay: 5s;
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.8) 0%, transparent 70%);
    bottom: -20%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

/* ===== CONTAINER ===== */
.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1;
}

/* ===== LOGO/ICON SECTION ===== */
.logo-container {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.construction-icon {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gear {
    position: absolute;
    font-size: 4rem;
    animation: rotate 4s linear infinite;
}

.gear-1 {
    animation-direction: normal;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.gear-2 {
    animation-direction: reverse;
    animation-duration: 3s;
    transform: scale(0.7);
    filter: drop-shadow(0 0 10px var(--secondary-color));
}

.sparkles {
    position: absolute;
    font-size: 2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ===== MAIN CONTENT ===== */
.content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

/* Glitch Text Effect */
.glitch-text {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 3s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch-text::before {
    animation: glitch-1 2.5s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch-text::after {
    animation: glitch-2 2.5s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 245, 255, 0.8); }
    25% { text-shadow: -2px 0 20px rgba(255, 0, 255, 0.8); }
    50% { text-shadow: 2px 0 20px rgba(255, 255, 0, 0.8); }
    75% { text-shadow: 0 2px 20px rgba(0, 245, 255, 0.8); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-2px, 2px); }
    66% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(2px, -2px); }
    66% { transform: translate(-2px, 2px); }
}

/* Message Box */
.message-box {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), var(--glow-cyan);
    animation: pulse-glow 3s ease-in-out infinite;
}

.main-message {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.sub-message {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    font-weight: 300;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 245, 255, 0.3); }
    50% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 245, 255, 0.6); }
}

/* Progress Bar */
.progress-container {
    margin-bottom: 3rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.percentage {
    color: var(--primary-color);
    font-weight: 700;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    animation: progress-animation 8s ease-out forwards;
    transition: width 0.3s ease;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: progress-animation 8s ease-out forwards, glow-move 1.5s ease-in-out infinite;
}

@keyframes progress-animation {
    to { width: 50%; }
}

@keyframes glow-move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

/* Notify Section */
.notify-section {
    margin-bottom: 3rem;
}

.notify-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.notify-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.notify-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.notify-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.notify-form input::placeholder {
    color: var(--text-secondary);
}

.notify-btn {
    position: relative;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    color: var(--bg-dark);
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 245, 255, 0.5);
}

.notify-btn:active {
    transform: translateY(0);
}

.notify-btn span {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: btn-glow-move 3s ease-in-out infinite;
}

@keyframes btn-glow-move {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.success-message {
    margin-top: 1rem;
    color: #00ff88;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 24px rgba(0, 245, 255, 0.5);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 2rem 0 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .construction-icon {
        width: 100px;
        height: 100px;
    }

    .gear {
        font-size: 3rem;
    }

    .message-box {
        padding: 1.5rem;
    }

    .notify-form {
        flex-direction: column;
        gap: 1rem;
    }

    .notify-form input,
    .notify-btn {
        width: 100%;
    }

    .social-links {
        gap: 1rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .notify-form input,
    .notify-btn {
        font-size: 0.9rem;
    }
}
