/* ── Reset ────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; width: 100%; }

/* ── Embedded mode (shell iframe) ─────────────────────────────── */
.embedded .main  { padding-top: 1rem; }
.embedded #glow-canvas { display: none; }
.embedded .fab-container { display: none !important; }

/* ── Body ─────────────────────────────────────────────────────── */
body {
    background-color: #000000;
    color: #f8f8f2;
    font-family: 'Satoshi', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

/* ── Links ────────────────────────────────────────────────────── */
a { color: #bd93f9; text-decoration: none; transition: opacity 0.2s ease; }
a:hover { opacity: 0.8; }

/* ── Canvas background ────────────────────────────────────────── */
#glow-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; z-index: 0;
    pointer-events: none;
}

/* ── Wallet button ────────────────────────────────────────────── */
.btn-wallet {
    background: rgba(152, 232, 193, 0.1);
    border: 1px solid rgba(152, 232, 193, 0.3);
    color: #98e8c1; padding: 0.4rem 0.8rem;
    font-family: 'Satoshi', sans-serif; font-size: 0.75rem;
    cursor: pointer; border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-wallet:hover {
    background: rgba(152, 232, 193, 0.2);
    border-color: rgba(152, 232, 193, 0.5);
}
.btn-wallet.connected {
    background: rgba(152, 232, 193, 0.15);
    border-color: rgba(152, 232, 193, 0.4);
}

/* ── FAB Navigation ───────────────────────────────────────────── */
.fab-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    pointer-events: auto;
}

.fab-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #98e8c1;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(152, 232, 193, 0.3);
}
.fab-btn:hover {
    background: #b0f0d0;
    box-shadow: 0 4px 25px rgba(152, 232, 193, 0.5);
    transform: scale(1.08);
}
.fab-btn svg {
    transition: transform 0.3s ease;
}
.fab-container.open .fab-btn svg {
    transform: rotate(45deg);
}

.fab-menu {
    position: absolute;
    bottom: 58px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 0.5rem;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(152, 232, 193, 0.2);
    border-radius: 12px;
    min-width: 150px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
}
.fab-container.open .fab-menu {
    display: flex;
}

.fab-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: #d2d3d8;
    font-family: 'Satoshi', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.15s ease;
}
.fab-menu a:hover {
    background: rgba(152, 232, 193, 0.1);
    color: #f8f8f2;
    opacity: 1;
}
.fab-menu a.active {
    color: #98e8c1;
    background: rgba(152, 232, 193, 0.08);
}
.fab-menu .fab-divider {
    height: 1px;
    background: rgba(152, 232, 193, 0.1);
    margin: 0.15rem 0.5rem;
}
.fab-menu .fab-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(152, 232, 193, 0.4);
    padding: 0.25rem 0.75rem 0.1rem;
    font-family: 'Satoshi', sans-serif;
}

/* ── Hide any legacy header ───────────────────────────────────── */
.header { display: none !important; }
