/* ===== DARK MONOCHROME ENGINEERING THEME WITH ADVANCED FEATURES ===== */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier Prime', 'DejaVu Sans Mono', monospace;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: all 0.5s ease;
}

/* Light Theme */
body.light-theme {
  background: #f0f2f5;
  color: #2c3e50;
}

body.light-theme .blueprint-grid {
  background-image: 
    linear-gradient(rgba(52, 152, 219, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 152, 219, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(52, 152, 219, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 152, 219, 0.05) 1px, transparent 1px);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-content {
  text-align: center;
  color: #00ff00;
}

.ascii-logo {
  font-family: 'Fira Code', monospace;
  font-size: 12px;
  line-height: 1;
  margin-bottom: 2rem;
  min-height: 200px;
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: #333;
  margin: 2rem auto;
  overflow: hidden;
}

.loading-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #00ff00, #0066cc);
  animation: loadingProgress 3s ease-in-out infinite;
}

@keyframes loadingProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.loading-text {
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  color: #00ff00;
  animation: pulse 2s ease-in-out infinite;
}

/* ===== MATRIX RAIN ===== */
.matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* ===== CURSOR TRAIL ===== */
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1000;
}

.cursor-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00ff00;
  border-radius: 50%;
  animation: cursorFade 1s ease-out forwards;
}

@keyframes cursorFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* ===== CONTROL PANEL ===== */
.control-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0, 0, 0, 0.8);
  padding: 15px;
  border: 2px solid #333;
}

.control-btn {
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  border: 2px solid #444;
  color: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background: #333;
  border-color: #666;
  transform: scale(1.1);
}

.visitor-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  color: #00ff00;
  margin-top: 10px;
}

.counter-label {
  margin-bottom: 2px;
}

.counter-value {
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}

/* ===== TERMINAL SECTION ===== */
.terminal-section {
  background: rgba(5, 5, 5, 0.9);
  border-left: 3px solid #00ff00;
}

.terminal-container {
  background: #000;
  border: 2px solid #333;
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.terminal-header {
  background: #1a1a1a;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #333;
}

.terminal-controls {
  display: flex;
  gap: 8px;
}

.terminal-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-btn.close { background: #ff5f56; }
.terminal-btn.minimize { background: #ffbd2e; }
.terminal-btn.maximize { background: #27ca3f; }

.terminal-title {
  color: #ccc;
  font-size: 12px;
}

.terminal-body {
  padding: 15px;
  min-height: 300px;
  max-height: 400px;
  overflow-y: auto;
  background: #000;
}

.terminal-line {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.terminal-prompt {
  color: #00ff00;
  margin-right: 10px;
}

.terminal-cursor {
  color: #fff;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.terminal-input {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.terminal-output {
  color: #ccc;
  margin-left: 20px;
}

.terminal-help {
  margin-top: 15px;
  font-size: 12px;
  color: #666;
}

.terminal-help code {
  background: #1a1a1a;
  padding: 2px 4px;
  color: #00ff00;
}

/* ===== MUSIC PLAYER ===== */
.music-player {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 280px;
  background: rgba(0, 0, 0, 0.95);
  border: 2px solid #333;
  z-index: 1002;
  font-family: 'Fira Code', monospace;
  transition: all 0.3s ease;
}

.music-player.hidden {
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
}

.player-header {
  background: #1a1a1a;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
}

.player-title {
  color: #00ff00;
  font-size: 12px;
  font-weight: bold;
}

.player-close {
  background: none;
  border: none;
  color: #ff5f56;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}

.player-body {
  padding: 15px;
}

.track-info {
  margin-bottom: 15px;
}

.track-title {
  color: #fff;
  font-size: 14px;
  margin-bottom: 2px;
}

.track-artist {
  color: #999;
  font-size: 12px;
}

.player-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.player-btn {
  background: #1a1a1a;
  border: 2px solid #444;
  color: #e0e0e0;
  cursor: pointer;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.player-btn:hover {
  background: #333;
  border-color: #666;
}

.player-progress {
  margin-top: 15px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: #333;
  margin-bottom: 8px;
}

.progress-fill {
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, #00ff00, #0066cc);
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #666;
}

/* ===== RAINBOW ANIMATION FOR EASTER EGG ===== */
@keyframes rainbow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* ===== EXPLOSION PARTICLES ===== */
.explosion-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00ff00;
  opacity: 1;
  transition: all 0.5s ease-out;
}

/* ===== YALAN MODAL STYLES ===== */
.yalan-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  pointer-events: all;
}

.yalan-modal.hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  animation: matrixGlitch 2s ease-in-out infinite;
}

@keyframes matrixGlitch {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.7; }
}

@keyframes slideUpFromBottom {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.yalan-modal.hidden .modal-content {
  animation: slideDownToBottom 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
  transform: translateY(100%);
}

@keyframes slideDownToBottom {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

.modal-content {
  position: relative;
  background: linear-gradient(135deg, #000, #1a0000, #000);
  border: 3px solid #ff0000;
  max-width: 500px;
  width: 90%;
  font-family: 'Fira Code', monospace;
  animation: modalPulse 3s ease-in-out infinite;
  box-shadow: 
    0 0 20px rgba(255, 0, 0, 0.5),
    inset 0 0 20px rgba(255, 0, 0, 0.1);
}

@keyframes modalPulse {
  0%, 100% { 
    box-shadow: 
      0 0 20px rgba(255, 0, 0, 0.5),
      inset 0 0 20px rgba(255, 0, 0, 0.1);
  }
  50% { 
    box-shadow: 
      0 0 40px rgba(255, 0, 0, 0.8),
      inset 0 0 30px rgba(255, 0, 0, 0.2);
  }
}

.modal-header {
  background: #1a0000;
  padding: 15px 20px;
  border-bottom: 2px solid #ff0000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  color: #ff0000;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: textFlicker 2s ease-in-out infinite;
}

@keyframes textFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.modal-close {
  background: none;
  border: none;
  color: #ff0000;
  font-size: 24px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: #fff;
  text-shadow: 0 0 10px #ff0000;
}

.modal-body {
  padding: 30px 20px;
  text-align: center;
}

.warning-icon {
  font-size: 48px;
  margin-bottom: 20px;
  animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.modal-text {
  margin-bottom: 30px;
}

.main-message {
  color: #ff0000;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  animation: messageGlow 2s ease-in-out infinite;
}

@keyframes messageGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 0, 0, 0.5); }
  50% { text-shadow: 0 0 20px rgba(255, 0, 0, 0.8); }
}

.sub-message {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.modal-choices {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.pill-button {
  padding: 12px 24px;
  border: 2px solid;
  background: transparent;
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.red-pill {
  border-color: #ff0000;
  color: #ff0000;
}

.red-pill:hover {
  background: #ff0000;
  color: #000;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
  transform: scale(1.05);
}

.blue-pill {
  border-color: #0066cc;
  color: #0066cc;
}

.blue-pill:hover {
  background: #0066cc;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 102, 204, 0.6);
  transform: scale(1.05);
}

.choice-descriptions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.choice-desc {
  font-size: 12px;
  color: #666;
  text-align: center;
  max-width: 120px;
  line-height: 1.4;
}

.red-desc {
  color: #ff6666;
}

.blue-desc {
  color: #6699ff;
}

/* Truth revealed terminal styling */
.truth-revealed {
  animation: typewriter 0.5s ease-out forwards;
  font-weight: bold;
}

@keyframes typewriter {
  from { 
    width: 0;
    opacity: 0;
  }
  to { 
    width: 100%;
    opacity: 1;
  }
}

/* Responsive modal */
@media (max-width: 600px) {
  .modal-choices {
    flex-direction: column;
    align-items: center;
  }
  
  .pill-button {
    width: 200px;
  }
  
  .choice-descriptions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .main-message {
    font-size: 16px;
  }
  
  .modal-content {
    margin: 20px;
  }
}

/* Dark Grid Background */
.blueprint-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
  z-index: -1;
  pointer-events: none;
}

/* Navigation */
.engineering-nav {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #333;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 2rem;
}

.nav-link {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #fff;
  border-color: #666;
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Main Container */
.blueprint-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(15, 15, 15, 0.8);
  border: 2px solid #444;
  margin-top: 0;
}

/* Header */
.engineering-header {
  text-align: center;
  margin: 0 0 0 0;
  padding: 2rem;
  background: rgba(20, 20, 20, 0.9);
  border-bottom: 2px solid #444;
  position: relative;
}

.engineering-header::before {
  content: "TECHNICAL DRAWING";
  position: absolute;
  top: -10px;
  left: 20px;
  background: #0a0a0a;
  padding: 0 1rem;
  font-size: 0.8rem;
  color: #666;
  font-weight: bold;
}

.main-title {
  font-family: 'PT Serif', serif;
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.subtitle {
  font-size: 1.2rem;
  color: #999;
  margin-bottom: 1rem;
  font-weight: normal;
}

.drawing-number {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 0.8rem;
  color: #666;
  font-family: monospace;
}

/* Section Styles - Unified Design */
.engineering-section {
  margin: 0;
  padding: 2rem;
  background: rgba(15, 15, 15, 0.6);
  border-bottom: 1px solid #333;
  border-left: 3px solid #666;
  position: relative;
}

.engineering-section:first-of-type {
  border-top: 1px solid #444;
}

.engineering-section:last-of-type {
  border-bottom: 2px solid #444;
}

.section-title-container {
  margin-bottom: 2rem;
  overflow: hidden;
  height: 60px;
}

.section-title {
  font-family: 'PT Serif', serif;
  font-size: 2.2rem;
  font-weight: bold;
  color: #fff;
  position: relative;
  transform: translateY(-100%);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title.animate {
  transform: translateY(0);
}

.section-title::after {
  content: attr(data-title);
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(255, 255, 255, 0.1);
  transform: translate(2px, 2px);
  z-index: -1;
}

.content-block {
  border: none;
  padding: 0;
  background: transparent;
}

.subsection-title {
  font-family: 'Courier Prime', monospace;
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.engineering-text {
  font-family: 'Courier Prime', monospace;
}

.specification {
  margin: 1rem 0;
  padding: 0.5rem 0;
  line-height: 1.8;
  color: #d0d0d0;
}

.project-block {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid #444;
  background: rgba(25, 25, 25, 0.5);
}

/* Links */
.blueprint-link {
  color: #bbb;
  text-decoration: underline;
  font-weight: bold;
  transition: all 0.3s ease;
}

.blueprint-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0 2px;
}

/* Status Display */
.status-display {
  background: #1a1a1a;
  color: #e0e0e0;
  padding: 1.5rem;
  font-family: 'Courier Prime', monospace;
  border: 2px solid #444;
}

.status-content {
  display: grid;
  gap: 1rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: bold;
}

.status-face {
  font-size: 1.5rem;
}

.status-author {
  color: #ccc;
  text-transform: uppercase;
}

.status-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #d0d0d0;
}

.status-timestamp {
  text-align: right;
  color: #666;
  font-size: 0.8rem;
}

/* ===== ROZETLER CEHENNEMİ (CHAOS BADGES) ===== */
.rozetler-cehennemi {
  margin: 0;
  padding: 3rem;
  background: linear-gradient(45deg, #e74c3c, #f39c12, #27ae60, #3498db, #9b59b6);
  background-size: 400% 400%;
  animation: chaosGradient 8s ease infinite;
  border-top: 2px solid #444;
  position: relative;
  overflow: hidden;
}

@keyframes chaosGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.chaos-header {
  text-align: center;
  margin-bottom: 3rem;
}

.chaos-title {
  font-family: 'PT Serif', serif;
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  transform: rotate(-2deg);
  margin-bottom: 1rem;
  animation: titleShake 3s ease-in-out infinite;
}

@keyframes titleShake {
  0%, 100% { transform: rotate(-2deg); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(-1deg); }
  75% { transform: rotate(1deg); }
}

.chaos-subtitle {
  color: #fff;
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px #000;
  font-family: 'Courier Prime', monospace;
}

.badge-chaos {
  position: relative;
  min-height: 400px;
}

.chaos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  transform: rotate(1deg);
}

.badge-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 0.8rem;
  background: rgba(40, 40, 40, 0.9);
  border: 3px solid #666;
  transform: rotate(var(--rotation, 0deg)) scale(var(--scale, 1));
  transition: all 0.4s ease;
  animation: clusterFloat 8s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes clusterFloat {
  0%, 100% { transform: rotate(var(--rotation, 0deg)) scale(var(--scale, 1)) translateY(0px); }
  25% { transform: rotate(calc(var(--rotation, 0deg) + 2deg)) scale(var(--scale, 1)) translateY(-5px); }
  50% { transform: rotate(var(--rotation, 0deg)) scale(var(--scale, 1)) translateY(3px); }
  75% { transform: rotate(calc(var(--rotation, 0deg) - 2deg)) scale(var(--scale, 1)) translateY(-2px); }
}

.cluster-1 { --rotation: -4deg; --scale: 0.95; --delay: 0s; }
.cluster-2 { --rotation: 3deg; --scale: 1.1; --delay: 1s; }
.cluster-3 { --rotation: -2deg; --scale: 0.9; --delay: 2s; }
.cluster-4 { --rotation: 5deg; --scale: 1.05; --delay: 3s; }

.badge-cluster:hover {
  transform: rotate(0deg) scale(1.15);
  z-index: 100;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.badge-cluster img, .badge-cluster iframe {
  max-width: var(--badge-size, 88px);
  height: auto;
  border: 2px solid #555;
  transition: all 0.4s ease;
  filter: brightness(0.9) contrast(1.1);
  transform: rotate(var(--badge-rotation, 0deg));
}

.badge-cluster img:hover, .badge-cluster iframe:hover {
  transform: scale(1.3) rotate(var(--badge-rotation, 0deg));
  z-index: 10;
  border-color: #fff;
  filter: brightness(1.2) contrast(1.3) drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.badge-cluster img:nth-child(1) { --badge-size: 80px; --badge-rotation: -2deg; }
.badge-cluster img:nth-child(2) { --badge-size: 95px; --badge-rotation: 1deg; }
.badge-cluster img:nth-child(3) { --badge-size: 85px; --badge-rotation: -3deg; }
.badge-cluster img:nth-child(4) { --badge-size: 90px; --badge-rotation: 2deg; }
.badge-cluster img:nth-child(5) { --badge-size: 88px; --badge-rotation: -1deg; }

/* Scattered Badges */
.scattered-badges {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.scattered-badges img {
  position: absolute;
  max-width: var(--scattered-size, 60px);
  border: 2px solid #fff;
  pointer-events: auto;
  filter: brightness(0.8);
  transition: all 0.3s ease;
}

.scattered-badges img:hover {
  filter: brightness(1.2) drop-shadow(0 0 15px rgba(255,255,255,0.4));
  transform: scale(1.4);
  z-index: 50;
}

.scattered-1 { top: 8%; left: 3%; --scattered-size: 55px; }
.scattered-2 { top: 75%; right: 8%; --scattered-size: 65px; }
.scattered-3 { bottom: 15%; left: 12%; --scattered-size: 50px; }
.scattered-4 { top: 35%; right: 25%; --scattered-size: 70px; }
.scattered-5 { top: 20%; left: 30%; --scattered-size: 45px; }
.scattered-6 { bottom: 35%; right: 12%; --scattered-size: 60px; }
.scattered-7 { top: 60%; left: 8%; --scattered-size: 55px; }
.scattered-8 { top: 15%; right: 35%; --scattered-size: 48px; }
.scattered-9 { bottom: 60%; left: 35%; --scattered-size: 62px; }

/* Badge Animations */
/* Enhanced Badge Animations */
@keyframes chaosRotate {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(90deg) scale(0.8); }
  50% { transform: rotate(180deg) scale(1.2); }
  75% { transform: rotate(270deg) scale(0.9); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes wildBounce {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  25% { transform: translateY(-15px) translateX(5px); }
  50% { transform: translateY(5px) translateX(-3px); }
  75% { transform: translateY(-8px) translateX(2px); }
}

@keyframes chaosOrbit {
  0% { transform: rotate(0deg) translateX(20px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(20px) rotate(-360deg); }
}

@keyframes tremor {
  0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
}

@keyframes morphSpin {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(0.8) rotate(90deg); }
  50% { transform: scale(1.2) rotate(180deg); }
  75% { transform: scale(0.9) rotate(270deg); }
  100% { transform: scale(1) rotate(360deg); }
}

@keyframes elasticZoom {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(0.8); }
  80% { transform: scale(1.1); }
}

@keyframes tiltShake {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(2deg); }
  20% { transform: rotate(-4deg); }
  30% { transform: rotate(3deg); }
  40% { transform: rotate(-2deg); }
  50% { transform: rotate(4deg); }
  60% { transform: rotate(-3deg); }
  70% { transform: rotate(2deg); }
  80% { transform: rotate(-1deg); }
  90% { transform: rotate(1deg); }
}

/* Apply enhanced animations */
.rotating-badge { animation: chaosRotate 12s linear infinite; }
.bouncing-badge { animation: wildBounce 3s ease-in-out infinite; }
.pulsing-badge { animation: elasticZoom 4s ease-in-out infinite; }
.shake-badge { animation: tiltShake 2s ease-in-out infinite; }
.floating-badge { animation: chaosOrbit 10s linear infinite; }
.spinning-badge { animation: morphSpin 6s ease-in-out infinite; }
.wobble-badge { animation: tremor 1.5s ease-in-out infinite; }
.flip-badge { animation: flip 8s ease-in-out infinite; }
.zoom-badge { animation: elasticZoom 5s ease-in-out infinite; }
.glitch-badge { animation: tremor 1s infinite; }

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .chaos-title {
    font-size: 2rem;
  }
  
  .blueprint-container {
    padding: 1rem;
  }
  
  .chaos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .rozetler-cehennemi {
    padding: 1.5rem;
  }
}

/* ===== YALAN BADGE SPECIAL STYLING ===== */
img[src*="yalan.png"] {
  cursor: pointer !important;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

img[src*="yalan.png"]:hover {
  transform: scale(1.1) rotate(5deg);
  filter: brightness(1.3) contrast(1.2) saturate(1.5);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
  border: 2px solid #ff0000;
}

img[src*="yalan.png"]:active {
  transform: scale(0.95);
}
  