@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-14px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) skewX(-20deg); }
    100% { transform: translateX(250%) skewX(-20deg); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px var(--amber-glow), 0 0 0 1px var(--border-bright); }
    50% { box-shadow: 0 0 45px var(--amber-glow-strong), 0 0 70px var(--amber-glow), 0 0 0 1px var(--border-bright); }
}

@keyframes scan-h {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.page-header {
    padding: 6.5rem 1.25rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.6s ease both;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    background-size: 200% auto;
    opacity: 0.2;
    animation: scan-h 5s linear infinite;
}

.page-header-container { max-width: 700px; margin: 0 auto; }

.page-title { font-size: clamp(1.875rem, 5.5vw, 3.5rem); margin-bottom: 0.5rem; line-height: 1.15; font-weight: 800; letter-spacing: -1px; }

.page-subtitle { color: var(--text-2); font-size: 0.8rem; font-family: var(--font-mono); }

.features-deep-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-deep-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    animation: fadeUp 0.5s ease both;
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
}

.feature-deep-card:nth-child(1) { animation-delay: 0.05s; }
.feature-deep-card:nth-child(2) { animation-delay: 0.1s; }
.feature-deep-card:nth-child(3) { animation-delay: 0.15s; }
.feature-deep-card:nth-child(4) { animation-delay: 0.2s; }

.feature-deep-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-deep-card:hover, .feature-deep-card:active {
    border-color: var(--border-bright);
    box-shadow: 0 0 35px var(--amber-glow);
}

.feature-deep-card:hover::before { opacity: 0.5; }

.feature-deep-header {
    padding: 1rem 1.25rem;
    background: var(--bg-3);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.feature-deep-header h2 { font-size: 1rem; font-weight: 700; letter-spacing: -0.2px; }

.feature-source {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--amber);
    background: var(--amber-glow);
    padding: 0.18rem 0.55rem;
    border-radius: 3px;
    border: 1px solid var(--border-bright);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.feature-deep-body { padding: 1.25rem; }

.stage-item {
    display: flex;
    gap: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    animation: slideRight 0.4s ease both;
}

.stage-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.stage-number {
    width: 32px;
    height: 32px;
    background: var(--amber-glow);
    border: 1px solid var(--border-bright);
    color: var(--amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    font-family: var(--font-mono);
    transition: background 0.25s, box-shadow 0.25s;
}

@media (hover: hover) {
    .stage-item:hover .stage-number {
        background: var(--amber);
        color: var(--bg-0);
        box-shadow: 0 0 14px var(--amber-glow-strong);
    }
}

.stage-content h3 { margin-bottom: 0.35rem; font-size: 0.95rem; font-weight: 700; color: var(--amber); letter-spacing: -0.2px; }

.stage-content p { color: var(--text-2); font-size: 0.875rem; line-height: 1.7; }

.key-hints { display: flex; gap: 1rem; margin-top: 1.1rem; justify-content: center; flex-wrap: wrap; }

.key-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-2);
    padding: 0.65rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 0.25s;
    min-width: 80px;
    -webkit-tap-highlight-color: transparent;
}

.key-hint:hover, .key-hint:active { border-color: var(--border-bright); background: var(--amber-glow); }

@media (hover: hover) {
    .key-hint:hover i { filter: drop-shadow(0 0 8px var(--amber)); }
}

.key-hint i { font-size: 1.35rem; color: var(--amber); transition: filter 0.2s; }
.key-hint span { font-size: 0.775rem; font-weight: 600; }
.key-hint small { color: var(--text-3); font-size: 0.65rem; font-family: var(--font-mono); }

.security-item { margin-bottom: 1rem; padding: 0.875rem; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color 0.2s; }

.security-item:hover { border-color: var(--border-bright); }

.security-item h4 { margin-bottom: 0.3rem; color: var(--amber); font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }

.security-item p { color: var(--text-2); font-size: 0.85rem; line-height: 1.65; margin: 0; }

.whitelist-demo { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-top: 0.875rem; }

.demo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.875rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
    font-size: 0.85rem;
}

.demo-item:last-child { border-bottom: none; }
.demo-item:hover { background: rgba(255,176,0,0.03); }

.demo-item .badge { font-size: 0.68rem; padding: 0.18rem 0.45rem; border-radius: 3px; background: var(--bg-4); color: var(--text-3); font-family: var(--font-mono); border: 1px solid var(--border); }

.demo-item.protected .badge { background: rgba(34,211,238,0.08); color: var(--cyan); border-color: rgba(34,211,238,0.2); }

.webui-showcase {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 3fr 1.1fr;
    gap: 1.25rem;
    animation: fadeUp 0.5s ease both;
}

.webui-terminal { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; min-width: 0; transition: border-color 0.3s; }

.webui-terminal:hover { border-color: var(--border-bright); }

.terminal-header {
    background: var(--bg-3);
    border-bottom: 1px solid var(--border);
    padding: 0.55rem 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.terminal-tabs { display: flex; gap: 0.2rem; }

.tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-2);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.8rem;
    font-family: var(--font-main);
    transition: 0.2s;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.tab-btn:hover, .tab-btn:active { color: var(--text-0); background: var(--bg-4); }

.tab-btn.active { background: var(--amber-glow); color: var(--amber); border-color: var(--border-bright); }

.terminal-controls { display: flex; gap: 0.65rem; align-items: center; }

.port-badge, .idle-badge { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-3); }

.port-badge { color: var(--amber); opacity: 0.7; }

.terminal-view { display: none; height: 440px; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.terminal-view.active { display: block; animation: fadeIn 0.2s ease; }

.log-controls { padding: 0.6rem 0.875rem; border-bottom: 1px solid var(--border); display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }

.file-btn {
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text-1);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.775rem;
    transition: 0.2s;
    font-family: var(--font-main);
    -webkit-tap-highlight-color: transparent;
}

.file-btn:hover, .file-btn:active { border-color: var(--amber); color: var(--amber); }

.current-file { font-family: var(--font-mono); font-size: 0.725rem; color: var(--text-2); }

.log-content { padding: 0.6rem 0.875rem; font-family: var(--font-mono); font-size: 0.75rem; }

.log-line { padding: 0.16rem 0; color: var(--text-2); border-bottom: 1px solid rgba(28,29,46,0.5); }

.log-line.success { color: var(--cyan); }
.log-line.warning { color: var(--yellow); }
.log-line.error { color: var(--red); }

.boot-header { background: linear-gradient(135deg, var(--cyan), var(--amber)); color: #0a0b0f; padding: 0.3rem; margin: 0.6rem 0; text-align: center; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.75rem; }

.boot-footer { background: linear-gradient(135deg, var(--amber), var(--red)); color: #0a0b0f; padding: 0.3rem; margin: 0.6rem 0; text-align: center; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.75rem; }

.filter-tabs { padding: 0.6rem 0.875rem; border-bottom: 1px solid var(--border); display: flex; gap: 0.35rem; }

.filter-btn {
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.775rem;
    transition: 0.2s;
    font-family: var(--font-main);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.filter-btn.active { background: var(--amber); color: var(--bg-0); border-color: var(--amber); font-weight: 700; }

.filter-btn:hover:not(.active), .filter-btn:active:not(.active) { border-color: var(--border-bright); color: var(--text-0); }

.filter-btn .count { background: rgba(0,0,0,0.15); color: inherit; padding: 0.08rem 0.3rem; border-radius: 3px; font-size: 0.65rem; font-family: var(--font-mono); }

.filter-btn:not(.active) .count { background: var(--bg-4); color: var(--text-3); }

.modules-list { padding: 0.6rem; }

.module-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.7rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.3rem;
    transition: border-color 0.2s;
}

.module-item:hover { border-color: var(--border-bright); }

.module-info { display: flex; flex-direction: column; gap: 0.15rem; }

.module-name { font-weight: 600; font-size: 0.85rem; }

.module-id { font-size: 0.65rem; color: var(--text-3); font-family: var(--font-mono); }

.add-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: 0.2rem 0.7rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.725rem;
    transition: 0.2s;
    font-family: var(--font-main);
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.add-btn:hover, .add-btn:active { border-color: var(--amber); color: var(--amber); background: var(--amber-glow); }

.badge.protected { background: rgba(34,211,238,0.1); color: var(--cyan); border: 1px solid rgba(34,211,238,0.2); padding: 0.18rem 0.45rem; border-radius: 3px; font-size: 0.68rem; font-family: var(--font-mono); }

.settings-list { padding: 0.6rem 0.875rem; }

.settings-group { margin-bottom: 1.35rem; }

.settings-group h4 { color: var(--amber); margin-bottom: 0.6rem; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; font-family: var(--font-mono); }

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.7rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-1);
}

.stepper { display: flex; align-items: center; background: var(--bg-4); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }

.stepper button {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--text-2);
    cursor: pointer;
    transition: 0.15s;
    font-size: 1rem;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.stepper button:hover, .stepper button:active { background: var(--amber); color: var(--bg-0); }

.stepper .value { min-width: 36px; text-align: center; font-family: var(--font-mono); font-size: 0.78rem; color: var(--amber); padding: 0 0.25rem; }

.toggle { position: relative; display: inline-block; width: 42px; height: 24px; }

.toggle input { opacity: 0; width: 0; height: 0; }

.slider { position: absolute; cursor: pointer; inset: 0; background: var(--bg-4); border: 1px solid var(--border); border-radius: 24px; transition: 0.25s; }

.slider:before { position: absolute; content: ''; height: 18px; width: 18px; left: 2px; bottom: 2px; background: var(--text-3); border-radius: 50%; transition: 0.25s; }

input:checked + .slider { background: var(--amber); border-color: var(--amber); }
input:checked + .slider:before { transform: translateX(18px); background: var(--bg-0); }

.settings-footer { margin-top: 1.1rem; padding-top: 0.7rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

.unsaved { color: var(--text-3); font-size: 0.72rem; font-family: var(--font-mono); }

.save-btn {
    background: var(--amber);
    color: var(--bg-0);
    border: none;
    padding: 0.4rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.2s;
    font-family: var(--font-main);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.save-btn:hover, .save-btn:active { background: var(--accent-hover); box-shadow: 0 4px 14px var(--amber-glow-strong); }

@media (hover: hover) { .save-btn:hover { transform: translateY(-1px); } }

.webui-info { display: flex; flex-direction: column; gap: 0.875rem; min-width: 0; }

.info-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    animation: fadeUp 0.5s ease 0.15s both;
    transition: border-color 0.2s;
}

.info-card:hover { border-color: var(--border-bright); }

.info-card h3 { color: var(--amber); margin-bottom: 0.65rem; font-size: 0.8rem; font-weight: 700; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 1px; }

.info-card ul { list-style: none; }

.info-card li { color: var(--text-2); padding: 0.3rem 0; display: flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; border-bottom: 1px solid rgba(28,29,46,0.5); }

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

.info-card li i { color: var(--amber); width: 15px; flex-shrink: 0; font-size: 0.75rem; }

.info-card pre { background: var(--bg-3); padding: 0.65rem; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-2); overflow-x: auto; border: 1px solid var(--border); line-height: 1.7; -webkit-overflow-scrolling: touch; }

.download-section { padding: 1.25rem; }

.download-container { max-width: 660px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.1rem; }

.download-hero-card {
    background: var(--bg-2);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.5s ease both, glow-pulse 4s ease-in-out infinite;
}

.download-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,176,0,0.04) 0%, transparent 55%);
    pointer-events: none;
}

.download-hero-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    opacity: 0.55;
}

.dl-latest-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--amber);
    color: var(--bg-0);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.dl-title { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 0.2rem; line-height: 1.15; font-weight: 800; letter-spacing: -0.75px; }

.dl-codename { color: var(--amber); font-style: italic; font-size: 0.9rem; margin-bottom: 1.35rem; opacity: 0.8; }

.dl-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.5rem; }

.dl-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: 0.22rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
}

.dl-pill i { color: var(--amber); font-size: 0.68rem; }

.dl-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.95rem 1.5rem;
    background: var(--amber);
    color: var(--bg-0);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s;
    margin-bottom: 0.6rem;
    position: relative;
    overflow: hidden;
    font-family: var(--font-main);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
    .dl-btn-primary::before {
        content: '';
        position: absolute;
        top: 0; left: -60%;
        width: 40%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
        transform: skewX(-20deg);
        animation: shimmer 2.5s ease-in-out infinite;
    }
    .dl-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px var(--amber-glow-strong), 0 10px 28px rgba(0,0,0,0.4); }
}

.dl-btn-primary:hover, .dl-btn-primary:active { background: #ffc020; }

.dl-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.65rem 1.5rem;
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    font-family: var(--font-main);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.dl-btn-secondary:hover, .dl-btn-secondary:active { border-color: var(--amber); color: var(--amber); background: var(--amber-glow); }

.dl-filename { margin-top: 0.65rem; color: var(--text-3); font-size: 0.68rem; font-family: var(--font-mono); text-align: center; word-break: break-all; }

.dl-stats-strip {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: fadeUp 0.5s ease 0.1s both;
    transition: border-color 0.2s;
}

.dl-stats-strip:hover { border-color: var(--border-bright); }

.dl-stat-badge img { height: 22px; display: block; }

.dl-compat {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    animation: fadeUp 0.5s ease 0.15s both;
    transition: border-color 0.2s;
}

.dl-compat:hover { border-color: var(--border-bright); }

.dl-compat-title { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-3); margin-bottom: 0.7rem; text-align: center; font-family: var(--font-mono); }

.dl-compat-items { display: flex; justify-content: center; gap: 1.1rem; flex-wrap: wrap; }

.dl-compat-item { display: flex; align-items: center; gap: 0.35rem; color: var(--text-2); font-size: 0.825rem; font-weight: 600; transition: color 0.2s; }

.dl-compat-item:hover { color: var(--amber); }
.dl-compat-item i { color: var(--amber); }

.install-quick { max-width: 660px; margin: 0 auto 2.5rem; padding: 0 1.25rem; text-align: center; }

.install-quick h2 { margin-bottom: 1.25rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.3px; }

.install-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.875rem; }

.step {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 0.8rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    animation: fadeUp 0.5s ease both;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.step::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.step:nth-child(1) { animation-delay: 0.05s; }
.step:nth-child(2) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.15s; }
.step:nth-child(4) { animation-delay: 0.2s; }

.step:active { border-color: var(--border-bright); }

@media (hover: hover) {
    .step:hover { border-color: var(--border-bright); transform: translateY(-4px); box-shadow: 0 0 25px var(--amber-glow), 0 8px 20px rgba(0,0,0,0.3); }
    .step:hover::before { transform: scaleX(1); }
    .step:hover .step-number { box-shadow: 0 0 14px var(--amber-glow-strong); }
}

.step-number { width: 26px; height: 26px; background: var(--amber); color: var(--bg-0); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.75rem; margin: 0 auto 0.65rem; font-family: var(--font-mono); transition: box-shadow 0.25s; }

.step p { color: var(--text-2); font-size: 0.8rem; line-height: 1.5; }

.changelog-section { padding: 1.25rem; }

.changelog-container { max-width: 760px; margin: 0 auto; }

.release-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
    margin-bottom: 1.1rem;
    animation: fadeUp 0.5s ease both;
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.release-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.release-card:hover { border-color: var(--border-bright); box-shadow: 0 0 25px var(--amber-glow); }
.release-card:hover::before { opacity: 0.4; }

.release-header { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; margin-bottom: 0.875rem; padding-bottom: 0.875rem; border-bottom: 1px solid var(--border); }

.release-header h2 { font-size: 1.1rem; color: var(--amber); font-weight: 700; }

.release-date { color: var(--text-3); font-size: 0.72rem; font-family: var(--font-mono); }

.release-badge { background: var(--amber); color: var(--bg-0); padding: 0.12rem 0.45rem; border-radius: 3px; font-size: 0.65rem; font-weight: 700; font-family: var(--font-mono); }

.release-body h1 { font-size: 1.1rem; color: var(--amber); margin-bottom: 0.875rem; font-weight: 700; }
.release-body h2 { font-size: 0.95rem; color: var(--text-0); margin: 1.1rem 0 0.4rem; font-weight: 700; }
.release-body h3 { font-size: 0.875rem; color: var(--text-1); margin: 0.875rem 0 0.35rem; font-weight: 600; }

.release-body ul { list-style: none; }

.release-body li { color: var(--text-2); padding: 0.22rem 0; padding-left: 1.1rem; position: relative; font-size: 0.85rem; line-height: 1.6; }

.release-body li::before { content: '→'; color: var(--amber); position: absolute; left: 0; }

.loading-spinner { text-align: center; padding: 2.5rem; color: var(--text-2); font-family: var(--font-mono); font-size: 0.85rem; }

.loading-spinner::after { content: '...'; animation: blink 1.2s ease infinite; }

.error { color: var(--red); text-align: center; padding: 1.75rem; font-size: 0.85rem; font-family: var(--font-mono); }

@media (max-width: 900px) { .webui-showcase { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
    .page-header { padding: 5.5rem 1rem 1.75rem; }
    .features-deep-container { padding: 1rem; }
    .feature-deep-header { padding: 0.875rem 1rem; }
    .feature-deep-header h2 { font-size: 0.925rem; }
    .feature-deep-body { padding: 1rem; }
    .stage-item { flex-direction: column; gap: 0.65rem; }
    .install-steps { grid-template-columns: repeat(2, 1fr); }
    .webui-showcase { padding: 1rem; }
    .terminal-view { height: 340px; }
    .download-hero-card { padding: 1.25rem; }
    .dl-compat-items { gap: 0.65rem; }
    .key-hints { gap: 0.65rem; }
}

@media (max-width: 400px) {
    .install-steps { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
    .key-hints { flex-direction: column; align-items: center; }
    .page-header { padding: 5rem 0.875rem 1.5rem; }
}