
/* ============================================================
   SHOOTING DEVELOPMENT LOG
============================================================ */

body {
    margin: 0;
    background: #000;
    color: #fff;
}

header {
    background: #000;
}

.devlog-article {
    width: 100%;
    background: #111;
}


/* ============================================================
   HERO
============================================================ */

.log-hero {
    min-height: 75vh;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 120px 10%;

    background: #111;
}

.log-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.90),
            rgba(0,0,0,0.40),
            rgba(0,0,0,0.90)
        ),
        url("images/hero-02.png");

    background-size: cover;
    background-position: center;

    transform: scale(1.03);

    animation:
        logHeroZoom
        20s
        ease-in-out
        infinite
        alternate;

    opacity: 0.75;
}

.log-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 50%,
            #111 100%
        );
}

.log-hero-content {
    position: relative;

    z-index: 2;

    max-width: 1000px;
}

.log-label {
    margin-bottom: 25px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 5px;

    color: #777;
}

.log-hero h1 {
    margin: 0;

    font-size: clamp(55px, 8vw, 110px);

    line-height: 0.88;

    letter-spacing: -3px;
}

.log-hero h1::first-line {
    color: white;
}

.log-hero p {
    max-width: 850px;

    margin-top: 35px;

    font-size: 24px;

    line-height: 1.4;

    color: #aaa;

    letter-spacing: 1px;
}


/* ============================================================
   SECTIONS
============================================================ */

.log-section {
    max-width: 1200px;

    margin: 0 auto;

    padding: 130px 40px;
}

.section-number {
    margin-bottom: 25px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 5px;

    color: #ff3b3b;
}

.log-section h2 {
    margin: 0 0 40px;

    font-size: clamp(36px, 5vw, 64px);

    line-height: 0.95;

    letter-spacing: -1px;
}

.log-section p {
    max-width: 900px;

    margin-bottom: 25px;

    font-size: 19px;

    line-height: 1.75;

    color: #999;
}

.log-section .lead {
    max-width: 950px;

    font-size: 24px;

    line-height: 1.5;

    color: #ccc;
}

.log-section strong {
    color: white;
}


/* ============================================================
   FEATURE GRID
============================================================ */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 2px;

    margin-top: 60px;
    margin-bottom: 20px;
}

.feature-card {
    min-height: 190px;

    padding: 30px;

    background: #0b0b0b;

    border: 1px solid #181818;
}

.feature-icon {
    display: block;

    margin-bottom: 35px;

    font-size: 12px;

    color: #ff3b3b;

    letter-spacing: 3px;
}

.feature-card strong {
    display: block;

    margin-bottom: 15px;

    font-size: 15px;

    letter-spacing: 2px;
}

.feature-card p {
    margin: 0;

    font-size: 15px;

    line-height: 1.5;
}


/* ============================================================
   ARCHITECTURE
============================================================ */

.architecture {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 25px;

    margin-top: 80px;
    margin-bottom: 30px;

    padding: 50px 20px;

    background: #080808;

    border-top: 1px solid #222;
    border-bottom: 1px solid #222;

    overflow-x: auto;
}

.architecture-node {
    width: 220px;
    min-width: 220px;
    min-height: 150px;

    padding: 25px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    background: #0d0d0d;

    border: 1px solid #222;

    text-align: center;
}

.architecture-node.master {
    border-color: #ff3b3b;

    box-shadow:
        0 0 30px rgba(255,59,59,0.05);
}

.architecture-node.player {
    border-color: #444;
}

.node-type {
    margin-bottom: 15px;

    font-size: 10px;

    letter-spacing: 3px;

    color: #666;
}

.architecture-node strong {
    font-size: 17px;
}

.architecture-node small {
    margin-top: 10px;

    color: #666;
}

.architecture-line {
    width: 100px;
    min-width: 100px;

    display: flex;
    flex-direction: column;

    gap: 8px;

    text-align: center;
}

.architecture-line span {
    font-size: 9px;

    letter-spacing: 2px;

    color: #555;
}

.architecture-line .line {
    height: 1px;

    position: relative;

    background: #444;
}

.architecture-line .line::after {
    content: "";

    position: absolute;

    right: 0;
    top: -3px;

    width: 6px;
    height: 6px;

    border-top: 1px solid #555;
    border-right: 1px solid #555;

    transform: rotate(45deg);
}


/* ============================================================
   QUOTE
============================================================ */

.quote-block {
    position: relative;

    margin-top: 70px;

    margin-bottom: 30px;

    padding: 50px;

    background: #0b0b0b;

    border: 1px solid #1b1b1b;
}

.quote-block::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 2px;

    background: #ff3b3b;
}

.quote-block span {
    display: block;

    margin-bottom: 20px;

    font-size: 12px;

    color: #ff3b3b;

    letter-spacing: 4px;
}

.quote-block strong {
    display: block;

    max-width: 850px;

    font-size: 28px;

    line-height: 1.3;
}


/* ============================================================
   TERMINAL
============================================================ */

.terminal {
    max-width: 900px;

    margin: 60px auto;

    overflow: hidden;

    background: #030303;

    border: 1px solid #222;

    font-family: monospace;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.25);
}

.terminal-header {
    display: flex;

    align-items: center;

    gap: 7px;

    padding: 12px 15px;

    background: #0d0d0d;

    border-bottom: 1px solid #222;
}

.terminal-header > span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #444;
}

.terminal-header label {
    margin-left: 10px;

    font-size: 11px;

    color: #555;
}

.terminal-body {
    padding: 25px;

    font-size: 13px;

    line-height: 1.8;

    color: #777;
}

.terminal-body p {
    margin: 0;

    font-size: inherit;

    color: inherit;
}

.terminal-body i {
    color: #444;

    font-style: normal;
}

.terminal-body b,
.terminal-body .success {
    color: #8f8;
}


/* ============================================================
   SHOT DATA
============================================================ */

.terminal .terminal-body p i {
    display: inline-block;

    min-width: 70px;

    color: #ff3b3b;
}


/* ============================================================
   STATUS FLOW
============================================================ */

.status-flow {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    margin-top: 45px;
    margin-bottom: 45px;

    flex-wrap: wrap;
}

.status-flow span {
    padding: 12px 18px;

    background: #0b0b0b;

    border: 1px solid #222;

    font-size: 11px;

    letter-spacing: 2px;

    color: #888;

    transition:
        border-color 0.2s,
        color 0.2s;
}

.status-flow span:hover {
    color: #ccc;

    border-color: #444;
}

.status-flow span:last-child {
    color: #ff3b3b;

    border-color: #ff3b3b;
}

.status-flow b {
    color: #444;
}


/* ============================================================
   DATA GRID
============================================================ */

.data-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 2px;

    margin-top: 60px;
    margin-bottom: 20px;
}

.data-grid div {
    padding: 30px;

    background: #0b0b0b;

    border: 1px solid #181818;
}

.data-grid span {
    display: block;

    margin-bottom: 15px;

    font-size: 10px;

    letter-spacing: 3px;

    color: #555;
}

.data-grid strong {
    font-size: 16px;

    color: #aaa;
}


/* ============================================================
   SECURITY
============================================================ */

.security-section {
    max-width: none;

    padding-left: max(40px, calc((100vw - 1200px) / 2));
    padding-right: max(40px, calc((100vw - 1200px) / 2));
}

.security-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 2px;

    margin-top: 60px;

    margin-bottom: 30px;
}

.security-grid div {
    min-height: 150px;

    padding: 35px;

    background: #0b0b0b;

    border: 1px solid #181818;
}

.security-grid span {
    color: #ff3b3b;

    font-size: 11px;

    letter-spacing: 3px;
}

.security-grid p {
    margin-top: 20px;

    font-size: 15px;
}


/* ============================================================
   REWIND / HISTORICAL STATE
============================================================ */

.heartbeat-section {
    max-width: none;

    padding-left: max(40px, calc((100vw - 1200px) / 2));
    padding-right: max(40px, calc((100vw - 1200px) / 2));
}

.heartbeat-visual {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 35px;

    margin: 70px 0;

    padding: 60px 30px;

    background: #050505;

    border: 1px solid #1b1b1b;
}

.heartbeat-server,
.heartbeat-master {
    width: 240px;

    padding: 35px 25px;

    background: #0c0c0c;

    border: 1px solid #222;

    text-align: center;
}

.heartbeat-master {
    border-color: #ff3b3b;
}

.heartbeat-server small,
.heartbeat-master small {
    display: block;

    margin-bottom: 15px;

    font-size: 10px;

    letter-spacing: 3px;

    color: #666;
}

.heartbeat-server strong,
.heartbeat-master strong {
    font-size: 18px;
}

.pulse {
    width: 10px;
    height: 10px;

    display: block;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #ff3b3b;

    box-shadow:
        0 0 0 0 rgba(255,59,59,0.7);

    animation:
        pulse 1.5s infinite;
}

.heartbeat-connection {
    width: 180px;

    text-align: center;
}

.heartbeat-packet {
    margin-bottom: 12px;

    font-size: 10px;

    color: #ff3b3b;

    letter-spacing: 3px;
}

.heartbeat-line {
    height: 1px;

    position: relative;

    background: #444;
}


/* ============================================================
   BALLISTIC TRAJECTORY
============================================================ */

.ballistic-trajectory {
    position: relative;

    width: 100%;

    aspect-ratio: 1000 / 300;

    margin: 70px 0;

    overflow: hidden;

    background:
        linear-gradient(
            to bottom,
            #080808,
            #050505
        );

    border-top: 1px solid #1b1b1b;
    border-bottom: 1px solid #1b1b1b;
}

/* ============================================================ 
   GROUND
============================================================ */

.trajectory-ground {
    stroke: #222;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

/* ============================================================
   SVG
============================================================ */

.ballistic-path {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

   pointer-events: none;
}


/* ============================================================
   TRAJECTORY
============================================================ */

.trajectory-reference {
    fill: none;

    stroke: #333;

    stroke-width: 1.2;

    stroke-dasharray: 5 8;

    opacity: 0.7;
}

.trajectory-main {
    fill: none;

    stroke: #ff3b3b;

    stroke-width: 2;

    stroke-linecap: round;

    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;

    filter:
        drop-shadow(
            0 0 5px rgba(255,59,59,0.25)
        );
}

.trajectory-wind {
    fill: none;

    stroke: #ff3b3b;

    stroke-width: 2;

    stroke-dasharray: 3 6;

    stroke-linecap: round;

    opacity: 0.45;
}


/* ============================================================
   MUZZLE
============================================================ */

.trajectory-start {
    fill: #ff3b3b;

    filter:
        drop-shadow(
            0 0 8px rgba(255, 59, 59, 0.55)
        );
}

.trajectory-muzzle-label {
    fill: #555;

    font-family: monospace;

    font-size: 9px;

    letter-spacing: 3px;

    text-anchor: middle;
}


/* ============================================================
   IMPACT
============================================================ */

#trajectory-impact {
    display: none;
}

#trajectory-impact circle {
    fill: #ff3b3b;

    filter:
        drop-shadow(
            0 0 8px rgba(255, 59, 59, 0.6)
        );
}

#trajectory-impact.impact-animate circle {
    animation:
        impactPulse
        0.8s
        ease-out;
}

#trajectory-impact text {
    fill: #555;

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 2px;

    text-anchor: middle;
}

@keyframes impactPulse {

    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}


/* ============================================================
   TRAJECTORY ANIMATION
============================================================ */

@keyframes ballisticTrajectory {

    from {
        stroke-dashoffset: var(--trajectory-length);
    }

    to {
        stroke-dashoffset: 0;
    }

}


/* ============================================================
   PHYSICS FACTORS
============================================================ */

.ballistic-factor {
    position: absolute;

    padding: 7px 10px;

    border: 1px solid #242424;

    background: rgba(5,5,5,0.9);

    color: #777;

    font-family: monospace;

    font-size: 9px;

    letter-spacing: 2px;

    z-index: 4;

    opacity: 0;

    transform: translateY(4px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.ballistic-factor.visible {
    opacity: 1;

    transform: translateY(0);
}

.ballistic-factor span {
    color: #ff3b3b;

    margin-right: 5px;

    font-size: 13px;
}

.ballistic-factor.gravity {
    left: 42%;
    top: 35%;
}

.ballistic-factor.drag {
    left: 62%;
    top: 32%;
}

.ballistic-factor.wind {
    right: 17%;
    top: 45%;
}


/* ============================================================
   DISTANCE
============================================================ */

.ballistic-distance {
    position: absolute;

    top: 20px;
    left: 50%;

    transform: translateX(-50%);

    color: #555;

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 3px;

    white-space: nowrap;

    z-index: 5;
}

.ballistic-distance::before,
.ballistic-distance::after {
    content: "";

    display: inline-block;

    width: 70px;
    height: 1px;

    margin: 0 14px 3px;

    background: #252525;
}


/* ============================================================
   BALLISTIC CONFIGURATION
============================================================ */

.ballistic-config {
    margin: 60px 0 30px;

    border: 1px solid #252525;

    background: #080808;
}

.ballistic-config-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 14px 20px;

    border-bottom: 1px solid #222;

    background: #0d0d0d;

    cursor: pointer;

    list-style: none;

    user-select: none;
}

.ballistic-config-header::-webkit-details-marker {
    display: none;
}

.ballistic-config-header::after {
    content: "＋";

    color: #ff3b3b;

    font-family: monospace;
    font-size: 16px;
}

.ballistic-config[open] .ballistic-config-header::after {
    content: "−";
}

.ballistic-config-header span {
    color: #777;

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 2px;
}

.ballistic-config-header strong {
    margin-left: auto;
    margin-right: 20px;

    color: #ff3b3b;

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 2px;
}

.ballistic-config pre {
    margin: 0;

    padding: 28px;

    overflow-x: auto;

    background: #050505;
}

.ballistic-config code {
    color: #b8b8b8;

    font-family: monospace;

    font-size: 13px;

    line-height: 1.8;
}


/* ============================================================
   PERFORMANCE
============================================================ */

.performance-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 2px;

    margin-top: 60px;
}

.performance-card {
    padding: 40px 30px;

    background: #0b0b0b;

    border: 1px solid #181818;

    text-align: center;
}

.performance-card .value {
    display: block;

    margin-bottom: 12px;

    font-size: 32px;
    font-weight: 700;

    color: #fff;
}

.performance-card .label {
    font-size: 10px;

    letter-spacing: 3px;

    color: #555;
}


/* ============================================================
   FINAL
============================================================ */

.log-final {
    max-width: 1200px;

    margin: 0 auto;

    padding: 150px 40px;
}

.log-final h2 {
    margin-bottom: 45px;

    font-size: clamp(45px, 6vw, 80px);

    line-height: 0.9;
}

.log-final p {
    max-width: 850px;

    font-size: 19px;

    line-height: 1.75;

    color: #999;
}

.final-statement {
    margin: 80px 0;

    padding: 60px;

    background: #0b0b0b;

    border-left: 3px solid #ff3b3b;
}

.final-statement span {
    display: block;

    margin-bottom: 20px;

    font-size: 12px;

    letter-spacing: 5px;

    color: #ff3b3b;
}

.final-statement strong {
    font-size: 32px;

    line-height: 1.25;
}

.ps {
    margin-top: 80px;

    font-size: 15px !important;

    color: #555 !important;
}


/* ============================================================
   ANIMATIONS
============================================================ */

@keyframes logHeroZoom {

    from {
        transform: scale(1.03);
    }

    to {
        transform: scale(1.08);
    }

}

@keyframes pulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(255,59,59,0.7);
    }

    70% {
        box-shadow:
            0 0 0 15px rgba(255,59,59,0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(255,59,59,0);
    }

}


/* ============================================================
   DEVLOG FOOTER
============================================================ */

footer {
    background: #111;
}


/* ============================================================
   BACK TO TOP
============================================================ */

.back-to-top {
    position: fixed;

    right: 30px;
    bottom: 30px;

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #111;

    border: 1px solid #333;

    color: #aaa;

    font-size: 24px;

    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        color 0.2s ease,
        border-color 0.2s ease;

    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

.back-to-top:hover {
    color: #fff;

    border-color: #666;
}


/* ============================================================
   GLOBAL LINKS
============================================================ */

.inline-config-link,
.inline-config-link:visited,
.inline-config-link:hover {
    color: #551A8B;
}


/* ============================================================
   TIMESTAMP & DUPLICATE PROTECTION
============================================================ */

.timestamp-visual {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 28px;

    margin: 55px 0;

    padding: 35px;

    border: 1px solid #252525;

    background: #0b0b0b;
}

.timestamp-node,
.timestamp-buffer {
    min-width: 170px;

    padding: 24px;

    border: 1px solid #2a2a2a;

    background: #111111;

    text-align: center;
}

.timestamp-node small,
.timestamp-buffer small {
    display: block;

    margin-bottom: 10px;

    color: #777777;

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 2px;
}

.timestamp-node strong,
.timestamp-buffer strong {
    display: block;

    margin-bottom: 8px;

    color: #ffffff;

    font-family: monospace;

    font-size: 20px;

    letter-spacing: 1px;
}

.timestamp-node span {
    color: #666666;

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 1.5px;
}

.timestamp-arrow {
    color: #ff3b3b;

    font-family: monospace;

    font-size: 28px;

    line-height: 1;
}

.timestamp-values {
    display: flex;

    justify-content: center;

    gap: 7px;

    margin-top: 20px;

    flex-wrap: wrap;
}

.timestamp-values span {
    padding: 7px 9px;

    border: 1px solid #292929;

    background: #080808;

    color: #777777;

    font-family: monospace;

    font-size: 12px;
}

.timestamp-values span.current {
    border-color: #ff3b3b;

    color: #ff3b3b;

    box-shadow:
        0 0 12px rgba(255, 59, 59, 0.15);
}

.timestamp-node.result strong {
    color: #ff3b3b;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 800px) {

    .log-hero {
        min-height: 75vh;

        padding: 100px 8%;
    }

    .log-hero::before {
        background-position: 35% center;
    }

    .log-label {
        font-size: 10px;

        letter-spacing: 3px;
    }

    .log-hero h1 {
        font-size: 50px;

        letter-spacing: -1px;
    }

    .log-hero p {
        max-width: 100%;

        font-size: 20px;
    }

    .log-section {
        padding: 80px 8%;
    }

    .log-section h2 {
        font-size: 40px;
    }

    .log-section .lead {
        font-size: 20px;
    }

    .log-section p {
        font-size: 17px;
    }


    /* FEATURE */

    .feature-grid {
        grid-template-columns:
            1fr 1fr;
    }


    /* ARCHITECTURE */

    .architecture {
        flex-direction: column;

        gap: 15px;

        padding: 35px 15px;

        overflow-x: visible;
    }

    .architecture-node {
        width: 100%;

        min-width: 0;
    }

    .architecture-line {
        width: 100%;

        min-width: 0;
    }

    .architecture-line .line {
        width: 1px;

        height: 35px;

        margin: 0 auto;
    }


    /* QUOTE */

    .quote-block {
        padding: 35px 30px;
    }

    .quote-block strong {
        font-size: 24px;
    }


    /* HEARTBEAT / REWIND */

    .heartbeat-section,
    .security-section {
        padding-left: 8%;
        padding-right: 8%;
    }

    .heartbeat-visual {
        flex-direction: column;

        gap: 20px;
    }

    .heartbeat-server,
    .heartbeat-master {
        width: 100%;

        box-sizing: border-box;
    }

    .heartbeat-connection {
        width: 100%;
    }


    /* DATA */

    .data-grid {
        grid-template-columns:
            1fr 1fr;
    }


    /* SECURITY */

    .security-grid {
        grid-template-columns:
            1fr 1fr;
    }


    /* PERFORMANCE */

    .performance-grid {
        grid-template-columns:
            1fr 1fr;
    }


    /* STATUS */

    .status-flow {
        gap: 10px;
    }

    .status-flow b {
        display: none;
    }


    /* TERMINAL */

    .terminal {
        margin-left: 0;
        margin-right: 0;
    }

    .terminal-body {
        padding: 20px;

        overflow-x: auto;

        white-space: nowrap;
    }


    /* FINAL */

    .log-final {
        padding: 90px 8%;
    }

    .final-statement {
        padding: 35px 25px;
    }

    .final-statement strong {
        font-size: 24px;
    }


    /* BACK TO TOP */

    .back-to-top {
        right: 20px;
        bottom: 20px;

        width: 45px;
        height: 45px;

        font-size: 22px;
    }

}


/* ========================================================
   ARCHITECTURE CODE DIAGRAM
======================================================== */

.architecture-code {

    width: 100%;

    margin: 60px 0;

    padding:
        35px 40px;

    overflow-x: auto;

    background:
        linear-gradient(
            180deg,
            #090909 0%,
            #050505 100%
        );

    border-top: 1px solid #1d1d1d;
    border-bottom: 1px solid #1d1d1d;

}


.architecture-code pre {

    margin: 0;

    color: #444;

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 13px;

    line-height: 1.65;

    letter-spacing: 0.5px;

    white-space: pre;

}


.architecture-code code {

    font-family: inherit;
}


/* ========================================================
   DIAGRAM EMPHASIS
======================================================== */

.architecture-code .code-client,
.architecture-code .code-server,
.architecture-code .code-result {

    color: #666;

    font-weight: 400;

    letter-spacing: 2px;
}


.architecture-code .code-server {

    color: #ff3b3b;

}


.architecture-code .code-main {

    color: #ddd;

}

/* ============================================================
   SHOOTING FLOW LIST
============================================================ */

.shooting-flow-list {
    margin-top: 60px;

    border-top: 1px solid #222;
}

.shooting-flow-list > div {
    display: grid;

    grid-template-columns:
        140px
        1fr;

    align-items: center;

    gap: 30px;

    padding: 25px 0;

    border-bottom: 1px solid #222;
}

.shooting-flow-list span {
    color: #ff3b3b;

    font-size: 12px;

    letter-spacing: 2px;
}

.shooting-flow-list p {
    margin: 0;

    font-size: 18px;

    color: #aaa;
}

/* ========================================================
   MOBILE
======================================================== */

@media (max-width: 768px) {

    .architecture-code {

        margin: 50px 0;

        padding:
            25px 20px;
    }


    .architecture-code pre {

        font-size: 10px;

        line-height: 1.6;
    }

}


/* ============================================================
   MOBILE REFINEMENT
============================================================ */

@media (max-width: 700px) {

    /* --------------------------------------------------------
       HERO
    -------------------------------------------------------- */

    .log-hero {
        min-height: 70vh;

        padding: 90px 7%;
    }

    .log-hero-content {
        width: 100%;
    }

    .log-label {
        margin-bottom: 20px;

        font-size: 9px;

        letter-spacing: 2.5px;
    }

    .log-hero h1 {
        font-size: clamp(40px, 12vw, 52px);

        line-height: 0.92;

        letter-spacing: -1.5px;
    }

    .log-hero p {
        margin-top: 28px;

        font-size: 17px;

        line-height: 1.5;
    }


    /* --------------------------------------------------------
       SECTIONS
    -------------------------------------------------------- */

    .log-section {
        padding: 70px 7%;
    }

    .section-number {
        margin-bottom: 20px;

        font-size: 11px;

        letter-spacing: 4px;
    }

    .log-section h2 {
        margin-bottom: 30px;

        font-size: clamp(32px, 9vw, 42px);

        line-height: 0.98;
    }

    .log-section .lead {
        font-size: 19px;

        line-height: 1.45;
    }

    .log-section p {
        font-size: 16px;

        line-height: 1.7;
    }


    /* --------------------------------------------------------
       FEATURE / DATA / SECURITY / PERFORMANCE
    -------------------------------------------------------- */

    .feature-card,
    .data-grid div,
    .security-grid div {
        padding: 25px 22px;
    }

    .feature-icon {
        margin-bottom: 25px;
    }

    .performance-card {
        padding: 30px 20px;
    }


    /* --------------------------------------------------------
       ARCHITECTURE
    -------------------------------------------------------- */

    .architecture {
        margin-top: 55px;

        padding: 30px 12px;
    }

    .architecture-node {
        min-height: 120px;

        padding: 22px 18px;
    }


    /* --------------------------------------------------------
       QUOTE
    -------------------------------------------------------- */

    .quote-block {
        margin-top: 50px;

        padding: 30px 25px;
    }

    .quote-block strong {
        font-size: 21px;

        line-height: 1.35;
    }


    /* --------------------------------------------------------
       STATUS FLOW
    -------------------------------------------------------- */

    .status-flow {
        margin-top: 35px;
        margin-bottom: 35px;

        gap: 8px;
    }

    .status-flow span {
        padding: 10px 12px;

        font-size: 9px;

        letter-spacing: 1.5px;
    }


    /* --------------------------------------------------------
       TERMINAL
    -------------------------------------------------------- */

    .terminal {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .terminal-body {
        padding: 18px;

        font-size: 11px;
    }


    /* --------------------------------------------------------
       TIMESTAMP
    -------------------------------------------------------- */

    .timestamp-visual {
        flex-direction: column;

        margin: 40px 0;

        gap: 18px;

        padding: 22px 12px;
    }

    .timestamp-arrow {
        transform: rotate(90deg);
    }

    .timestamp-node,
    .timestamp-buffer {
        width: 100%;
        min-width: 0;

        box-sizing: border-box;

        padding: 20px 15px;
    }


    /* --------------------------------------------------------
       BALLISTIC TRAJECTORY
    -------------------------------------------------------- */

    .ballistic-trajectory {
        margin: 50px 0;
    }

    .ballistic-play {
        top: 12px;
        right: 12px;

        width: 34px;
        height: 34px;
    }

    .ballistic-distance {
        top: 18px;

        font-size: 8px;

        letter-spacing: 2px;

        white-space: nowrap;
    }

    .ballistic-distance::before,
    .ballistic-distance::after {
        width: 30px;

        margin-left: 7px;
        margin-right: 7px;
    }


    /* --------------------------------------------------------
       PHYSICS FACTORS
    -------------------------------------------------------- */

    .ballistic-factor {
        padding: 6px 8px;

        font-size: 8px;

        letter-spacing: 1.5px;
    }

    .ballistic-factor span {
        margin-right: 3px;

        font-size: 11px;
    }

    .ballistic-factor.gravity {
        left: 32%;
        top: 46%;
    }

    .ballistic-factor.drag {
        left: 55%;
        top: 27%;
    }

    .ballistic-factor.wind {
        right: 5%;
        top: 48%;
    }


    /* --------------------------------------------------------
       BALLISTIC CONFIGURATION
    -------------------------------------------------------- */

    .ballistic-config {
        margin-top: 45px;
    }

    .ballistic-config-header {
        padding: 13px 14px;
    }

    .ballistic-config-header span {
        font-size: 9px;

        letter-spacing: 1.5px;
    }

    .ballistic-config-header strong {
        margin-right: 12px;

        font-size: 9px;
    }

    .ballistic-config pre {
        padding: 20px 15px;

        overflow-x: auto;
    }

    .ballistic-config code {
        font-size: 11px;

        line-height: 1.7;
    }


    /* --------------------------------------------------------
       FINAL
    -------------------------------------------------------- */

    .log-final {
        padding: 80px 7%;
    }

    .log-final h2 {
        margin-bottom: 30px;

        font-size: clamp(40px, 11vw, 58px);
    }

    .log-final p {
        font-size: 16px;

        line-height: 1.7;
    }

    .final-statement {
        margin: 55px 0;

        padding: 30px 22px;
    }

    .final-statement span {
        font-size: 10px;

        letter-spacing: 3px;
    }

    .final-statement strong {
        font-size: 21px;

        line-height: 1.35;
    }

    .ps {
        margin-top: 55px;
    }

}

/* ============================================================
   VIDEO
============================================================ */

.video-wrapper {
    width: 100%;

    max-width: 1200px;

    margin: 60px auto 0;

    background: #000;
}

.video-container {
    position: relative;

    width: 100%;

    padding-bottom: 56.25%;

    height: 0;

    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: block;

    border: 0;

    object-fit: contain;
    background: #000;
}

/* ============================================================
   DISCLAIMER
============================================================ */

.disclaimer {
    max-width: 1200px;

    margin: 0 auto 80px;

    padding: 35px 40px;

    background: #090909;

    border-left: 2px solid #ff3b3b;
}

.disclaimer-label {
    margin-bottom: 15px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 4px;

    color: #ff3b3b;
}

.disclaimer p {
    max-width: 1000px;

    margin: 8px 0;

    font-size: 14px;

    line-height: 1.6;

    color: #777;
}



/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 500px) {

    .feature-grid {
        grid-template-columns:
            1fr;
    }

    .data-grid {
        grid-template-columns:
            1fr;
    }

    .security-grid {
        grid-template-columns:
            1fr;
    }

    .performance-grid {
        grid-template-columns:
            1fr;
    }

    .log-hero h1 {
        font-size: 44px;
    }

    .log-section h2 {
        font-size: 34px;
    }

    .quote-block strong {
        font-size: 21px;
    }

    .terminal-body {
        font-size: 12px;
    }

}

/* ============================================================
   SHOOTING DEMO
============================================================ */

.shooting-demo {
    width: 100%;
    margin: 60px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    background: #050505;
}

.shooting-demo img {
    display: block;
    width: 100%;
    height: auto;
}

/* ========================================================
   REWIND INTERACTIVE
======================================================== */

.rewind-visual {

    position: relative;

    width: 100%;

    margin: 70px 0;

    padding: 28px 30px 32px;

    background:
        linear-gradient(
            180deg,
            #090909 0%,
            #050505 100%
        );

    border-top: 1px solid #1d1d1d;
    border-bottom: 1px solid #1d1d1d;

    overflow: hidden;
}

.rewind-visual > #rewindPlay {
    position: absolute;
    top: 0;
    left: 0;

    z-index: 10;
}


/* ========================================================
   HEADER
======================================================== */

.rewind-header {
   
    display: grid;
   
    grid-template-columns: 1fr auto 1fr;
   
    align-items: center;

    margin-bottom: 25px;

    font-family: monospace;
   
    font-size: 10px;
   
    letter-spacing: 3px;
   
    color: #555;
}

.rewind-header > span:first-child {
   
    justify-self: start;
}

#rewindTime {
   
    justify-self: center;

    color: #ff3b3b;
   
    font-size: 11px;
   
    font-weight: 400;
   
    letter-spacing: 2px;
   
    white-space: nowrap;
}

.rewind-snapshot {
   
    justify-self: end;

    white-space: nowrap;
}

.rewind-header strong {

    color: #ff3b3b;

    font-size: 11px;

    font-weight: 400;

    letter-spacing: 2px;
}


/* ========================================================
   SCENE
======================================================== */

.rewind-scene {

    position: relative;

    width: 100%;

    height: 260px;

    overflow: hidden;

    border: 1px solid #161616;

    background:
        linear-gradient(
            to bottom,
            transparent 0%,
            transparent 74%,
            #151515 75%,
            #151515 75.5%,
            transparent 75.5%
        );
}


/* ========================================================
   TARGETS
======================================================== */

.rewind-target {

    position: absolute;

    bottom: 24%;

    width: 80px;

    height: 150px;

    display: flex;

    justify-content: center;

    transition:
        transform 0.08s linear;
}

.rewind-target.current {

    left: 72%;

}

.rewind-target.historical {

    left: 72%;

    opacity: 0.45;

    pointer-events: none;

}

.rewind-target.historical.rewinding
.rewind-character .head,
.rewind-target.historical.rewinding
.rewind-character .body,
.rewind-target.historical.rewinding
.rewind-character .arm,
.rewind-target.historical.rewinding
.rewind-character .leg {
    border-color: #ff3b3b;
}

.rewind-target.historical.hit {
    opacity: 1;
}


/* ========================================================
   TARGET LABEL
======================================================== */

.rewind-target-label {

    position: absolute;

    top: -24px;

    left: 50%;

    transform: translateX(-50%);

    white-space: nowrap;

    font-family: monospace;

    font-size: 9px;

    letter-spacing: 2px;

    color: #555;
}

.rewind-target.current
.rewind-target-label {

    color: #777;
}

.rewind-target.historical
.rewind-target-label {

    color: #ff3b3b;
}


/* ========================================================
   CHARACTER
======================================================== */

.rewind-character {

    position: relative;

    width: 60px;

    height: 140px;
}


/* HEAD */

.rewind-character .head {

    position: absolute;

    top: 0;

    left: 50%;

    width: 22px;

    height: 22px;

    transform: translateX(-50%);

    border: 1px solid #777;

    border-radius: 50%;
}


/* BODY */

.rewind-character .body {

    position: absolute;

    top: 27px;

    left: 50%;

    width: 26px;

    height: 58px;

    transform: translateX(-50%);

    border: 1px solid #777;
}


/* ARMS */

.rewind-character .arm {

    position: absolute;

    top: 30px;

    width: 7px;

    height: 55px;

    border: 1px solid #666;
}

.rewind-character .arm.left {

    left: 7px;

    transform:
        rotate(10deg);
}

.rewind-character .arm.right {

    right: 7px;

    transform:
        rotate(-10deg);
}


/* LEGS */

.rewind-character .leg {

    position: absolute;

    top: 83px;

    width: 8px;

    height: 55px;

    border: 1px solid #666;
}

.rewind-character .leg.left {

    left: 19px;

    transform:
        rotate(4deg);
}

.rewind-character .leg.right {

    right: 19px;

    transform:
        rotate(-4deg);
}


/* ========================================================
   SHOT
======================================================== */

.rewind-shot {

    position: absolute;

    left: 7%;

    top: 46%;

    display: flex;

    align-items: center;

    width: 60%;

    opacity: 0;

    color: #ff3b3b;

    font-family: monospace;

    font-size: 9px;

    letter-spacing: 3px;

    transition: opacity 0.25s ease;
}

.rewind-shot-line {

    flex: 1;

    height: 1px;

    margin-left: 15px;

    background:
        linear-gradient(
            90deg,
            #ff3b3b,
            rgba(255, 59, 59, 0)
        );

    box-shadow:
        0 0 8px
        rgba(255, 59, 59, 0.25);
}

.rewind-shot.visible {
    opacity: 1;
}


/* ========================================================
   HIT
======================================================== */

.rewind-hit {

    position: absolute;

    left: 0;

    top: 30%;

    padding: 6px 10px;

    border: 1px solid #3cff88;

    color: #3cff88;

    font-family: monospace;

    font-size: 9px;

    letter-spacing: 2px;

    opacity: 0;

    transform:
        translateY(-50%)
        scale(0.9);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.rewind-hit.visible {

    opacity: 1;

    transform:
        translateY(-50%)
        scale(1);
}


/* ========================================================
   TIMELINE
======================================================== */

.rewind-timeline {

    margin-top: 28px;
}

.rewind-timeline-labels {

    position: relative;

    margin-bottom: 10px;

    height: 12px;

    font-family: monospace;

    font-size: 9px;

    letter-spacing: 2px;

    color: #444;
}

.rewind-timeline-labels span {
    position: absolute;
}

.rewind-timeline-labels span:nth-child(1) {
    left: 0;
}

.rewind-timeline-labels span:nth-child(2) {
    left: 75%;
    transform: translateX(-50%);
}

.rewind-timeline-labels span:nth-child(3) {
    right: 0;
}

/* ========================================================
   RANGE
======================================================== */

.rewind-timeline input[type="range"] {

    width: 100%;

    height: 2px;

    margin: 0;

    appearance: none;

    background: #292929;

    outline: none;

    cursor: pointer;
}

.rewind-timeline
input[type="range"]::-webkit-slider-thumb {
   
    appearance: none;

    width: 10px;
    height: 10px;

    border: none;
    border-radius: 50%;

    background: #777;

    box-shadow: none;

    cursor: pointer;
}

.rewind-timeline
input[type="range"]::-moz-range-thumb {
   
    width: 10px;
    height: 10px;

    border: none;
    border-radius: 50%;

    background: #777;

    box-shadow: none;

    cursor: pointer;
}


/* ========================================================
   TIMELINE TICKS
======================================================== */

.rewind-ticks {

    display: flex;

    justify-content: space-between;

    margin-top: 7px;

    padding: 0 3px;
}

.rewind-ticks span {

    width: 1px;

    height: 5px;

    background: #333;
}

/* ========================================================
   MOBILE
======================================================== */

@media (max-width: 768px) {

    .rewind-visual {

        margin: 50px 0;

        padding:
            22px 18px 25px;
    }

    .rewind-scene {

        height: 220px;
    }

    .rewind-target.current,
    .rewind-target.historical {

        left: 65%;
    }

    .rewind-shot {

        left: 5%;

        width: 55%;
    }

}
