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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2.2rem;
    font-weight: bold;
    color: #FFD700;
    position: relative;
}

.logo-icon {
    font-size: 2.5rem;
    animation: pulse-glow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 8px #FFD700);
}

.logo-text {
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

@keyframes pulse-glow {
    0% { 
        transform: scale(1);
        filter: drop-shadow(0 0 8px #FFD700);
    }
    100% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px #FFD700);
    }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.brand-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.feature-badge.rental {
    background: linear-gradient(45deg, #FF4500, #FF6347);
    color: white;
    border: 1px solid #FF4500;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.4);
    animation: glow-orange 2s ease-in-out infinite alternate;
}

.feature-badge.guarantee {
    background: linear-gradient(45deg, #00FF88, #00CC6A);
    color: #000000;
    border: 1px solid #00FF88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
    animation: glow-green 2s ease-in-out infinite alternate;
}

@keyframes glow-orange {
    0% { box-shadow: 0 0 5px rgba(255, 69, 0, 0.4); }
    100% { box-shadow: 0 0 15px rgba(255, 69, 0, 0.6); }
}

@keyframes glow-green {
    0% { box-shadow: 0 0 5px rgba(0, 255, 136, 0.4); }
    100% { box-shadow: 0 0 15px rgba(0, 255, 136, 0.6); }
}

.subtitle {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.price-label {
    font-size: 0.85rem;
    color: #999999;
    font-weight: normal;
    letter-spacing: 1px;
}

.price {
    font-size: 1.4rem;
    color: #FF0000;
    font-weight: bold;
    padding: 0.5rem 1rem;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    min-width: 200px;
    transition: all 0.3s ease;
}

.price:not(:empty) {
    animation: price-highlight 1s ease-out;
}

@keyframes price-highlight {
    0% { 
        background: rgba(255, 0, 0, 0.3);
        transform: scale(1.05);
    }
    100% { 
        background: rgba(255, 0, 0, 0.1);
        transform: scale(1);
    }
}

.card {
    background-color: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #FFD700;
}

/* 购买模块特殊样式 */
#purchaseCard {
    background-color: #1a1a1a;
    border: 2px solid #FFD700;
}

#purchaseCard .card-title {
    font-size: 1.5rem;
    text-align: center;
    color: #FFD700;
    margin-bottom: 2rem;
}

.address-section {
    margin-bottom: 2rem;
    background-color: #0a0a0a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333333;
}

.address-label {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #FFD700;
    font-weight: bold;
    text-align: center;
}

.address-box {
    background-color: #1a1a1a;
    border: 2px solid #FF0000;
    border-radius: 8px;
    padding: 1.5rem;
    font-family: monospace;
    font-size: 1rem;
    word-break: break-all;
    color: #FFD700;
    text-align: center;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.address-box:hover {
    background-color: #2a2a2a;
    border-color: #FFD700;
}

.address-box:active {
    background-color: #333333;
}

.copy-hint {
    text-align: center;
    font-size: 0.8rem;
    color: #999999;
    margin-top: 0.5rem;
    font-style: italic;
}

/* 购买步骤样式 */
#purchaseCard .steps {
    list-style: none;
    counter-reset: step-counter;
    background-color: #0a0a0a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333333;
}

#purchaseCard .steps li {
    counter-increment: step-counter;
    margin-bottom: 1rem;
    padding: 0.8rem;
    padding-left: 3rem;
    position: relative;
    background-color: #1a1a1a;
    border-radius: 6px;
    border: 1px solid #333333;
}

#purchaseCard .steps li:last-child {
    margin-bottom: 0;
}

#purchaseCard .steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FF0000;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.amount {
    color: #FFD700;
    font-weight: bold;
}

.warning {
    background-color: #2a1a00;
    border: 1px solid #FFD700;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.warning-title {
    color: #FFD700;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #cccccc;
    display: block;
}

.input-field {
    width: 100%;
    background-color: #000000;
    border: 2px solid #333333;
    border-radius: 8px;
    padding: 0.8rem;
    font-size: 0.9rem;
    color: #ffffff;
    font-family: monospace;
    transition: border-color 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: #FFD700;
}

.input-field.error {
    border-color: #FF0000;
}

.input-field.success {
    border-color: #28a745;
}

.check-btn {
    background-color: #FF0000;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 0.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    user-select: none;
    touch-action: manipulation;
}

.check-btn:hover {
    background-color: #cc0000;
}

.check-btn:disabled {
    background-color: #666666;
    cursor: not-allowed;
}

.status-box {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    display: none;
}

.status-box.show {
    display: block;
}

.status-box.activated {
    border-color: #28a745;
}

.status-box.unactivated {
    border-color: #FF0000;
}

.status-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.status-title.activated {
    color: #28a745;
}

.status-title.unactivated {
    color: #FF0000;
}

.price-calculation {
    background-color: #0a0a0a;
    border: 2px solid #FFD700;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    display: none;
}

.price-calculation.show {
    display: block;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.calc-row.total {
    border-top: 1px solid #333333;
    padding-top: 0.5rem;
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
    color: #FFD700;
}

.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #333333;
    border-radius: 50%;
    border-top-color: #FFD700;
    animation: spin 1s ease-in-out infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes highlightPulse {
    0% { border-color: #FFD700; box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    50% { border-color: #FF0000; box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { border-color: #FFD700; box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.purchase-highlight {
    animation: highlightPulse 2s ease-in-out;
    border: 3px solid #FFD700 !important;
}

.scroll-indicator {
    background-color: #FFD700;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    margin: 1rem 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.scroll-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-indicator::after {
    content: "👇";
    margin-left: 0.5rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 购买模块额外视觉元素 */
.payment-badge {
    display: inline-block;
    background-color: #FFD700;
    color: #000000;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 0.5rem;
    border: 1px solid #000000;
    white-space: nowrap;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.urgency-indicator {
    background-color: #FF0000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    margin: 1rem 0;
    font-size: 0.9rem;
    font-weight: bold;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px #FF0000; }
    to { box-shadow: 0 0 20px #FF0000; }
}

.monitoring-status {
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border: 2px solid #0f3460;
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.monitoring-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(15, 52, 96, 0.4), transparent);
    animation: monitoring-scan 2s linear infinite;
}

@keyframes monitoring-scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.monitoring-icon {
    font-size: 1.5rem;
    animation: monitoring-blink 1s ease-in-out infinite alternate;
}

@keyframes monitoring-blink {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

.monitoring-text {
    flex: 1;
    color: #87ceeb;
    font-weight: bold;
    font-size: 0.9rem;
}

.monitoring-timer {
    background: #0f3460;
    color: #87ceeb;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    min-width: 60px;
    text-align: center;
    border: 1px solid #1e5d8b;
}

.monitoring-status.success {
    background: linear-gradient(45deg, #0d5d0d, #1a4d1a);
    border-color: #28a745;
    animation: success-pulse 0.5s ease-out;
}

.monitoring-status.success .monitoring-text {
    color: #90ee90;
}

.monitoring-status.success .monitoring-timer {
    background: #28a745;
    color: white;
    border-color: #34ce57;
}

.monitoring-status.timeout {
    background: linear-gradient(45deg, #5d0d0d, #4d1a1a);
    border-color: #dc3545;
}

.monitoring-status.timeout .monitoring-text {
    color: #ffb3b3;
}

.monitoring-status.timeout .monitoring-timer {
    background: #dc3545;
    color: white;
    border-color: #e74c3c;
}

@keyframes success-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.success-indicator {
    background-color: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: bold;
    display: none;
}

.success-indicator.show {
    display: block;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 交易记录模块样式 */
#transactionCard {
    background-color: #0a0a0a;
    border: 2px solid #333333;
}

.transaction-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333333;
}

.transaction-info .info-label {
    color: #cccccc;
    font-size: 0.9rem;
}

.transaction-info .info-value {
    color: #FFD700;
    font-family: monospace;
    font-size: 0.8rem;
    word-break: break-all;
}


.transaction-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    color: #999999;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #333333;
    border-top: 2px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.transaction-item {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.transaction-item:hover {
    border-color: #FFD700;
}

.transaction-item:last-child {
    margin-bottom: 0;
}

.transaction-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.transaction-row:last-child {
    margin-bottom: 0;
}

.transaction-label {
    color: #cccccc;
    font-size: 0.8rem;
    font-weight: bold;
}

.transaction-value {
    font-family: monospace;
    font-size: 0.8rem;
}

.transaction-amount {
    color: #00ff88;
    font-weight: bold;
}

.transaction-hash {
    color: #FFD700;
    cursor: pointer;
    text-decoration: underline;
}

.transaction-time {
    color: #999999;
}

.transaction-from {
    color: #88ccff;
    word-break: break-all;
}

.transaction-status {
    font-weight: bold;
}

.transaction-status.completed {
    color: #00ff88;
}

.transaction-status.pending {
    color: #ffaa00;
}

.transaction-item.completed {
    border-left: 4px solid #00ff88;
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.05), rgba(26, 26, 26, 1));
}

.transaction-item.pending {
    border-left: 4px solid #ffaa00;
    background: linear-gradient(90deg, rgba(255, 170, 0, 0.05), rgba(26, 26, 26, 1));
}

.transaction-footer {
    padding-top: 1rem;
    border-top: 1px solid #333333;
    text-align: center;
}

.proof-text {
    color: #00ff88;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.blockchain-link a {
    color: #FFD700;
    text-decoration: none;
    font-size: 0.8rem;
}

.blockchain-link a:hover {
    text-decoration: underline;
}

.no-transactions {
    text-align: center;
    color: #999999;
    padding: 2rem;
    font-style: italic;
}

.error-message {
    text-align: center;
    color: #FF0000;
    padding: 1rem;
    background-color: #2a1a1a;
    border-radius: 6px;
    border: 1px solid #FF0000;
}

/* 大屏幕平板 */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .header {
        margin-bottom: 1.8rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .logo-icon {
        font-size: 2.2rem;
    }
    
    .brand-badges {
        gap: 0.8rem;
    }
    
    .feature-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.7rem;
    }
    
    .card {
        padding: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .transaction-header {
        text-align: center;
    }
}

/* 小屏幕手机 */
@media (max-width: 480px) {
    .container {
        padding: 0.8rem;
        min-height: auto;
        justify-content: flex-start;
        padding-top: 1rem;
    }
    
    .logo {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .logo-icon {
        font-size: 1.8rem;
    }
    
    .brand-badges {
        gap: 0.6rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .price {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
        min-width: 180px;
    }
    
    .price-label {
        font-size: 0.75rem;
    }
    
    .header {
        margin-bottom: 1.2rem;
    }
    
    .card {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
        border-radius: 8px;
    }
    
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .input-field {
        padding: 1rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    .check-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 6px;
        margin-top: 0.8rem;
        min-height: 48px;
    }
    
    .address-box {
        font-size: 0.8rem;
        padding: 1.2rem 0.8rem;
        border-radius: 6px;
        line-height: 1.6;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .address-section {
        padding: 1.2rem;
        border-radius: 6px;
    }
    
    .address-label {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    #purchaseCard .steps {
        padding: 1.2rem;
        border-radius: 6px;
    }
    
    #purchaseCard .steps li {
        padding: 1rem;
        padding-left: 3.5rem;
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        border-radius: 5px;
        line-height: 1.5;
    }
    
    #purchaseCard .steps li::before {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.8rem;
        left: 0.8rem;
    }
    
    .payment-badge {
        display: block;
        margin: 0.8rem auto 0 auto;
        text-align: center;
        width: fit-content;
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
        border-radius: 3px;
    }
    
    #purchaseCard .card-title {
        text-align: center;
        line-height: 1.5;
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .urgency-indicator {
        font-size: 0.8rem;
        padding: 1rem;
        border-radius: 15px;
        margin: 1.2rem 0;
    }
    
    .monitoring-status {
        padding: 0.8rem;
        gap: 0.8rem;
        margin: 1rem 0;
    }
    
    .monitoring-icon {
        font-size: 1.2rem;
    }
    
    .monitoring-text {
        font-size: 0.8rem;
    }
    
    .monitoring-timer {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
        min-width: 50px;
    }
    
    .transaction-header {
        text-align: center;
        padding-bottom: 0.8rem;
    }
    
    .transaction-info .info-label {
        font-size: 0.8rem;
    }
    
    .transaction-info .info-value {
        font-size: 0.7rem;
        margin-top: 0.2rem;
        display: block;
    }
    
    .transaction-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        margin-bottom: 0.8rem;
    }
    
    .transaction-label {
        font-size: 0.75rem;
        font-weight: bold;
    }
    
    .transaction-value {
        font-size: 0.8rem;
        margin-left: 0.5rem;
    }
    
    .transaction-item {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 5px;
    }
    
    .transaction-list {
        max-height: 280px;
    }
    
    .status-box {
        padding: 1rem;
        border-radius: 6px;
    }
    
    .price-calculation {
        padding: 1rem;
        border-radius: 6px;
    }
    
    .calc-row {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .calc-row.total {
        font-size: 1rem;
        padding-top: 0.6rem;
        margin-top: 0.8rem;
    }
    
    .scroll-indicator {
        font-size: 0.8rem;
        padding: 0.8rem 1rem;
        border-radius: 15px;
        margin: 0.8rem 0;
    }
    
    .warning {
        padding: 1rem;
        border-radius: 6px;
        font-size: 0.85rem;
        margin-top: 1.5rem;
    }
    
    .warning-title {
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }
}

/* 超小屏幕手机 */
@media (max-width: 360px) {
    .container {
        padding: 0.5rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo-icon {
        font-size: 1.6rem;
    }
    
    .brand-badges {
        gap: 0.5rem;
    }
    
    .feature-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .price {
        font-size: 1rem;
        padding: 0.3rem 0.6rem;
        min-width: 160px;
    }
    
    .price-label {
        font-size: 0.7rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .address-box {
        font-size: 0.75rem;
        padding: 1rem 0.6rem;
        line-height: 1.8;
    }
    
    #purchaseCard .steps li {
        padding: 0.8rem;
        padding-left: 3rem;
        font-size: 0.8rem;
    }
    
    #purchaseCard .steps li::before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.7rem;
        left: 0.6rem;
    }
    
    .transaction-value {
        font-size: 0.75rem;
    }
    
    .transaction-list {
        max-height: 240px;
    }
    
    .input-field {
        font-size: 0.8rem;
    }
    
    .check-btn {
        font-size: 0.85rem;
        padding: 0.9rem 1.2rem;
    }
    
    .monitoring-status {
        padding: 0.6rem;
        gap: 0.6rem;
        margin: 0.8rem 0;
    }
    
    .monitoring-icon {
        font-size: 1rem;
    }
    
    .monitoring-text {
        font-size: 0.75rem;
    }
    
    .monitoring-timer {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
        min-width: 45px;
    }
}

/* 错误提示和演示模式样式 */
.error-message {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #2a1a1a 0%, #1a1a1a 100%);
    border: 1px solid #444;
    border-radius: 12px;
    margin: 1rem 0;
}

.error-details {
    margin: 1rem 0;
    padding: 0.8rem;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
}

.solution-box {
    margin: 1.2rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #2a1a00 0%, #1a1500 100%);
    border: 1px solid #FFD700;
    border-radius: 10px;
    font-size: 0.85rem;
    text-align: left;
}

.solution-list {
    margin-top: 0.8rem;
    line-height: 1.8;
}

.solution-list code {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.8rem;
}

.retry-section {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.retry-btn {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #FF0000, #cc0000);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 100px;
}

.retry-btn:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.demo-btn {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 100px;
}

.demo-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.api-warning {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #2a1a00 0%, #1a1500 100%);
    border: 1px solid #FFD700;
    border-radius: 10px;
    margin: 1rem 0;
    color: #FFD700;
    font-weight: bold;
}

.api-warning small {
    display: block;
    font-size: 0.8rem;
    color: #cccccc;
    margin-top: 0.5rem;
    font-weight: normal;
}

/* 能量转移信息样式 */
.energy-tx-hash {
    color: #40E0D0;
    cursor: pointer;
    text-decoration: underline;
    font-family: monospace;
    font-weight: bold;
    transition: all 0.3s ease;
}

.energy-tx-hash:hover {
    color: #87CEEB;
    text-shadow: 0 0 6px rgba(64, 224, 208, 0.5);
}

.energy-method {
    color: #9370DB;
    font-size: 0.8rem;
    font-style: italic;
    background: rgba(147, 112, 219, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    border: 1px solid rgba(147, 112, 219, 0.3);
}

/* 已完成交易的能量信息高亮 */
.transaction-item.completed .energy-tx-hash {
    color: #00FF7F;
    text-shadow: 0 0 4px rgba(0, 255, 127, 0.4);
}

.transaction-item.completed .energy-method {
    color: #98FB98;
    background: rgba(152, 251, 152, 0.1);
    border-color: rgba(152, 251, 152, 0.3);
}

/* 处理中交易的能量信息样式 */
.transaction-item.pending .energy-method {
    color: #FFB347;
    background: rgba(255, 179, 71, 0.1);
    border-color: rgba(255, 179, 71, 0.3);
}

/* 调试按钮样式 */
.debug-btn {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.debug-btn:hover {
    background: linear-gradient(135deg, #F7931E, #FF6B35);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.debug-btn:active {
    transform: translateY(0);
}

/* 刷新提示样式 */
.refresh-notice {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    text-align: center;
    margin-top: 0.5rem;
    animation: refresh-slide-in 0.3s ease-out;
}

@keyframes refresh-slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 交易时间显示改进 */
.transaction-time {
    color: #999999;
    font-size: 0.75rem;
}

/* 交易状态更明显的显示 */
.transaction-status.completed {
    color: #00ff88;
    font-weight: bold;
    text-shadow: 0 0 4px rgba(0, 255, 136, 0.3);
}

.transaction-status.pending {
    color: #ffaa00;
    font-weight: bold;
    text-shadow: 0 0 4px rgba(255, 170, 0, 0.3);
    animation: pending-pulse 2s ease-in-out infinite;
}

@keyframes pending-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 交易项状态边框增强 */
.transaction-item.completed {
    border-left: 4px solid #00ff88;
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.08), rgba(26, 26, 26, 1));
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

.transaction-item.pending {
    border-left: 4px solid #ffaa00;
    background: linear-gradient(90deg, rgba(255, 170, 0, 0.08), rgba(26, 26, 26, 1));
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.1);
}

.transaction-item:hover {
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

/* 改进的加载动画 */
.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 2rem;
    color: #999;
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-left: 3px solid #FFD700;
    border-radius: 50%;
    animation: loading-spin 1s linear infinite;
}

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

/* 无交易时的显示 */
.no-transactions {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1rem;
    background: rgba(255, 215, 0, 0.05);
    border: 1px dashed #FFD700;
    border-radius: 8px;
    margin: 1rem 0;
}

/* 响应式设计改进 */
@media (max-width: 480px) {
    .error-message {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .solution-box {
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    .solution-list code {
        font-size: 0.75rem;
    }
    
    .retry-section {
        flex-direction: column;
        align-items: center;
    }
    
    .retry-btn,
    .demo-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .api-warning {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .debug-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .transaction-item {
        padding: 0.8rem;
    }
    
    .transaction-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .transaction-value {
        margin-left: 0.5rem;
        font-size: 0.75rem;
    }
    
    .energy-tx-hash {
        font-size: 0.7rem;
    }
    
    .energy-method {
        font-size: 0.7rem;
        padding: 0.15rem 0.3rem;
    }
}