:root {
    --bg-color: #0f1113;
    --card-bg: rgba(25, 28, 32, 0.7);
    --accent-color: #ff6b00; /* Industrial Orange */
    --accent-hover: #ff8533;
    --text-primary: #e0e0e0;
    --text-secondary: #9e9e9e;
    --border-color: rgba(255, 107, 0, 0.3);
    --grid-color: rgba(255, 255, 255, 0.03);
    --font-main: 'Exo 2', 'Noto Sans TC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Background Grid Pattern */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

/* Diagonal Stripes Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.1) 10px,
        rgba(0,0,0,0.2) 10px,
        rgba(0,0,0,0.2) 20px
    );
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

/* Decorative Gears */
.gears-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.gear {
    position: absolute;
    background: var(--grid-color);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 40px dashed var(--grid-color);
    opacity: 0.3;
}

.gear::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: transparent;
    border: 20px solid var(--grid-color);
    border-radius: 50%;
}

.gear-1 {
    top: -100px;
    right: -100px;
    animation: rotate 20s linear infinite;
}

.gear-2 {
    bottom: -50px;
    left: -80px;
    width: 200px;
    height: 200px;
    border-width: 30px;
    animation: rotate-reverse 15s linear infinite;
}

.container {
    max-width: 800px;
    width: 90%;
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

.logo {
    max-width: 250px;
    margin-bottom: 3rem;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    animation: fadeInDown 1s ease-out;
}

.content-box {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,107,0,0.05);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Corner Accents */
.content-box::before, .content-box::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent-color);
    border-style: solid;
}

.content-box::before {
    top: 0;
    left: 0;
    border-width: 3px 0 0 3px;
}

.content-box::after {
    bottom: 0;
    right: 0;
    border-width: 0 3px 3px 0;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.3);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 2rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 700;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.pulse {
    animation: pulse 1.5s infinite;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,107,0,0.2);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60%;
    background: var(--accent-color);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-color);
    animation: progressMove 3s ease-in-out infinite;
}

footer {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    animation: fadeIn 1.5s ease-out 0.5s both;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes progressMove {
    0% { left: -60%; }
    50% { left: 40%; }
    100% { left: 100%; }
}

@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); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Responsive */
@media (max-width: 600px) {
    .title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    .container {
        padding: 1rem;
    }
    .logo {
        max-width: 180px;
    }
}
