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



body {
    background: #000080;
    font-family: 'Courier New', 'Monaco', 'Lucida Console', monospace;
    color: #ffffff;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.1;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000080;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-text {
    font-family: 'Courier New', monospace;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 20px;
}

.loading-bar {
    width: 400px;
    height: 20px;
    border: 1px solid #ffffff;
    background: #000080;
    position: relative;
}

.loading-fill {
    height: 100%;
    background: #00ff00;
    width: 0%;
    transition: width 0.1s linear;
}

.loading-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.pixel-effect {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00ff00;
    opacity: 0.7;
    animation: pixelFade 0.5s ease-out;
}

@keyframes pixelFade {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.5); }
}

.terminal-screen {
    width: 100vw;
    height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-dialog {
    background: #c0c0c0;
    border: 1px solid #ffffff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    color: #000000;
    width: 720px;
    min-height: 520px;
    padding: 0;
    box-shadow: 1px 1px 0px #000000;
    font-size: 12px;
}

.dialog-header {
    background: #008080;
    color: #ffffff;
    padding: 4px 8px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #000000;
}

.dialog-content {
    padding: 16px;
    background: #c0c0c0;
}

.dialog-text {
    margin-bottom: 12px;
    font-size: 12px;
    color: #000000;
    line-height: 1.3;
}

.checklist-box {
    border: 1px solid #808080;
    border-top-color: #404040;
    border-left-color: #404040;
    background: #ffffff;
    width: 100%;
    height: 260px;
    margin-bottom: 16px;
    padding: 6px;
    overflow: hidden;
}

.checklist-item {
    display: block;
    padding: 0px 6px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #000000;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
    transition: background-color 0.2s ease;
}

.checklist-item.selected {
    background: #000080;
    color: #ffffff;
}

.checklist-item:hover {
    background: #e0e0e0;
}

.checklist-item.selected:hover {
    background: #0000a0;
}

.checklist-item.checked::before {
    content: "[*] ";
    color: inherit;
}

.checklist-item.unchecked::before {
    content: "[ ] ";
    color: inherit;
}

.info-panel {
    border: 1px solid #808080;
    border-top-color: #404040;
    border-left-color: #404040;
    background: #000080;
    color: #ffffff;
    padding: 8px;
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
}

.info-panel .title {
    color: #ffff00;
    font-weight: bold;
    margin-bottom: 4px;
}

.info-panel .content {
    line-height: 1.4;
}

.ascii-decoration {
    font-family: 'Courier New', monospace;
    font-size: 9px;
    color: #008080;
    text-align: center;
    margin: 12px 0;
    line-height: 1;
    white-space: pre;
}



.button-row {
    text-align: center;
    margin-top: 8px;
}

.dialog-button {
    background: #c0c0c0;
    border: 1px solid #ffffff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    color: #000000;
    padding: 4px 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    margin: 0 6px;
}

.dialog-button:hover {
    background: #e0e0e0;
}

.dialog-button:active {
    border: 1px solid #808080;
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
}

.dialog-button.highlighted {
    background: #008080;
    color: #ffffff;
    border: 1px solid #40c0c0;
    border-right-color: #006060;
    border-bottom-color: #006060;
}



.status-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #008080;
    color: #ffffff;
    padding: 2px 10px;
    font-size: 10px;
    display: flex;
    justify-content: space-between;
}

.ascii-art {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    white-space: pre;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal {
    background: #c0c0c0;
    border: 1px solid #ffffff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    color: #000000;
    width: 400px;
    padding: 20px;
    box-shadow: 2px 2px 0px #000000;
    font-family: 'Courier New', monospace;
    text-align: center;
}

.modal-header {
    background: #008080;
    color: #ffffff;
    padding: 8px;
    font-weight: bold;
    margin-bottom: 12px;
    border-bottom: 1px solid #000000;
}

.modal-content {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
}

.modal-close {
    background: #c0c0c0;
    border: 1px solid #ffffff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    color: #000000;
    padding: 6px 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    background: #e0e0e0;
}

.modal-close:active {
    border: 1px solid #808080;
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
}

.modal-button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.modal-contact {
    background: #008080;
    color: #ffffff;
    border: 1px solid #40c0c0;
    border-right-color: #006060;
    border-bottom-color: #006060;
    padding: 6px 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.modal-contact:hover {
    background: #01b0b0; /* Ensure hover color is blue */
    color: #ffffff; /* Ensure text color remains white */
}

.modal-contact:active {
    border: 1px solid #006060;
    border-right-color: #40c0c0;
    border-bottom-color: #40c0c0;
}

@media (max-width: 768px) {
    .main-dialog {
        width: 90%;
        min-width: 300px;
    }
    
    .members-list {
        grid-template-columns: 1fr;
    }
    
    img {
        width: 150px;
        height: 180px;
    }
}
