* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a0d00 50%, #2d1a00 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.header {
    margin-top: 40px;
    text-align: center;
}

.header h1 {
    font-size: 48px;
    color: #ff8c00;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    letter-spacing: 2px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
}

.box {
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid #ff8c00;
    padding: 50px;
    width: 500px;
    text-align: center;
}

.box h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#username {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ff8c00;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    outline: none;
    margin-bottom: 20px;
}

#username::placeholder {
    color: #999;
}

#username:focus {
    border-color: #ffa500;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

#continueBtn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    background: #ff8c00;
    color: #000000;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#continueBtn:hover {
    background: #ffa500;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

#continueBtn:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

.message {
    margin-top: 20px;
    padding: 15px;
    font-size: 16px;
    display: none;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.success {
    display: block;
    color: #00ff00;
    border: 2px solid #00ff00;
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.message.error {
    display: block;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

.message.info {
    display: block;
    color: #ff8c00;
    border: 2px solid #ff8c00;
    background: rgba(255, 140, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

.loader {
    border: 4px solid rgba(255, 140, 0, 0.2);
    border-top: 4px solid #ff8c00;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    display: none;
}

.loader.active {
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .box {
        width: 90%;
        padding: 30px;
    }
    
    .header h1 {
        font-size: 32px;
    }
}

