body {
    margin: 0;
    overflow: hidden;
    background: #000;
    font-family: 'Orbitron', sans-serif;
    color: #FF0000;
}

canvas {
    width: 100vw;
    height: 100vh;
    display: block;
}

#shipCanvas {
    background: transparent;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #FF0000;
    color: #FF0000;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    z-index: 1000;
    text-decoration: none;
    border-radius: 4px;
    text-shadow: 0 0 10px #FF0000;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(255, 0, 0, 0.2);
}

.progress-container {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #FF0000;
    z-index: 1000;
    text-align: center;
}

.progress-title {
    color: #FF0000;
    font-size: 1.2em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #FF0000;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #FF0000;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 0, 0, 0.3) 0%,
        rgba(255, 0, 0, 0.6) 50%,
        rgba(255, 0, 0, 0.3) 100%);
    width: var(--progress, 0%);
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FF0000;
    font-weight: bold;
    text-shadow: 0 0 10px #FF0000;
    mix-blend-mode: difference;
}

.info-panel {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #FF0000;
    border-radius: 10px;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
}

.info-panel h2 {
    color: #FF0000;
    font-size: 1.2em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #FF0000;
    text-align: center;
}

.info-row {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}

.info-label {
    color: #FF0000;
    font-size: 0.9em;
    margin-bottom: 5px;
    opacity: 0.8;
}

.info-value {
    color: #FF0000;
    font-size: 1.1em;
    font-weight: bold;
    text-shadow: 0 0 5px #FF0000;
}

.instruction-panel {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #FF0000;
    border-radius: 10px;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
}

.instruction-panel h2 {
    color: #FF0000;
    font-size: 1.2em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #FF0000;
    text-align: center;
}

.instruction-text {
    color: #FF0000;
    font-size: 1.1em;
    line-height: 1.6;
    text-shadow: 0 0 5px #FF0000;
    text-align: center;
}

.highlight {
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 15px #FF0000;
}

.hologram-container {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    z-index: 999;
    pointer-events: none;
}

.hologram {
    width: 100%;
    height: 100%;
    position: relative;
    animation: hologram-float 4s ease-in-out infinite;
}

.status-good {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.status-warning {
    color: #FF0000;
    text-shadow: 0 0 5px #FF0000;
}

.status-critical {
    color: #ff0000;
    text-shadow: 0 0 5px #ff0000;
}

.motherboard-button {
    display: none;
    margin-top: 20px;
    padding: 15px 30px;
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid #FF0000;
    color: #FF0000;
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    cursor: pointer;
    border-radius: 8px;
    text-shadow: 0 0 10px #FF0000;
    transition: all 0.3s ease;
}

.motherboard-button:hover {
    background: rgba(255, 0, 0, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

.sending-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    flex-direction: column;
}

.sending-text {
    color: #FF0000;
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #FF0000;
}

.twitter-text {
    color: #FF0000;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-shadow: 0 0 10px #FF0000;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes hologram-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40%, 60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.sending-text::after {
    content: '';
    animation: dots 1.5s infinite;
}
