/* styles.css - tema escuro, mobile-first */
:root {
    --bg: #141414;
    --panel: #1e1e1e;
    --accent: #11c08a;
    --muted: #9aa0a6;
    --card-radius: 12px;
    --gap: 14px;
    font-family: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    background: var(--bg);
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 72px;
    /* espaço para menu inferior */
}

.topbar {
    padding: 18px 16px 6px 16px;
    background: transparent;
}

.topbar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.topbar h1 {
    color: var(--accent);
    margin: 0;
    font-weight: 800;
    letter-spacing: 2px;
}

.info-btn {
    position: absolute;
    right: 0;
    background: none;
    border: 0;
    color: #b9b9b9;
    font-size: 18px;
}

.container {
    padding: 16px;
}

.promo {
    background: var(--panel);
    padding: 12px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.promo-img {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    border-radius: 6px
}

.ticker {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    border-bottom: 3px solid rgba(17, 192, 138, 0.12);
    padding: 8px 0 14px 0;
    margin-bottom: 12px;
    font-size: 14px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.card {
    display: block;
    height: 120px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: lowercase;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.card-gradient.green {
    background: linear-gradient(135deg, #5fe3b0, #84e6c0)
}

.card-gradient.blue {
    background: linear-gradient(135deg, #69d2ff, #9bd7ff)
}

.card-gradient.yellow {
    background: linear-gradient(135deg, #ffd07a, #ffdf9a)
}

.card-gradient.purple {
    background: linear-gradient(135deg, #f39aff, #d5a7ff)
}

.wallet {
    margin-top: 6px;
}

.wallet h2 {
    color: var(--accent);
    margin: 8px 0;
}

.balance {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 8px;
}

.balance-details {
    display: flex;
    gap: 8px;
    margin-bottom: 12px
}

.chip {
    background: #2a2a2a;
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--muted);
    flex: 1;
    text-align: center
}

.wallet-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px
}

.btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 0;
    font-weight: 600
}

.btn.primary {
    background: linear-gradient(90deg, #10b482, #11c08a);
    color: #fff
}

.btn.ghost {
    background: #27404a;
    color: #d7f6ee
}

.list {
    background: #222;
    padding: 10px;
    border-radius: 10px
}

.list-item {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    border-radius: 8px;
    color: #ddd;
    margin-bottom: 8px;
    text-decoration: none;
}

.list-item .icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #2e2e2e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px
}

.list-item .right {
    margin-left: auto;
    color: var(--muted)
}

.bottombar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62px;
    background: #17252b;
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.tab {
    flex: 1;
    text-align: center;
    color: #bbb;
    text-decoration: none;
    padding-top: 8px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tab i {
    font-size: 18px;
    margin-bottom: 4px
}

.tab.active {
    color: var(--accent)
}