/* ===== Material Symbols ===== */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===== Dark Theme Design System ===== */
:root {
    --bg: #0f0f0f;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --bg-secondary: #222222;
    --fg: #f5f5f5;
    --fg-muted: #8a8a8a;
    --fg-dim: #5a5a5a;
    --accent: #d97706;
    --accent-light: #f59e0b;
    --accent-glow: rgba(217, 119, 6, 0.15);
    --border: #2a2a2a;
    --border-hover: #3a3a3a;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* ===== Body Overrides ===== */
body {
    background-color: var(--bg) !important;
    color: var(--fg) !important;
}

/* ===== Gradient Background (Hero / Dark sections) ===== */
.gradient-bg {
    background: var(--bg) !important;
}

/* ===== Gradient Text ===== */
.gradient-text {
    background: linear-gradient(to right, #FFEFBA, #FFFFFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* ===== Headline Background ===== */
.headline-bg {
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

h1.gradient-text.headline-bg {
    text-shadow: none;
}

/* ===== Hero Dot Grid Pattern ===== */
.hero-dot-grid {
    background-image:
        linear-gradient(to right, #1a1a1a 1px, transparent 1px),
        linear-gradient(to bottom, #1a1a1a 1px, transparent 1px);
    background-size: 4rem 4rem;
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 110%);
    mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 110%);
}

/* ===== Full-width Hero Canvas ===== */
.hero-canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 50%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 50%, transparent 100%);
}

/* ===== Section Cards ===== */
.tool-card,
.bg-surface-container-low {
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    color: var(--fg);
}

.tool-card:hover,
.bg-surface-container-low.glow-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px var(--accent-glow), 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(217, 119, 6, 0.5);
}

.glow-box {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glow-box:hover {
    box-shadow: 0 0 20px var(--accent-glow), 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(217, 119, 6, 0.4);
}

/* ===== FAQ Accordion ===== */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(217, 119, 6, 0.4);
    background: var(--bg-card-hover);
    box-shadow: 0 0 16px var(--accent-glow), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.faq-item .faq-icon {
    color: var(--accent) !important;
}

/* ===== Collapsible Navigation ===== */
.collapse-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.collapse-nav.open {
    max-height: 2000px;
}

.collapse-trigger {
    cursor: pointer;
    user-select: none;
}

.collapse-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.collapse-arrow.open {
    transform: rotate(180deg);
}

/* ===== Mobile Nav ===== */
.mobile-nav {
    background: var(--bg-card);
    border-color: var(--border);
}

.header-bar {
    height: 64px;
}

.mobile-nav .border-t { border-color: var(--border); }

.hamburger-btn {
    border: none;
    background: transparent;
    cursor: pointer;
}

.hamburger-spacer {
    visibility: hidden;
}

@media (min-width: 768px) {
    .hamburger-btn { display: none; }
    .hamburger-spacer { display: none; }
}

/* ===== Scrubber Tool Section Spacing ===== */
#scrubberTool {
    gap: 24px;
}

/* ===== Mode Tabs ===== */
#modeTabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

#burnModeTabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

/* ===== Mode Description ===== */
.mode-desc {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--fg-muted);
    font-size: 13px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.mode-desc-icon {
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
}

.mode-desc p {
    margin: 0;
}

.mode-tab {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 10px 22px;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.25s ease;
    background: var(--bg-card);
    color: var(--fg-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mode-tab:hover {
    border-color: var(--accent);
    color: var(--fg);
    box-shadow: 0 0 16px var(--accent-glow);
}

.mode-tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.mode-tab .material-symbols-outlined {
    font-size: 18px;
}

/* ===== Textarea Section ===== */
.textarea-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.textarea-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stego-textarea {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--fg);
    outline: none;
    transition: all 0.2s ease;
    resize: none;
    overflow: hidden;
    min-height: 100px;
}

.stego-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.stego-textarea::placeholder {
    color: var(--fg-dim);
    font-weight: 400;
}

.stego-textarea.decode-result {
    background: var(--bg-card);
    cursor: default;
    resize: none;
}

.char-counter {
    text-align: right;
    font-size: 12px;
    font-weight: 500;
    color: var(--fg-dim);
    font-family: 'JetBrains Mono', monospace;
}

.char-counter.warn {
    color: #f59e0b;
}

.char-counter.full {
    color: #ef4444;
}

/* ===== Copy Result Button ===== */
.copy-result-btn {
    align-self: flex-start;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 8px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-card);
    color: var(--fg-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copy-result-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
    box-shadow: 0 0 12px var(--accent-glow);
}

.copy-result-btn.copied {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}

.copy-result-btn .material-symbols-outlined {
    font-size: 16px;
}

/* ===== Primary Download / Action Button ===== */
.download-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 14px 36px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--fg);
    color: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.download-btn:hover:not(:disabled) {
    box-shadow: 0 0 32px rgba(217, 119, 6, 0.3), 0 2px 24px rgba(0, 0, 0, 0.3);
    transform: scale(1.03);
    background: #e5e5e5;
}

.download-btn:active:not(:disabled) {
    transform: scale(0.97);
}

.download-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

.download-btn .material-symbols-outlined {
    font-size: 20px;
}

/* ===== Clear / Outline Button ===== */
.clear-btn {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: var(--fg-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.clear-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
    box-shadow: 0 0 16px var(--accent-glow);
}

#burnNowBtn:hover {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.12) !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.25) !important;
}

.clear-btn .material-symbols-outlined {
    font-size: 16px;
}

/* ===== Status Toast ===== */
.status-toast {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: var(--radius);
    transition: opacity 0.3s ease;
}

.status-toast.ok { background: rgba(22, 163, 74, 0.15); color: #4ade80; }
.status-toast.warn { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.status-toast.error { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* ===== Controls Row ===== */
.converter-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Upload Zone ===== */
.upload-zone {
    position: relative;
    border: 2px dashed var(--border-hover);
    border-radius: var(--radius);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.upload-zone:hover, .upload-zone.drag-over {
    border-color: var(--accent);
    background: var(--accent-glow);
    box-shadow: 0 0 24px var(--accent-glow);
}

.upload-icon {
    font-size: 48px;
    color: var(--accent);
}

.upload-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--fg);
}

.upload-hint {
    font-size: 14px;
    color: var(--fg-muted);
}

.oversize-toast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #dc2626;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

.oversize-toast.show {
    opacity: 1;
}

/* ===== Tools Grid (team.php) ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
}

.tool-item {
    display: flex;
    flex-direction: column;
}

.tool-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--fg-muted);
}

@media (max-width: 900px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== File List ===== */
.file-list-container {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.file-list-header {
    text-align: center;
    padding: 24px;
    color: var(--fg-muted);
    font-size: 14px;
}

.file-list {
    max-height: 360px;
    overflow-y: auto;
}

.file-list-footer {
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    background: var(--bg);
}

/* ===== File Card ===== */
.file-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #1a1a1a;
    transition: all 0.2s ease;
    user-select: none;
}

.file-card:last-child {
    border-bottom: none;
}

.file-card:hover {
    background: var(--bg-card-hover);
    box-shadow: inset 0 0 12px var(--accent-glow);
}

.file-card.oversize {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
}

.file-card-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

.file-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.file-card-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--fg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-card-meta {
    font-size: 12px;
    color: var(--fg-muted);
}

.file-card-size {
    font-size: 11px;
    font-weight: 500;
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--fg-muted);
    font-family: 'JetBrains Mono', monospace;
}

.file-card-size.oversize {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.file-card-remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--fg-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.file-card-remove:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.file-card-remove .material-symbols-outlined {
    font-size: 18px;
}

.file-status {
    font-size: 11px;
    font-weight: 500;
    flex-shrink: 0;
}

.file-status.loading {
    color: var(--accent);
}

.file-status.error {
    color: #ef4444;
}

/* ===== Loading Overlay ===== */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.loading-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 48px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    color: var(--fg);
}

/* ===== Share Buttons ===== */
#shareBar { position: relative; }

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--fg-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px) scale(1.1);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow), 0 4px 16px var(--accent-glow);
}

.share-btn .material-symbols-outlined { font-size: 25px; }
.share-btn .share-text { font-family: 'Sora', sans-serif; font-size: 23px; font-weight: 700; }

#shareBar .share-btn {
    background: var(--bg-card);
    color: var(--accent);
    border-color: var(--border);
}

#shareBar .share-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 24px var(--accent-glow);
}

.share-toast {
    position: absolute;
    top: -48px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #333;
    padding: 8px 18px;
    border-radius: var(--radius);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.share-toast.show { opacity: 1; }

/* ===== Header ===== */
header.border-b {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

/* ===== Footer ===== */
footer.gradient-bg {
    border-top-color: var(--border) !important;
    background: var(--bg) !important;
}

footer .gradient-text {
    font-size: 24px;
    font-weight: 700;
}

/* ===== Terminal-style Code Block ===== */
.terminal-block {
    background: #141414;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.terminal-header {
    background: #1a1a1a;
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ef4444; opacity: 0.8; }
.terminal-dot.yellow { background: #eab308; opacity: 0.8; }
.terminal-dot.green { background: #22c55e; opacity: 0.8; }

.terminal-title {
    margin-left: 4px;
    font-size: 12px;
    color: var(--fg-muted);
    font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
    background: #0d0d0d;
    padding: 16px 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--fg-muted);
    line-height: 1.7;
    overflow-x: auto;
}

.terminal-body .cmd { color: var(--accent); }
.terminal-body .ok { color: #4ade80; }
.terminal-body .comment { color: #5a5a5a; font-style: italic; }

/* ===== Badge / Pill ===== */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 16px;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--fg-muted);
    font-size: 13px;
}

.badge-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.badge-pill .dot.animate { animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite; }

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* ===== Accent Glow Decoration ===== */
.accent-glow {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-glow);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* ===== ViewBurn: Options Row (Password + Max Views) ===== */
.burn-options-center {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.burn-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
    max-width: 220px;
    flex: 1;
}

.burn-field-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.burn-field-input {
    min-height: 40px !important;
    font-size: 14px !important;
    text-align: center !important;
}

/* Hide number input spinners */
.burn-field-input[type="number"]::-webkit-outer-spin-button,
.burn-field-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.burn-field-input[type="number"] {
    -moz-appearance: textfield;
}
.tool-link-area {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    background: var(--bg-card);
}

.tool-link-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.tool-link-input {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--accent);
    outline: none;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-link-input:focus {
    border-color: var(--accent);
}

/* ===== ViewBurn: Text Content Area (Receiver) ===== */
.text-content-area {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--bg-card);
    color: var(--fg);
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 12px;
}

/* ===== ViewBurn: Image Item Wrapper (Receiver) ===== */
.image-item-wrapper {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    background: var(--bg-card);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
}

.image-item-wrapper canvas {
    max-width: 100%;
    height: auto;
    border-radius: calc(var(--radius) - 2px);
}

.image-item-wrapper img.image-preview {
    max-width: 100%;
    height: auto;
    border-radius: calc(var(--radius) - 2px);
}

/* ===== ViewBurn: Copy All Text Button (Share Mode) ===== */
.btn-copy-all {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--accent);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.btn-copy-all:hover {
    background: var(--accent-light);
    box-shadow: 0 0 24px var(--accent-glow);
}

/* ===== ViewBurn: Download Image Button (Share Mode) ===== */
.btn-download-chunk {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-secondary);
    color: var(--fg);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-download-chunk:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
    box-shadow: 0 0 16px var(--accent-glow);
}

/* ===== ViewBurn: Self-Destruct Overlay ===== */
.shred-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg);
    padding: 2rem;
}

.shred-content {
    text-align: center;
    max-width: 600px;
}

.shred-content h1 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    color: #f87171;
    margin-bottom: 1rem;
}

.shred-content p {
    color: var(--fg-muted);
    font-size: 1rem;
}

/* ===== Disable Browser Autofill Background ===== */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #141414 inset !important;
    -webkit-text-fill-color: #f5f5f5 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    h1.gradient-text {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }

    .upload-zone {
        padding: 32px 16px;
    }

    .converter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .converter-controls button {
        width: 100%;
    }

    .mode-tab {
        padding: 8px 14px;
        font-size: 12px;
    }

    #burnModeTabs {
        flex-direction: column;
        align-items: stretch;
    }

    #burnModeTabs .mode-tab {
        width: 100%;
        justify-content: center;
    }

    .burn-options-center {
        flex-direction: column;
        align-items: center;
    }

    .burn-field-group {
        width: 100%;
        max-width: 100%;
    }

    .loading-content {
        padding: 24px 20px;
        margin: 0 16px;
    }
}
