.ddBGnB {
    display: flex;
    flex-direction: column;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    position: relative;
    min-height: 30%;
    background: rgb(0, 0, 0);
    border-radius: 0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border: 1px solid rgb(56, 58, 61);
}

.jrvLdA {
    flex-direction: column;
}

.hFijLX {
    display: flex;
    gap: 0px;
    flex-flow: row;
    -webkit-box-pack: start;
    place-content: flex-start;
    align-items: flex-start;
    -webkit-box-flex: 0;
    flex: 1 1 0%;
    align-self: auto;
    order: 0;
}

.efuaYK {
    padding: 0.75rem 1.5rem;
    width: 100%;
}

.dnxXZS {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(231, 231, 231);
    font-family: "DM Sans", sans-serif;
    text-transform: none;
    white-space: normal;
    text-align: center;
    word-break: normal;
}

.itQaIW {
    font-size: 1rem;
    font-weight: normal;
    color: rgb(231, 231, 231);
    font-family: "DM Sans", sans-serif;
    text-transform: none;
    white-space: normal;
    text-align: center;
    word-break: normal;
}

.enlWso {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    margin-bottom: 0.5rem;
}

.gwkHoG {
    background: none;
    display: flex;
    padding: 0.75rem;
    gap: 1rem;
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
    color: rgb(255, 255, 255);
    border: none;
    font-size: 1rem;
    border-radius: 0.5rem;
    width: 350px;
    -webkit-box-pack: center;
    justify-content: center;
}

.gErehJ {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
}

.fOQKKl {
    font-size: 1.125rem;
    font-weight: bold;
    font-family: "DM Sans", sans-serif;
    text-transform: none;
    white-space: normal;
    text-align: center;
    word-break: normal;
}

/* 添加缺失的CSS类 */
.sc-9838e6a9-0 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.sc-9c63c1f1-0 {
    display: block;
}

.sc-9c63c1f1-1 {
    line-height: 1.5;
}

.sc-9da8e763-0 {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.sc-eea6bee2-0 {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.sc-eea6bee2-2 {
    flex: 1;
}

.sc-c55ac2b1-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #1a1a1a;
    padding: 2rem;
}

.grow {
    flex: 1;
}

/* Wallet触发按钮样式 */
.wallet-trigger-btn {
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #00fda8, #00c4a8);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: "DM Sans", sans-serif;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 253, 168, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.wallet-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 253, 168, 0.4);
}

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

/* Wallet弹窗遮罩样式 */
.wallet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* 允许鼠标事件穿透遮罩层 */
}

/* 弹窗容器样式调整 */
.wallet-overlay .sc-c55ac2b1-3 {
    position: relative;
    z-index: 10000;
    max-width: 400px;
    width: 90%;
    min-height: auto;
    margin: 0;
    animation: modalFadeIn 0.3s ease-out;
    pointer-events: auto; /* 确保弹窗内容可以接收鼠标事件 */
    transition: all 0.3s ease;
}

/* 弹窗容器悬停效果 */
.wallet-overlay .sc-c55ac2b1-3:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 253, 168, 0.1);
}

/* 弹窗动画 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 弹窗内鼠标光标样式优化 */
.wallet-overlay .cursor {
    z-index: 99999 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    display: block !important;
    position: fixed !important;
}

/* 确保主光标在弹窗中正确显示 */
.cursor {
    z-index: 99999 !important;
}

/* 当弹窗显示时，确保主光标可见 */
.wallet-overlay ~ .cursor,
body:has(.wallet-overlay:not([style*="display: none"])) .cursor {
    z-index: 99999 !important;
    opacity: 1 !important;
    display: block !important;
}

/* 确保光标在弹窗中可见且在最顶层 */
.wallet-overlay .cursor__inner {
    background-color: #00fda8 !important;
    width: 78px !important;
    height: 78px !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    position: relative !important;
}

/* 光标文字样式 */
.wallet-overlay .cursor__text {
    z-index: 99999 !important;
    position: relative !important;
    color: #000 !important;
    font-weight: bold !important;
}

/* 确保光标在所有弹窗元素之上 */
.wallet-overlay * {
    z-index: auto !important;
}

.wallet-overlay .cursor,
.wallet-overlay .cursor * {
    z-index: 99999 !important;
}

/* 弹窗内悬停效果 */
/* 标题悬停效果 */
.wallet-overlay .dnxXZS {
    transition: all 0.3s ease;
    cursor: pointer;
}

.wallet-overlay .dnxXZS:hover {
    transform: scale(1.1);
    color: #00fda8 !important;
    text-shadow: 0 0 10px rgba(0, 253, 168, 0.5);
}

/* 副标题悬停效果 */
.wallet-overlay .itQaIW {
    transition: all 0.3s ease;
    cursor: pointer;
}

.wallet-overlay .itQaIW:hover {
    transform: scale(1.05);
    color: #00fda8 !important;
    text-shadow: 0 0 8px rgba(0, 253, 168, 0.4);
}

/* MetaMask按钮悬停效果 */
.wallet-overlay .gwkHoG {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wallet-overlay .gwkHoG:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(0, 253, 168, 0.1), rgba(0, 196, 168, 0.1)) !important;
    border: 1px solid rgba(0, 253, 168, 0.3) !important;
    box-shadow: 0 0 20px rgba(0, 253, 168, 0.3);
}

/* MetaMask按钮文字悬停效果 */
.wallet-overlay .gwkHoG .fOQKKl {
    transition: all 0.3s ease;
}

.wallet-overlay .gwkHoG:hover .fOQKKl {
    transform: scale(1.1);
    color: #00fda8 !important;
    text-shadow: 0 0 10px rgba(0, 253, 168, 0.6);
}

/* MetaMask图标悬停效果 */
.wallet-overlay .gwkHoG .gErehJ {
    transition: all 0.3s ease;
}

.wallet-overlay .gwkHoG:hover .gErehJ {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(0, 253, 168, 0.4));
}

/* 按钮悬停时的发光效果 */
.wallet-overlay .gwkHoG::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 253, 168, 0.2), transparent);
    transition: left 0.5s ease;
}

.wallet-overlay .gwkHoG:hover::before {
    left: 100%;
}

/* 弹窗内容区域悬停效果 */
.wallet-overlay .sc-9da8e763-0 {
    transition: all 0.3s ease;
}

.wallet-overlay .sc-9da8e763-0:hover {
    transform: scale(1.02);
}

/* 按钮容器悬停效果 */
.wallet-overlay .enlWso {
    transition: all 0.3s ease;
}

.wallet-overlay .enlWso:hover {
    transform: translateY(-2px);
}

/* 添加脉冲动画效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 253, 168, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 253, 168, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 253, 168, 0);
    }
}

/* MetaMask按钮点击时的脉冲效果 */
.wallet-overlay .gwkHoG:active {
    animation: pulse 0.6s ease-out;
    transform: scale(0.98);
}

/* 文字悬停时的打字机效果 */
.wallet-overlay .dnxXZS:hover {
    animation: typewriter 0.5s ease-in-out;
}

@keyframes typewriter {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}