/* Page styles for rocketry.html (extracted from inline <style>) */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Courier+Prime:wght@400;700&family=Share+Tech+Mono&display=swap');

.project-writeup {
    max-width: 700px;
    margin: 1rem auto;
    padding: 1.2rem 1.8rem;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(139, 233, 253, 0.12);
    border-top-color: rgba(255, 255, 255, 0.05);
    border-left-color: rgba(255, 255, 255, 0.03);
    border-radius: 0;
    line-height: 1.4;
    font-family: 'Courier Prime', 'Courier New', monospace;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    font-size: 0.72rem;
}

.project-writeup::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 233, 253, 0.012) 2px, rgba(139, 233, 253, 0.012) 4px);
    pointer-events: none;
    z-index: 1;
}

.classified-header {
    text-align: center;
    border: 3px solid #c41e3a;
    padding: 0.25rem 1rem;
    margin-bottom: 0.8rem;
    background: rgba(196, 30, 58, 0.1);
    position: relative;
    transition: all 0.3s ease;
    cursor: default;
}

.classified-header:hover {
    background: rgba(196, 30, 58, 0.2);
    box-shadow: 0 0 30px rgba(196, 30, 58, 0.3), inset 0 0 20px rgba(196, 30, 58, 0.1);
}

.classified-header h1 {
    color: #c41e3a;
    font-family: 'Special Elite', monospace;
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    margin: 0;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.classified-header:hover h1 {
    text-shadow: 0 0 15px rgba(196, 30, 58, 0.8);
    letter-spacing: 0.5em;
}

.classification-stamp {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #000;
    padding: 0 10px;
    color: #c41e3a;
    font-weight: bold;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
}

.doc-meta {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(139, 233, 253, 0.15);
    padding-bottom: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.6rem;
    color: #4a7a8a;
    font-family: 'Share Tech Mono', monospace;
}

.section-header {
    color: #8be9fd;
    font-family: 'Special Elite', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(139, 233, 253, 0.2);
    padding-bottom: 0.3rem;
    margin: 1rem 0 0.5rem 0;
}

.briefing-text {
    color: #9aafba;
    margin-bottom: 0.6rem;
    font-size: 0.68rem;
}

.rocket-img-container {
    text-align: center;
    margin: 0.8rem 0;
    padding: 0.5rem;
    border: 1px solid rgba(139, 233, 253, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.rocket-img-container img {
    max-width: 100%;
    max-height: 300px;
    height: auto;
}

.rocket-img-container .img-label {
    font-size: 0.5rem;
    color: #4a7a8a;
    font-family: 'Share Tech Mono', monospace;
    margin-top: 0.3rem;
    letter-spacing: 0.1em;
}

/* Milestone Table */
.milestone-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.62rem;
}

.milestone-table th {
    color: #4a7a8a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: normal;
    font-size: 0.55rem;
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid rgba(139, 233, 253, 0.2);
    text-align: left;
}

.milestone-table td {
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid rgba(139, 233, 253, 0.06);
    color: #9aafba;
    vertical-align: middle;
}

.milestone-table tr {
    transition: all 0.2s ease;
}

.milestone-table tr:hover {
    background: rgba(139, 233, 253, 0.04);
}

.milestone-table .ms-id {
    color: #4a7a8a;
    font-size: 0.55rem;
}

.milestone-table .ms-date {
    color: #5fcfdf;
    white-space: nowrap;
}

.ms-status {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid;
}

.ms-status.complete {
    color: #50fa7b;
    border-color: rgba(80, 250, 123, 0.4);
    background: rgba(80, 250, 123, 0.08);
}

.ms-status.pending {
    color: #8be9fd;
    border-color: rgba(139, 233, 253, 0.3);
    background: rgba(139, 233, 253, 0.06);
}

.ms-status.active {
    color: #ffb86c;
    border-color: rgba(255, 184, 108, 0.4);
    background: rgba(255, 184, 108, 0.08);
    animation: blink-status 2s infinite;
}

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

.status-bar {
    margin: 0.8rem 0;
    padding: 0.5rem;
    border: 1px solid rgba(139, 233, 253, 0.15);
    background: rgba(0, 0, 0, 0.3);
}

.status-bar-label {
    font-size: 0.5rem;
    color: #4a7a8a;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.progress-track {
    height: 6px;
    background: rgba(139, 233, 253, 0.08);
    border: 1px solid rgba(139, 233, 253, 0.1);
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #50fa7b, #8be9fd);
    width: 75%;
    transition: width 1s ease;
    box-shadow: 0 0 8px rgba(80, 250, 123, 0.4);
}

.progress-text {
    font-size: 0.55rem;
    color: #50fa7b;
    font-family: 'Share Tech Mono', monospace;
    margin-top: 0.2rem;
    text-align: right;
}

.doc-footer-line {
    text-align: center;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(139, 233, 253, 0.1);
    font-size: 0.5rem;
    color: #4a7a8a;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.15em;
}

.doc-footer-line .red {
    color: #c41e3a;
}

.warning-box {
    border: 1px solid #c41e3a;
    background: rgba(196, 30, 58, 0.05);
    padding: 0.4rem 0.5rem;
    margin: 0.6rem 0;
    font-size: 0.6rem;
    color: #9aafba;
    position: relative;
}

.warning-box .warn-label {
    color: #c41e3a;
    font-weight: bold;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1rem;
    font-size: 0.62rem;
    margin: 0.5rem 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(139, 233, 253, 0.05);
}

.spec-label {
    color: #4a7a8a;
    text-transform: uppercase;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.55rem;
}

.spec-value {
    color: #8be9fd;
    font-family: 'Share Tech Mono', monospace;
}

/* Hologram Hero Image Effects */
.hologram-container {
    position: relative;
    display: inline-block;
    max-width: 200px;
    overflow: visible;
    -webkit-mask-image: radial-gradient(ellipse 75% 80% at center, black 40%, transparent 70%);
    mask-image: radial-gradient(ellipse 75% 80% at center, black 40%, transparent 70%);
}
.hologram-image {
    max-width: 200px;
    height: auto;
    filter: contrast(1.1) saturate(1.2);
    animation: hologramPhase 4s ease-in-out infinite, hologramGlitch 8s step-end infinite;
    image-rendering: pixelated;
}
.hologram-container::before, .hologram-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: inherit;
    pointer-events: none;
}
.hologram-container::before {
    background: url('../assets/remilio2.png') center/contain no-repeat;
    mix-blend-mode: screen;
    opacity: 0.4;
    filter: hue-rotate(-30deg) saturate(1.5);
    animation: chromaShiftRed 3s ease-in-out infinite;
}
.hologram-container::after {
    background: url('../assets/remilio2.png') center/contain no-repeat;
    mix-blend-mode: screen;
    opacity: 0.4;
    filter: hue-rotate(30deg) saturate(1.5);
    animation: chromaShiftBlue 3s ease-in-out infinite reverse;
}
.hologram-scanlines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(0deg, transparent 0px, transparent 1px, rgba(0,0,0,0.4) 1px, rgba(0,0,0,0.4) 2px);
    pointer-events: none;
    z-index: 10;
    animation: scanlineMove 0.1s linear infinite;
}
.hologram-flicker {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(139, 233, 253, 0.03);
    pointer-events: none;
    z-index: 11;
    animation: hologramFlicker 0.15s infinite;
    mix-blend-mode: overlay;
}
.hologram-noise {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.15;
    mix-blend-mode: overlay;
    animation: noiseShift 0.5s steps(10) infinite;
}
@keyframes hologramPhase {
    0%, 100% { opacity: 0.95; transform: scale(1) translateY(0); filter: contrast(1.1) saturate(1.2) brightness(1); }
    25% { opacity: 0.85; transform: scale(1.01) translateY(-1px); filter: contrast(1.2) saturate(1.4) brightness(1.1); }
    50% { opacity: 0.9; transform: scale(0.99) translateY(1px); filter: contrast(1.15) saturate(1.3) brightness(0.95); }
    75% { opacity: 1; transform: scale(1.005) translateY(-0.5px); filter: contrast(1.25) saturate(1.5) brightness(1.15); }
}
@keyframes hologramGlitch {
    0%, 95%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    96% { clip-path: inset(20% 0 30% 0); transform: translate(-3px, 0); }
    97% { clip-path: inset(50% 0 10% 0); transform: translate(3px, 0); }
    98% { clip-path: inset(10% 0 60% 0); transform: translate(-2px, 0); }
    99% { clip-path: inset(40% 0 20% 0); transform: translate(2px, 0); }
}
@keyframes chromaShiftRed { 0%, 100% { transform: translate(-1px, 0); } 50% { transform: translate(-2px, 1px); } }
@keyframes chromaShiftBlue { 0%, 100% { transform: translate(1px, 0); } 50% { transform: translate(2px, -1px); } }
@keyframes scanlineMove { 0% { background-position: 0 0; } 100% { background-position: 0 4px; } }
@keyframes hologramFlicker {
    0%, 100% { opacity: 0.03; } 10% { opacity: 0.08; } 20% { opacity: 0.02; } 30% { opacity: 0.1; }
    40% { opacity: 0.04; } 50% { opacity: 0.15; } 60% { opacity: 0.05; } 70% { opacity: 0.12; }
    80% { opacity: 0.03; } 90% { opacity: 0.08; }
}
@keyframes noiseShift {
    0% { transform: translate(0, 0); } 10% { transform: translate(-5%, -5%); } 20% { transform: translate(5%, 5%); }
    30% { transform: translate(-5%, 5%); } 40% { transform: translate(5%, -5%); } 50% { transform: translate(-2%, 2%); }
    60% { transform: translate(2%, -2%); } 70% { transform: translate(-3%, -3%); } 80% { transform: translate(3%, 3%); }
    90% { transform: translate(-1%, 1%); } 100% { transform: translate(0, 0); }
}
.hologram-container:hover .hologram-image { animation: hologramPhaseIntense 2s ease-in-out infinite, hologramGlitchIntense 3s step-end infinite; filter: contrast(1.3) saturate(1.6) brightness(1.2); }
.hologram-container:hover .hologram-noise { opacity: 0.25; }
.hologram-container:hover .hologram-flicker { animation: hologramFlickerIntense 0.08s infinite; }
@keyframes hologramPhaseIntense {
    0%, 100% { opacity: 1; transform: scale(1); } 25% { opacity: 0.7; transform: scale(1.02) translateX(-2px); }
    50% { opacity: 0.9; transform: scale(0.98) translateX(2px); } 75% { opacity: 0.8; transform: scale(1.01) translateY(-2px); }
}
@keyframes hologramGlitchIntense {
    0%, 90%, 100% { clip-path: inset(0 0 0 0); }
    91% { clip-path: inset(30% 0 20% 0); transform: translate(-4px, 0); } 92% { clip-path: inset(10% 0 50% 0); transform: translate(4px, 0); }
    93% { clip-path: inset(60% 0 10% 0); transform: translate(-3px, 0); } 94% { clip-path: inset(20% 0 40% 0); transform: translate(3px, 0); }
    95% { clip-path: inset(40% 0 30% 0); transform: translate(-2px, 0); } 96% { clip-path: inset(15% 0 55% 0); transform: translate(2px, 0); }
    97% { clip-path: inset(50% 0 20% 0); transform: translate(-3px, 0); } 98% { clip-path: inset(25% 0 45% 0); transform: translate(3px, 0); }
    99% { clip-path: inset(35% 0 35% 0); transform: translate(-1px, 0); }
}
@keyframes hologramFlickerIntense {
    0%, 100% { opacity: 0.1; background: rgba(139, 233, 253, 0.05); } 25% { opacity: 0.2; background: rgba(255, 100, 100, 0.05); }
    50% { opacity: 0.05; background: rgba(100, 255, 100, 0.05); } 75% { opacity: 0.25; background: rgba(139, 233, 253, 0.08); }
}

/* Rocket Navigation Arrows */
.rocket-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    cursor: pointer;
    padding: 1rem 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(139, 233, 253, 0.15);
    color: #4a7a8a;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    user-select: none;
}

.rocket-nav:hover {
    background: rgba(139, 233, 253, 0.1);
    border-color: rgba(139, 233, 253, 0.4);
    color: #8be9fd;
    box-shadow: 0 0 20px rgba(139, 233, 253, 0.2);
}

.rocket-nav.prev {
    left: 0;
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.rocket-nav.next {
    right: 0;
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.rocket-nav .nav-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.rocket-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Rocket indicator dots */
.rocket-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rocket-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(139, 233, 253, 0.2);
    border: 1px solid rgba(139, 233, 253, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.rocket-dot:hover {
    background: rgba(139, 233, 253, 0.4);
}

.rocket-dot.active {
    background: #8be9fd;
    box-shadow: 0 0 10px rgba(139, 233, 253, 0.5);
}

/* Rocket sections */
.rocket-section {
    display: none;
}

.rocket-section.active {
    display: block;
}
