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

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f5f5;
    color: #333;
    overflow-x: hidden;
}

.page-container {
    max-width: 480px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    position: relative;
    padding-bottom: 80px;
}

/* Banner no topo - 100% largura */
.banner-top {
    width: 100%;
    overflow: hidden;
}

.banner-top img {
    width: 100%;
    height: auto;
    display: block;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
}

.header-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
}

.icon {
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.back-btn {
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

/* Search Bar */
.search-bar {
    padding: 15px 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
}

.search-icon {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

/* Categories */
.categories {
    display: flex;
    gap: 15px;
    padding: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.categories::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex-shrink: 0;
    text-align: center;
    cursor: pointer;
}

.category-icon {
    width: auto;
    height: auto;
    padding: 12px 16px;
    border-radius: 20px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-bottom: 0;
    transition: all 0.2s;
    font-weight: 500;
    color: #333;
}

.category-item:hover .category-icon {
    background: #000;
    color: white;
    transform: scale(1.05);
}

.category-name {
    display: none;
}

/* Section Title */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.section-title h2 {
    font-size: 18px;
    font-weight: 600;
}

.section-title a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 20px 20px;
}

.products-grid.full {
    padding-bottom: 100px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.product-card:active {
    transform: scale(0.98);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.badge.new {
    background: #2ed573;
}

.product-info {
    padding: 12px;
}

.product-info h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.rating {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
}

.price {
    display: flex;
    gap: 8px;
    align-items: center;
}

.old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.new-price {
    font-size: 16px;
    font-weight: 700;
    color: #ff4757;
}

/* Invest Button Small */
.invest-btn-small {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    background: #000;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.invest-btn-small:hover {
    background: #333;
}

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

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin: 20px;
    border-radius: 12px;
}

.promo-banner h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.promo-banner p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.promo-banner button {
    background: white;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

/* Filters */
.filters {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #eee;
}

.filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn.active {
    background: #000;
    color: white;
    border-color: #000;
}

/* Product Detail */
.product-image-large {
    width: 100%;
    position: relative;
}

.product-image-large img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.badge-detail {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff4757;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.product-detail {
    padding: 20px;
}

.product-detail h1 {
    font-size: 22px;
    margin-bottom: 10px;
}

.rating-detail {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    font-size: 14px;
}

.reviews {
    font-size: 12px;
    color: #999;
}

.price-detail {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 25px;
}

.old-price-detail {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.new-price-detail {
    font-size: 28px;
    font-weight: 700;
    color: #ff4757;
}

.discount {
    background: #ff4757;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Size Selector */
.size-selector,
.color-selector,
.quantity-selector {
    margin-bottom: 25px;
}

.size-selector h3,
.color-selector h3,
.quantity-selector h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.sizes {
    display: flex;
    gap: 10px;
}

.size-btn {
    padding: 10px 18px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.size-btn.active {
    background: #000;
    color: white;
    border-color: #000;
}

/* Color Selector */
.colors {
    display: flex;
    gap: 12px;
}

.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.color-btn.active {
    border-color: #000;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #000;
}

/* Quantity Selector */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-controls button {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}

.quantity-controls input {
    width: 60px;
    height: 35px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

/* Description */
.description {
    margin-bottom: 100px;
}

.description h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.description p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.features {
    display: grid;
    gap: 8px;
}

.feature {
    font-size: 13px;
    color: #666;
}

/* Buy Actions */
.buy-actions {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.add-to-cart,
.buy-now {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.add-to-cart {
    background: white;
    border: 2px solid #000;
    color: #000;
}

.buy-now {
    background: #000;
    color: white;
}

/* Cart Items */
.cart-items {
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-item-info p {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #ff4757;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty button {
    width: 25px;
    height: 25px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.cart-qty span {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    font-weight: 300;
}

/* Order Summary */
.order-summary {
    padding: 20px;
    background: #f8f9fa;
    margin: 20px;
    border-radius: 8px;
}

.order-summary h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-line.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 18px;
    font-weight: 700;
}

.free {
    color: #2ed573;
    font-weight: 600;
}

.summary-line .discount {
    color: #ff4757;
    font-weight: 600;
}

/* Coupon Section */
.coupon-section {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
}

.coupon-section input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.coupon-section button {
    padding: 12px 20px;
    background: #000;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Checkout Button */
.checkout-btn-container {
    padding: 0 20px 20px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: #000;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    background: white;
    border-top: 1px solid #eee;
    padding: 10px 0 8px;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999;
    font-size: 13px;
    transition: all 0.2s;
    font-weight: 500;
    padding: 0 8px;
    min-width: 60px;
}

.nav-item.active {
    color: #000;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    margin-bottom: 4px;
}

.nav-label {
    font-size: 11px;
    text-align: center;
    line-height: 1.2;
}

/* Balance Card */
.balance-card {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    padding: 30px 20px;
    margin: 20px;
    border-radius: 12px;
}

.balance-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.balance-amount {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.balance-change {
    font-size: 14px;
    margin-bottom: 20px;
}

.balance-change.positive {
    color: #2ed573;
}

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

.action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    background: white;
    color: #000;
}

.action-btn.outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 20px 20px;
}

.stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.stat-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
}

.stat-value.positive {
    color: #2ed573;
}

/* Investment specific styles */
.investment-return {
    font-size: 14px;
    font-weight: 700;
    color: #2ed573;
    margin-bottom: 8px;
}

.investment-label {
    font-size: 11px;
    color: #999;
}

.investment-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.metric {
    text-align: center;
}

.metric-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 20px;
    font-weight: 700;
}

.metric-value.positive {
    color: #2ed573;
}

/* Investment Amount Selector */
.investment-amount-selector {
    margin-bottom: 25px;
}

.amount-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.preset-btn {
    padding: 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn:hover,
.preset-btn:active {
    background: #000;
    color: white;
    border-color: #000;
}

#investmentAmount {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}

/* Returns Simulation */
.returns-simulation {
    margin-bottom: 25px;
}

.simulation-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.sim-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.sim-line.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-weight: 700;
    font-size: 16px;
}

.sim-value.positive {
    color: #2ed573;
    font-weight: 600;
}

/* Risk Info */
.risk-info {
    margin-bottom: 100px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.risk-level {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 10px;
}

.risk-level.low {
    background: #d4edda;
    color: #155724;
}

.risk-description {
    font-size: 13px;
    color: #666;
}

/* Wallet Balance */
.wallet-balance {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    padding: 30px 20px;
    margin: 20px;
    border-radius: 12px;
    text-align: center;
}

.balance-invested {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 5px;
}

/* Wallet Tabs */
.wallet-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 0 20px;
}

.wallet-tab {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    color: #999;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.wallet-tab.active {
    color: #000;
    border-bottom-color: #000;
}

/* Wallet Content */
.wallet-content {
    padding: 20px;
}

.wallet-content.hidden {
    display: none;
}

/* Amount Section */
.amount-section {
    margin-bottom: 30px;
}

.amount-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.amount-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

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

.quick-amounts button {
    padding: 10px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-amounts button:hover,
.quick-amounts button:active {
    background: #000;
    color: white;
    border-color: #000;
}

.available-balance {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

/* Payment Methods */
.payment-methods,
.withdrawal-methods {
    margin-bottom: 30px;
}

.payment-methods h3,
.withdrawal-methods h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.payment-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: #000;
    background: #f8f9fa;
}

.payment-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.payment-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.payment-icon.pix-icon {
    background: #32BCAD;
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.payment-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
}

.payment-desc {
    font-size: 12px;
    color: #666;
}

/* Withdrawal Info */
.withdrawal-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.withdrawal-type-section {
    margin-bottom: 30px;
}

.withdrawal-type-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.info-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.info-line:last-child {
    margin-bottom: 0;
}

/* Transaction List */
.transaction-list {
    margin-bottom: 100px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    background: #f8f9fa;
    flex-shrink: 0;
}

.transaction-icon.positive {
    background: #d4edda;
    color: #2ed573;
}

.transaction-icon.negative {
    background: #f8d7da;
    color: #ff4757;
}

.transaction-info {
    flex: 1;
}

.transaction-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
}

.transaction-date {
    font-size: 12px;
    color: #999;
}

.transaction-amount {
    font-weight: 700;
    font-size: 16px;
}

.transaction-amount.positive {
    color: #2ed573;
}

.transaction-amount.negative {
    color: #ff4757;
}

/* Action Button */
.action-button {
    width: 100%;
    padding: 16px;
    background: #000;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.action-button:hover {
    background: #333;
}

.action-button:active {
    transform: scale(0.98);
}

/* Icon Styles */
.nav-icon,
.payment-icon,
.transaction-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-home::before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-chart::before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-wallet::before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8zm4-2.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-user::before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-affiliate::before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-card::before {
    content: "";
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-bank::before {
    content: "";
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M4 10h3v7H4zm6.5 0h3v7h-3zM2 19h20v3H2zm15-9h3v7h-3zm-5-9L2 6v2h20V6z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-barcode::before {
    content: "";
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M2 6h2v12H2zm4 0h1v12H6zm2 0h2v12H8zm4 0h1v12h-1zm3 0h2v12h-2zm4 0h1v12h-1zm2 0h2v12h-2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Profile Header */
.profile-header {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.profile-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-id {
    font-size: 13px;
    color: #999;
}

/* Profile Section */
.profile-section {
    padding: 20px;
    margin-bottom: 20px;
}

.profile-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.input-group input:focus {
    border-color: #000;
}

/* Affiliate Section */
.affiliate-section {
    padding: 20px;
    margin: 20px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    border-radius: 12px;
}

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

.affiliate-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.affiliate-badge {
    background: #2ed573;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.affiliate-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.affiliate-stat {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.affiliate-stat .stat-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.affiliate-stat .stat-value {
    font-size: 24px;
    font-weight: 700;
}

.affiliate-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.affiliate-info p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.affiliate-link-section {
    margin-bottom: 20px;
}

.affiliate-link-section label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.link-container {
    display: flex;
    gap: 10px;
}

.link-container input {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 13px;
}

.copy-btn {
    padding: 12px 20px;
    background: white;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

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

.share-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.share-btn {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.share-icon {
    width: 30px;
    height: 30px;
    background: white;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

/* Settings Items */
.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-size: 14px;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item .arrow {
    color: #999;
    font-size: 16px;
}

/* Logout Section */
.logout-section {
    padding: 20px;
    margin-bottom: 100px;
}

.logout-btn {
    width: 100%;
    padding: 14px;
    background: white;
    color: #ff4757;
    border: 2px solid #ff4757;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: #ff4757;
    color: white;
}

.icon-affiliate::before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Affiliate Link Box */
.affiliate-link-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.affiliate-link-box input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    background: #f8f9fa;
}

.copy-btn-dark {
    padding: 12px 20px;
    background: #000;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn-dark:active {
    transform: scale(0.95);
}

/* Share Buttons Grid */
.share-buttons-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.share-btn-full {
    padding: 15px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.share-btn-full:hover {
    background: #f8f9fa;
    border-color: #000;
}

.share-btn-full .share-icon {
    width: 35px;
    height: 35px;
    background: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.share-btn-full.whatsapp .share-icon {
    background: #25D366;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
}

.share-btn-full.whatsapp .share-icon::before {
    content: none;
}

.share-btn-full.telegram .share-icon {
    background: #0088cc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z'/%3E%3C/svg%3E");
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.share-btn-full.telegram .share-icon::before {
    content: none;
}

.share-btn-full.email .share-icon {
    background: #EA4335;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.share-btn-full.email .share-icon::before {
    content: none;
}

/* How It Works */
.how-it-works {
    display: grid;
    gap: 20px;
}

.step-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
}

.step-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Login Container */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.login-header p {
    font-size: 14px;
    color: #666;
}

/* Login Tabs */
.login-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.login-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    color: #999;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.login-tab.active {
    color: #000;
    border-bottom-color: #000;
}

/* Login Form */
.login-form {
    margin-bottom: 30px;
}

.login-form.hidden {
    display: none;
}

.forgot-password {
    display: block;
    text-align: right;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    margin-bottom: 20px;
}

.forgot-password:hover {
    color: #000;
}

.terms-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 2px;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
}

.login-footer p {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

/* Bonus Status Card */
.bonus-status-card {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    padding: 25px 20px;
    margin: 20px;
    border-radius: 12px;
}

.bonus-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.bonus-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.bonus-stat {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.bonus-stat .stat-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.bonus-stat .stat-value {
    font-size: 24px;
    font-weight: 700;
}

.claim-all-btn {
    width: 100%;
    padding: 14px;
    background: white;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.claim-all-btn:hover {
    background: #f0f0f0;
}

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

/* Investment Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 15, 30, 0.82);
    backdrop-filter: blur(10px);
    z-index: 9999;
}

.modal-card {
    width: min(420px, 100%);
    background: linear-gradient(155deg, rgba(26, 34, 60, 0.97), rgba(15, 20, 40, 0.94));
    border-radius: 20px;
    border: 1px solid rgba(79, 172, 254, 0.32);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    padding: 24px;
    color: #f9fbff;
    position: relative;
}

.modal-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.modal-card p {
    font-size: 14px;
    margin-bottom: 8px;
    color: rgba(239, 244, 255, 0.82);
}

.modal-card p strong {
    color: #ffffff;
}

.modal-stats {
    background: rgba(79, 172, 254, 0.08);
    border: 1px solid rgba(79, 172, 254, 0.22);
    border-radius: 16px;
    padding: 16px;
    margin: 18px 0;
    display: grid;
    gap: 12px;
}

.modal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(233, 238, 255, 0.78);
}

.modal-row span:last-child {
    font-weight: 700;
    color: #ffffff;
}

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

.modal-actions button {
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.modal-actions .btn-cancel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
}

.modal-actions .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
}

.modal-actions .btn-confirm {
    background: linear-gradient(135deg, #4facfe, #2a7be4);
    color: #ffffff;
    border: none;
    box-shadow: 0 14px 36px rgba(42, 123, 228, 0.35);
}

.modal-actions .btn-confirm:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

@media (max-width: 420px) {
    .modal-card {
        padding: 20px;
    }

    .modal-actions {
        grid-template-columns: 1fr;
    }
}

/* Section Description */
.section-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/* Bonus Tiers */
.bonus-tiers {
    display: grid;
    gap: 15px;
    margin-bottom: 100px;
}

.bonus-tier {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #eee;
    transition: all 0.2s;
}

.bonus-tier.claimed {
    background: #f8f9fa;
    border-color: #2ed573;
}

.bonus-tier.available {
    background: #fff9e6;
    border-color: #ffc107;
}

.bonus-tier.locked {
    background: #f8f9fa;
    opacity: 0.6;
}

.tier-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.bonus-tier.claimed .tier-icon {
    background: #2ed573;
}

.bonus-tier.available .tier-icon {
    background: #ffc107;
}

.bonus-tier.locked .tier-icon {
    background: #ddd;
}

.tier-check {
    color: white;
    font-weight: 700;
    font-size: 28px;
}

.tier-number {
    font-size: 24px;
}

.tier-info {
    flex: 1;
}

.tier-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.tier-reward {
    font-size: 16px;
    font-weight: 700;
    color: #2ed573;
    margin-bottom: 4px;
}

.tier-status {
    font-size: 12px;
    color: #666;
}

.tier-progress {
    font-size: 12px;
    color: #999;
}

.tier-btn {
    padding: 10px 20px;
    background: #2ed573;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.tier-btn:hover {
    background: #26c361;
}

.tier-btn.disabled {
    background: #ddd;
    color: #999;
    cursor: not-allowed;
}

/* Info Card */
.info-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card strong {
    color: #333;
    font-weight: 600;
}