:root { color-scheme: dark; font-family: Arial, Helvetica, sans-serif; background: #11111e; color: #fff; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 80% 10%, #4c274d 0, transparent 35%), linear-gradient(135deg, #11111e, #221b32); min-height: 100vh; }
.language-toggle { position: fixed; z-index: 2; top: 24px; right: 28px; width: auto; padding: 9px 12px; border: 1px solid rgba(255,255,255,.26); border-radius: 9px; background: rgba(17,17,30,.7); color: #fff; font-size: 12px; letter-spacing: .08em; }
.page-shell, .result { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.page-shell { min-height: 760px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 88px; padding: 80px 0; }
.brand, .eyebrow { color: #ff5b78; font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.play-icon { display: inline-grid; place-items: center; width: 28px; height: 20px; margin-right: 8px; border-radius: 6px; background: #ff1646; color: white; font-size: 10px; letter-spacing: 0; }
h1 { margin: 25px 0 18px; font-size: clamp(42px, 5vw, 70px); line-height: .98; letter-spacing: -.06em; }
h1 em { color: #ff8298; font-style: normal; }
.intro > p { max-width: 510px; color: #c6c2d0; font-size: 18px; line-height: 1.6; }
.privacy-note { display: inline-flex; gap: 9px; align-items: center; margin-top: 16px; color: #dad6e4; font-size: 14px; }
.privacy-note span { color: #ff6d87; font-weight: 700; }
.generator-card { padding: 32px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(255,255,255,.09); box-shadow: 0 20px 60px rgba(0,0,0,.25); backdrop-filter: blur(20px); }
.card-heading h2, .result h2 { margin: 8px 0 27px; font-size: 28px; letter-spacing: -.03em; }
.upload-zone { display: flex; min-height: 144px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px dashed rgba(255,255,255,.35); border-radius: 16px; background: rgba(0,0,0,.14); cursor: pointer; text-align: center; transition: .2s ease; }
.upload-zone:hover, .upload-zone.dragging { border-color: #ff6c87; background: rgba(255,53,93,.08); }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-symbol { color: #ff7790; font-size: 27px; line-height: 1; }
.upload-zone small, .checkbox-row small { color: #aaa5b5; }
.field-label { display: block; margin: 24px 0 8px; color: #d7d3df; font-size: 14px; font-weight: bold; }
#username, select { width: 100%; border: 1px solid rgba(255,255,255,.2); border-radius: 11px; padding: 14px; background: rgba(9,9,18,.84); color: #fff; font: inherit; outline: none; }
select { appearance: auto; color-scheme: dark; cursor: pointer; }
select option { background: #171722; color: #f7f5fa; }
select option:checked { background: #3b3149; color: #fff; }
#username:focus, select:focus { border-color: #ff6683; }
.style-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 34px 0 0; padding: 0; border: 0; }
.style-picker .field-label { grid-column: 1 / -1; margin: 0 0 10px; }
.style-option { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #ded9e7; cursor: pointer; transition: .2s; }
.style-option.selected { border-color: #ff6683; background: rgba(255,74,108,.1); }
.style-option input { position: absolute; opacity: 0; }
.style-option strong, .style-option small { display: block; }
.style-option strong { font-size: 14px; }
.style-option small { margin-top: 3px; font-size: 11px; line-height: 1.25; color: #aaa5b5; }
.style-swatch { display: grid; flex: 0 0 46px; height: 60px; gap: 4px; padding: 8px 6px; border-radius: 7px; }
.style-swatch i { display: block; border-radius: 3px; }
.glass-swatch { background: linear-gradient(145deg, #161526, #7b375e); border: 1px solid rgba(255,255,255,.3); }
.glass-swatch i { background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.2); }
.receipt-swatch { background: #f4efdf; border: 1px solid #d9d0bd; }
.receipt-swatch i { height: 2px; background: #302d28; border-radius: 0; }
.glass-controls { margin-top: 22px; }
.glass-controls .field-label { margin-top: 18px; }
.custom-background-controls { margin-top: 10px; padding: 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(0,0,0,.12); }
.background-upload { display: block; padding: 11px; border: 1px dashed rgba(255,255,255,.32); border-radius: 9px; color: #e0dbe6; font-size: 13px; cursor: pointer; text-align: center; }
.background-upload input { display: none; }
.background-preview-wrap { display: flex; align-items: center; gap: 12px; margin: 13px 0 2px; color: #aaa5b5; font-size: 11px; }
#background-preview { width: 72px; height: 128px; border: 1px solid rgba(255,255,255,.24); border-radius: 7px; background: #171722; }
.slider-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 16px; margin-top: 14px; }
.slider-grid label { color: #d7d3df; font-size: 12px; }
.slider-grid input { display: block; width: 100%; margin-top: 7px; accent-color: #ff5173; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 23px; color: #d2ceda; font-size: 13px; line-height: 1.45; cursor: pointer; }
.checkbox-row input { margin-top: 2px; accent-color: #ff315b; }
button, .download-button { display: flex; width: 100%; justify-content: space-between; align-items: center; border: 0; border-radius: 11px; padding: 15px 17px; background: #ff315b; color: #fff; cursor: pointer; font: 700 16px Arial, sans-serif; text-decoration: none; transition: transform .2s, background .2s; }
button:hover, .download-button:hover { background: #ff1747; transform: translateY(-2px); }
button:disabled { background: #55545d; color: #aaa9b0; cursor: not-allowed; transform: none; }
.status { min-height: 20px; margin: 17px 0 0; color: #ffb0bd; font-size: 13px; line-height: 1.4; }
.takeout-tutorial { margin-top: 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 11px; background: rgba(0,0,0,.12); color: #d9d4df; }
.takeout-tutorial summary { padding: 12px 14px; color: #ff9aab; cursor: pointer; font-size: 13px; font-weight: 700; }
.takeout-tutorial summary a { color: inherit; text-underline-offset: 3px; }
.tutorial-content { padding: 0 14px 2px; color: #ccc6d3; font-size: 13px; line-height: 1.5; }
.tutorial-content p { margin: 0 0 10px; }
.tutorial-content a { color: #ff91a6; }
.result { display: grid; grid-template-columns: 1fr 300px; gap: 70px; align-items: center; margin-bottom: 90px; padding: 44px; border-top: 1px solid rgba(255,255,255,.12); }
.result p:not(.eyebrow) { color: #c8c4d1; line-height: 1.6; }
.result .download-button { width: min(260px, 100%); margin-top: 24px; }
#preview { width: 300px; border-radius: 18px; box-shadow: 0 25px 50px rgba(0,0,0,.45); }
.hidden { display: none; }
footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 28px; color: #918b9c; font-size: 11px; text-align: center; }
footer a { color: #cbbfda; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .language-toggle { top: 14px; right: 16px; } .page-shell { grid-template-columns: 1fr; gap: 38px; padding: 75px 0 55px; } .result { grid-template-columns: 1fr; gap: 28px; padding: 35px 0; } #preview { width: min(300px, 100%); } .slider-grid { grid-template-columns: 1fr; } }
