:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#f6eee6;background:#090b0b;scroll-behavior:smooth;color-scheme:dark}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#090b0b}body{overflow-x:hidden}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}[hidden]{display:none!important}
button,.primary,.secondary{border:1px solid #e35b26;background:transparent;color:#fff;padding:12px 18px;border-radius:6px;display:inline-block;font-weight:700;transition:.2s}
button:hover,.secondary:hover{border-color:#ff8530}.primary{background:linear-gradient(120deg,#e3451c,#ff8530);border:0;color:#170b05;box-shadow:0 0 25px #f04d263d}.primary:hover,.secondary:hover{transform:translateY(-2px);box-shadow:0 0 26px #f04d266b}
.particles{position:fixed;inset:0;pointer-events:none;opacity:.22;background-image:radial-gradient(#ff6722 1px,transparent 2px),linear-gradient(135deg,transparent 40%,#ab280d1b 41%,transparent 42%);background-size:95px 95px,100% 100%;animation:drift 30s linear infinite;z-index:0}@keyframes drift{to{background-position:190px 95px,0 0}}
.site-header{min-height:76px;position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px max(3vw,20px);background:#080a0af0;border-bottom:1px solid #8d2e19;backdrop-filter:blur(16px)}
.brand{display:flex;align-items:center;gap:8px;letter-spacing:2px;flex-shrink:0}.brand img{width:48px;height:48px;object-fit:contain}nav{display:flex;align-items:center;flex-wrap:wrap;gap:24px}nav a{font-size:14px;color:#e8e1dc}nav a:hover{color:#ff7c39}.header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.header-actions button{white-space:nowrap;font-size:13px;padding:10px 14px}.profile-nav-btn{background:linear-gradient(120deg,#e3451c,#ff8530);color:#170b05}
main,footer{position:relative;z-index:1}.hero{min-height:700px;position:relative;display:grid;place-items:center;background:linear-gradient(90deg,#070808b5,#07080845,#070808b5),url("assets/banner.png") center/cover}.hero-shade{position:absolute;inset:0;background:linear-gradient(0deg,#090b0b 0%,transparent 65%)}.hero-content{position:relative;text-align:center;padding:50px 20px;animation:appear .8s ease-out}@keyframes appear{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}.hero-logo{width:min(300px,70vw);filter:drop-shadow(0 8px 30px #000)}
.eyebrow{color:#ff8530;letter-spacing:3px;font-weight:800;font-size:11px}h1{font-size:clamp(32px,5vw,66px);margin:12px 0;text-shadow:0 5px 25px #000}h2{font-size:clamp(28px,4vw,42px);margin:10px 0 24px}h3{font-size:22px;margin:12px 0}.hero-content>p:not(.eyebrow){color:#ddd}.actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:30px}
.section{max-width:1280px;margin:auto;padding:78px 24px}.grid{display:grid;gap:24px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.panel,.product{background:linear-gradient(140deg,#1d2225,#101315);border:1px solid #75351f;border-radius:12px;padding:26px;box-shadow:0 12px 35px #0005;transition:transform .25s,border-color .25s}.panel:hover,.product:hover{transform:translateY(-4px);border-color:#ff7c39}.panel p,.product p,.about p,.donate p{color:#bdbbb8;line-height:1.7}.panel code{display:block;margin:20px 0;color:#ffc69b}.tag{color:#ff9450;font-size:12px;letter-spacing:2px}.about{text-align:center;max-width:800px}.about p{margin-bottom:30px}.notice{padding:15px;border:1px solid #66512a;background:#2d2418;border-radius:8px;margin-bottom:22px;color:#f7d5a0}.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.filters button.active{background:#d64e22;border-color:#d64e22}.products{grid-template-columns:repeat(3,minmax(0,1fr))}.product{text-align:center}.product .art{height:130px;display:grid;place-items:center;font-size:62px;background:radial-gradient(#6b2a19,#111517 70%);border-radius:8px}.price{font-size:23px;color:#ff9851;font-weight:900;margin:15px 0}.old{text-decoration:line-through;color:#999;font-size:14px;margin-right:8px}.sale{padding:20px;text-align:center;background:linear-gradient(90deg,#9c2217,#ed6322);border-radius:10px;margin-bottom:25px;font-size:21px;font-weight:900}.donate{text-align:center}.donate label{display:block;margin:20px 0 8px;color:#ccc}.donate input{width:110px;margin:0 10px 12px}input{background:#181b1c;border:1px solid #6c4b3d;color:#fff;border-radius:5px;padding:11px 12px}input:focus{outline:2px solid #e35b26;outline-offset:1px}
footer{padding:30px max(4vw,22px);display:flex;justify-content:space-between;gap:20px;background:#080909;color:#999;font-size:13px;line-height:1.8}footer a:hover{color:#ff8530}
.site-dialog{color:#f8eee6;background:#111516;border:1px solid #a74a26;border-radius:14px;width:min(680px,calc(100% - 28px));max-height:88vh;overflow:auto;padding:24px;box-shadow:0 25px 90px #000c}.site-dialog::backdrop{background:#000c;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px}.dialog-top h2{margin:3px 0 0}.dialog-top .eyebrow{margin:0}.close-btn{width:38px;height:38px;padding:0;font-size:25px;line-height:1;border-color:#573326;background:#1c2022}.site-dialog>label{display:block;margin:14px 0;color:#e6dcd5}.site-dialog>input{width:100%;margin-top:5px}.dialog-note{color:#c1b8b2;line-height:1.65;background:#1a1e1f;padding:13px;border-radius:8px}.admin-dialog{width:min(850px,calc(100% - 28px))}.admin-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.admin-buttons button{margin:0}.edit-product{border-top:1px solid #5d3628;margin-top:18px;padding-top:18px}.edit-product .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.edit-product .fields label{display:block;color:#d8cbc3;font-size:13px}.edit-product .fields input{width:100%;margin-top:6px}.enabled-field{display:flex;align-items:center;gap:8px;color:#ccc}.enabled-field input{width:auto}.remove-product{border-color:#794033;color:#ffb4a0}.info-dialog{width:min(500px,calc(100% - 28px))}.profile-dialog{width:min(620px,calc(100% - 28px))}
.profile-header{display:flex;align-items:center;gap:18px;padding:20px;margin:18px 0;background:radial-gradient(ellipse at top right,#8e351b45,transparent 65%),linear-gradient(140deg,#202426,#141718);border:1px solid #75351f;border-radius:12px}#profileAvatar{width:82px;height:82px;flex:0 0 82px;object-fit:cover;border-radius:50%;border:3px solid #ff8530;background:#242729}.profile-identity{min-width:0}.profile-identity h3{margin:0 0 7px;overflow-wrap:anywhere}.profile-identity p{margin:0 0 12px;color:#bdbbb8;overflow-wrap:anywhere}.role-badge{display:inline-block;padding:6px 10px;border:1px solid #a74a26;border-radius:5px;background:#512515;color:#ffad76;font-size:10px;font-weight:900;letter-spacing:1px;text-transform:uppercase}.profile-details{margin:14px 0;padding:18px;border:1px solid #38302c;border-radius:10px;background:linear-gradient(140deg,#1b1f20,#121516)}.profile-details h3{margin:0 0 14px;color:#ff9851;font-size:17px}.detail-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;color:#bdbbb8}.detail-row strong{color:#ffc69b;font-family:ui-monospace,monospace;overflow-wrap:anywhere}.empty-state{padding:13px 15px;border-left:3px solid #e35b26;border-radius:4px;background:#0d1011;color:#bdbbb8;font-size:14px;line-height:1.7}.admin-section{border-color:#a74a26}.admin-section p{color:#bdbbb8;line-height:1.65}#profileAdminActions{display:grid;gap:10px}#profileAdminActions button{width:100%;text-align:left;margin:0}.login-btn,.logout-btn{display:block;width:100%;margin-top:16px;text-align:center}.logout-btn{background:#202426}
@media(max-width:900px){.site-header{flex-wrap:wrap}nav{order:3;width:100%;justify-content:center;gap:14px}.header-actions{margin-left:auto}.two,.products{grid-template-columns:1fr}.hero{min-height:620px}}
@media(max-width:560px){.site-header{padding:10px 14px}.brand img{width:38px;height:38px}.brand{font-size:13px}nav{justify-content:flex-start;font-size:12px;gap:12px}.header-actions{width:100%}.header-actions button{flex:1}.section{padding:58px 18px}.hero{min-height:560px}footer{flex-direction:column}.edit-product .fields{grid-template-columns:1fr}.site-dialog{padding:18px}.profile-header{gap:12px;padding:14px}#profileAvatar{width:62px;height:62px;flex-basis:62px}.detail-row{flex-direction:column}}
