:root {
    --bg: #090c12;
    --surface: #111621;
    --surface-2: #151b27;
    --text: #f5f6f8;
    --muted: #8b92a0;
    --line: rgba(255,255,255,.09);
    --violet: #8d5cff;
    --violet-light: #b18cff;
    --lime: #b9f54a;
    --danger: #ff7486;
    --container: 1180px;
    --radius: 22px;
    --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--text); background: var(--bg); font-family: var(--display); -webkit-font-smoothing: antialiased; }
body::-webkit-scrollbar { width: 11px; }
body::-webkit-scrollbar-track { background: #07090e; }
body::-webkit-scrollbar-thumb { border: 3px solid #07090e; border-radius: 20px; background: linear-gradient(var(--violet), #6750c8); }
body { scrollbar-color: var(--violet) #07090e; scrollbar-width: thin; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.page-loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 18px; color: #aeb4c1; background: #090c12; transition: opacity .45s, visibility .45s; }
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader > span { font-size: 10px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.loader-mark { position: relative; width: 44px; height: 38px; animation: loader-pulse 1.3s ease-in-out infinite; }
.loader-mark i, .brand-mark i { position: absolute; width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); }
.loader-mark i:nth-child(1), .brand-mark i:nth-child(1) { top: 2px; left: 14px; background: var(--violet); }
.loader-mark i:nth-child(2), .brand-mark i:nth-child(2) { top: 14px; left: 4px; background: #7864da; }
.loader-mark i:nth-child(3), .brand-mark i:nth-child(3) { top: 14px; left: 24px; background: var(--lime); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 88px; border-bottom: 1px solid transparent; transition: height .25s, background .25s, border-color .25s; }
.site-header.scrolled { height: 70px; border-color: var(--line); background: rgba(9,12,18,.88); backdrop-filter: blur(20px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 750; letter-spacing: -.5px; }
.brand-mark { position: relative; width: 25px; height: 28px; display: inline-block; flex: 0 0 auto; }
.brand-mark i { width: 8px; height: 8px; }
.brand-mark i:nth-child(1) { top: 2px; left: 9px; }
.brand-mark i:nth-child(2) { top: 12px; left: 1px; }
.brand-mark i:nth-child(3) { top: 12px; left: 17px; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { position: relative; padding: 25px 0; color: #a6acb8; font-size: 13px; font-weight: 650; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); transform: translateX(-50%); box-shadow: 0 0 10px rgba(185,245,74,.8); }
.main-nav a span { color: var(--lime); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.nav-toggle span { width: 18px; height: 1px; display: block; margin: 5px auto; background: #fff; }

.hero { position: relative; min-height: 820px; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.035); }
.hero-grid { position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom,#000 25%,transparent 95%); animation: grid-drift 24s linear infinite; }
.hero-content { position: relative; min-height: 820px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; padding-top: 70px; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; color: var(--violet-light); font-size: 11px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.eyebrow i { width: 28px; height: 1px; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.hero h1 { margin: 0; font-size: clamp(56px,6vw,88px); line-height: .98; letter-spacing: -5px; }
.hero h1 em { color: var(--violet-light); font-style: normal; font-weight: 500; }
.hero-copy > p { max-width: 650px; margin: 28px 0 34px; color: #a0a7b4; font-size: 17px; line-height: 1.8; }
.hero-visual { position: relative; width: 100%; aspect-ratio: 1; }
.hero-visual span { position: absolute; border: 1px solid rgba(141,92,255,.22); transform: rotate(45deg); animation: shape-float 7s ease-in-out infinite; }
.hero-visual span:nth-child(1) { top: 13%; left: 18%; width: 310px; height: 310px; background: rgba(141,92,255,.05); }
.hero-visual span:nth-child(2) { right: 8%; bottom: 16%; width: 180px; height: 180px; border-color: rgba(185,245,74,.1); background: rgba(185,245,74,.025); animation-delay: -2s; }
.hero-visual span:nth-child(3) { left: 8%; bottom: 18%; width: 90px; height: 90px; animation-delay: -4s; }

.button { position: relative; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 22px; overflow: hidden; border: 0; border-radius: 13px; cursor: pointer; font-size: 13px; font-weight: 800; transition: transform .2s, background .2s, opacity .2s, box-shadow .2s; }
.button-primary { color: #0d1017; background: var(--lime); box-shadow: 0 12px 35px rgba(185,245,74,.13); }
.button-primary:hover { transform: translateY(-2px); background: #c8ff60; box-shadow: 0 15px 45px rgba(185,245,74,.2); }
.button:disabled { cursor: not-allowed; opacity: .35; transform: none; }

.section { padding: 110px 0; }
.upload-section { background: #090c12; }
.links-section { border-top: 1px solid var(--line); background: #0c1018; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(34px,4vw,48px); line-height: 1.1; letter-spacing: -2px; }
.section-heading > p { max-width: 330px; margin: 0; color: #747c89; font-size: 12px; line-height: 1.7; text-align: right; }
.section-kicker { color: var(--violet-light); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.js-ready [data-reveal] { opacity: 0; transform: translateY(25px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1); }
.js-ready [data-reveal].is-visible { opacity: 1; transform: none; }

.alert { display: flex; align-items: center; gap: 13px; margin: -14px 0 22px; padding: 16px 18px; border: 1px solid rgba(255,116,134,.24); border-radius: 13px; color: #ff9cac; background: rgba(255,116,134,.06); }
.alert > span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: rgba(255,116,134,.12); font-weight: 800; }
.alert p { margin: 0; font-size: 13px; }

.success-card { display: grid; grid-template-columns: 54px minmax(220px,.65fr) minmax(300px,1fr); align-items: center; gap: 22px; margin-bottom: 24px; padding: 24px; border: 1px solid rgba(185,245,74,.23); border-radius: 17px; background: rgba(185,245,74,.035); scroll-margin-top: 90px; }
.success-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #101608; background: var(--lime); font-weight: 900; }
.success-card h3 { margin: 6px 0 4px; font-size: 18px; }
.success-card p { margin: 0; color: #858d9a; font-size: 12px; }
.link-copy { display: grid; grid-template-columns: 1fr auto; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #0a0e15; }
.link-copy input { min-width: 0; height: 48px; padding: 0 15px; border: 0; outline: 0; color: #b9bfca; background: transparent; font-size: 12px; }
.link-copy button { padding: 0 18px; border: 0; border-left: 1px solid var(--line); color: var(--lime); background: rgba(185,245,74,.04); cursor: pointer; font-size: 11px; font-weight: 800; }

body.modal-open { overflow: hidden; }
.result-modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 24px; animation: modal-fade-in .22s ease; }
.result-modal.closing { opacity: 0; transition: opacity .2s; }
.result-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(4,6,10,.82); backdrop-filter: blur(13px); cursor: default; }
.result-modal-card { position: relative; z-index: 1; width: min(620px,100%); padding: 38px; border: 1px solid rgba(185,245,74,.22); border-radius: 22px; background: linear-gradient(145deg,#121923,#0d1219); box-shadow: 0 35px 100px rgba(0,0,0,.55); animation: modal-card-in .3s cubic-bezier(.2,.8,.25,1); }
.result-modal-close { position: absolute; top: 17px; right: 17px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: #9ba2af; background: rgba(255,255,255,.025); cursor: pointer; font-size: 21px; transition: color .2s,border-color .2s,transform .2s; }
.result-modal-close:hover { color: #fff; border-color: rgba(141,92,255,.45); transform: rotate(5deg); }
.result-modal-card .success-icon { margin-bottom: 24px; }
.result-modal-card h2 { margin: 8px 50px 7px 0; overflow-wrap: anywhere; font-size: 25px; letter-spacing: -.8px; }
.result-modal-card > p { margin: 0 0 24px; color: #858d9a; font-size: 13px; }
.result-modal-card .link-copy { margin-top: 4px; }
.result-page-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 19px; color: #c4cad4; font-size: 11px; font-weight: 800; }
.result-page-link span { color: var(--lime); }

.upload-card { position: relative; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(390px,.9fr); gap: 24px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.upload-card::before { content: ""; position: absolute; top: -180px; left: -190px; width: 410px; height: 340px; border-radius: 50%; background: rgba(141,92,255,.08); filter: blur(80px); pointer-events: none; }
.upload-card > * { position: relative; z-index: 1; min-width: 0; }
.drop-zone { position: relative; min-height: 485px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 40px; overflow: hidden; border: 1px dashed rgba(141,92,255,.4); border-radius: 17px; text-align: center; background: rgba(8,11,17,.52); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.drop-zone:hover, .drop-zone.is-dragging { border-color: var(--lime); background: rgba(185,245,74,.025); }
.drop-zone.is-dragging { transform: scale(.993); }
.drop-zone.has-error { border-color: rgba(255,116,134,.5); }
.drop-zone > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-symbol { position: relative; width: 74px; height: 74px; display: grid; place-items: center; margin-bottom: 25px; }
.upload-symbol i { position: absolute; inset: 0; border: 1px solid rgba(141,92,255,.3); border-radius: 18px; background: rgba(141,92,255,.08); transform: rotate(8deg); }
.upload-symbol b { position: relative; color: var(--violet-light); font-size: 29px; font-weight: 500; }
.drop-zone > strong { font-size: 23px; }
.drop-zone > p { margin: 8px 0; color: #858c99; font-size: 14px; }
.drop-zone > small { color: #5e6572; font-size: 11px; }
.selected-file { position: absolute; inset: 0; display: grid; grid-template-columns: 64px minmax(0,1fr) 40px; align-items: center; gap: 18px; padding: 32px max(30px,calc(50% - 280px)); text-align: left; background: #0d1119; }
.selected-file[hidden] { display: none; }
.selected-file > span { width: 64px; height: 68px; display: grid; place-items: center; border: 1px solid rgba(185,245,74,.18); border-radius: 14px; color: var(--lime); background: rgba(185,245,74,.05); font-size: 10px; font-weight: 800; }
.selected-file > div { display: flex; min-width: 0; flex-direction: column; }
.selected-file strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-file small { margin-top: 7px; color: #747c89; font-size: 12px; }
.selected-file button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: #9ba1ad; background: var(--surface-2); cursor: pointer; font-size: 20px; }
.selected-file.file-enter { animation: file-enter .4s cubic-bezier(.2,.8,.25,1); }

.upload-settings { min-width: 0; display: flex; flex-direction: column; gap: 19px; padding: 6px 3px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.field > span:first-child, .captcha-wrap > span { color: #858d9a; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.field input, .field select { width: 100%; height: 52px; border: 1px solid var(--line); border-radius: 12px; outline: none; color: #f2f3f6; background: #0c1018; transition: border-color .2s, box-shadow .2s; }
.field input { padding: 0 16px; }
.field input::placeholder { color: #535b69; }
.field input:focus, .field select:focus { border-color: rgba(141,92,255,.75); box-shadow: 0 0 0 3px rgba(141,92,255,.1); }
.select-wrap { position: relative; min-width: 0; }
.select-wrap::after { content: "⌄"; position: absolute; top: 50%; right: 17px; color: var(--violet-light); pointer-events: none; transform: translateY(-55%); }
.field select { padding: 0 42px 0 16px; appearance: none; cursor: pointer; }
.field select option { color: #fff; background: #111621; }
.custom-select { position: relative; min-width: 0; }
.custom-select-trigger { width: 100%; height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; color: #f2f3f6; background: #0c1018; cursor: pointer; transition: border-color .2s,box-shadow .2s; }
.custom-select-trigger i { color: var(--violet-light); font-style: normal; transition: transform .2s; }
.custom-select.open .custom-select-trigger { border-color: rgba(141,92,255,.75); box-shadow: 0 0 0 3px rgba(141,92,255,.1); }
.custom-select.open .custom-select-trigger i { transform: rotate(180deg); }
.custom-select-menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; padding: 7px; border: 1px solid rgba(141,92,255,.32); border-radius: 13px; background: #111621; box-shadow: 0 22px 55px rgba(0,0,0,.48); animation: select-menu-in .18s ease; }
.custom-select-menu[hidden] { display: none; }
.custom-select-menu button { width: 100%; min-height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 11px; border: 0; border-radius: 8px; color: #c3c8d1; background: transparent; cursor: pointer; text-align: left; font-size: 12px; transition: color .16s,background .16s; }
.custom-select-menu button:hover { color: #fff; background: rgba(141,92,255,.1); }
.custom-select-menu button i { opacity: 0; color: var(--lime); font-style: normal; }
.custom-select-menu button.selected { color: #fff; background: rgba(141,92,255,.13); }
.custom-select-menu button.selected i { opacity: 1; }
.website-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.captcha-wrap { min-width: 0; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.h-captcha { min-height: 78px; max-width: 100%; overflow: hidden; }
.h-captcha iframe { max-width: 100% !important; }
.privacy-note { margin: 0; color: #727a87; font-size: 11px; line-height: 1.65; }
.privacy-note i { margin-right: 7px; color: var(--lime); font-style: normal; }
.submit-button { width: 100%; min-height: 56px; margin-top: auto; }
.submit-button.is-loading i { animation: button-spin .7s linear infinite; }

.empty-links { min-height: 280px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; background: rgba(255,255,255,.01); }
.empty-links .brand-mark { margin-bottom: 15px; }
.empty-links h3 { margin: 0; font-size: 20px; }
.empty-links p { margin: 8px 0 0; color: #757d8a; font-size: 12px; }
.links-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.file-row { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); transition: background .2s; }
.file-row:last-child { border-bottom: 0; }
.file-row:hover { background: rgba(255,255,255,.018); }
.file-type { width: 52px; height: 55px; display: grid; place-items: center; border: 1px solid rgba(141,92,255,.22); border-radius: 12px; color: var(--violet-light); background: rgba(141,92,255,.06); font-size: 9px; font-weight: 800; }
.file-details { min-width: 0; }
.file-details h3 { margin: 0; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.file-details p { margin: 7px 0 0; color: #707887; font-size: 11px; }
.file-actions { display: flex; align-items: center; gap: 8px; }
.file-actions button, .file-actions a { height: 40px; display: inline-flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; color: #bec3cc; background: #0d1119; cursor: pointer; font-size: 10px; font-weight: 800; transition: border-color .2s, color .2s, transform .2s; }
.file-actions button:hover, .file-actions a:hover { border-color: rgba(141,92,255,.45); color: #fff; transform: translateY(-1px); }
.file-actions a span { color: var(--lime); }

.site-toast { position: fixed; right: 24px; bottom: 24px; z-index: 300; width: min(390px,calc(100% - 32px)); display:grid; grid-template-columns:30px minmax(0,1fr); align-items:center; gap:12px; padding:14px 16px; border:1px solid rgba(185,245,74,.22); border-radius:13px; color:#e7ffc0; background:rgba(14,20,12,.96); box-shadow:0 20px 60px rgba(0,0,0,.42); opacity:0; pointer-events:none; transform:translateY(16px) scale(.98); transition:opacity .22s,transform .22s; font-size:12px; font-weight:700; backdrop-filter:blur(18px); }
.site-toast>span { width:30px; height:30px; display:grid; place-items:center; border-radius:9px; color:#0a0d12; background:var(--lime); font-size:14px; font-weight:900; }
.site-toast p { margin:0; line-height:1.45; }
.site-toast.site-toast-error { border-color:rgba(255,116,134,.25); color:#ffc3cb; background:rgba(30,13,18,.96); }
.site-toast.site-toast-error>span { color:#fff; background:var(--danger); }
.site-toast.show { opacity:1; transform:none; }

.public-file-page { min-height: 100vh; }
.public-back-link { color: #aeb4bf; font-size: 12px; font-weight: 700; }
.public-back-link span { color: var(--lime); }
.public-file-shell { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(0,1fr); place-items: center; overflow: hidden; padding: 120px 24px 70px; background-image: linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px); background-size: 70px 70px; }
.public-file-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; background: rgba(141,92,255,.12); filter: blur(130px); }
.public-file-card { position: relative; width: 100%; max-width: 680px; min-width: 0; padding: 52px; border: 1px solid var(--line); border-radius: 25px; text-align: center; background: linear-gradient(145deg,rgba(20,25,37,.98),rgba(12,16,24,.98)); box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.public-file-type { width: 78px; height: 84px; display: grid; place-items: center; margin: 0 auto 27px; border: 1px solid rgba(185,245,74,.2); border-radius: 18px; color: var(--lime); background: rgba(185,245,74,.05); font-size: 12px; font-weight: 900; }
.public-file-card h1 { margin: 10px 0 31px; overflow-wrap: anywhere; font-size: clamp(30px,5vw,48px); line-height: 1.1; letter-spacing: -2px; }
.public-file-meta { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 24px; border: 1px solid var(--line); border-radius: 14px; }
.public-file-meta span { display: flex; flex-direction: column; gap: 7px; padding: 18px 12px; border-right: 1px solid var(--line); }
.public-file-meta span:last-child { border-right: 0; }
.public-file-meta small { color: #68717f; font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.public-file-meta strong { font-size: 12px; }
.public-expiry { margin: 0 0 24px; color: #7c8492; font-size: 12px; }
.public-expiry time { color: #bfc5cf; }
.public-download-button { width: 100%; min-height: 57px; }
.public-copy-button { margin-top: 18px; padding: 9px 12px; border: 0; color: #858d99; background: transparent; cursor: pointer; font-size: 11px; font-weight: 750; }
.public-copy-button:hover { color: var(--violet-light); }

.site-footer { padding: 70px 0 28px; border-top: 1px solid var(--line); background: #080a10; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .6fr .9fr; gap: 80px; }
.footer-grid > div:first-child p { max-width: 400px; margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.footer-grid > div:nth-child(2) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid > div:nth-child(2) > span { margin-bottom: 4px; color: #626978; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.footer-grid > div:nth-child(2) a { color: #adb2bd; font-size: 13px; }
.footer-status { display: flex; align-items: center; gap: 10px; color: #aeb3bd; font-size: 12px; }
.footer-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 15px var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 65px; padding-top: 25px; border-top: 1px solid var(--line); color: #565d6a; font-size: 10px; }

.error-page { min-height: 100vh; display: grid; place-items: center; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 70px 70px; }
.error-page main { max-width: 620px; padding: 40px 24px; text-align: center; }
.error-page .brand-mark { margin-bottom: 24px; }
.error-page h1 { margin: 10px 0 16px; font-size: clamp(42px,7vw,72px); letter-spacing: -3px; }
.error-page p:not(.section-kicker) { margin: 0 auto 30px; color: var(--muted); line-height: 1.7; }

@keyframes loader-pulse { 50% { transform: scale(.86); opacity: .65; } }
@keyframes grid-drift { to { background-position: 70px 70px; } }
@keyframes shape-float { 50% { margin-top: -12px; } }
@keyframes file-enter { from { opacity: 0; transform: scale(.97); } }
@keyframes button-spin { to { transform: rotate(360deg); } }
@keyframes modal-fade-in { from { opacity: 0; } }
@keyframes modal-card-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes select-menu-in { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr .55fr; }
    .hero-visual { opacity: .5; }
    .upload-card { grid-template-columns: 1fr; }
    .drop-zone { min-height: 360px; }
    .success-card { grid-template-columns: 54px 1fr; }
    .success-card .link-copy { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .site-header { height: 70px; }
    .nav-toggle { display: block; }
    .main-nav { position: fixed; inset: 70px 16px auto; display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(15,18,27,.98); backdrop-filter: blur(18px); opacity: 0; pointer-events: none; transform: translateY(-15px); transition: .2s; }
    .main-nav.open { opacity: 1; pointer-events: auto; transform: none; }
    .main-nav a { padding: 12px; }
    .main-nav a.active::after { display: none; }
    .hero, .hero-content { min-height: 720px; }
    .hero-content { display: flex; align-items: center; }
    .hero-visual { position: absolute; inset: 100px -220px auto auto; width: 520px; opacity: .25; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
    .section-heading > p { text-align: left; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-status { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .brand { font-size: 18px; }
    .hero h1 { font-size: 48px; letter-spacing: -3px; }
    .hero-copy { width: 100%; }
    .hero-copy > p { font-size: 15px; }
    .hero-visual { display: none; }
    .section { padding: 76px 0; }
    .section-heading h2 { font-size: 34px; }
    .upload-card { gap: 18px; padding: 14px; border-radius: 17px; }
    .upload-card, .drop-zone, .upload-settings { width: 100%; max-width: 100%; }
    .drop-zone { min-height: 300px; padding: 25px 16px; }
    .selected-file { padding: 20px; }
    .upload-settings { padding: 8px 4px 4px; }
    .h-captcha { max-width: 100%; overflow: hidden; }
    .success-card { grid-template-columns: 44px 1fr; padding: 18px; }
    .success-icon { width: 42px; height: 42px; }
    .link-copy { grid-template-columns: 1fr; }
    .link-copy button { height: 42px; border-top: 1px solid var(--line); border-left: 0; }
    .result-modal { padding: 14px; }
    .result-modal-card { padding: 28px 20px 22px; border-radius: 18px; }
    .result-modal-card h2 { font-size: 21px; }
    .public-file-shell { padding: 100px 14px 45px; }
    .public-file-card { padding: 34px 18px; border-radius: 19px; }
    .public-back-link { display: none; }
    .public-file-meta { grid-template-columns: 1fr; }
    .public-file-meta span { border-right: 0; border-bottom: 1px solid var(--line); }
    .public-file-meta span:last-child { border-bottom: 0; }
    .file-row { grid-template-columns: 48px minmax(0,1fr); gap: 14px; padding: 17px; }
    .file-type { width: 46px; height: 50px; }
    .file-actions { grid-column: 1 / -1; }
    .file-actions button, .file-actions a { flex: 1; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-status { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js-ready [data-reveal] { opacity: 1; transform: none; }
}
