/* ==========================================================================
   TOSBAĞA Siber Güvenlik Topluluğu - Matrix Theme & Turtle Popup
   ========================================================================== */

body.theme-matrix {
  --bg-primary: #050b05;
  --bg-secondary: #0a140a;
  --bg-nav: rgba(5, 11, 5, 0.9);
  --card-bg: rgba(10, 20, 10, 0.85);
  --text-primary: #00ff41;
  --text-secondary: #00b32d;
  --accent-color: #00ff41;
  --accent-glow-bg: rgba(0, 255, 65, 0.15);
  --border-color: rgba(0, 255, 65, 0.4);
  --shadow-color: rgba(0, 0, 0, 0.9);
  --shadow-glow: rgba(0, 255, 65, 0.5);
  --btn-bg: rgba(10, 20, 10, 0.95);
  --btn-hover-bg: rgba(0, 255, 65, 0.25);
  --terminal-bg: #030703;
  --terminal-header-bg: #071207;
}

/* Matrix Sunglasses Turtle Pop-up Overlay */
.matrix-turtle-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.matrix-turtle-popup.active {
  opacity: 1;
  visibility: visible;
}

.matrix-popup-card {
  background: #050b05;
  border: 2px solid #00ff41;
  border-radius: 16px;
  max-width: 520px;
  width: 90%;
  padding: 2.25rem;
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.6), inset 0 0 20px rgba(0, 255, 65, 0.1);
  text-align: center;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.4s ease;
}

.matrix-turtle-popup.active .matrix-popup-card {
  transform: scale(1);
}

.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 18px;
  background: transparent;
  border: none;
  color: #00ff41;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.popup-badge {
  font-family: 'Fira Code', monospace;
  background: rgba(0, 255, 65, 0.15);
  color: #00ff41;
  border: 1px solid #00ff41;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.popup-img-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
  border: 3px solid #00ff41;
  box-shadow: 0 0 25px #00ff41;
  overflow: hidden;
  background: #000;
}

.popup-turtle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: turtlePulse 3s infinite alternate ease-in-out;
}

@keyframes turtlePulse {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.05); filter: brightness(1.2) drop-shadow(0 0 10px #00ff41); }
}

.popup-title {
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.popup-desc {
  color: #00ff41;
  font-family: 'Fira Code', monospace;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.popup-status {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: #00b32d;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.status-indicator {
  width: 10px;
  height: 10px;
  background: #00ff41;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff41;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.popup-action-btn {
  background: #00ff41;
  color: #050b05;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: 'Fira Code', monospace;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 0 20px #00ff41;
  transition: all 0.25s ease;
}

.popup-action-btn:hover {
  background: #ffffff;
  box-shadow: 0 0 30px #ffffff;
  transform: translateY(-2px);
}
