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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #00d9ff;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.version {
    font-size: 1.2em;
    color: #aaa;
}

.instructions {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.instructions h2 {
    margin-bottom: 15px;
    color: #ffd700;
}

.instructions ol {
    margin-left: 20px;
    line-height: 1.8;
}

.instructions code {
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 4px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
}

.status {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.2em;
    border-left: 4px solid #00d9ff;
}

.status.error {
    border-left-color: #ff4444;
    color: #ff4444;
}

.status.success {
    border-left-color: #00ff00;
    color: #00ff00;
}

.buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.4);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.6;
}

.log-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.log-container h3 {
    margin-bottom: 15px;
    color: #ffd700;
}

.log {
    background: #000;
    padding: 15px;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.6;
}

.log p {
    margin: 5px 0;
    color: #0f0;
}

.log .error {
    color: #f44;
}

.log .warning {
    color: #fa0;
}

.log .info {
    color: #0af;
}

footer {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    color: #aaa;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

/* Scrollbar styling */
.log::-webkit-scrollbar {
    width: 8px;
}

.log::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.log::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    .buttons {
        flex-direction: column;
    }
    
    button {
        width: 100%;
    }
}
