@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');
:root { --bg-main: #050505; --bg-card: #141414; --text-white: #FFFFFF; --text-gray: #A0A0A0; }
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-main); color: var(--text-white); padding-bottom: 90px; }
a { text-decoration: none; color: inherit; }
.app-header { padding: 20px; background: linear-gradient(180deg, rgba(20,20,20,1) 0%, rgba(5,5,5,0) 100%); }
.top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.location { font-size: 13px; display: flex; align-items: center; color: #fff; font-weight: 600;}
.logo { text-align: center; color: #fff; }
.logo h1 { font-size: 32px; font-weight: 800; font-style: italic; letter-spacing: -1.5px; line-height: 1; color: #fff;}
.logo .plus { color: var(--primary-color); }
.logo p { font-size: 7px; letter-spacing: 1px; color: #fff; text-transform: uppercase; margin-top: 2px;}
.icons { display: flex; align-items: center; gap: 15px; font-size: 20px; }
.avatar { width: 28px; height: 28px; border: 1.5px solid var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--text-white);}
.search-bar form { background: var(--bg-card); border-radius: 25px; padding: 14px 20px; display: flex; align-items: center; gap: 12px; border: 1px solid #333; }
.search-bar input { background: transparent; border: none; color: white; width: 100%; outline: none; font-size: 14px; }
.app-content { padding: 0 20px; }
.banner-highlight { background: linear-gradient(135deg, rgba(230,0,0,0.2), #0a0000); border: 1px solid var(--primary-color); border-radius: 16px; padding: 25px 20px; position: relative; margin-bottom: 25px; border-left: 3px solid var(--primary-color); overflow: hidden;}
.banner-text p { font-size: 12px; font-weight: 800; color: #fff; }
.banner-text h2 { font-size: 60px; font-weight: 900; color: var(--primary-color); line-height: 0.9; margin: 5px 0;}
.banner-text .percent { font-size: 35px; }
.categories { display: flex; justify-content: space-between; margin-bottom: 35px; text-align: center; overflow-x: auto; scrollbar-width: none; padding-bottom: 5px;}
.cat-item { min-width: 70px; display: flex; flex-direction: column; align-items: center; gap: 10px; color:#fff;}
.cat-icon { width: 55px; height: 55px; background: transparent; border: 1px solid #333; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--primary-color); transition: 0.3s;}
.premium-banner { display: flex; align-items: center; background: var(--bg-card); border: 1px solid #333; padding: 18px 20px; border-radius: 14px; margin-top: 15px; color:#fff;}
.bottom-nav { position: fixed; bottom: 0; width: 100%; background: var(--bg-main); border-top: 1px solid #111; display: flex; justify-content: space-around; padding: 12px 0; z-index: 100;}
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #666; font-size: 10px; font-weight: 600; width: 60px;}
.nav-item.active { color: var(--primary-color); }
.nav-item i { font-size: 22px; }
.qr-center { position: relative; top: -20px; color: white !important; }
.qr-bg { background: var(--primary-color); width: 55px; height: 55px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 4px; border: 3px solid var(--bg-main);}
.search-card { display: flex; flex-direction: row; align-items: center; justify-content: space-between; padding: 15px; position: relative; border-radius: 12px; background: var(--bg-card); border: 1px solid #333; overflow: hidden; text-decoration: none; color: #fff; margin-bottom:15px;}
.search-card .est-logo { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-color); margin-right: 15px; }
.add-btn { background: transparent; border: 1.5px solid var(--primary-color); color: var(--primary-color); padding: 8px 15px; border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 13px; }
.btn-solid { background: var(--primary-color); color: white; padding: 12px 20px; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; text-align:center;}
.box-panel { background: var(--bg-card); padding: 20px; border-radius: 12px; border: 1px solid #333; margin-bottom: 20px;}
.prices .new-price { font-size: 18px; font-weight: 800; color: var(--primary-color); }
.sponsored-badge { position: absolute; top: 0; right: 0; background: var(--primary-color); color: #fff; font-size: 10px; font-weight: 800; padding: 5px 10px; border-bottom-left-radius: 10px; z-index: 2;}

/* Dynamic Form Cadastro */
.form-dynamic { display: flex; flex-direction: column; gap: 15px; }
.input-group { position: relative; }
.input-group input { width: 100%; padding: 15px; background: #0a0a0a; border: 1px solid #333; border-radius: 8px; color: #fff; font-size: 14px; outline: none; transition: border-color 0.3s;}
.input-group input:focus { border-color: var(--primary-color); }
.input-group label { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: #666; transition: 0.3s; pointer-events: none; font-size: 14px; background: #0a0a0a; padding: 0 5px;}
.input-group input:focus + label, .input-group input:not(:placeholder-shown) + label { top: 0; font-size: 11px; color: var(--primary-color); }

/* Cropper Modal */
#cropperModal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.9); z-index:9999; padding:20px; flex-direction:column; align-items:center; justify-content:center;}
#imageToCrop { max-width: 100%; max-height: 70vh; }
