/* GADGET 3D Futuristic "Under Construction" Style */

:root {
    --bg-color: #0d1117; /* Dark charcoal/blue for a deep space feel */
    --accent-color: #00ff99; /* Neon Green/Cyan */
    --secondary-color: #ff0055; /* Emergency Red/Pink */
    --font-mono: 'Space Mono', monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--accent-color);
    font-family: var(--font-mono);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    line-height: 1.6;
    text-shadow: 0 0 5px var(--accent-color), 0 0 10px rgba(0, 255, 153, 0.4); /* Subtle glow */
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px dashed var(--secondary-color);
}

a:hover {
    color: white;
    text-shadow: 0 0 10px var(--secondary-color);
    border-bottom: 1px solid white;
}

.container {
    width: 90%;
    max-width: 900px;
    padding: 30px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color), inset 0 0 20px var(--accent-color);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    animation: flicker 1.5s infinite alternate; /* Subtle screen flicker */
}

header h1 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

/* --- Status Box Styling --- */
.status-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid var(--accent-color);
    box-shadow: inset 0 0 10px rgba(0, 255, 153, 0.5);
}

.status-box h2 {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
    font-size: 1.3em;
    text-align: center;
    border: 1px dotted var(--secondary-color);
    padding: 10px 0;
}

.funny-message {
    text-align: center;
    margin: 20px 0;
    font-size: 1.1em;
}

.funny-message strong {
    color: var(--secondary-color);
}

.eta {
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 15px;
    color: var(--secondary-color);
}

/* --- Progress Bar --- */
.status-bar {
    margin-bottom: 20px;
}

#status-text {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.progress-bar {
    height: 20px;
    background-color: #222;
    border: 1px solid var(--accent-color);
    overflow: hidden;
}

.progress-fill {
    width: 0%; /* JS will update this */
    height: 100%;
    background-color: var(--accent-color);
    transition: width 1.5s ease-out; /* Smooth 'loading' effect */
    animation: glitch-progress 0.1s infinite; /* A rapid, subtle shift to look glitchy */
}

/* --- Contact Box Styling --- */
.contact-box {
    text-align: center;
    padding: 15px;
    border-top: 2px dotted var(--accent-color);
}

.contact-box h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.contact-details p {
    margin: 5px 0;
    font-size: 1.1em;
}

.footer-note {
    margin-top: 20px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Keyframe Animations --- */

/* Subtle screen flicker effect */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.98; }
    52% { opacity: 1; }
    98% { opacity: 0.99; }
}

/* Glitch/Jitter effect for the progress bar to make it look unstable */
@keyframes glitch-progress {
    0% { transform: translate(1px, 1px); }
    25% { transform: translate(-1px, 0); }
    50% { transform: translate(0, 1px); }
    75% { transform: translate(1px, -1px); }
    100% { transform: translate(0, 0); }
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.8em;
    }
    .container {
        padding: 15px;
    }
}