body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f1318, #232b38);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(41, 196, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    padding: 30px;
    position: relative;
    z-index: 1;
}

/* 让用户中心和联系方式占据整行 */
.panel.full-width {
    grid-column: 1 / -1;
}

.panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    height: fit-content;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    transform: rotate(45deg);
    animation: lightSweep 3s infinite;
}

@keyframes lightSweep {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.panel:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.panel h2 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.8em;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    position: relative;
}

h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 35px;
    font-size: 2.5em;
    text-shadow: 
        0 0 10px rgba(0, 255, 136, 0.5),
        0 0 20px rgba(0, 255, 136, 0.3);
    letter-spacing: 2px;
}

.input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

input {
    flex: 1;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

button {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 5px 15px rgba(0, 255, 136, 0.3),
        0 0 20px rgba(0, 255, 136, 0.2);
}

button:hover::before {
    animation: buttonGlow 1s;
}

@keyframes buttonGlow {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.display {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-box {
    flex: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 136, 0.3);
}

.send-btn {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    letter-spacing: 1px;
}

.send-btn:hover {
    background: linear-gradient(135deg, #0056b3, #003d80);
}

.potato-link {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.2em;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.potato-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
}

.potato-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.potato-link:hover::before {
    animation: buttonGlow 1s;
}

.success-status {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.error-status {
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.pending-status {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    text-align: center;
    min-width: 300px;
    max-width: 90%;
    margin: 20px;
    color: #fff;
    font-size: 16px;
    position: relative;
    z-index: 10000;
}

.modal-content button {
    margin-top: 20px;
    min-width: 100px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
}

.modal-content button:hover {
    background: linear-gradient(135deg, #00cc6a, #00994d);
}

.balance-flash {
    animation: balanceFlash 0.5s ease;
}

@keyframes balanceFlash {
    0%, 100% { 
        color: #fff;
        text-shadow: none;
    }
    50% { 
        color: #00ff88;
        text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    }
}

/* 适配移动设备 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .panel {
        padding: 25px;
    }
    
    input, button {
        padding: 12px;
    }
}

.settings-panel {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-panel h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.settings-panel .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.settings-panel .form-group label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

.settings-panel .form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
}

.settings-panel .form-group input:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.3);
}

.settings-panel .btn {
    margin: 5px;
}

.settings-panel .error-message {
    color: #ff4444;
    margin-top: 10px;
    font-size: 14px;
}

.settings-panel .success-message {
    color: #00ff88;
    margin-top: 10px;
    font-size: 14px;
}