/* Modal Styles Fix */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 30px;
    border: none;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: modalSlideIn 0.3s ease-out;
}

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

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #fff;
    text-decoration: none;
}

.wallet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin: 10px 0;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.wallet:hover {
    background: rgba(255,255,255,0.2);
    border-color: #1da1f2;
    transform: translateY(-2px);
}

.wallet p {
    margin: 0;
    font-weight: 600;
}

.wallet img {
    border-radius: 8px;
}

.wallet a {
    padding: 8px 16px !important;
    background: #1da1f2 !important;
    color: white !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

.wallet a:hover {
    background: #0d8bd9 !important;
    transform: scale(1.05) !important;
}

.progressBar {
    margin: 20px 0;
}

.progressInfo {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #ccc;
}

.progress {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress::after {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1da1f2, #00d4ff);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.alert {
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    font-weight: 500;
}

.alert-info {
    background: rgba(23, 162, 184, 0.2);
    border: 1px solid #17a2b8;
    color: #b8daff;
}

.progressBottomInfo {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

.progressBottomInfo a {
    color: #1da1f2;
    text-decoration: none;
}

.progressBottomInfo a:hover {
    text-decoration: underline;
}

/* Launch App Button Styles */
.glassButton {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    transition: all 0.3s ease !important;
}

.glassButton:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3) !important;
}

/* Connect Wallet Button */
#loginBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    padding: 15px 30px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px auto;
}

#loginBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

#loginBtn img {
    width: 24px;
    height: 24px;
}

#loginBtn p {
    margin: 0;
    font-size: 16px;
}
