body, button, a, h1, h2, h3, h4, h5, h6, p {
    font-family: 'Open Sans', sans-serif;
}

/* Keep Web3Modal above your login modal; don't override internals */
#w3m-modal { 
  z-index: 10000 !important;
}
#w3m-modal[aria-hidden="true"] {
  pointer-events: none !important; /* prevent invisible overlay from eating clicks */
}

/* Ensure the main landing content stays below the modal */
.star-field-container .content {
  z-index: 1 !important;
}


.star-field-container {
    background-image: linear-gradient(355deg, #000000 0%, #5b2de2 100%);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.star-field {
    position: absolute;
    top: 0;
    left: 0;
}

.content {
    position: absolute;
    text-align: center;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
}

/* Logo */
.logo {
    max-width: 180px;
    margin-bottom: 15px;
}

/* Tagline */
.tagline {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #bbb;
}

/* Button */
.btn-login {
    display: inline-block;
    background: #7c4dff;
    color: #fff;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s ease;
}

.btn-login:hover {
    background: #5b2de2;
}


/* Modal overlay */
.login-modal {
    display: flex;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

/* Modal box */
.modal-content {
    background: #1c1c1e;
    padding: 30px;
    border-radius: 16px;
    width: 350px;
    max-width: 90%;
    text-align: center;
    color: white;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    animation: fadeIn 0.3s ease-in-out;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
    color: #aaa;
}
.close-btn:hover {
    color: white;
}

/* Modal header */
.modal-header {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Logo inside modal */
.modal-logo-img {
    width: 60px;
    margin: 10px auto 20px auto;
    display: block;
}

/* Input + button */
.input-group {
    display: flex;
    background: #2c2c2e;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}
.input-group input {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    background: transparent;
    color: white;
}
.input-group button {
    background: #7c4dff;
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: background 0.3s;
}
.input-group button:hover {
    background: #5b2de2;
}

/* Wallet button */
.wallet-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    background: transparent;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background 0.3s;
}
.wallet-btn:hover {
    background: #2c2c2e;
}

/* Footer */
.modal-footer {
    font-size: 12px;
    color: #888;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Back button */
.back-btn {
    background: none;
    border: none;
    color: #bbb;
    font-size: 16px;
    margin-bottom: 15px;
    cursor: pointer;
    text-align: left;
    display: block;
}

/* Wallet list */
.wallet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wallet-list li {
    background: #2c2c2e;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
    font-weight: 500;
}
.wallet-list li:hover {
    background: #3c3c3e;
}
.wallet-list img, 
.wallet-list svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
