*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#070b12;color:#f5f7fb}body{min-height:100vh}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}.site-shell,.auth-shell,.admin-form-shell{min-height:100vh;padding:32px}.site-shell{display:grid;place-items:center;background:radial-gradient(circle at 80% 10%,#17325c 0,#070b12 42%)}.hero-card{width:min(1080px,100%);display:grid;grid-template-columns:1.2fr .8fr;gap:28px;padding:56px;border:1px solid #263143;border-radius:32px;background:#0d131deb;box-shadow:0 24px 80px #00000059}.eyebrow,.section-label{font-size:12px;letter-spacing:.16em;font-weight:800;color:#73a7ff}.hero-card h1,.auth-card h1,.admin-form h1{font-size:clamp(38px,6vw,72px);line-height:.98;margin:14px 0 20px}.hero-card p,.auth-card p,.admin-form p{color:#9ba7b9;line-height:1.7;max-width:680px}.home-actions,.header-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;padding:12px 18px;cursor:pointer;font-weight:800}.button.primary{background:#4f8cff;color:#fff}.button.secondary{background:#1a2331;color:#dce5f3;border:1px solid #2b3749}.button.full{width:100%}.button:disabled{opacity:.45;cursor:not-allowed}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:center}.feature-grid article,.stats-grid article{padding:20px;border:1px solid #293548;border-radius:18px;background:#101722}.feature-grid strong{display:block;color:#73a7ff;margin-bottom:12px}.feature-grid span{color:#dbe3ef}.auth-shell{display:grid;place-items:center}.auth-card,.success-card,.admin-form{width:min(620px,100%);padding:36px;border:1px solid #293548;border-radius:24px;background:#0e151f;box-shadow:0 24px 70px #0000004d}.back-link{display:inline-block;color:#9ba7b9;margin-bottom:34px}.auth-card label,.form-grid label,.admin-form section>label{display:grid;gap:8px;margin:18px 0;color:#cdd6e4;font-weight:700}.auth-card input,.form-grid input,.form-grid textarea,.form-grid select,.order-tools input,.admin-form section input,.admin-form section textarea,.admin-form section select{width:100%;padding:13px 14px;border-radius:11px;border:1px solid #334157;background:#080e17;color:#fff;outline:none}.auth-card input:focus,.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus,.admin-form section input:focus,.admin-form section textarea:focus,.admin-form section select:focus{border-color:#5b96ff}.form-error{margin:16px 0;padding:12px 14px;border-radius:10px;background:#351820;color:#ff9ba9;border:1px solid #68303b}.success-card{text-align:center}.success-url{margin:22px 0;padding:14px;border-radius:12px;background:#08101b;color:#73a7ff;font-family:ui-monospace,monospace}.admin-dashboard{min-height:100vh;padding:32px;max-width:1280px;margin:auto}.admin-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.admin-header h1{margin:6px 0;font-size:42px}.admin-header p{color:#8f9bad;margin:0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.stats-grid span{display:block;color:#8f9bad;font-size:14px}.stats-grid strong{display:block;font-size:30px;margin-top:10px}.admin-panel{border:1px solid #293548;border-radius:22px;background:#0e151f;padding:24px;margin-bottom:22px}.panel-header{display:flex;justify-content:space-between;gap:20px;align-items:end}.panel-header h2{margin:6px 0 0}.order-tools{display:flex;gap:8px}.order-tools button,.admin-filters button,.order-row button{border:1px solid #334157;background:#172131;color:#dce5f3;padding:9px 12px;border-radius:9px;cursor:pointer}.admin-filters{display:flex;gap:8px;margin:22px 0;flex-wrap:wrap}.admin-filters button.active{background:#4f8cff;border-color:#4f8cff;color:#fff}.order-list,.raffle-list{display:grid;gap:10px}.order-row,.raffle-row{display:grid;grid-template-columns:1fr auto auto auto;gap:16px;align-items:center;padding:16px;border-top:1px solid #202b3a}.order-row div,.raffle-row div{display:grid;gap:5px}.order-row div span,.raffle-row div span{color:#8f9bad;font-size:13px}.status{font-size:12px;font-weight:800}.status-active,.status-paid{color:#6ee7a0}.status-pending,.status-draft{color:#ffd166}.status-cancelled,.status-expired{color:#ff7f8d}.empty-state{padding:42px;text-align:center;color:#8f9bad;display:grid;gap:8px;justify-items:center}.empty-state strong{color:#dce5f3}.admin-form-shell{max-width:1000px;margin:auto}.admin-form{width:100%}.admin-form header{margin-bottom:26px}.admin-form h1{font-size:48px}.admin-form section{padding:20px 0;border-top:1px solid #202b3a}.admin-form section h2{margin:0 0 12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid label.wide{grid-column:1/-1}.form-note{font-size:13px}.prize-editor{padding:18px;margin:14px 0;border:1px solid #293548;border-radius:16px;background:#0a111a}.prize-editor label{display:grid;gap:8px;margin:10px 0;color:#cdd6e4;font-weight:700}.prize-editor textarea{min-height:80px;resize:vertical}.center-state{min-height:100vh;display:grid;place-items:center}.public-page,.checkout-page,.order-page,.result-page{min-height:100vh;background:#070b12;color:#f5f7fb;padding-bottom:40px}.public-page{max-width:1080px;margin:auto}.raffle-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);min-height:360px;border-bottom:1px solid #202b3a;background:#0c131d}.raffle-hero>img{width:100%;height:100%;min-height:360px;object-fit:cover}.raffle-hero>div{padding:44px;display:flex;flex-direction:column;justify-content:center}.raffle-hero h1{font-size:clamp(38px,6vw,64px);line-height:1;margin:12px 0 18px}.raffle-hero p{color:#aab5c5;line-height:1.7}.raffle-progress,.number-section,.prize-list{margin:20px}.raffle-progress{padding:22px;border:1px solid #293548;border-radius:20px;background:#0e151f}.progress-meta,.section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px}.progress-meta span,.raffle-progress p{color:#8f9bad}.progress-track{height:10px;background:#1c2635;border-radius:99px;overflow:hidden;margin:14px 0}.progress-track i{display:block;height:100%;background:#4f8cff;border-radius:inherit}.prize-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.prize-list article{display:flex;gap:16px;overflow:hidden;border:1px solid #293548;border-radius:20px;background:#0e151f}.prize-list img{width:110px;height:110px;object-fit:cover}.prize-list article>div{padding:18px}.prize-list h2{margin:8px 0}.prize-list p{margin:0;color:#9ba7b9;line-height:1.5}.number-section{padding:24px;border:1px solid #293548;border-radius:20px;background:#0e151f}.section-heading h2{margin:7px 0 0}.number-legend{display:flex;gap:16px;flex-wrap:wrap;color:#aab5c5;font-size:13px;margin:20px 0}.number-legend span{display:flex;align-items:center;gap:7px}.legend-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.legend-dot.available{background:#4f8cff}.legend-dot.reserved{background:#ffd166}.legend-dot.sold{background:#465267}.number-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px}.raffle-number{min-height:42px;border:1px solid #334157;border-radius:9px;background:#101925;color:#dce5f3;font-weight:800;cursor:pointer}.raffle-number.available:hover,.raffle-number.selected{border-color:#4f8cff;background:#17335f;color:#fff}.raffle-number.reserved{background:#3b3219;color:#ffd166;cursor:not-allowed}.raffle-number.sold{background:#202936;color:#68768a;cursor:not-allowed}.raffle-number:disabled{opacity:.75}.pagination{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:22px}.pagination button{border:1px solid #334157;background:#172131;color:#dce5f3;border-radius:9px;padding:9px 13px}.pagination span{color:#8f9bad;font-size:13px}.checkout-sheet{position:sticky;bottom:14px;margin:20px;padding:18px;border:1px solid #3d5e93;border-radius:20px;background:#0e151ff7;box-shadow:0 20px 60px #00000073;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.checkout-sheet>div{display:flex;justify-content:space-between;margin-bottom:12px}.checkout-sheet>div span{font-weight:800;color:#73a7ff}.checkout-sheet input{width:100%;padding:13px 14px;border-radius:11px;border:1px solid #334157;background:#080e17;color:#fff;margin-top:8px}.checkout-sheet .button{margin-top:10px}.skeleton{padding:60px;text-align:center;color:#8f9bad}.checkout-page,.order-page,.result-page{display:grid;place-items:center;padding:24px}.checkout-card,.order-card,.result-page>section,.result-page>header{width:min(640px,100%)}.checkout-card,.order-card{padding:32px;border:1px solid #293548;border-radius:24px;background:#0e151f;box-shadow:0 24px 70px #00000059}.checkout-card h1,.order-card h1,.result-page h1{font-size:42px;line-height:1.05;margin:10px 0}.selected-numbers,.order-numbers{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0}.selected-numbers span,.order-numbers span{padding:8px 10px;border-radius:8px;background:#172a49;color:#73a7ff;font-weight:800}.checkout-total,.order-total{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-top:1px solid #293548;border-bottom:1px solid #293548;margin:22px 0}.checkout-total strong,.order-total strong{font-size:28px}.checkout-card label{display:grid;gap:8px;margin:18px 0;color:#cdd6e4;font-weight:700}.checkout-card input{width:100%;padding:13px 14px;border-radius:11px;border:1px solid #334157;background:#080e17;color:#fff}.checkout-card form button,.order-card>button,.pix-copy{width:100%;padding:13px;border:0;border-radius:11px;background:#4f8cff;color:#fff;font-weight:800;cursor:pointer}.countdown{display:flex;justify-content:space-between;align-items:center;padding:16px;border-radius:14px;background:#08101b;margin:20px 0}.countdown strong{font-size:30px;color:#ffd166}.pix-qr{display:grid;place-items:center;padding:20px;background:#fff;border-radius:16px;margin:20px 0}.pix-qr canvas{max-width:100%;height:auto}.order-card small,.checkout-card small{display:block;color:#8f9bad;line-height:1.5;margin-top:18px}.success,.expired{padding:14px;border-radius:12px;margin:18px 0}.success{background:#102d1f;color:#7cf0aa}.expired{background:#351820;color:#ff9ba9}.result-page{max-width:760px;margin:auto;align-items:start}.result-page>header{padding:20px 0}.result-stage{display:grid;gap:8px;text-align:center;padding:28px;border:1px solid #293548;border-radius:20px;background:#0e151f}.result-stage strong{font-size:36px}.winners{display:grid;gap:10px;margin-top:18px}.winners article{display:grid;grid-template-columns:auto auto 1fr auto;gap:14px;align-items:center;padding:18px;border:1px solid #293548;border-radius:16px;background:#0e151f}.result-page .primary-button{width:100%;margin-top:18px}.draw-page{min-height:100vh;max-width:900px;margin:auto;padding:32px}.draw-page header h1{font-size:52px;margin:8px 0}.draw-page header p{color:#8f9bad}.draw-stage{display:grid;place-items:center;gap:10px;padding:70px 20px;margin:28px 0;border:1px solid #293548;border-radius:28px;background:radial-gradient(circle,#132544,#0e151f 60%);text-align:center}.draw-stage span{font-size:12px;letter-spacing:.16em;color:#73a7ff;font-weight:800}.draw-stage strong{font-size:clamp(80px,16vw,160px);line-height:1}.draw-stage p{color:#8f9bad}.draw-button{width:100%;padding:16px;border:0;border-radius:13px;background:#4f8cff;color:#fff;font-weight:900;cursor:pointer}.winners{display:grid;gap:10px;margin-top:22px}.winners article{display:grid;grid-template-columns:auto auto 1fr auto;gap:14px;align-items:center;padding:16px;border:1px solid #293548;border-radius:14px;background:#0e151f}.winners article b{font-size:24px;color:#73a7ff}.winners article small{color:#8f9bad}@media(max-width:800px){.site-shell,.auth-shell,.admin-form-shell,.admin-dashboard{padding:18px}.hero-card{grid-template-columns:1fr;padding:30px}.stats-grid{grid-template-columns:1fr 1fr}.panel-header{display:grid;align-items:stretch}.order-tools{display:grid;grid-template-columns:1fr auto}.order-row,.raffle-row{grid-template-columns:1fr auto;gap:10px}.order-row button,.raffle-row .button{grid-column:1/-1}.form-grid{grid-template-columns:1fr}.form-grid label.wide{grid-column:auto}.admin-header{align-items:flex-start;flex-direction:column}.header-actions{margin-top:0}.raffle-hero{grid-template-columns:1fr}.raffle-hero>img{min-height:220px;max-height:300px}.raffle-hero>div{padding:28px 20px}.raffle-progress,.number-section,.prize-list{margin:14px}.number-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.checkout-sheet{margin:14px}.winners article{grid-template-columns:auto 1fr}.winners article small{grid-column:2}.draw-page{padding:18px}.draw-page header h1{font-size:42px}.draw-stage{padding:50px 15px}}
