@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background-color: #0b0e11;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Header */
.header {
    background-color: #0b0e11;
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #f0b90b;
}

.header img {
    height: 50px;
    margin-right: 20px;
}

.header .menu a {
    color: #f0f0f0;
    text-decoration: none;
    margin-left: 15px;
    font-size: 16px;
}

.header .menu a:hover {
    color: #f0b90b;
}

/* Hero */
.hero {
    text-align: center;
    padding: 50px 20px;
}

.hero-title {
    margin-bottom: 40px;
}

.hero-title h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
}

.hero-title h1 .white {
    color: #fff;
}

.hero-title h1 .yellow {
    color: #f0b90b;
}

/* Saldo */
.balance-display {
    background-color: #1e2329;
    padding: 20px;
    border-radius: 8px;
    margin: 0 auto 20px;
    width: 250px;
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
}

.balance-value {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
}

.hero .button {
    background-color: #f0b90b;
    color: #0b0e11;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s;
    display: inline-block;
}

.hero .button:hover {
    background-color: #d89c08;
}

/* Market */
.market {
    background-color: #1e2329;
    margin: 20px;
    padding: 20px;
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.market h2 {
    margin-bottom: 15px;
    color: #fff;
}

.market-table {
    width: 100%;
    border-collapse: collapse;
}

.market-table th, .market-table td {
    padding: 12px;
    border-bottom: 1px solid #333;
    text-align: left;
}

.market-table th {
    color: #f0b90b;
}

.market-table td .coin-info {
    display: flex;
    align-items: center;
}

.market-table td .coin-info .coin-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 50%;
}

.price-up {
    color: #0f0;
}

.price-down {
    color: #f04438;
}

/* Notícias */
.news {
    background-color: #1e2329;
    margin: 20px;
    padding: 20px;
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.news-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.news-header a {
    font-size: 14px;
    color: #8b949e;
    text-decoration: none;
}

.news-header a:hover {
    text-decoration: underline;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.4;
}

/* Botão Flutuante Telegram */
.floating-support-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #f0b90b;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: background-color 0.3s;
}

.floating-support-button:hover {
    background-color: #d89c08;
}

.floating-support-button img {
    width: 28px;
    height: 28px;
}

/* Deposit / Sacar Section */
.deposit-section {
    background-color: #1e2329;
    max-width: 450px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: #f0f0f0;
}

.deposit-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.deposit-section form {
    display: flex;
    flex-direction: column;
}

.deposit-section label {
    text-align: left;
    font-size: 14px;
    margin-bottom: 6px;
}

.deposit-section input[type="number"],
.deposit-section input[type="text"],
.deposit-section select {
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #333;
    margin-bottom: 20px;
    font-size: 16px;
    background-color: #0b0e11;
    color: #f0f0f0;
    transition: border-color 0.3s, background-color 0.3s;
}

.deposit-section input[type="number"]:focus,
.deposit-section input[type="text"]:focus,
.deposit-section select:focus {
    border-color: #f0b90b;
    outline: none;
    background-color: #14181f;
}

.deposit-section .summary {
    font-size: 14px;
    margin-bottom: 20px;
    color: #f0f0f0;
}
.custom-input:focus {
    border-color: #f0b90b;
    outline: none;
    background-color: #14181f;
}

/* Responsivo para celular */
@media (max-width: 768px) {

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header .menu {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
    }

    .header .menu a {
        margin: 5px 10px 0 0;
    }

    .hero {
        padding: 30px 10px;
    }

    .hero-title h1 {
        font-size: 32px;
    }

    .balance-display {
        width: 100%;
    }

    .hero .button {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }

    .market {
        padding: 15px;
        margin: 15px;
    }

    .market h2 {
        font-size: 20px;
    }

    .market-table th, .market-table td {
        padding: 10px 8px;
        font-size: 14px;
    }

    .news {
        padding: 15px;
        margin: 15px;
    }

    .news-header h2 {
        font-size: 16px;
    }

    .deposit-section {
        max-width: 95%;
        margin: 20px auto;
        padding: 20px;
    }

    .deposit-section h2 {
        font-size: 20px;
    }

    .deposit-section input[type="number"],
    .deposit-section input[type="text"],
    .custom-select {
        padding: 12px;
        font-size: 15px;
    }

    .deposit-section .deposit-button {
        padding: 14px;
        font-size: 15px;
    }

    .floating-support-button {
        bottom: 15px;
        right: 15px;
        padding: 10px;
    }

    .floating-support-button img {
        width: 24px;
        height: 24px;
    }
}
.deposit-section .summary img {
    width: 32px;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 6px;
}

.deposit-section .deposit-button {
    background-color: #f0b90b;
    color: #0b0e11;
    padding: 14px;
    text-align: center;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.deposit-section .deposit-button:hover {
    background-color: #d89c08;
}

.deposit-section .back-link {
    display: inline-block;
    margin-top: 15px;
    color: #8b949e;
    text-decoration: none;
    font-size: 14px;
}

.deposit-section .back-link:hover {
    text-decoration: underline;
}
/* Gráfico Trade (Lightweight Charts) */
#tvchart {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    background-color: #0b0e11;
    padding: 8px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#tvchart:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    transform: scale(1.01);
}

@media (max-width: 768px) {
    .deposit-section {
        width: 90%;
        padding: 15px;
    }

    .hero-title h1 {
        font-size: 28px;
    }

    .balance-display {
        width: 100%;
    }

    .market, .news {
        padding: 15px;
        margin: 10px;
    }

    .market-table th, .market-table td {
        font-size: 14px;
        padding: 8px;
    }

    .button, .deposit-button {
        font-size: 16px;
        padding: 12px 20px;
    }

    .floating-support-button {
        bottom: 15px;
        right: 15px;
        padding: 10px;
    }

    #tvchart {
        height: 250px; /* menor gráfico no mobile */
    }
}
    /* Valor do saldo alinhado com R$ */
.balance-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    background-color: #1e2329;
    padding: 20px;
    border-radius: 8px;
}
.balance-value .currency {
    font-size: 32px;
    font-weight: 700;
}
.balance-value .amount {
    font-size: 32px;
    font-weight: 700;
}
