/* MOSSAD AI AGENT - Jewish Themed Terminal */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  /* Israeli flag colors */
  --bg: #0a0a12;
  --israel-blue: #0038b8;
  --israel-blue-light: #0052cc;
  --israel-blue-bright: #1a75ff;
  --israel-white: #ffffff;
  --israel-white-dim: #e0e8ff;

  /* UI colors */
  --fg: #4d9fff;
  --fg-dim: #1a4d99;
  --fg-bright: #80bfff;
  --cyan: #66d9ff;
  --gold: #ffd700;
  --white: #ffffff;
  --gray: #3a4a6a;
}

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

body {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.4;
}

/* Subtle scan effect with blue tint */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 56, 184, 0.02),
    rgba(0, 56, 184, 0.02) 1px,
    transparent 1px,
    transparent 2px
  );
  z-index: 9999;
}

/* Terminal container */
.terminal {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 0;
  background: linear-gradient(180deg, #0a0a1a 0%, #050510 100%);
}

/* ASCII Header */
.ascii-header {
  padding: 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 56, 184, 0.2) 0%, transparent 100%);
  border-bottom: 2px solid var(--israel-blue);
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.flag-img {
  width: 100px;
  height: auto;
  border: 3px solid var(--israel-white);
  box-shadow: 0 0 30px rgba(0, 56, 184, 0.5), 0 0 60px rgba(0, 56, 184, 0.3);
  animation: flagGlow 3s ease-in-out infinite alternate;
}

@keyframes flagGlow {
  0% { box-shadow: 0 0 30px rgba(0, 56, 184, 0.5); }
  100% { box-shadow: 0 0 50px rgba(0, 56, 184, 0.8), 0 0 80px rgba(255, 255, 255, 0.2); }
}

.ascii-container {
  text-align: center;
}

.ascii-art {
  color: var(--israel-white);
  font-size: 8px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(0, 56, 184, 0.8), 0 0 30px rgba(0, 82, 204, 0.5);
  white-space: pre;
  margin-bottom: 10px;
}

.tagline {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  margin-top: 10px;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.tagline-sub {
  color: var(--israel-white-dim);
  font-size: 11px;
  margin-top: 5px;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* Status bar */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  background: linear-gradient(90deg, rgba(0, 56, 184, 0.3) 0%, rgba(0, 56, 184, 0.1) 50%, rgba(0, 56, 184, 0.3) 100%);
  border-bottom: 1px solid var(--israel-blue);
  font-size: 12px;
}

.status-center {
  flex: 1;
  text-align: center;
}

.x-button {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(180deg, var(--israel-blue) 0%, #002080 100%);
  border: 2px solid var(--israel-white);
  color: var(--israel-white);
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 0 15px rgba(0, 56, 184, 0.5);
}

.x-button:hover {
  background: var(--israel-white);
  color: var(--israel-blue);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

.status-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--israel-white);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 15px var(--israel-white);
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 15px var(--israel-white); }
  50% { opacity: 0.4; box-shadow: 0 0 5px var(--israel-white); }
}

.status-item {
  color: var(--israel-white-dim);
}

.status-value {
  color: var(--israel-white);
  font-weight: bold;
}

.status-right {
  color: var(--fg-dim);
}

/* Main terminal body */
.terminal-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.feed {
  flex: 1;
  overflow-y: auto;
  padding: 15px 25px;
  display: flex;
  flex-direction: column;
}

/* Custom scrollbar - blue themed */
.feed::-webkit-scrollbar {
  width: 6px;
}

.feed::-webkit-scrollbar-track {
  background: rgba(0, 56, 184, 0.1);
}

.feed::-webkit-scrollbar-thumb {
  background: var(--israel-blue);
  border-radius: 3px;
}

.feed::-webkit-scrollbar-thumb:hover {
  background: var(--israel-blue-light);
}

/* Feed items */
.feed-line {
  padding: 3px 0;
  animation: typeIn 0.15s ease-out;
  white-space: pre-wrap;
  word-break: break-word;
}

@keyframes typeIn {
  0% { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 1; transform: translateX(0); }
}

.feed-line .timestamp {
  color: var(--gray);
}

.feed-line .message {
  color: var(--fg);
}

.feed-line.hype .message {
  color: var(--israel-white);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.feed-line.goy .message {
  color: var(--gold);
}

.feed-line.system .message {
  color: var(--fg-dim);
}

.feed-line.mission .message {
  color: var(--fg-bright);
}

.feed-line.payout {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin: 8px 0;
}

.feed-line.payout .message {
  color: var(--gold);
}

/* Stats bar */
.terminal-stats {
  padding: 12px 25px;
  background: linear-gradient(90deg, rgba(0, 56, 184, 0.3) 0%, rgba(0, 56, 184, 0.1) 50%, rgba(0, 56, 184, 0.3) 100%);
  border-top: 1px solid var(--israel-blue);
  color: var(--israel-white-dim);
  font-size: 12px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.stat-item {
  color: var(--fg-dim);
}

.stat-value {
  color: var(--israel-white);
  font-weight: bold;
}

.gold {
  color: var(--gold) !important;
}

/* Footer */
.terminal-footer {
  padding: 8px 25px;
  color: var(--fg-dim);
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 56, 184, 0.3);
}

.x-link {
  color: var(--israel-blue-bright);
  text-decoration: none;
  transition: all 0.2s;
}

.x-link:hover {
  color: var(--israel-white);
  text-shadow: 0 0 10px rgba(0, 56, 184, 0.5);
}

.mascot {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   DEV PANEL - Jewish themed
   ═══════════════════════════════════════════════════════════ */

.dev-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 20, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.dev-overlay.active {
  display: flex;
}

.dev-box {
  background: linear-gradient(180deg, #0a0a1a 0%, #050510 100%);
  border: 2px solid var(--israel-blue);
  padding: 30px;
  min-width: 500px;
  box-shadow: 0 0 60px rgba(0, 56, 184, 0.4), 0 0 100px rgba(0, 56, 184, 0.2);
}

.dev-header {
  color: var(--israel-white);
  text-align: center;
  white-space: pre;
  margin-bottom: 25px;
  font-size: 11px;
  text-shadow: 0 0 15px rgba(0, 56, 184, 0.8);
}

.dev-section {
  margin: 25px 0;
}

.dev-label {
  color: var(--gold);
  text-align: center;
  margin-bottom: 15px;
  font-size: 12px;
  letter-spacing: 2px;
}

.dev-row {
  display: flex;
  align-items: center;
  margin: 12px 0;
}

.dev-field-label {
  width: 120px;
  color: var(--israel-white-dim);
  font-size: 12px;
}

.dev-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--israel-blue);
  color: var(--israel-white);
  padding: 10px 5px;
  font-family: inherit;
  font-size: 13px;
  transition: border-color 0.2s;
}

.dev-input:focus {
  outline: none;
  border-bottom-color: var(--israel-white);
}

.dev-input::placeholder {
  color: var(--fg-dim);
}

.dev-btn {
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  background: var(--israel-blue);
  border: none;
  color: var(--israel-white);
  font-family: inherit;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 2px;
}

.dev-btn:hover {
  background: var(--israel-blue-light);
  box-shadow: 0 0 30px rgba(0, 56, 184, 0.5);
}

.dev-btn.secondary {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.dev-btn.secondary:hover {
  background: var(--gold);
  color: var(--bg);
}

.dev-footer {
  color: var(--fg-dim);
  text-align: center;
  margin-top: 25px;
  font-size: 11px;
  padding-top: 15px;
  border-top: 1px solid var(--israel-blue);
}

/* Payout highlight in feed */
.payout-block {
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.08) 0%, transparent 100%);
  padding: 15px 20px;
  margin: 12px 0;
}

.payout-block .payout-title {
  color: var(--gold);
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 14px;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.payout-block .payout-info {
  color: var(--israel-white);
  margin: 5px 0;
  font-size: 13px;
}

.payout-block .payout-info span {
  color: var(--israel-blue-bright);
}

.payout-block .payout-verified {
  color: var(--israel-white);
  margin-top: 10px;
  font-size: 12px;
  font-weight: bold;
}

/* Star of David decorations */
.star-decoration {
  color: var(--israel-blue-bright);
  font-size: 20px;
  text-shadow: 0 0 10px rgba(0, 56, 184, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .ascii-art {
    font-size: 5px;
  }

  .flag-img {
    width: 60px;
  }

  .header-content {
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .flag-img {
    width: 80px;
  }

  .ascii-art {
    font-size: 4px;
  }

  .status-bar {
    flex-direction: column;
    gap: 8px;
  }

  .terminal-stats {
    flex-wrap: wrap;
    gap: 15px;
  }

  .dev-box {
    min-width: auto;
    width: 95%;
    margin: 10px;
    padding: 20px;
  }

  .dev-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .dev-field-label {
    width: auto;
    margin-bottom: 5px;
  }

  .dev-input {
    width: 100%;
  }
}
