@import url('https://fonts.googleapis.com/css2?family=Carter+One&family=Roboto:wght@400;500;700;900&display=swap');

/* Café Pilão - O café forte do Brasil | Identidade: vermelho + preto */
:root {
    --d-red: #c41e3a;
    --d-orange: #6f4e37;
    --d-yellow: #c9a227;
    --bg-main: #f5f0eb;
    --text-primary: #1a1a1a;
    --text-sec: #5c4a3d;
    --white: #ffffff;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 25px rgba(196, 30, 58, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Roboto', sans-serif;
}

/* Toasts (notificações estilo Bootstrap) */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 90%;
    width: 320px;
    pointer-events: none;
}

.toast {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: auto;
}

.toast.toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.toast-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.toast-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    padding-bottom: 80px;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-wallpaper, url('https://images.tcdn.com.br/img/img_prod/1234949/cafe_a_vacuo_pilao_500g_3576_2_b9ca481d542d3c57ba18aa2ebec9c996.jpg'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
    pointer-events: none;
}

.triangle-bg-1 {
    display: none;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Headers */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: transparent;
}

.logo-container {
    width: 100px;
}

.brand-logo {
    width: 100%;
    display: block;
}

.user-greeting {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-sec);
}

.user-greeting span {
    color: var(--d-red);
    font-weight: 900;
    font-size: 16px;
}

/* Cards */
.doritos-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    position: relative;
    border-bottom: 4px solid var(--d-red);
    transition: transform 0.2s;
    backdrop-filter: blur(12px);
    z-index: 10;
}

.doritos-card:active {
    transform: scale(0.99);
}

/* Triangular accents */
.card-triangle-decor {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    opacity: 0.1;
}

.top-right {
    top: 0; right: 0;
    border-width: 0 50px 50px 0;
    border-color: transparent var(--d-red) transparent transparent;
}

.bottom-left {
    bottom: 0; left: 0;
    border-width: 50px 0 0 50px;
    border-color: transparent transparent transparent var(--d-orange);
}

/* Banner */
.banner-slider {
    margin-top: 40px;
    margin-bottom: 25px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.banner-card-marquee {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 2px solid var(--d-red);
    padding: 8px 0;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.banner-card-marquee::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(to right, var(--d-red), var(--d-orange), var(--d-yellow));
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 0 40px;
}

.marquee-logo {
    height: 24px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.marquee-text {
    font-family: 'Carter One', cursive;
    font-size: 14px;
    color: var(--d-red);
    letter-spacing: 1px;
}

/* Balance */
.balance-section {
    margin-bottom: 30px;
}

.balance-header {
    font-size: 12px;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.balance-value {
    font-family: 'Carter One', cursive;
    font-size: 48px;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(45deg, var(--d-red), var(--d-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.balance-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-pill {
    background: #fff5f5;
    color: var(--d-red);
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #ffe0e0;
}

.stat-pill.outline {
    background: #fff;
    color: var(--text-sec);
    border: 1px solid #eee;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0 15px;
}

.section-header h3 {
    font-family: 'Carter One', cursive;
    font-size: 18px;
    color: var(--d-orange);
    text-transform: uppercase;
}

.divider-triangle {
    flex: 1;
    height: 2px;
    background: #eee;
    position: relative;
}

.divider-triangle::after {
    content: '';
    position: absolute;
    right: 0; top: -4px;
    width: 0; height: 0;
    border-left: 10px solid #eee;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Mini Cards (Horizontal Scroll) */
.horizontal-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    margin: 0 -20px;
    padding: 0 20px 20px 20px;
    scrollbar-width: none;
}

.product-mini-card {
    min-width: 160px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.product-mini-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.mini-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 6px;
    text-align: center;
}

.mini-price {
    font-size: 15px;
    color: var(--d-red);
    font-weight: 900;
    margin-bottom: 10px;
}

.btn-buy-mini {
    width: 100%;
    background: var(--d-red);
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-buy-mini:active {
    transform: scale(0.95);
}

/* Buttons */
.btn-activate {
    width: 100%;
    background: var(--d-red);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50px; /* Pill shape for lighter feel */
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(218, 41, 28, 0.3);
    transition: 0.2s;
}

.btn-activate:active {
    transform: scale(0.98);
}

/* Navbar */
.bottom-navbar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    height: 75px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding-bottom: 15px;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.03);
}

.nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #bbb;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    transition: 0.2s;
}

.nav-link i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-link.active {
    color: var(--d-red);
}

.nav-center-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    bottom: 10px; /* Lift it up */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.center-btn {
    width: 70px;
    height: 70px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.center-btn img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transform: translateY(4px); /* Push icon down to visual center of triangle */
}
.center-btn img.center-btn-logo {
    width: 140px;
    height: auto;
    max-height: 148px;
    filter: none;
    transform: none;
    animation: logo-pulsar 2.5s ease-in-out infinite;
}
@keyframes logo-pulsar {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.center-btn:active {
    transform: scale(0.9);
}

/* Banner calculadora (acima dos planos) */
.banner-calculadora {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--d-red) 0%, var(--d-orange) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(218, 41, 28, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 10;
    position: relative;
}
.banner-calculadora:hover, .banner-calculadora:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(218, 41, 28, 0.4);
    outline: none;
}
.banner-calculadora:active {
    transform: translateY(0);
}
.banner-calculadora i {
    font-size: 16px;
}

/* Product List Page */
.product-list-item {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f5f5f5;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.product-img-wrapper {
    height: 140px;
    background: #fafafa;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mão apontando para o salgadinho */
.product-dedo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70px;
    width: auto;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}

.product-img-wrapper .product-snack-img {
    height: 90%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.15));
    position: relative;
    z-index: 1;
}

.product-content {
    padding: 20px;
}

.product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-badge-float {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
    z-index: 2;
}

.p-name {
    font-family: 'Carter One', cursive;
    font-size: 18px;
    color: var(--d-red);
}

.p-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-primary);
}

.p-stats {
    display: flex;
    gap: 20px;
    margin: 15px 0 20px;
    padding: 15px;
    background: #fffcf5;
    border-radius: 12px;
    border: 1px dashed var(--d-orange);
}

.p-stat-item {
    display: flex;
    flex-direction: column;
}

.p-stat-item span:first-child {
    font-size: 11px;
    color: var(--text-sec);
    text-transform: uppercase;
    font-weight: 700;
}

.p-stat-item span:last-child {
    font-weight: 900;
    color: var(--d-orange);
    font-size: 15px;
}

/* Profile */
.profile-header-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    margin-bottom: 25px;
    position: relative;
    z-index: 10;
}

.avatar-big {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--d-red);
    padding: 3px;
    background: white;
    margin-bottom: 15px;
}

.profile-name-main {
    font-family: 'Carter One', cursive;
    font-size: 22px;
    color: var(--text-primary);
}

.profile-status-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: rgba(196, 30, 58, 0.12);
    color: var(--d-red);
    border: 1px solid rgba(196, 30, 58, 0.3);
}

.btn-logout {
    background: #333;
    color: white;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 30px;
}

/* Wallet specific */
.wallet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.wallet-stat-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f0f0f0;
    position: relative;
    z-index: 10;
}

.wallet-label {
    font-size: 11px;
    color: var(--text-sec);
    font-weight: 700;
    margin-bottom: 8px;
}

.wallet-val {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-primary);
}

/* Meus Produtos - Carteira */
.wallet-empty-products {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    margin-bottom: 25px;
    border: 2px dashed rgba(218, 41, 28, 0.3);
}
.wallet-empty-products i {
    font-size: 48px;
    color: var(--d-orange);
    margin-bottom: 15px;
    opacity: 0.8;
}
.wallet-empty-products p {
    color: var(--text-sec);
    margin-bottom: 20px;
    font-size: 15px;
}
.wallet-empty-products .btn-action {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.wallet-products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.wallet-product-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f5f5f5;
    position: relative;
    z-index: 10;
}

.wallet-product-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #fff8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.wallet-product-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.wallet-product-info {
    flex: 1;
    min-width: 0;
}

.wallet-product-name {
    font-family: 'Carter One', cursive;
    font-size: 17px;
    color: var(--d-red);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.wallet-product-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 4px;
}
.wallet-product-row:last-child {
    margin-bottom: 0;
}
.wallet-product-row.highlight {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(218, 41, 28, 0.15);
}
.wallet-product-label {
    color: var(--text-sec);
    font-weight: 600;
}
.wallet-product-value {
    font-weight: 800;
    color: var(--text-primary);
}
.wallet-product-lucro {
    color: #00a650;
}

/* Extratos */
.extrato-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-sec);
}
.extrato-empty i {
    font-size: 56px;
    color: var(--d-orange);
    margin-bottom: 15px;
    opacity: 0.8;
}
.extrato-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 30px;
}
.extrato-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.98);
    padding: 14px 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.extrato-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.extrato-icon i {
    font-size: 18px;
}
.extrato-icon-entrada {
    background: #e8f5e9;
    color: #00a650;
}
.extrato-icon-saida {
    background: #ffebee;
    color: var(--d-red);
}
.extrato-info {
    flex: 1;
    min-width: 0;
}
.extrato-desc {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
}
.extrato-date {
    font-size: 12px;
    color: var(--text-sec);
    margin-top: 2px;
}
.extrato-valor {
    font-weight: 900;
    font-size: 15px;
}
.extrato-valor.entrada {
    color: #00a650;
}
.extrato-valor.saida {
    color: var(--d-red);
}

/* Bônus Equipe */
.bonus-equipe-alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 700;
}
.bonus-equipe-alert.success {
    background: #e8f5e9;
    color: #00a650;
}
.bonus-equipe-alert.error {
    background: #ffebee;
    color: var(--d-red);
}

.bonus-equipe-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
}

.bonus-equipe-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 2px solid #f0f0f0;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.bonus-equipe-card.atingido {
    border-color: rgba(218, 41, 28, 0.4);
    box-shadow: 0 6px 20px rgba(218, 41, 28, 0.08);
}
.bonus-equipe-card.resgatado {
    border-color: #c8e6c9;
    background: linear-gradient(135deg, rgba(0, 166, 80, 0.04), transparent);
}
.bonus-equipe-card-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.bonus-equipe-card-img {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(145deg, #fff8f0, #fff0e0);
    flex-shrink: 0;
    border: 2px solid rgba(218, 41, 28, 0.1);
}
.bonus-equipe-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.bonus-equipe-card-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}
.bonus-equipe-card-badge.ok {
    background: #00a650;
}
.bonus-equipe-card-meta {
    flex: 1;
    min-width: 0;
}
.bonus-equipe-card-indicados {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.bonus-equipe-card-indicados .atual {
    color: var(--d-red);
}
.bonus-equipe-card-indicados .separador {
    color: #999;
    margin: 0 2px;
}
.bonus-equipe-card-indicados .meta {
    color: var(--text-primary);
}
.bonus-equipe-card-indicados .txt {
    font-weight: 700;
    color: var(--text-sec);
    font-size: 13px;
}
.bonus-equipe-progress {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
    max-width: 160px;
}
.bonus-equipe-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--d-orange), var(--d-red));
    border-radius: 3px;
    transition: width 0.3s ease;
}
.bonus-equipe-faltam,
.bonus-equipe-status-ok,
.bonus-equipe-status-ready {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
}
.bonus-equipe-faltam {
    color: var(--text-sec);
}
.bonus-equipe-faltam strong {
    color: var(--d-red);
}
.bonus-equipe-status-ok {
    color: #00a650;
}
.bonus-equipe-status-ok i {
    margin-right: 4px;
}
.bonus-equipe-status-ready {
    color: var(--d-orange);
}
.bonus-equipe-status-ready i {
    margin-right: 4px;
}
.bonus-equipe-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
}
.bonus-equipe-card-valor {
    font-size: 22px;
    font-weight: 900;
    color: var(--d-red);
    line-height: 1.2;
}
.bonus-equipe-form {
    margin: 0;
}
.bonus-equipe-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 13px;
    background: var(--d-red);
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.1s, box-shadow 0.1s;
}
.bonus-equipe-btn:active {
    transform: scale(0.97);
}
.bonus-equipe-btn i {
    margin-right: 6px;
}
.bonus-equipe-btn.resgatado {
    background: #00a650;
    cursor: default;
}
.bonus-equipe-btn.disabled {
    background: #e0e0e0;
    color: #757575;
    cursor: default;
}

/* Resumo + botão Como funciona (abaixo dos cards) */
.bonus-equipe-resumo {
    margin-top: 8px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, rgba(218, 41, 28, 0.06), rgba(255, 130, 0, 0.08));
    border-radius: 20px;
    padding: 24px;
    border: 2px dashed rgba(218, 41, 28, 0.25);
}
.bonus-equipe-resumo-inner {
    max-width: 360px;
    margin: 0 auto;
}
.bonus-equipe-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.bonus-equipe-badge i {
    font-size: 28px;
    color: var(--d-red);
}
.bonus-equipe-badge span {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-sec);
}
.bonus-equipe-badge strong {
    font-size: 26px;
    color: var(--d-red);
    margin-left: auto;
}
.bonus-equipe-desc {
    font-size: 13px;
    color: var(--text-sec);
    margin: 0 0 18px 0;
    line-height: 1.45;
}
.bonus-equipe-btn-info {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    border: 2px solid var(--d-orange);
    background: rgba(255, 130, 0, 0.1);
    color: var(--d-red);
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.1s;
}
.bonus-equipe-btn-info:active {
    transform: scale(0.98);
}
.bonus-equipe-btn-info i {
    font-size: 18px;
}

/* Modal Como funciona */
.bonus-equipe-modal .modal-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 14px;
}
.bonus-equipe-modal .modal-title {
    font-size: 18px;
    color: var(--d-red);
}
.bonus-equipe-modal-body {
    padding: 20px 0;
    max-height: 60vh;
    overflow-y: auto;
}
.bonus-modal-intro {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 20px;
}
.bonus-modal-intro strong {
    color: var(--d-red);
}
.bonus-modal-definicao {
    background: #fff8f0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 22px;
    border-left: 4px solid var(--d-orange);
}
.bonus-modal-definicao h4 {
    font-size: 14px;
    color: var(--d-red);
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bonus-modal-definicao p {
    margin: 0;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
}
.bonus-modal-tabela-titulo {
    font-size: 13px;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.bonus-modal-tabela {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}
.bonus-modal-tabela li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.bonus-modal-tabela li:last-child {
    border-bottom: none;
}
.bonus-modal-tabela .n {
    font-weight: 700;
    color: var(--text-primary);
}
.bonus-modal-tabela .v {
    font-weight: 900;
    color: var(--d-red);
}
.bonus-modal-dica {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.5;
    margin: 0;
}
.bonus-equipe-modal .btn-modal-primary {
    width: 100%;
    margin-top: 8px;
}

.action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-action {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 2px solid var(--d-red);
    color: var(--d-red);
    font-weight: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 10;
}

.btn-action.filled {
    background: var(--d-red);
    color: white;
}

/* Affiliate */
.affiliate-link-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    border: 1px dashed #ccc;
    margin: 15px 0;
}

.link-input {
    flex: 1;
    background: transparent;
    border: none;
    font-weight: 700;
    color: #555;
}

.btn-copy {
    color: var(--d-red);
    font-weight: 900;
    background: transparent;
    border: none;
}

.level-card {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    margin-bottom: 15px;
    border-left: 5px solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.level-1 { border-color: var(--d-red); }
.level-2 { border-color: var(--d-orange); }
.level-3 { border-color: var(--d-yellow); }

.level-percent {
    font-family: 'Carter One', cursive;
    font-size: 24px;
    color: var(--text-primary);
}

/* ============================================
   CAFÉ AUTH - Design Temático de Café
   ============================================ */

.auth-page-body .app-container {
    max-width: 100%;
    padding: 0;
}

/* Página de autenticação com overlay café */
.cafe-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    position: relative;
    margin: 0 -20px;
}

/* Overlay marrom café com textura */
.cafe-auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, 
            rgba(44, 31, 26, 0.95) 0%, 
            rgba(62, 39, 35, 0.93) 25%,
            rgba(54, 35, 30, 0.94) 50%,
            rgba(78, 52, 46, 0.92) 75%,
            rgba(62, 39, 35, 0.95) 100%
        );
    backdrop-filter: blur(12px);
    z-index: 1;
    pointer-events: none;
}

/* Container do formulário */
.cafe-auth-container {
    max-width: 440px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Box principal estilo xícara de café */
.cafe-auth-box {
    background: linear-gradient(180deg, #faf7f4 0%, #f5f0eb 100%);
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(139, 69, 19, 0.2) inset,
        0 -2px 30px rgba(255, 255, 255, 0.2) inset;
    position: relative;
    overflow: visible;
    border: 3px solid rgba(111, 78, 55, 0.3);
}

/* Borda decorativa estilo café */
.cafe-auth-box::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #8B4513 0%, #6f4e37 50%, #5d4037 100%);
    border-radius: 31px;
    z-index: -1;
    opacity: 0.4;
}

/* Grãos de café decorativos */
.cafe-grains-deco {
    position: absolute;
    top: -15px;
    right: 30px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.cafe-grains-deco i {
    font-size: 24px;
    color: #6f4e37;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: cafe-grain-float 3s ease-in-out infinite;
}

.cafe-grains-deco i:nth-child(2) {
    animation-delay: 0.5s;
    font-size: 20px;
    margin-top: 5px;
}

.cafe-grains-deco i:nth-child(3) {
    animation-delay: 1s;
    font-size: 28px;
}

@keyframes cafe-grain-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Logo */
.cafe-auth-logo {
    text-align: center;
    margin-bottom: 25px;
}

.cafe-auth-logo img {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(111, 78, 55, 0.4));
}

.cafe-logo-text {
    font-family: 'Carter One', cursive;
    font-size: 48px;
    color: #6f4e37;
    text-shadow: 
        2px 2px 0px rgba(196, 30, 58, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

/* Header */
.cafe-auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.cafe-auth-header h1 {
    font-family: 'Carter One', cursive;
    font-size: 28px;
    color: #3e2723;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cafe-auth-header p {
    color: #6f4e37;
    font-size: 15px;
    font-weight: 600;
}

.cafe-auth-header i {
    color: #c41e3a;
    margin-right: 5px;
}

/* Alert de erro */
.cafe-auth-alert {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: white;
    padding: 14px 18px;
    border-radius: 15px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.cafe-auth-alert i {
    font-size: 18px;
}

/* Formulário */
.cafe-auth-form {
    margin-bottom: 25px;
}

/* Input groups estilo café */
.cafe-input-group {
    position: relative;
    margin-bottom: 18px;
}

.cafe-input-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6f4e37;
    font-size: 16px;
    z-index: 2;
}

.cafe-input-group input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border: 2px solid #d7ccc8;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 500;
    color: #3e2723;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cafe-input-group input:focus {
    outline: none;
    border-color: #c41e3a;
    background: #fff;
    box-shadow: 
        0 4px 20px rgba(196, 30, 58, 0.15),
        0 0 0 4px rgba(196, 30, 58, 0.1);
}

.cafe-input-group input::placeholder {
    color: #a1887f;
}

/* Botão principal estilo xícara fumegante */
.cafe-auth-btn {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #c41e3a 0%, #a01828 100%);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(196, 30, 58, 0.4),
        0 2px 10px rgba(0, 0, 0, 0.2) inset;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.cafe-auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cafe-auth-btn:hover::before {
    left: 100%;
}

.cafe-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(196, 30, 58, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.2) inset;
}

.cafe-auth-btn:active {
    transform: translateY(0);
}

/* Vapor/fumaça saindo do botão */
.cafe-steam {
    position: absolute;
    top: -30px;
    right: 20px;
    display: flex;
    gap: 8px;
    opacity: 0.6;
}

.cafe-steam span {
    width: 3px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    filter: blur(3px);
    animation: cafe-steam-rise 2s ease-in-out infinite;
}

.cafe-steam span:nth-child(1) {
    animation-delay: 0s;
}

.cafe-steam span:nth-child(2) {
    animation-delay: 0.3s;
    height: 25px;
}

.cafe-steam span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes cafe-steam-rise {
    0% {
        transform: translateY(0) scaleX(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) scaleX(1.5);
        opacity: 0.3;
    }
    100% {
        transform: translateY(-30px) scaleX(2);
        opacity: 0;
    }
}

/* Divisor decorativo */
.cafe-auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    position: relative;
}

.cafe-auth-divider::before,
.cafe-auth-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, #d7ccc8, transparent);
}

.cafe-auth-divider span {
    padding: 0 15px;
    color: #8d6e63;
    font-size: 18px;
}

/* Link para outra página */
.cafe-auth-link {
    text-align: center;
    font-size: 14px;
    color: #5d4037;
    font-weight: 600;
}

.cafe-auth-link a {
    color: #c41e3a;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s;
}

.cafe-auth-link a:hover {
    color: #a01828;
    text-decoration: underline;
}

/* Footer */
.cafe-auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(215, 204, 200, 0.5);
}

.cafe-auth-footer small {
    color: #8d6e63;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cafe-auth-footer i {
    color: #c41e3a;
    margin-right: 5px;
}

/* ========== ESTILOS LEGADOS (não usado no novo design café) ========== */
.auth-page-inner {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.auth-logo {
    max-width: 140px;
    height: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
    position: relative;
    z-index: 2;
}

.auth-title {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--d-red);
    margin: 0 0 6px 0;
    letter-spacing: 0.02em;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-sec);
    margin: 0;
    font-weight: 500;
}

.auth-page-body .auth-title {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.auth-page-body .auth-subtitle {
    color: rgba(255,255,255,0.85);
}

.auth-page-body .auth-logo-text {
    color: #fff !important;
    text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.auth-form-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    padding: 24px 22px;
    border: 2px solid rgba(196, 30, 58, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.auth-form {
    margin: 0;
}

.auth-alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 700;
}

.auth-alert-error {
    background: #ffebee;
    color: var(--d-red);
    border: 1px solid rgba(218, 41, 28, 0.3);
}

.auth-field {
    margin-bottom: 18px;
}

.auth-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-sec);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.auth-field input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    background: #fff;
    transition: border-color 0.2s;
}

.auth-field input:focus {
    outline: none;
    border-color: var(--d-red);
}

.auth-field input::placeholder {
    color: #bbb;
}

.auth-btn {
    width: 100%;
    padding: 16px 20px;
    margin-top: 8px;
    border: none;
    border-radius: 14px;
    background: var(--d-red);
    color: white;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.1s, background 0.2s;
}

.auth-btn:active {
    transform: scale(0.98);
}

.auth-btn:hover {
    background: #c21807;
}

.auth-link {
    text-align: center;
    margin: 20px 0 0;
    font-size: 14px;
    color: var(--text-sec);
}

.auth-link a {
    color: var(--d-red);
    font-weight: 800;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}


/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px 20px;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Modal Boas-vindas */
.welcome-modal-overlay {
    display: flex !important;
}
.welcome-modal-overlay[style*="display: none"] {
    display: none !important;
}
.welcome-modal-content {
    max-width: 420px;
    padding: 0;
    overflow: hidden;
}
.welcome-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 24px 0;
    border-bottom: none;
}
.welcome-modal-title {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--d-red);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.welcome-modal-title i {
    font-size: 24px;
    color: var(--d-orange);
}
.welcome-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--text-sec);
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
}
.welcome-modal-body {
    padding: 20px 24px 24px;
}
.welcome-modal-p {
    margin: 0 0 14px;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.45;
}
.welcome-modal-p strong {
    color: var(--d-red);
}
.welcome-modal-list {
    margin: 0 0 20px;
    padding-left: 20px;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
}
.welcome-modal-list li {
    margin-bottom: 8px;
}
.welcome-modal-list strong {
    color: var(--d-orange);
}
.welcome-modal-telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0088cc;
    color: #fff;
    padding: 14px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 16px;
    transition: transform 0.15s, background 0.15s;
}
.welcome-modal-telegram:active {
    transform: scale(0.98);
}
.welcome-modal-telegram i {
    font-size: 22px;
}
.welcome-modal-dont-show {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #ddd;
    color: var(--text-sec);
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.welcome-modal-dont-show:active {
    background: #f5f5f5;
}

/* Modal Saque - full width, retro, fundo papel de parede */
.modal-overlay.withdraw-modal-full {
    align-items: stretch;
    justify-content: stretch;
    background: rgba(0, 0, 0, 0.5);
}

.modal-overlay.withdraw-modal-full .modal-content.withdraw-modal-content {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    transform: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.92);
    border: 3px solid var(--d-red);
    box-shadow: inset 0 0 0 1px rgba(218, 41, 28, 0.2);
    padding: 24px 20px 100px;
    overflow-y: auto;
    font-family: 'Roboto', sans-serif;
}

.modal-overlay.withdraw-modal-full.active .modal-content.withdraw-modal-content {
    transform: none;
}

.withdraw-modal-header {
    margin-bottom: 20px;
}

.withdraw-modal-title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    color: var(--d-red) !important;
    letter-spacing: 0.02em;
}

.withdraw-info-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--d-orange);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.withdraw-info-main {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 14px 0;
    line-height: 1.4;
}

.withdraw-info-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    font-size: 14px;
    color: var(--text-sec);
}

.withdraw-info-details strong {
    color: var(--d-red);
}

.withdraw-pix-hint {
    font-size: 13px;
    color: var(--text-sec);
    margin-bottom: 18px;
}

/* Card informações depósito */
.deposit-info-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--d-orange);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.deposit-info-main {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    line-height: 1.45;
}

.deposit-info-main i {
    color: var(--d-orange);
    margin-right: 6px;
}

.deposit-info-details {
    font-size: 14px;
    color: var(--text-sec);
    margin-bottom: 12px;
}

.deposit-info-details strong {
    color: var(--d-red);
}

.deposit-info-support {
    font-size: 13px;
    color: var(--text-sec);
    margin: 0;
    font-style: italic;
}

.withdraw-pix-hint-urgent {
    color: var(--d-red);
    font-weight: 700;
}

.withdraw-pix-alert {
    background: #ffebee;
    border: 2px solid var(--d-red);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 20px;
    color: var(--d-red);
}

.withdraw-pix-alert i {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

.withdraw-pix-alert p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--d-red);
}

.withdraw-pix-alert p:last-child {
    margin-bottom: 0;
}

.withdraw-pix-alert strong {
    font-weight: 900;
}

.saque-alerta-home {
    background: #e3f2fd;
    border: 2px solid #1976d2;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #0d47a1;
}

.saque-alerta-home i {
    font-size: 22px;
    flex-shrink: 0;
}

.saque-alerta-home a {
    color: var(--d-red);
    font-weight: 700;
    text-decoration: none;
}

.saque-alerta-home a:hover {
    text-decoration: underline;
}

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

.modal-title {
    font-family: 'Carter One', cursive;
    font-size: 20px;
    color: var(--d-red);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Calculadora de ganhos */
.calculadora-modal-content .calculadora-form {
    margin-bottom: 20px;
}
.calculadora-modal-content .calculadora-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-sec);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.calculadora-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    background: white;
    cursor: pointer;
}
.calculadora-select:focus {
    outline: none;
    border-color: var(--d-red);
}
.calculadora-resultados {
    background: rgba(253, 184, 19, 0.12);
    border: 1px solid rgba(253, 184, 19, 0.35);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 20px;
}
.calculadora-placeholder {
    margin: 0;
    font-size: 14px;
    color: var(--text-sec);
    text-align: center;
}
.calculadora-result-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--d-red);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.calculadora-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.calculadora-result-row:last-child {
    border-bottom: none;
}
.calculadora-result-row strong {
    color: #00a650;
    font-size: 15px;
}
.calculadora-result-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid var(--d-orange);
    font-weight: 700;
}
.calculadora-result-total strong {
    color: var(--d-red);
    font-size: 17px;
}

.amount-input-group {
    margin-bottom: 20px;
}

.amount-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-sec);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.amount-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.amount-input:focus {
    outline: none;
    border-color: var(--d-red);
}

.quick-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.quick-amount-btn {
    padding: 12px;
    background: #f5f5f5;
    border: 2px solid #eee;
    border-radius: 10px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: 0.2s;
}

.quick-amount-btn:active {
    background: var(--d-red);
    color: white;
    border-color: var(--d-red);
}

.qrcode-container {
    background: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    margin: 20px 0;
    border: 2px dashed var(--d-orange);
}

.qrcode-container canvas,
.qrcode-container img.qrcode-image {
    max-width: 220px;
    width: 200px;
    height: auto;
    margin: 12px auto;
    display: block;
}

.qrcode-container img.qrcode-image {
    height: 200px;
    object-fit: contain;
}

.qrcode-placeholder {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
}

.qrcode-placeholder canvas {
    margin: 0;
}

.qrcode-info {
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-sec);
}

.loading-animation {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--d-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pix-key-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}

.pix-key-input:focus {
    outline: none;
    border-color: var(--d-red);
}

.pix-key-type-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.pix-type-btn {
    padding: 10px;
    background: #f5f5f5;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.pix-type-btn.selected {
    background: var(--d-red);
    color: white;
    border-color: var(--d-red);
}

.btn-modal-primary {
    width: 100%;
    background: var(--d-red);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 15px;
}

.btn-modal-primary:active {
    transform: scale(0.98);
}

.btn-modal-secondary {
    width: 100%;
    background: #f5f5f5;
    color: var(--text-primary);
    border: 2px solid #eee;
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

/* Purchase Modal Styles */
.purchase-modal {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.purchase-details {
    background: linear-gradient(135deg, rgba(218, 41, 28, 0.05), rgba(255, 130, 0, 0.05));
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px dashed var(--d-orange);
}

.purchase-product-name {
    font-family: 'Carter One', cursive;
    font-size: 22px;
    color: var(--d-red);
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.purchase-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--d-orange), transparent);
    margin-bottom: 15px;
}

.purchase-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.purchase-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 12px;
    border-radius: 12px;
}

.purchase-info-item i {
    font-size: 20px;
    color: var(--d-red);
    margin-top: 2px;
}

.purchase-label {
    font-size: 10px;
    color: var(--text-sec);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.purchase-value {
    font-size: 15px;
    font-weight: 900;
    color: var(--text-primary);
}

.btn-modal-primary i {
    margin-right: 8px;
}

.success-message {
    text-align: center;
    padding: 30px 20px;
}

.success-icon {
    font-size: 60px;
    color: #00a650;
    margin-bottom: 15px;
}

.profile-suporte-section {
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.profile-suporte-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    transition: background 0.2s, transform 0.15s;
}

.profile-suporte-link:hover {
    background: rgba(255, 255, 255, 1);
    color: inherit;
}

.profile-suporte-link i.fab.fa-whatsapp {
    font-size: 22px;
    color: #25D366;
}

.profile-pix-section {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
    position: relative;
    z-index: 10;
}

.profile-pix-section h4 {
    color: var(--d-red);
    margin-bottom: 15px;
    font-size: 14px;
}

.pix-saved-info {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 13px;
}

.pix-saved-info strong {
    color: var(--d-red);
}

/* ========== HOME V2 STYLES ========== */

.main-header-v2 {
    padding: 20px 0 25px;
    background: transparent;
}

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

.logo-container-v2 {
    width: 120px;
}

.brand-logo-v2 {
    width: 100%;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(218, 41, 28, 0.3));
}

.header-actions {
    display: flex;
    gap: 10px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.icon-btn i {
    color: var(--text-sec);
    font-size: 18px;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--d-red);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.user-greeting-v2 {
    padding-left: 5px;
}

.greeting-text {
    font-size: 13px;
    color: var(--text-sec);
    margin-bottom: 2px;
}

.greeting-name {
    font-family: 'Carter One', cursive;
    font-size: 24px;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--d-red), var(--d-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Balance Card V2 */
.balance-card-v2 {
    background: linear-gradient(135deg, var(--d-red), #c21807);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(218, 41, 28, 0.25);
    position: relative;
    overflow: visible;
    z-index: 10;
}

.balance-chip-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
    pointer-events: none;
}

.balance-card-gif {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    height: 100px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    z-index: 3;
    pointer-events: none;
}

.balance-content-v2 {
    position: relative;
    z-index: 2;
    padding-right: 75px;
    max-width: 100%;
    overflow: hidden;
}

.balance-label-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
}

.balance-label-v2 i {
    font-size: 14px;
}

.balance-amount-v2 {
    font-family: 'Carter One', cursive;
    font-size: 42px;
    color: white;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.balance-change-v2 {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
    font-weight: 700;
}

.balance-change-v2 i {
    font-size: 10px;
}

.balance-actions-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.balance-btn {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.balance-btn:active {
    transform: scale(0.97);
    background: rgba(255,255,255,0.25);
}

.balance-btn i {
    font-size: 14px;
}

/* ========== Home - Cards estilo café (profissional) ========== */

/* Wrapper do banner (link ou div) - primeiro na home, até o topo */
.home-banner-wrap {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-top: 0;
    position: relative;
    z-index: 5;
}

/* Banner topo - 100% largura, imagem inteira visível (sem corte vertical) */
.home-banner-top {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    aspect-ratio: 1.6 / 1;
    min-height: 220px;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    z-index: 5;
}

/* Header sobre o banner (quando banner existe) */
.main-header-v2.header-over-banner {
    position: relative;
    z-index: 10;
    margin-top: -62vw;
    padding-top: max(12px, env(safe-area-inset-top));
}
.main-header-v2.header-over-banner .icon-btn,
.main-header-v2.header-over-banner .brand-logo-v2,
.main-header-v2.header-over-banner .cafe-logo-text,
.main-header-v2.header-over-banner .greeting-name,
.main-header-v2.header-over-banner .greeting-text {
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Card de saldo - 100% largura horizontal + forma de V na base (sobrepõe o banner) */
.saldo-card-v2 {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 44px;
    margin-bottom: 22px;
    overflow: visible;
    z-index: 10;
    background: #fff;
    box-shadow: 0 8px 32px rgba(62, 39, 35, 0.12);
    border: none;
    border-radius: 0;
    /* Forma de V na parte de baixo: ponta central */
    clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
}

.saldo-card-stripe {
    height: 6px;
    background: linear-gradient(90deg, var(--d-red), var(--d-orange));
    width: 100%;
}

.saldo-card-inner {
    padding: 22px 24px 32px;
    max-width: 480px;
    margin: 0 auto;
}

.saldo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.saldo-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-sec);
    letter-spacing: 0.02em;
}

.saldo-card-lucro {
    font-size: 12px;
    font-weight: 700;
    color: #2e7d32;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.saldo-card-lucro i {
    font-size: 11px;
}

.saldo-card-value {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 34px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 20px;
}

.saldo-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.saldo-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    border: 2px solid transparent;
}

.saldo-card-btn i {
    font-size: 15px;
}

.saldo-card-btn-deposit {
    background: var(--d-red);
    color: #fff;
    border-color: var(--d-red);
    box-shadow: 0 4px 14px rgba(196, 30, 58, 0.25);
}

.saldo-card-btn-deposit:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
}

.saldo-card-btn-withdraw {
    background: #fff;
    color: var(--d-orange);
    border-color: var(--d-orange);
}

.saldo-card-btn-withdraw:active {
    transform: scale(0.98);
    background: rgba(111, 78, 55, 0.06);
}

/* Atalhos rápidos - estilo café */
.cafe-quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
    position: relative;
    z-index: 10;
}

.cafe-quick-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 8px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 12px;
    box-shadow: 0 4px 16px rgba(62, 39, 35, 0.06);
    border: 1px solid rgba(111, 78, 55, 0.12);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.cafe-quick-btn:active {
    transform: scale(0.98);
}

.cafe-quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f5f0eb 0%, #ebe5de 100%);
    border: 1px solid rgba(111, 78, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--d-orange);
    font-size: 18px;
}

.cafe-quick-btn:nth-child(1) .cafe-quick-icon { color: var(--d-orange); }
.cafe-quick-btn:nth-child(2) .cafe-quick-icon { color: var(--d-yellow); }
.cafe-quick-btn:nth-child(3) .cafe-quick-icon { color: var(--d-red); }

.cafe-quick-label {
    letter-spacing: 0.02em;
}

/* Section headers - café */
.cafe-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 28px 0 14px;
}

.cafe-section-header h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cafe-section-header h3 i {
    color: var(--d-orange);
    font-size: 14px;
}

.cafe-see-all {
    font-size: 12px;
    font-weight: 700;
    color: var(--d-orange);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cafe-see-all i {
    font-size: 10px;
}

/* Cards de planos - café */
.cafe-plans-scroll {
    padding: 4px 0 20px;
}

.cafe-plans-empty {
    padding: 24px 20px;
    color: var(--text-sec);
    font-size: 14px;
    text-align: center;
}

.cafe-plans-empty a {
    color: var(--d-red);
    font-weight: 700;
    text-decoration: none;
}

.cafe-plan-card {
    min-width: 168px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(62, 39, 35, 0.08);
    border: 1px solid rgba(111, 78, 55, 0.1);
    position: relative;
    z-index: 10;
    transition: box-shadow 0.2s, transform 0.2s;
}

.cafe-plan-card:active {
    transform: scale(0.99);
}

.cafe-plan-card-image {
    height: 130px;
    background: linear-gradient(165deg, #faf6f2 0%, #f0ebe5 50%, #ebe4dc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid rgba(111, 78, 55, 0.06);
}

.cafe-plan-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(111, 78, 55, 0.04), transparent 60%);
    pointer-events: none;
}

.cafe-plan-card-image img {
    height: 82%;
    width: auto;
    max-width: 85%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
    position: relative;
    z-index: 2;
}

.cafe-plan-fallback {
    font-size: 42px;
    color: var(--d-orange);
    opacity: 0.7;
}

.cafe-plan-card-body {
    padding: 14px 16px;
}

.cafe-plan-name {
    font-weight: 800;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.cafe-plan-return {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--d-orange);
    font-weight: 700;
    margin-bottom: 12px;
}

.cafe-plan-return i {
    font-size: 11px;
}

.cafe-plan-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cafe-plan-price {
    font-size: 17px;
    font-weight: 900;
    color: #3e2723;
    letter-spacing: -0.02em;
}

.cafe-plan-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--d-red), #a01828);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cafe-plan-btn:active {
    transform: scale(0.92);
}

.cafe-plan-btn i {
    font-size: 14px;
}

/* Lista de atividade - café */
.cafe-activity-list {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(62, 39, 35, 0.06);
    border: 1px solid rgba(111, 78, 55, 0.1);
    position: relative;
    z-index: 10;
    padding: 6px;
}

.cafe-activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    transition: background 0.15s;
}

.cafe-activity-item:not(:last-child) {
    border-bottom: 1px solid rgba(111, 78, 55, 0.06);
}

.cafe-activity-item:active {
    background: rgba(245, 240, 235, 0.8);
}

.cafe-activity-empty .activity-details {
    text-align: center;
    flex: 1;
}

.cafe-activity-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cafe-activity-icon.profit {
    background: linear-gradient(145deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
}

.cafe-activity-icon.invest {
    background: linear-gradient(145deg, #fff8f0, #ffecdd);
    color: var(--d-orange);
}

.cafe-activity-icon.withdraw {
    background: linear-gradient(145deg, #ffebee, #ffcdd2);
    color: var(--d-red);
}

.cafe-activity-icon i {
    font-size: 17px;
}

.cafe-activity-amount {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.cafe-activity-amount.profit {
    color: #2e7d32;
}

.cafe-activity-amount.withdraw {
    color: var(--d-red);
}

/* Home - Botões finos horizontais (fallback) */
.home-thin-buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 28px;
    position: relative;
    z-index: 10;
}

.home-thin-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.1s, box-shadow 0.1s;
}

.home-thin-btn:active {
    transform: scale(0.99);
}

.home-thin-btn i {
    flex-shrink: 0;
    text-align: center;
    color: var(--d-red);
    font-size: 14px;
}

.home-thin-btn:nth-child(2) i { color: var(--d-orange); }
.home-thin-btn:nth-child(3) i { color: #e6a800; }

.stat-value {
    font-weight: 900;
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 10px;
    color: var(--text-sec);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Section Header V2 */
.section-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0 15px;
}

.section-header-v2 h3 {
    font-family: 'Carter One', cursive;
    font-size: 16px;
    color: var(--d-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.see-all-link {
    font-size: 12px;
    color: var(--text-sec);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.see-all-link i {
    font-size: 10px;
}

/* Featured Product V2 */
.featured-product-v2 {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    margin-bottom: 25px;
    position: relative;
    z-index: 10;
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--d-red);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(218, 41, 28, 0.3);
}

.featured-content {
    display: flex;
    flex-direction: column;
}

.featured-image {
    height: 180px;
    background: linear-gradient(135deg, #fff5f5, #fffbf0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(218, 41, 28, 0.02) 20px, rgba(218, 41, 28, 0.02) 40px);
}

.featured-image img {
    height: 85%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
    position: relative;
    z-index: 2;
}

.featured-info {
    padding: 20px;
}

.featured-title {
    font-family: 'Carter One', cursive;
    font-size: 22px;
    color: var(--d-red);
    margin-bottom: 15px;
}

.featured-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff8f0;
    border-radius: 12px;
    border: 1px dashed var(--d-orange);
}

.featured-stat {
    display: flex;
    flex-direction: column;
}

.stat-label-small {
    font-size: 10px;
    color: var(--text-sec);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-value-small {
    font-size: 15px;
    font-weight: 900;
    color: var(--d-orange);
}

.featured-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-price {
    font-family: 'Carter One', cursive;
    font-size: 26px;
    color: var(--text-primary);
}

.btn-featured-buy {
    background: var(--d-red);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(218, 41, 28, 0.3);
    transition: 0.2s;
}

.btn-featured-buy:active {
    transform: scale(0.97);
}

/* Horizontal Scroll V2 */
.horizontal-scroll-v2 {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 0 0 20px 0;
    margin: 0 -20px;
    padding: 0 20px 20px 20px;
    scrollbar-width: none;
}

.horizontal-scroll-v2::-webkit-scrollbar {
    display: none;
}

.product-card-v2 {
    min-width: 160px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid #f5f5f5;
    position: relative;
    z-index: 10;
}

.product-image-v2 {
    height: 140px;
    background: linear-gradient(135deg, #fffbf0, #fff5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(255,130,0,0.02) 15px, rgba(255,130,0,0.02) 30px);
}

.product-image-v2 img {
    height: 90%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
    position: relative;
    z-index: 2;
}

.product-body-v2 {
    padding: 14px;
}

.product-name-v2 {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-return-v2 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--d-orange);
    font-weight: 700;
    margin-bottom: 12px;
}

.product-return-v2 i {
    font-size: 12px;
}

.product-footer-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price-v2 {
    font-size: 16px;
    font-weight: 900;
    color: var(--d-red);
}

.btn-invest-v2 {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--d-red);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(218, 41, 28, 0.25);
    transition: 0.2s;
}

.btn-invest-v2:active {
    transform: scale(0.9);
}

.btn-invest-v2 i {
    font-size: 16px;
}

/* Activity List V2 */
.activity-list-v2 {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #f5f5f5;
    position: relative;
    z-index: 10;
}

.activity-item-v2 {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
    transition: 0.2s;
}

.activity-item-v2:active {
    background: #fafafa;
}

.activity-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon.profit {
    background: #e8f5e9;
    color: #00a650;
}

.activity-icon.invest {
    background: #fff8f0;
    color: var(--d-orange);
}

.activity-icon.withdraw {
    background: #fff5f5;
    color: var(--d-red);
}

.activity-icon i {
    font-size: 18px;
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.activity-time {
    font-size: 11px;
    color: var(--text-sec);
}

.activity-amount {
    font-weight: 900;
    font-size: 14px;
    color: var(--text-primary);
}

.activity-amount.profit {
    color: #00a650;
}

.activity-amount.withdraw {
    color: var(--d-red);
}

/* Check-in diário */
.checkin-timeline {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 24px;
    padding-left: 20px;
}

.checkin-timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.checkin-timeline-dot.done {
    background: #00a650;
    box-shadow: 0 0 0 4px rgba(0, 166, 80, 0.3);
}

.checkin-timeline-dot.active {
    background: var(--d-red);
    box-shadow: 0 0 0 4px rgba(218, 41, 28, 0.3);
    animation: checkin-pulse 1.5s ease-in-out infinite;
}

.checkin-timeline-dot.locked {
    background: #ccc;
}

.checkin-timeline-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #00a650, #e0e0e0);
    margin: 10px 8px 0;
    border-radius: 2px;
}

@keyframes checkin-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.checkin-timeline-labels {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 12px;
    color: var(--text-sec);
    font-weight: 700;
}

.checkin-info {
    background: rgba(255, 248, 240, 0.9);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 28px;
    border: 1px dashed var(--d-orange);
}

.checkin-info p {
    margin: 0;
    font-size: 14px;
    color: var(--text-primary);
}

.checkin-info strong {
    color: var(--d-red);
}

.checkin-cooldown {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    margin-bottom: 24px;
}

.checkin-cooldown i {
    font-size: 48px;
    color: var(--d-orange);
    margin-bottom: 12px;
}

.checkin-countdown {
    font-size: 28px;
    font-weight: 900;
    color: var(--d-red);
    margin: 10px 0 0;
}

.checkin-game {
    text-align: center;
    padding: 20px 0 40px;
    position: relative;
}

.checkin-game-hint {
    font-weight: 800;
    font-size: 15px;
    color: var(--d-red);
    margin-bottom: 24px;
}

.checkin-snack-wrap {
    display: inline-block;
    transition: transform 0.2s ease-out;
    cursor: pointer;
    transform: scale(1);
}

.checkin-snack-wrap:active {
    transform: scale(1.05);
}

.checkin-snack {
    width: 140px;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
}

.checkin-snack-wrap.checkin-snack-exploding .checkin-snack {
    animation: checkin-explode-snack 0.5s ease-out forwards;
}

@keyframes checkin-explode-snack {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

.checkin-explosion {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 130, 0, 0.8) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
}

.checkin-explosion.checkin-explosion-active {
    animation: checkin-burst 0.6s ease-out forwards;
}

@keyframes checkin-burst {
    0% {
        transform: scale(0.3);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.checkin-success {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
}

.checkin-success.checkin-success-visible {
    animation: checkin-success-in 0.5s ease-out forwards;
}

@keyframes checkin-success-in {
    to {
        opacity: 1;
    }
}

.checkin-success-icon {
    font-size: 32px;
    font-weight: 900;
    color: #00a650;
    margin-bottom: 8px;
}

.checkin-success p {
    margin: 0;
    font-size: 14px;
    color: var(--text-sec);
    font-weight: 700;
}