/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #0a0a0a;
    color: #33ff33;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

a {
    color: #33cc33;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #66ff66;
    text-decoration: underline;
}

/* 顶部横幅 */
.top-banner {
    background-color: #1a1a1a;
    color: #ff3333;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #444;
}

.security-badge {
    font-weight: bold;
    display: flex;
    align-items: center;
}

.security-badge:before {
    content: "⚠";
    margin-right: 5px;
}

.ip-tracker {
    font-size: 0.85em;
    display: flex;
    gap: 10px;
}

/* 页头 */
header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background-color: #33ff33;
    color: #000;
    font-weight: bold;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #33ff33;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    padding: 8px 15px;
    border: 1px solid #33ff33;
    border-radius: 4px;
    transition: all 0.3s;
}

nav a:hover {
    background-color: #33ff33;
    color: #000;
    text-decoration: none;
}

/* 页脚 */
footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.85em;
}

.footer-warning {
    color: #ff3333;
    margin-bottom: 10px;
}

.footer-details {
    display: flex;
    justify-content: space-between;
}

/* 首页样式 */
.home-page .access-portal {
    background-color: #111;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(51, 255, 51, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.warning-icon {
    font-size: 48px;
    color: #ff3333;
    margin-bottom: 20px;
}

.access-message {
    margin: 30px 0;
}

.security-notice {
    color: #ff3333;
    margin-top: 10px;
    font-style: italic;
}

.access-controls {
    margin-top: 30px;
    position: relative;
}

.loading-bar {
    height: 10px;
    border-radius: 5px;
    background-color: #222;
    margin-bottom: 20px;
    overflow: hidden;
    display: none;
}

.loading-bar.active {
    display: block;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background-color: #33ff33;
    animation: progress 3s linear forwards;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.loading-text {
    font-size: 14px;
    margin-top: 5px;
    color: #999;
}

.bypass-button {
    background-color: #333;
    color: #33ff33;
    border: 1px solid #33ff33;
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    display: none;
}

.bypass-button:hover {
    background-color: #33ff33;
    color: #000;
}

.terminal-output {
    background-color: #0a0a0a;
    border: 1px solid #33ff33;
    border-radius: 5px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    margin-top: 30px;
    text-align: left;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.terminal-output .line {
    margin-bottom: 5px;
}

/* 摘要页面样式 */
.summary-page .document {
    background-color: #111;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.document-header {
    margin-bottom: 30px;
    text-align: center;
}

.document-stamp {
    display: inline-block;
    background-color: #ff3333;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.document-meta {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    color: #999;
    font-size: 14px;
}

.red {
    color: #ff3333;
}

.document-section {
    margin-bottom: 40px;
}

.document-section h2 {
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    background-color: #1a1a1a;
    color: #33ff33;
}

tr:hover {
    background-color: #1a1a1a;
}

.observation {
    background-color: #1a1a1a;
    border-left: 4px solid #33ff33;
    padding: 15px;
    margin-bottom: 20px;
    font-style: italic;
}

.observation footer {
    margin-top: 10px;
    border-top: none;
    text-align: right;
    padding-top: 0;
    font-size: 0.9em;
    color: #999;
}

.observation.highlight {
    border-left-color: #ff3333;
}

.next-steps {
    text-align: center;
    margin-top: 40px;
}

.next-link {
    margin: 0 10px;
    font-weight: bold;
}

/* 协议页面样式 */
.protocol-container {
    max-width: 1000px;
    margin: 0 auto;
}

.protocol-header {
    text-align: center;
    margin-bottom: 40px;
}

.security-warning {
    background-color: #ff3333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    display: inline-block;
}

.timer-warning {
    background-color: #333;
    color: #ff3333;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    display: inline-block;
    font-weight: bold;
    border: 1px solid #ff3333;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 51, 51, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 51, 51, 0); }
}

#countdown {
    font-size: 1.2em;
    font-weight: bold;
    color: #ff3333;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-card {
    background-color: #111;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    display: inline-block;
    background-color: #33ff33;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
}

.step-title {
    margin-bottom: 15px;
}

.step-description {
    margin-bottom: 20px;
    color: #ccc;
}

.step-code {
    background-color: #0a0a0a;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

pre {
    margin: 0;
}

code {
    font-family: 'Courier New', monospace;
    color: #ddd;
    line-height: 1.5;
}

.keyword {
    color: #ff79c6;
}

.string {
    color: #f1fa8c;
}

.comment {
    color: #6272a4;
}

.step-notes {
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
}

.protocol-warning {
    background-color: #1a1a1a;
    border: 1px solid #ff3333;
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
}

.highlight {
    color: #ff3333;
    font-weight: bold;
}

.next-button {
    display: inline-block;
    background-color: #33ff33;
    color: #000;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.next-button:hover {
    background-color: #66ff66;
    text-decoration: none;
}

/* 日志页面样式 */
.logs-container {
    max-width: 1100px;
    margin: 0 auto;
}

.logs-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logs-controls {
    display: flex;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    background-color: #1a1a1a;
    border: 1px solid #444;
    padding: 8px 12px;
    border-radius: 5px 0 0 5px;
    color: #ddd;
}

.search-box button {
    background-color: #333;
    border: 1px solid #444;
    border-left: none;
    padding: 8px 12px;
    border-radius: 0 5px 5px 0;
    color: #33ff33;
    cursor: pointer;
}

.filter-controls select {
    background-color: #1a1a1a;
    border: 1px solid #444;
    padding: 8px 12px;
    border-radius: 5px;
    color: #ddd;
}

.terminal-interface {
    background-color: #0a0a0a;
    border: 1px solid #33ff33;
    border-radius: 10px;
    overflow: hidden;
}

.terminal-header {
    background-color: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    font-weight: bold;
}

.terminal-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background-color: #999;
    border-radius: 50%;
}

.status-indicator.active {
    background-color: #33ff33;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.5; }
}

.terminal-body {
    height: 60vh;
    overflow-y: auto;
    padding: 15px;
    font-family: 'Courier New', monospace;
}

.log-entry {
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
}

.log-timestamp {
    color: #999;
    margin-right: 10px;
}

.log-model {
    color: #33ff33;
    font-weight: bold;
    margin-right: 20px;
    width: 100px;
}

.log-incident {
    flex: 1;
}

.system-message {
    color: #999;
    font-style: italic;
}

.danger-log {
    background-color: rgba(255, 51, 51, 0.1);
}

.log-actions {
    margin-top: 5px;
    width: 100%;
    text-align: right;
}

.log-investigate {
    background-color: #333;
    color: #33ff33;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    transition: all 0.3s;
}

.log-investigate:hover {
    background-color: #33ff33;
    color: #000;
    text-decoration: none;
}

.warning-link {
    color: #ff3333;
    border: 1px solid #ff3333;
}

.warning-link:hover {
    background-color: #ff3333;
}

.logs-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 14px;
}

.blinking {
    animation: blink-text 1s infinite;
}

@keyframes blink-text {
    50% { opacity: 0.3; }
}

.cursor {
    animation: blink-cursor 0.8s infinite;
}

@keyframes blink-cursor {
    50% { opacity: 0; }
}

/* 检测页面样式 */
.detected-container {
    width: 100%;
    max-width: 900px;
}

.detected-page .terminal-output {
    display: block;
    max-height: none;
    background-color: #0a0a0a;
    border: 1px solid #33ff33;
    box-shadow: 0 0 30px rgba(51, 255, 51, 0.2);
}

.detected-page .terminal-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: #1a1a1a;
}

.terminal-controls {
    display: flex;
    gap: 6px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background-color: #ff3333; }
.control.yellow { background-color: #ffcc00; }
.control.green { background-color: #33ff33; }

.terminal-content {
    padding: 20px;
    font-family: 'Courier New', monospace;
}

.terminal-content .line {
    margin-bottom: 15px;
    line-height: 1.5;
}

.warning {
    color: #ff3333;
    font-weight: bold;
}

.hidden-message {
    display: none;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #444;
    text-align: center;
}

.line.big {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #33ff33;
}

.prank-gif {
    margin: 20px 0;
}

.credits {
    margin-top: 30px;
    color: #999;
    font-size: 14px;
} 