:root {
  --primary-green: #00d4ff;
  --primary-cyan: #00f0ff;
  --dark-bg: #0a0e12;
  --card-bg: #1a1e22;
  --text-primary: #ffffff;
  --text-secondary: #a0b0c0;
  --gradient-1: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
  --gradient-2: linear-gradient(135deg, #00f0ff 0%, #00bfff 100%);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.4);
  --bg-pattern: linear-gradient(135deg, #0a0e12 0%, #0d1419 50%, #0a0e12 100%);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Modern Logo Styling */
.navbar-brand {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  letter-spacing: 2px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-brand::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: var(--gradient-1);
  border-radius: 4px;
}

.navbar-brand:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Modern Navbar */
.navbar {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-green) !important;
}

.nav-link:hover::after {
  width: 80%;
}

/* Ultra Modern Buttons */
.btn {
  border-radius: 12px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.btn-primary {
  background: var(--gradient-1) !important;
  color: #000 !important;
  font-weight: 700;
}

.btn-outline-light {
  border: 2px solid var(--primary-green) !important;
  color: var(--primary-green) !important;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: var(--primary-green) !important;
  color: #000 !important;
  box-shadow: 0 5px 20px rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
}

/* Glassmorphism Cards */
.card {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
  border-color: rgba(0, 255, 136, 0.4);
}

.card:hover::before {
  opacity: 1;
}

.card-body {
  color: var(--text-primary);
  padding: 2rem;
}

.card-title {
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Project Cards - Clickable */
.project-card {
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
  transition: all 0.3s ease;
  height: 100%;
}

.project-card .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  max-height: 500px;
}

.project-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card .card-title {
  font-size: 1.3rem;
  min-height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.project-card .card-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  min-height: 75px;
  max-height: 75px;
}

.project-card:hover .card {
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 25px 70px rgba(0, 212, 255, 0.5);
}

.project-card:hover .card-title {
  color: var(--primary-cyan);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Hero Section with Gradient */
.hero-section {
  background: linear-gradient(135deg, #0a0e12 0%, #0d1419 50%, #0a0e12 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  animation: float 20s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(50px, 50px) rotate(180deg); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styling */
section {
  scroll-margin-top: 80px;
  padding: 5rem 0;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
}

/* Tech Stack Badges */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary-green);
  border: 1px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.badge:hover {
  background: var(--primary-green);
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* Form Styling */
.form-control, .form-select {
  background: linear-gradient(135deg, rgba(26, 30, 34, 0.8) 0%, rgba(20, 24, 28, 0.8) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-control:hover, .form-select:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.form-control:focus, .form-select:focus {
  background: linear-gradient(135deg, rgba(26, 30, 34, 0.95) 0%, rgba(20, 24, 28, 0.95) 100%);
  border-color: var(--primary-green);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  color: var(--text-primary);
}

.form-control::placeholder {
  color: var(--text-secondary);
}

.form-label {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Table Styling */
.table {
  color: var(--text-primary);
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

.table thead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 180, 255, 0.15) 100%);
  border-bottom: 2px solid rgba(0, 212, 255, 0.4);
}

.table th {
  border-bottom: 2px solid rgba(0, 212, 255, 0.3);
  padding: 1rem;
  color: var(--primary-green);
  font-weight: 700;
}

.table td {
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  padding: 1rem;
  vertical-align: middle;
  color: var(--text-primary);
}

.table-dark {
  background: linear-gradient(135deg, rgba(26, 30, 34, 0.95) 0%, rgba(20, 24, 28, 0.95) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.table-hover tbody tr {
  transition: all 0.3s ease;
  background: rgba(10, 14, 18, 0.3);
}

.table-hover tbody tr:hover {
  background: rgba(0, 212, 255, 0.08) !important;
  cursor: pointer;
  box-shadow: inset 0 0 15px rgba(0, 212, 255, 0.2);
  transform: scale(1.005);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0a0e12 0%, #0d1419 100%);
  border-top: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 -4px 20px rgba(0, 212, 255, 0.1);
}

footer a i {
  transition: all 0.3s ease;
}

footer a:hover i {
  color: var(--primary-cyan) !important;
  transform: scale(1.3) rotate(5deg);
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));
}

/* Glow Effect */
.glow {
  box-shadow: var(--shadow-glow);
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #0a0e12 0%, #0d1419 100%);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-green);
}

/* README Content Styling */
.readme-content {
  background: linear-gradient(135deg, rgba(26, 30, 34, 0.7) 0%, rgba(20, 24, 28, 0.7) 100%);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 16px;
  padding: 2rem;
  color: var(--text-primary);
  line-height: 1.8;
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
  text-align: left;
}

.readme-content h1, .readme-content h2, .readme-content h3 {
  color: var(--primary-green);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.readme-content h2 {
  font-size: 2rem;
  border-bottom: 2px solid rgba(0, 212, 255, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.readme-content ul {
  list-style: none;
  padding-left: 0;
}

.readme-content ul li {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.readme-content ul li::before {
  content: "▸";
  color: var(--primary-green);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.readme-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.readme-content strong {
  color: var(--text-primary);
  font-weight: 700;
}

.readme-content hr {
  border: none;
  border-top: 2px solid rgba(0, 212, 255, 0.3);
  margin: 2rem 0;
}

.readme-content code {
  background: rgba(0, 212, 255, 0.15);
  color: var(--primary-green);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-family: 'Cascadia Code', 'Consolas', monospace;
}

.readme-content pre {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  overflow-x: auto;
}

/* Download Button Special */
.btn-download {
  background: var(--gradient-1) !important;
  color: #000 !important;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem 3rem;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.5);
}

.btn-download:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 50px rgba(0, 212, 255, 0.7);
}

/* Alert Styling */
.alert {
  border-radius: 12px;
  border: none;
}

.alert-success {
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary-green);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.alert-danger {
  background: rgba(255, 0, 0, 0.1);
  color: #ff4444;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

.alert-warning {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Checkbox Styling */
.form-check-input {
  border: 2px solid rgba(0, 212, 255, 0.5);
  background-color: rgba(26, 30, 34, 0.8);
  transition: all 0.3s ease;
  width: 1.2rem;
  height: 1.2rem;
}

.form-check-input:checked {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.form-check-input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.25rem rgba(0, 212, 255, 0.25);
}

.form-check-input:hover {
  border-color: var(--primary-cyan);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .navbar-brand {
    font-size: 1.3rem !important;
  }

  .navbar-brand span {
    font-size: 1.3rem !important;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .card-body {
    padding: 1rem !important;
  }

  .project-card .card {
    min-height: 450px;
    max-height: 450px;
  }

  .readme-content {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }

  .hero-section {
    min-height: auto !important;
    padding: 3rem 0;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.1rem !important;
  }

  .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .project-card .card {
    min-height: 400px;
    max-height: 400px;
  }

  .badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}

/* Form Check Styling */
.form-check-input {
  background-color: rgba(26, 30, 34, 0.8);
  border: 2px solid rgba(0, 212, 255, 0.3);
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.form-check-input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.form-check-label {
  cursor: pointer;
  user-select: none;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: #000;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  animation: bounceIn 0.5s ease;
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.6);
  background: var(--gradient-2);
}

.scroll-to-top:active {
  transform: translateY(-2px) scale(1.05);
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Gallery Images */
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  border-color: var(--primary-green);
  box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
  transform: scale(1.05);
}

.gallery-item .remove-gallery-image {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
}

.gallery-item:hover .remove-gallery-image {
  opacity: 1;
}

.gallery-item .remove-gallery-image:hover {
  background: rgba(255, 0, 0, 1);
  transform: scale(1.2);
}

/* Project Gallery Carousel */
.project-gallery {
  margin-bottom: 2rem;
}

.project-gallery .carousel-item img {
  border-radius: 16px;
  max-height: 500px;
  object-fit: contain;
  background: rgba(26, 30, 34, 0.8);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* Animated Circuit Background - Logic Gates */
.circuit-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

body:hover .circuit-bg {
  opacity: 0.18;
}

/* Logic Gate Styles */
.logic-gate {
  position: absolute;
  width: 60px;
  height: 40px;
  opacity: 0.6;
  transition: all 0.3s ease;
}

/* AND Gate */
.logic-gate.and {
  background: linear-gradient(90deg, transparent 30%, var(--primary-green) 30%, var(--primary-green) 70%, transparent 70%);
  border-radius: 0 50% 50% 0 / 0 100% 100% 0;
  border: 2px solid var(--primary-green);
  border-left: none;
  animation: gateFloat 6s ease-in-out infinite;
}

/* OR Gate */
.logic-gate.or {
  background: radial-gradient(circle at 30%, transparent 60%, var(--primary-green) 60%);
  border: 2px solid var(--primary-green);
  border-radius: 0 50% 50% 0 / 0 100% 100% 0;
  clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%, 30% 50%);
  animation: gateFloat 7s ease-in-out infinite;
}

/* NOT Gate (Triangle) */
.logic-gate.not {
  width: 50px;
  height: 50px;
  background: transparent;
  border-left: 2px solid var(--primary-green);
  border-right: none;
  clip-path: polygon(0 10%, 0 90%, 100% 50%);
  background: linear-gradient(45deg, transparent 40%, var(--primary-green) 40%);
  animation: gateFloat 5s ease-in-out infinite;
}

/* XOR Gate */
.logic-gate.xor {
  border: 2px solid var(--primary-cyan);
  border-radius: 0 50% 50% 0 / 0 100% 100% 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 5px,
    var(--primary-cyan) 5px,
    var(--primary-cyan) 6px
  );
  animation: gateFloat 8s ease-in-out infinite;
}

/* Connection Lines */
.circuit-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
  box-shadow: 0 0 8px var(--primary-green);
  opacity: 0;
  animation: circuitFlow 10s linear infinite;
}

.circuit-line.horizontal {
  height: 2px;
  width: 120px;
}

.circuit-line.vertical {
  width: 2px;
  height: 120px;
}

/* Connection Nodes */
.connection-node {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary-green);
  border: 2px solid var(--primary-cyan);
  border-radius: 50%;
  box-shadow: 
    0 0 10px var(--primary-green),
    0 0 20px var(--primary-cyan),
    inset 0 0 5px var(--primary-cyan);
  animation: nodePulse 2s ease-in-out infinite;
}

/* Mouse Hover Ripple Effect */
.hover-ripple {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  animation: rippleEffect 1.5s ease-out forwards;
}

/* Animations */
@keyframes gateFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-15px) rotate(2deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-25px) rotate(-2deg);
    opacity: 1;
    filter: drop-shadow(0 0 15px var(--primary-green));
  }
  75% {
    transform: translateY(-15px) rotate(2deg);
    opacity: 0.8;
  }
}

@keyframes circuitFlow {
  0% {
    opacity: 0;
    transform: translateX(-80px) translateY(-80px) scale(0.8);
  }
  15% {
    opacity: 0.7;
  }
  85% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateX(180px) translateY(180px) scale(1.2);
  }
}

@keyframes nodePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 0 10px var(--primary-green),
      0 0 20px var(--primary-cyan),
      inset 0 0 5px var(--primary-cyan);
  }
  50% {
    transform: scale(1.5);
    box-shadow: 
      0 0 20px var(--primary-green),
      0 0 40px var(--primary-cyan),
      0 0 60px rgba(0, 212, 255, 0.5),
      inset 0 0 10px var(--primary-cyan);
  }
}

@keyframes rippleEffect {
  0% {
    opacity: 0.6;
    transform: scale(0);
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: scale(2);
  }
}

/* Hover Effects */
.logic-gate:hover {
  opacity: 1;
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 20px var(--primary-green));
  z-index: 10;
}

.connection-node:hover {
  transform: scale(2);
  box-shadow: 
    0 0 30px var(--primary-green),
    0 0 50px var(--primary-cyan),
    0 0 70px rgba(0, 212, 255, 0.7);
}

/* Language Selector Button */
#langSelector {
  min-width: 70px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-green) !important;
  color: var(--primary-green) !important;
}

#langSelector:hover {
  background: var(--primary-green) !important;
  color: #000 !important;
  box-shadow: 0 0 15px var(--primary-green);
  transform: translateY(-2px);
}

#langSelector i {
  margin-right: 5px;
  animation: rotateGlobe 3s linear infinite;
}

@keyframes rotateGlobe {
  0%, 100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
}

/* Image Preview & Upload Styling */
.image-preview {
  position: relative;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(0, 212, 255, 0.3);
  background: rgba(26, 30, 34, 0.8);
  max-width: 400px;
}

.image-preview img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  display: block;
  background: rgba(0, 0, 0, 0.5);
}

.image-preview .remove-image {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.image-preview .remove-image:hover {
  background: rgba(255, 0, 0, 1);
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
}

/* Drag & Drop Zone */
.drag-drop-zone {
  border: 3px dashed rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(26, 30, 34, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.drag-drop-zone:hover {
  border-color: var(--primary-green);
  background: rgba(0, 212, 255, 0.05);
  transform: scale(1.02);
}

.drag-drop-zone.dragover {
  border-color: var(--primary-green);
  background: rgba(0, 212, 255, 0.1);
  border-style: solid;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.drag-drop-zone i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
  animation: floatIcon 3s ease-in-out infinite;
}

.drag-drop-zone p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.drag-drop-zone .highlight {
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1.1rem;
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ⚡ ELECTRIC SHOCK ANIMATIONS ⚡ */

/* 💧 WATER DROP ANIMATIONS 💧 */

/* Water Drop Expand - Damla büyümesi */
@keyframes waterDropExpand {
  0% {
    width: 20px;
    height: 20px;
    opacity: 1;
  }
  100% {
    width: 60px;
    height: 60px;
    opacity: 0;
  }
}

/* Water Ripple - Su dalgası */
@keyframes waterRipple {
  0% {
    width: 30px;
    height: 30px;
    opacity: 0.6;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* Drag & Drop Upload Zone */
.drag-drop-zone {
  border: 3px dashed rgba(0, 212, 255, 0.4);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 30, 34, 0.5) 0%, rgba(20, 24, 28, 0.5) 100%);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.drag-drop-zone:hover {
  border-color: var(--primary-green);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 180, 255, 0.1) 100%);
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.drag-drop-zone.dragover {
  border-color: var(--primary-green);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 180, 255, 0.2) 100%);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.drag-drop-zone i {
  font-size: 4rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
  display: block;
  animation: pulse 2s infinite;
}

.drag-drop-zone p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

.drag-drop-zone .highlight {
  color: var(--primary-green);
  font-weight: 700;
}

/* Image Preview */
.image-preview {
  position: relative;
  max-width: 400px;
  margin: 1rem auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(0, 212, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.image-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.image-preview .remove-image {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-preview .remove-image:hover {
  background: rgba(255, 0, 0, 1);
  transform: scale(1.2);
}

/* README Editor Styling */
.readme-content ul, .readme-content ol {
  color: var(--text-secondary);
  padding-left: 2rem;
}

.readme-content li {
  margin-bottom: 0.5rem;
}

.readme-content a {
  color: var(--primary-green);
  text-decoration: underline;
}

.readme-content a:hover {
  color: #00d4ff;
}

.readme-content blockquote {
  border-left: 4px solid var(--primary-green);
  padding-left: 1rem;
  margin-left: 0;
  color: var(--text-secondary);
  font-style: italic;
}

.readme-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1rem 0;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.readme-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.readme-content table th,
.readme-content table td {
  padding: 0.75rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.readme-content table th {
  background: rgba(0, 212, 255, 0.15);
  color: var(--primary-green);
  font-weight: 700;
}

.readme-content hr {
  border: none;
  border-top: 2px solid rgba(0, 212, 255, 0.3);
  margin: 2rem 0;
}

.readme-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.readme-content strong {
  color: var(--text-primary);
  font-weight: 700;
}

.readme-content em {
  color: var(--primary-green);
}

/* Badge Styling in README */
.readme-content img[alt*="badge"],
.readme-content img[alt*="shield"] {
  display: inline-block;
  margin: 0.2rem;
  border: none;
}

.readme-content pre code {
  color: var(--primary-green);
  display: block;
  padding: 0;
  background: transparent;
}