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

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #1a1a2e;
    color: #d4d4d4;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.6;
}

.container {
    max-width: 700px;
    padding: 30px;
    background: #1e1e2f;
    border-radius: 12px;
    border: 1px solid #2a2a3e;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #4a90d9, #6a5acd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.subtitle {
    color: #a0a0b8;
    margin-bottom: 30px;
}

.installer-box {
    background: #2a2a3e;
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #3a3a4e;
}

.status-area {
    margin-bottom: 20px;
}

#status {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #ffffff;
}

#progress-bar-container {
    width: 100%;
    height: 20px;
    background: #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4a90d9, #6a5acd);
    transition: width 0.3s ease;
}

#progress-text {
    font-size: 0.9rem;
    color: #b0b0c8;
}

.button-area {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #4a90d9;
    color: #ffffff;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background: #5a9ee9;
    transform: scale(1.02);
}

#log-area {
    max-height: 150px;
    overflow-y: auto;
    background: #1a1a2e;
    border-radius: 6px;
    padding: 10px;
    font-size: 0.85rem;
    font-family: monospace;
    text-align: left;
    color: #b0b0c8;
    border: 1px solid #3a3a4e;
}

#log-area div {
    padding: 2px 0;
}

.log-error { color: #f87171; }
.log-success { color: #4ade80; }
.log-info { color: #60a5fa; }

footer {
    margin-top: 30px;
    color: #6a6a80;
    font-size: 0.85rem;
}

footer a {
    color: #4a90d9;
    text-decoration: none;
}