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

body {
    font-family: 'Segoe UI', 'Poppins', Arial, sans-serif;
    background: linear-gradient(145deg, #0f0c29, #1a1a2e, #16213e);
    min-height: 100vh;
    color: #fff;
}

.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 30px;
}

.logo h1 { font-size: 24px; background: linear-gradient(135deg, #e67e22, #f39c12); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { font-size: 12px; color: #ffd89b; }

.navbar { display: flex; gap: 20px; flex-wrap: wrap; }
.navbar a { color: white; text-decoration: none; padding: 8px 16px; border-radius: 10px; transition: 0.3s; }
.navbar a:hover, .navbar a.active { background: rgba(230,126,34,0.3); color: #e67e22; }

.user-info { display: flex; align-items: center; gap: 15px; }
.btn-login, .btn-logout { background: linear-gradient(135deg, #e67e22, #f39c12); border: none; padding: 8px 20px; border-radius: 25px; color: white; cursor: pointer; transition: 0.3s; }
.btn-login:hover, .btn-logout:hover { transform: scale(1.05); }

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(230,126,34,0.2), rgba(243,156,18,0.1));
    border-radius: 30px;
    margin-bottom: 40px;
}
.hero h2 { font-size: 36px; margin-bottom: 15px; }
.btn-primary { background: linear-gradient(135deg, #e67e22, #f39c12); border: none; padding: 12px 30px; border-radius: 30px; color: white; cursor: pointer; font-weight: bold; transition: 0.3s; margin-top: 20px; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* Stats */
.stats { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 40px 0; }
.stat-card { background: rgba(255,255,255,0.1); border-radius: 20px; padding: 20px; text-align: center; min-width: 150px; }
.stat-number { font-size: 32px; font-weight: bold; color: #e67e22; }

/* Products */
.section-title { font-size: 24px; margin: 30px 0 20px; padding-left: 15px; border-left: 4px solid #e67e22; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.product-card { background: rgba(255,255,255,0.95); border-radius: 20px; padding: 20px; color: #333; transition: 0.3s; }
.product-card:hover { transform: translateY(-5px); }
.product-card h3 { margin-bottom: 10px; }
.product-desc { color: #666; font-size: 13px; margin-bottom: 15px; }
.price-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; }
.buy-btn { background: #28a745; color: white; border: none; padding: 5px 15px; border-radius: 8px; cursor: pointer; }

/* Saldo Cards */
.saldo-container { display: flex; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.saldo-card { background: rgba(255,255,255,0.95); border-radius: 20px; padding: 20px; flex: 1; min-width: 200px; text-align: center; color: #333; }
.saldo-card .value { font-size: 28px; font-weight: bold; color: #e67e22; }

/* Admin Section */
.admin-section { background: rgba(255,255,255,0.95); border-radius: 15px; padding: 20px; margin-bottom: 20px; color: #333; }
.admin-section h4 { margin-bottom: 15px; color: #e67e22; }
.admin-section input, .admin-section select { width: 100%; padding: 10px; margin: 8px 0; border: 1px solid #ddd; border-radius: 8px; }

/* Modal */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1000; justify-content: center; align-items: center; }
.modal-content { background: white; border-radius: 20px; width: 90%; max-width: 500px; max-height: 80vh; overflow-y: auto; padding: 25px; color: #333; }
.close { float: right; font-size: 28px; cursor: pointer; font-weight: bold; }

/* Menu Buttons */
.menu-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.menu-btn { background: rgba(255,255,255,0.2); border: none; padding: 10px 20px; border-radius: 12px; color: white; cursor: pointer; transition: 0.3s; }
.menu-btn:hover { background: #e67e22; }

/* Rules */
.rules { background: #fff3cd; padding: 12px; border-radius: 10px; margin: 10px 0; font-size: 12px; border-left: 4px solid #ffc107; color: #333; }
.account-item { background: #f8f9fa; padding: 12px; margin-bottom: 8px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.wa-btn { background: #25D366; color: white; border: none; padding: 12px; border-radius: 12px; width: 100%; cursor: pointer; font-weight: bold; }

/* Footer */
.footer { margin-top: 50px; text-align: center; padding: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.social-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 15px; }
.social-links a { color: #ffd89b; text-decoration: none; }
.social-links a:hover { color: #e67e22; }

/* Terms & FAQ */
.terms-content, .faq-content { background: rgba(255,255,255,0.95); border-radius: 20px; padding: 30px; color: #333; }
.terms-section { margin-bottom: 25px; }
.terms-section h3 { color: #e67e22; margin-bottom: 10px; }

/* Responsive */
@media (max-width: 768px) {
    .header { flex-direction: column; text-align: center; }
    .navbar { justify-content: center; }
    .hero h2 { font-size: 24px; }
    .stats { flex-direction: column; align-items: center; }
    .product-grid { grid-template-columns: 1fr; }
}