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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #142530;
    background: linear-gradient(135deg, #142530 0%, #1a2f3f 50%, #0f1a24 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #e0e0e0;
}

.container {
    width: 100%;
    max-width: 600px;
}

header {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #ffffff 0%, #a0c4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.85;
    color: #b0c4de;
}

.card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card h2 {
    margin-bottom: 20px;
    color: #a0c4ff;
    font-size: 1.5em;
    background: linear-gradient(135deg, #a0c4ff 0%, #7db3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #b0c4de;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    font-size: 1em;
    color: #ffffff;
    transition: all 0.3s;
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group input:focus {
    outline: none;
    border-color: #7db3ff;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 10px rgba(125,179,255,0.3);
}

.info-text {
    color: #b0c4de;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #7db3ff 0%, #5a9eff 50%, #4a8eff 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(125,179,255,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125,179,255,0.5);
    background: linear-gradient(135deg, #8fc4ff 0%, #6aafff 50%, #5a9eff 100%);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
    margin-top: 10px;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wallet-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
}

.wallet-info p {
    margin-bottom: 10px;
    word-break: break-all;
    color: #e0e0e0;
}

#wallet-address {
    font-family: monospace;
    color: #7db3ff;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

#status-section {
    margin-top: 20px;
}

.status-success {
    padding: 15px;
    background: linear-gradient(135deg, rgba(76,175,80,0.2) 0%, rgba(56,142,60,0.2) 100%);
    border: 1px solid rgba(76,175,80,0.4);
    border-radius: 8px;
    color: #81c784;
}

.status-error {
    padding: 15px;
    background: linear-gradient(135deg, rgba(244,67,54,0.2) 0%, rgba(198,40,40,0.2) 100%);
    border: 1px solid rgba(244,67,54,0.4);
    border-radius: 8px;
    color: #ef5350;
}

.loading {
    text-align: center;
    color: #ffffff;
    margin-top: 20px;
}

.spinner {
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid #7db3ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
    box-shadow: 0 0 10px rgba(125,179,255,0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
