/* ==========================================================================
   FoxPaste v1.0.0 — Awwwards / FWA Edition Pure CSS Design System
   Palette: Deep Space Black (#050505), Obsidian Charcoal (#121212),
            Crimson-Orange Accent (#FF4500), Warm Ember (#FF6A33)
   Typography: Inter (UI) & JetBrains Mono (Code)
   Zero Purple-Blue AI Gradients — Pure Industrial Cyber-Noir Glassmorphism
   ========================================================================== */

:root {
    --bg-void: #050505;
    --bg-surface: #121212;
    --bg-glass: rgba(18, 18, 18, 0.72);
    --bg-glass-elevated: rgba(24, 24, 24, 0.84);
    --bg-input: rgba(10, 10, 10, 0.78);

    --accent-primary: #FF4500;
    --accent-ember: #FF6A33;
    --accent-glow: rgba(255, 69, 0, 0.34);
    --accent-subtle: rgba(255, 69, 0, 0.12);
    --accent-border: rgba(255, 69, 0, 0.48);

    --text-primary: #F5F5F7;
    --text-secondary: #A3A3A8;
    --text-muted: #5E5E66;

    --border-hairline: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 69, 0, 0.42);

    --danger-color: #FF2E2E;
    --success-color: #10B981;

    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-xl: 20px;
    --radius-lg: 14px;
    --radius-md: 10px;
    --radius-sm: 6px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body.foxpaste-body {
    min-height: 100vh;
    background-color: var(--bg-void);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

@media (pointer: fine) {
    body.foxpaste-body,
    body.foxpaste-body a,
    body.foxpaste-body button,
    body.foxpaste-body select,
    body.foxpaste-body input,
    body.foxpaste-body textarea,
    body.foxpaste-body label {
        cursor: none;
    }
}

::selection {
    background: var(--accent-primary);
    color: #050505;
}

.is-hidden {
    display: none !important;
}

/* Honeypot Trap — Strictly invisible to human users */
.hp-trap {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ==========================================================================
   Custom Dual Cursor (Core Dot + Smooth Trailing Ring)
   ========================================================================== */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform, width, height, border-color, background-color;
}

.cursor-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent-primary);
    box-shadow: 0 0 12px var(--accent-primary);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 69, 0, 0.55);
    background-color: rgba(255, 69, 0, 0.03);
    transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.28s ease,
                border-color 0.28s ease,
                border-radius 0.28s ease;
}

.cursor-ring.is-expanded {
    width: 62px;
    height: 62px;
    background-color: rgba(255, 69, 0, 0.14);
    border-color: var(--accent-primary);
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.28);
}

.cursor-ring.is-text {
    width: 4px;
    height: 28px;
    border-radius: 2px;
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

@media (pointer: coarse) {
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

/* ==========================================================================
   Cinematic Page Transition Curtain
   ========================================================================== */
.transition-curtain {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: radial-gradient(circle at center, #140804 0%, #050505 75%);
    border-bottom: 2px solid var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translateY(100%);
    will-change: transform;
}

.curtain-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.curtain-logo {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: var(--text-primary);
}

.curtain-status {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: var(--accent-primary);
}

/* ==========================================================================
   Organic Aurora Ambient Stage (Crimson / Ember / Charcoal)
   ========================================================================== */
.aurora-stage {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--bg-void);
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(115px);
    opacity: 0.36;
    will-change: transform, opacity;
}

.orb-primary {
    width: 56vw;
    height: 56vw;
    max-width: 760px;
    max-height: 760px;
    top: -14%;
    left: 18%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.42) 0%, rgba(180, 35, 0, 0.08) 65%, transparent 100%);
}

.orb-secondary {
    width: 48vw;
    height: 48vw;
    max-width: 640px;
    max-height: 640px;
    bottom: -18%;
    right: 12%;
    background: radial-gradient(circle, rgba(255, 95, 31, 0.28) 0%, rgba(120, 20, 0, 0.06) 65%, transparent 100%);
}

.orb-core {
    width: 34vw;
    height: 34vw;
    max-width: 460px;
    max-height: 460px;
    top: 32%;
    left: 36%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.22) 0%, transparent 72%);
}

.noise-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 20%, transparent 80%);
}

/* ==========================================================================
   Site Header & Telemetry Bar
   ========================================================================== */
.site-header {
    position: relative;
    z-index: 20;
    padding: 22px 32px;
    border-bottom: 1px solid var(--border-hairline);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(5, 5, 5, 0.65);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.brand-identity {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-emblem {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 69, 0, 0.08);
    border: 1px solid rgba(255, 69, 0, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(255, 69, 0, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-identity:hover .brand-emblem {
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 0 26px rgba(255, 69, 0, 0.45);
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.version-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--accent-subtle);
    color: var(--accent-primary);
    border: 1px solid rgba(255, 69, 0, 0.4);
    letter-spacing: 0.04em;
}

.header-telemetry {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.telemetry-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid var(--border-hairline);
    color: var(--text-primary);
}

.telemetry-pill.pill-muted {
    color: var(--text-secondary);
}

.telemetry-pill strong {
    color: var(--accent-primary);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
    animation: foxPulse 2s infinite ease-in-out;
}

@keyframes foxPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.35);
        opacity: 0.55;
    }
}

/* ==========================================================================
   Main Centered Workspace & Glassmorphic Editor Shell
   ========================================================================== */
.workspace-shell {
    position: relative;
    z-index: 10;
    flex: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 64px;
}

.workspace-panel {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.editor-glass-shell {
    position: relative;
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-hairline);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.78),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.editor-glass-shell:hover,
.editor-glass-shell:focus-within {
    border-color: var(--border-hover);
    box-shadow:
        0 35px 95px rgba(0, 0, 0, 0.85),
        0 0 55px rgba(255, 69, 0, 0.16),
        0 0 0 1px rgba(255, 69, 0, 0.22) inset;
}

/* Dynamic Cursor Spotlight Overlay inside Tilt Cards */
.card-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        560px circle at var(--spot-x, 50%) var(--spot-y, 50%),
        rgba(255, 69, 0, 0.11),
        transparent 45%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
}

.tilt-card:hover .card-spotlight {
    opacity: 1;
}

/* Editor Top Chrome Bar */
.editor-chrome-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(8, 8, 8, 0.65);
    border-bottom: 1px solid var(--border-hairline);
    flex-wrap: wrap;
}

.window-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.win-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.dot-crimson {
    background: #FF4500;
    box-shadow: 0 0 8px rgba(255, 69, 0, 0.65);
}

.dot-amber {
    background: #FF8C00;
}

.dot-steel {
    background: #3A3A40;
}

.title-input-group {
    flex: 1;
    min-width: 220px;
}

.chrome-title-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 0.98rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.chrome-title-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.chrome-title-input:focus {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 1px rgba(255, 69, 0, 0.35);
}

.crypto-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    border: 1px solid var(--border-hairline);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    transition: all 0.25s ease;
}

.crypto-pill.mode-e2e {
    background: rgba(255, 69, 0, 0.15);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 18px rgba(255, 69, 0, 0.25);
}

/* Editor Controls Row */
.editor-controls-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 18px 24px;
    background: rgba(12, 12, 12, 0.55);
    border-bottom: 1px solid var(--border-hairline);
}

@media (max-width: 960px) {
    .editor-controls-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .editor-controls-grid {
        grid-template-columns: 1fr;
    }
}

.control-cell {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.control-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.label-hint {
    color: var(--accent-primary);
}

.label-crimson {
    color: var(--accent-primary);
}

.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.fox-select,
.fox-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 0.88rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.fox-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 34px;
}

.fox-select option {
    background-color: #121212;
    color: var(--text-primary);
}

.fox-select:focus,
.fox-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.16);
    background: rgba(15, 15, 15, 0.95);
}

.select-chevron {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: var(--accent-primary);
    font-size: 0.85rem;
}

.password-field-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-icon-btn {
    height: 42px;
    width: 42px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-hairline);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.mini-icon-btn:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 69, 0, 0.14);
    transform: translateY(-1px);
}

/* Editor Code Body & Line Numbers */
.editor-body-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 390px;
    max-height: 640px;
    background: rgba(5, 5, 5, 0.72);
}

.line-numbers-gutter {
    width: 56px;
    padding: 20px 12px 20px 0;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-muted);
    background: rgba(8, 8, 8, 0.6);
    border-right: 1px solid var(--border-hairline);
    user-select: none;
    overflow: hidden;
    white-space: pre;
    flex-shrink: 0;
}

.code-textarea {
    flex: 1;
    width: 100%;
    min-height: 390px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    outline: none;
    resize: vertical;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.65;
    tab-size: 4;
    overflow-y: auto;
}

.code-textarea::placeholder {
    color: #52525B;
}

/* Editor Footer Bar */
.editor-footer-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(10, 10, 10, 0.78);
    border-top: 1px solid var(--border-hairline);
    flex-wrap: wrap;
}

.editor-metrics {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.metric-sep {
    color: var(--text-muted);
}

.editor-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Custom Burn Checkbox */
.burn-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    user-select: none;
}

.burn-checkbox-label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-check {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: var(--bg-input);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.burn-checkbox-label input:checked + .custom-check {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.55);
}

.burn-checkbox-label input:checked + .custom-check::after {
    content: '✓';
    color: #050505;
    font-size: 0.75rem;
    font-weight: 800;
}

.burn-checkbox-label:hover .burn-text {
    color: var(--text-primary);
}

/* ==========================================================================
   Magnetic Buttons with Kinetic Sliding Text
   ========================================================================== */
.magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-ui);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-primary);
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
    will-change: transform;
}

.btn-label-wrap {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    overflow: hidden;
    height: 1.35em;
    line-height: 1.35em;
}

.btn-label-primary,
.btn-label-hover {
    display: block;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-label-hover {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    text-align: center;
}

.magnetic-btn:hover .btn-label-primary {
    transform: translateY(-105%);
}

.magnetic-btn:hover .btn-label-hover {
    transform: translateY(-100%);
}

.btn-primary {
    background: linear-gradient(135deg, #FF4500 0%, #FF6224 100%);
    color: #050505;
    font-weight: 700;
    border-color: rgba(255, 130, 80, 0.45);
    box-shadow: 0 10px 28px rgba(255, 69, 0, 0.32);
}

.btn-primary:hover {
    box-shadow: 0 14px 36px rgba(255, 69, 0, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hairline);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 69, 0, 0.14);
}

.btn-ghost {
    background: transparent;
    border-color: var(--border-hairline);
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
}

.btn-danger-outline {
    background: rgba(255, 46, 46, 0.06);
    border-color: rgba(255, 46, 46, 0.35);
    color: #FF6B6B;
}

.btn-danger-outline:hover {
    background: rgba(255, 46, 46, 0.18);
    border-color: #FF2E2E;
    color: #FFFFFF;
}

.btn-danger {
    background: #FF2E2E;
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(255, 46, 46, 0.35);
}

/* ==========================================================================
   Reader View & Decryption Gate Styles
   ========================================================================== */
.reader-chrome {
    padding: 20px 24px;
}

.reader-title-block {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-pill {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-subtle);
    color: var(--accent-primary);
    border: 1px solid var(--accent-border);
    text-transform: uppercase;
}

.badge-lang {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border-color: var(--border-hairline);
}

.reader-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.reader-meta-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.reader-code-stage {
    min-height: 340px;
    max-height: 680px;
    overflow: auto;
}

.reader-pre {
    flex: 1;
    padding: 20px 24px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-primary);
    white-space: pre;
    tab-size: 4;
}

.reader-left-tools,
.reader-right-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Gate Overlay (E2E Decryption & Burn Confirmation) */
.gate-overlay {
    position: relative;
    z-index: 3;
    padding: 56px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 7, 7, 0.9);
    border-bottom: 1px solid var(--border-hairline);
}

.gate-card {
    max-width: 520px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.gate-icon {
    font-size: 2.4rem;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.25);
}

.gate-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.gate-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.decrypt-input-row {
    width: 100%;
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

@media (max-width: 540px) {
    .decrypt-input-row {
        flex-direction: column;
    }
}

.gate-error {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #FF5252;
    background: rgba(255, 46, 46, 0.12);
    border: 1px solid rgba(255, 46, 46, 0.35);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    width: 100%;
}

.burned-strip {
    position: relative;
    z-index: 3;
    background: rgba(255, 69, 0, 0.16);
    border-bottom: 1px solid var(--accent-primary);
    color: var(--text-primary);
    padding: 12px 24px;
    font-size: 0.85rem;
    text-align: center;
}

/* ==========================================================================
   Recent Public Pastes & 3D Tilt Showcase Cards
   ========================================================================== */
.showcase-section {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.showcase-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-hairline);
    padding-bottom: 16px;
}

.section-kicker {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--accent-primary);
    margin-bottom: 4px;
}

.section-title {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cards-grid,
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 960px) {
    .cards-grid,
    .pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cards-grid,
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

.paste-card,
.info-card,
.pillar-card {
    position: relative;
    background: var(--bg-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: 22px;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.paste-card:hover,
.info-card:hover,
.pillar-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 69, 0, 0.12);
}

.card-top-row,
.card-bottom-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-secondary);
}

.card-lang-tag,
.card-tag {
    color: var(--accent-primary);
    background: var(--accent-subtle);
    border: 1px solid rgba(255, 69, 0, 0.35);
    padding: 2px 9px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    width: fit-content;
}

.card-heading {
    position: relative;
    z-index: 2;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-text,
.pillar-desc {
    position: relative;
    z-index: 2;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pillar-num {
    position: relative;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
}

.pillar-title {
    position: relative;
    z-index: 2;
    font-size: 1.08rem;
    font-weight: 700;
}

.pillar-desc code,
.modal-subtitle code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-ember);
    background: rgba(255, 69, 0, 0.1);
    padding: 1px 6px;
    border-radius: 4px;
}

/* ==========================================================================
   Modals (Elastic Delete Key Modal & Delete Confirmation Modal)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 8000;
    background: rgba(3, 3, 3, 0.84);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-dialog {
    position: relative;
    max-width: 600px;
    width: 100%;
    background: var(--bg-glass-elevated);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(255, 69, 0, 0.22);
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.modal-badge-row {
    position: relative;
    z-index: 2;
}

.modal-status-pill {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--accent-subtle);
    color: var(--accent-primary);
    border: 1px solid var(--accent-border);
}

.modal-title {
    position: relative;
    z-index: 2;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-field-group {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copy-input-row {
    display: flex;
    gap: 10px;
}

@media (max-width: 540px) {
    .copy-input-row {
        flex-direction: column;
    }
}

.mono-input {
    font-family: var(--font-mono);
    font-size: 0.83rem;
}

.input-crimson {
    border-color: rgba(255, 69, 0, 0.55);
    color: var(--accent-ember);
    background: rgba(255, 69, 0, 0.07);
}

.modal-actions-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Toast Notification & Footer
   ========================================================================== */
.fox-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9500;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid var(--accent-primary);
    color: var(--text-primary);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 69, 0, 0.28);
}

.site-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-hairline);
    padding: 24px 32px;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.footer-brand-col,
.footer-spec-col {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-logo {
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.1em;
}

.footer-divider {
    color: var(--accent-primary);
}
