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

html, body {
    width: 100%;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #05070c;
    color: #ffffff;
    overflow: hidden;
}

.ambient-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 50% 45%, rgba(0, 170, 255, 0.12), transparent 35%),
        radial-gradient(circle at 20% 20%, rgba(120, 60, 255, 0.08), transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 180, 0.06), transparent 30%);
    z-index: -2;
}

.ambient-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

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

.gear-system {
    position: relative;
    width: 230px;
    height: 150px;
    margin-bottom: 25px;
}

.gear {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,0.82);
    text-shadow: 0 0 15px rgba(0,190,255,0.8), 0 0 35px rgba(0,190,255,0.3);
    filter: drop-shadow(0 0 10px rgba(0,180,255,0.3));
}

.gear-large {
    width: 105px;
    height: 105px;
    left: 62px;
    top: 15px;
    font-size: 105px;
    animation: rotateClockwise 8s linear infinite;
}

.gear-medium {
    width: 70px;
    height: 70px;
    left: 10px;
    top: 0;
    font-size: 70px;
    animation: rotateCounter 5s linear infinite;
}

.gear-small {
    width: 55px;
    height: 55px;
    right: 0;
    bottom: 5px;
    font-size: 55px;
    animation: rotateCounter 4s linear infinite;
}

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

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

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,200,255,0.8), transparent);
    opacity: 0.5;
}

.line-one {
    width: 80px;
    top: 60px;
    right: -30px;
    transform: rotate(-25deg);
}

.line-two {
    width: 75px;
    bottom: 30px;
    left: -25px;
    transform: rotate(25deg);
}

.connection-node {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #55ddff;
    box-shadow: 0 0 10px #55ddff, 0 0 25px rgba(0,190,255,0.8);
    animation: pulse 1.5s ease-in-out infinite;
}

.node-one {
    right: 15px;
    top: 35px;
}

.node-two {
    left: 10px;
    bottom: 15px;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.4); }
}

.message {
    width: min(700px, 95vw);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px;
    border: 1px solid rgba(0,200,255,0.18);
    border-radius: 30px;
    background: rgba(0,180,255,0.05);
    color: #70dfff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #55ddff;
    box-shadow: 0 0 10px #55ddff;
    animation: pulse 1.3s infinite;
}

h1 {
    margin-top: 22px;
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -2px;
    background: linear-gradient(90deg, #ffffff, #9deaff, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

h2 {
    margin-top: 8px;
    font-size: clamp(18px, 3vw, 25px);
    font-weight: 400;
    color: #b9c7d6;
}

.message > p {
    max-width: 600px;
    margin: 20px auto 25px;
    line-height: 1.7;
    color: #7f8c9b;
    font-size: 15px;
}

.developer-message {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
    padding: 20px;
    margin: 20px auto;
    max-width: 620px;
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid #35cfff;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    backdrop-filter: blur(12px);
}

.developer-icon {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0,200,255,0.08);
    color: #57dfff;
    font-family: monospace;
    font-weight: bold;
}

.developer-message strong {
    display: block;
    margin-bottom: 6px;
    color: #dce9f2;
    font-size: 14px;
}

.developer-message p {
    color: #778695;
    font-size: 13px;
    line-height: 1.6;
}

.progress-container {
    width: min(450px, 80vw);
    height: 3px;
    margin: 28px auto 12px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
}

.progress-bar {
    width: 35%;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, transparent, #4fdcff, transparent);
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { transform: translateX(-150%); }
    100% { transform: translateX(400%); }
}

.connection-status {
    font-size: 11px;
    color: #667685;
    letter-spacing: 1px;
}

.connection-status span {
    color: #4fdcff;
    animation: blink 1.2s infinite;
}

@keyframes blink {
    50% { opacity: 0.25; }
}

footer {
    margin-top: 25px;
    color: #52606d;
    font-size: 12px;
}

@media (max-width: 600px) {
    .container {
        padding: 25px 15px;
    }

    .gear-system {
        transform: scale(0.8);
        margin-bottom: 5px;
    }

    h1 {
        letter-spacing: -1px;
    }

    .developer-message {
        padding: 16px;
    }
}
