/* ================================
   BAPES VAULT — BLACK & GOLD THEME
=================================== */

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: #000;
    color: #f5f5f5;
}

/* Remove wood + smoke */
.wood-bg, .smoke {
    display: none !important;
}

/* ================================
   HEADER
=================================== */
header .bridge-button {
    margin-bottom: 12px;
}

header .divider {
    margin-top: 15px;
    margin-bottom: 18px;
}

header {
    padding: 25px;
    text-align: center;
    border-bottom: 2px solid #b28c2e;
}

.title {
    font-size: 40px;
    font-weight: 700;
    color: #f9d972;
    letter-spacing: 2px;

    /* BARBER SWIRL VIBE */
    text-shadow:
        0 0 8px rgba(255, 220, 120, 0.8),
        0 0 12px rgba(255, 200, 80, 0.5),
        0 0 16px rgba(255, 255, 255, 0.2);
}

/* ================================
   BUTTONS — GLOBAL STYLE
=================================== */

button {
    font-family: inherit;
    cursor: pointer;
    transition: 0.25s ease;
}

/* CONNECT WALLET */
#connectButton {
    background: #111;
    border: 2px solid #b28c2e;
    color: #f9d972;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 18px;
}
#connectButton:hover {
    background: #222;
    transform: scale(1.05);
}

/* BRIDGE BUTTON */
.bridge-button {
    margin-top: 12px;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    background: #f9d972;
    border: 2px solid #b28c2e;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(249, 217, 114, 0.5);
}
.bridge-button:hover {
    transform: scale(1.05);
    background: #ffdf85;
}

/* ================================
   DIVIDER
=================================== */
.divider {
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, #b28c2e, #f9d972, #b28c2e);
    margin: 20px auto;
    border-radius: 2px;
}

/* ================================
   DASHBOARD CARDS
=================================== */

#dashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    padding: 10px;
}

.pool-card {
    width: 90%;
    max-width: 900px;
    padding: 18px 20px;
    margin-bottom: 15px;
    background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
    border: 2px solid #c8a44c;  /* gold border */
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 215, 100, 0.3);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fce9b0;
    font-size: 18px;
    font-weight: 600;
}
.pool-card span {
    display: inline-block;
}

.stat-card {
    width: 160px;
    padding: 18px;
    background: #111;
    border: 1px solid #b28c2e;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(249, 217, 114, 0.15);
    text-align: center;
}

.stat-card h3 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 22px;
    font-weight: 700;
    color: #f9d972;
}

/* ================================
   STAKE PANEL
=================================== */

#stake-panel {
    text-align: center;
    padding: 25px;
}

#stake-panel label {
    display: block;
    margin: 12px 0 4px;
    font-size: 16px;
    color: #f9d972;
}

#stakeAmount,
#lockSelect {
    width: 70%;
    padding: 10px;
    font-size: 18px;
    border-radius: 6px;
    border: 2px solid #b28c2e;
    background: #111;
    color: #f9d972;
}

/* STAKE BUTTON */
#stakeBtn {
    margin-top: 20px;
    padding: 12px 40px;
    font-size: 20px;
    background: #f9d972;
    color: #000;
    border: 2px solid #b28c2e;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(249, 217, 114, 0.4);
}
#stakeBtn:hover {
    transform: scale(1.05);
    background: #ffdf85;
}

/* ================================
   ACTION BUTTONS
=================================== */

#actions {
    text-align: center;
    margin-bottom: 40px;
}

#actions button {
    padding: 12px 30px;
    margin: 10px;
    font-size: 18px;
    background: #111;
    border: 2px solid #b28c2e;
    color: #f9d972;
    border-radius: 8px;
}
#actions button:hover {
    transform: scale(1.05);
    background: #222;
}

/* ================================
   MODAL — BLACK & GOLD
=================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-window {
    width: 90%;
    max-width: 650px;
    height: 85%;
    background: #000;
    border: 2px solid #b28c2e;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(249, 217, 114, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-close {
    align-self: flex-end;
    background: #111;
    color: #f9d972;
    border: 2px solid #b28c2e;
    padding: 6px 12px;
    font-size: 20px;
    cursor: pointer;
}
.modal-close:hover {
    background: #222;
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

/* ================================
   MOBILE
=================================== */
@media (max-width: 600px) {
    .pool-card {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
}


@media (max-width: 600px) {
    .stat-card {
        width: 42%;
    }
    .modal-window {
        width: 95%;
        height: 80%;
    }
}
