:root {
  --primary-color: #00d9ff;
  --secondary-color: #7b2cbf;
  --accent-color: #ff006e;
  --dark-bg: #0a0e27;
  --darker-bg: #050816;
  --light-text: #e0e7ff;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --glow-color: rgba(0, 217, 255, 0.5);
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding: 0;
  background: var(--dark-bg);
  color: var(--light-text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Animated background */
.hero-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1d3a 50%, #0a0e27 100%);
  overflow: hidden;
}

.hero-background::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Grid pattern overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
}

/* Navbar styling */
.navbar {
  background: rgba(10, 14, 39, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 217, 255, 0.2) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px var(--glow-color);
}

.nav-link {
  color: var(--light-text) !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%;
  width: 0;
  height: 2px;
  background: var(--gradient-3);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  text-shadow: 0 0 10px var(--glow-color);
}

/* Hero section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 2s ease-in-out infinite alternate;
  text-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
}

@keyframes glow {
  from { filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5)); }
  to { filter: drop-shadow(0 0 40px rgba(0, 217, 255, 0.8)); }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #a0aec0;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-description {
  font-size: 1.1rem;
  color: #cbd5e0;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Buttons */
.btn-glow {
  background: var(--gradient-3);
  border: none;
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
  text-decoration: none;
  display: inline-block;
  margin: 0.5rem;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.6);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin: 0.5rem;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.4);
}

/* Feature cards */
.feature-section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: #a0aec0;
  font-size: 1.2rem;
  margin-bottom: 4rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.feature-description {
  color: #cbd5e0;
  line-height: 1.6;
  flex: 1;
}

/* Code blocks */
.code-block {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem 0;
  font-family: 'Courier New', monospace;
  color: #00ff00;
  overflow-x: auto;
}

/* Screenshots */
.screenshot-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(0, 217, 255, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  background: rgba(0, 0, 0, 0.3);
}

.screenshot-container:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.4);
}

.screenshot-img {
  width: 100%;
  display: block;
}

/* Footer */
footer {
  background: rgba(5, 8, 22, 0.95);
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  color: #a0aec0;
  padding: 2rem 0;
  margin-top: auto;
}

footer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--glow-color);
}

/* Particle effect */
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  animation: rise 10s linear infinite;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh);
  }
}

/* Stats section */
.stats-section {
  background: rgba(0, 0, 0, 0.2);
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  border-bottom: 1px solid rgba(0, 217, 255, 0.2);
  margin: 5rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: #a0aec0;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Download section */
.download-card {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(0, 217, 255, 0.3);
  border-radius: 20px;
  padding: 3rem;
  margin: 2rem 0;
  text-align: center;
  transition: all 0.3s ease;
}

.download-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
  transform: translateY(-5px);
}

.download-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.download-description {
  color: #cbd5e0;
  margin-bottom: 2rem;
}

/* Container adjustments */
.container {
  max-width: 1200px;
}

/* Main content area */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Image Slider Styles */
.slider-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin-top: 56px; /* Account for fixed navbar */
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 14, 39, 0.7) 0%,
    rgba(10, 14, 39, 0.4) 50%,
    rgba(10, 14, 39, 0.8) 100%
  );
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-header {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 217, 255, 0.5);
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.slide-footer {
  font-size: 1.5rem;
  color: #e0e7ff;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  line-height: 1.6;
}

/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 217, 255, 0.3);
  border: 2px solid rgba(0, 217, 255, 0.5);
  color: white;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border-radius: 10px;
}

.slider-arrow:hover {
  background: rgba(0, 217, 255, 0.6);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow-left {
  left: 2rem;
}

.slider-arrow-right {
  right: 2rem;
}

.slider-arrow span {
  display: block;
  line-height: 1;
}

/* Slider Dots Navigation */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.slider-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(0, 217, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background: rgba(0, 217, 255, 0.7);
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.8);
  transform: scale(1.3);
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
  .slider-section {
    height: 400px;
  }
  
  .slide-header {
    font-size: 2rem;
  }
  
  .slide-footer {
    font-size: 1rem;
  }
  
  .slider-arrow {
    font-size: 1.5rem;
    padding: 0.75rem 1rem;
  }
  
  .slider-arrow-left {
    left: 1rem;
  }
  
  .slider-arrow-right {
    right: 1rem;
  }
  
  .slider-dots {
    bottom: 1rem;
  }
  
  .slider-dot {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .slider-section {
    height: 350px;
  }
  
  .slide-header {
    font-size: 1.5rem;
  }
  
  .slide-footer {
    font-size: 0.9rem;
  }
}

/* Wiki Filter Buttons */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(0, 217, 255, 0.3);
  color: var(--light-text);
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.4), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.filter-btn:hover::before {
  width: 300px;
  height: 300px;
}

.filter-btn:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.4);
  color: var(--primary-color);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(75, 172, 254, 0.2));
  border-color: var(--primary-color);
  color: white;
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.6), inset 0 0 20px rgba(0, 217, 255, 0.2);
  transform: scale(1.1);
}

.filter-btn.active::after {
  /* Removed '?' icon */
  content: '';
  display: none;
}

/* Wiki Grid */
.wiki-grid {
  position: relative;
  transition: height 0.6s ease;
}

.wiki-item {
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  opacity: 1;
  transform: scale(1);
}

/* Wiki Tags */
.wiki-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.wiki-tags .tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(75, 172, 254, 0.1));
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.wiki-tags .tag:hover {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(75, 172, 254, 0.2));
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

/* Filter Particle Animation */
.filter-particle {
  animation: particleFade 0.8s ease-out forwards;
}

@keyframes particleFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* Isotope Animations */
.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

.isotope,
.isotope .isotope-item {
  transition-duration: 0.6s;
}

.isotope {
  transition-property: height, width;
}

.isotope .isotope-item {
  transition-property: transform, opacity;
}

/* Magical filter effect */
.wiki-item.filtering-out {
  animation: filterOut 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.wiki-item.filtering-in {
  animation: filterIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes filterOut {
  0% {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8) rotateY(90deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.3) rotateY(180deg);
  }
}

@keyframes filterIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotateY(-180deg);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8) rotateY(-90deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
  }
}

/* Responsive filter buttons */
@media (max-width: 768px) {
  .filter-buttons {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .filter-btn.active::after {
    left: 8px;
    font-size: 0.9rem;
  }
  
  .wiki-tags .tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .filter-buttons {
    gap: 0.4rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* Screenshot Lightbox Styles */
.screenshot-clickable {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 217, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
  z-index: 2;
}

.screenshot-clickable:hover .screenshot-overlay {
  opacity: 1;
}

.screenshot-zoom-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  animation: pulse 1.5s ease-in-out infinite;
}

.screenshot-zoom-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Lightbox Modal */
.screenshot-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.screenshot-lightbox.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease-out;
}

.lightbox-content {
  position: relative;
  max-width: 95%;
  max-height: 95%;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.lightbox-content.zoom-in {
  transform: scale(1);
  opacity: 1;
}

.lightbox-image-container {
  position: relative;
  max-width: 90vw;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 1rem;
  border: 2px solid rgba(0, 217, 255, 0.3);
  box-shadow: 0 20px 80px rgba(0, 217, 255, 0.3);
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
  animation: imageZoom 0.3s ease-out;
}

@keyframes imageZoom {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(0, 217, 255, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  line-height: 1;
  padding: 0;
}

.lightbox-close:hover {
  background: rgba(255, 0, 0, 0.8);
  border-color: #ff0000;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 217, 255, 0.3);
  border: 2px solid rgba(0, 217, 255, 0.5);
  color: white;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  line-height: 1;
  padding: 0;
  z-index: 10001;
}

.lightbox-nav:hover {
  background: rgba(0, 217, 255, 0.8);
  border-color: var(--primary-color);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.8);
  transform: translateY(-50%) scale(1.15);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

.lightbox-caption {
  margin-top: 1.5rem;
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 0.5s ease-out 0.2s both;
}

.lightbox-caption h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.lightbox-caption p {
  color: #cbd5e0;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.lightbox-counter {
  display: inline-block;
  background: rgba(0, 217, 255, 0.2);
  border: 1px solid rgba(0, 217, 255, 0.4);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  color: white;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* Responsive lightbox */
@media (max-width: 768px) {
  .lightbox-image-container {
    max-height: 60vh;
    padding: 0.5rem;
  }
  
  .lightbox-image {
    max-height: 60vh;
  }
  
  .lightbox-close {
    top: -40px;
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
  
  .lightbox-nav {
    width: 50px;
    height: 50px;
    font-size: 2.5rem;
  }
  
  .lightbox-prev {
    left: 1rem;
  }
  
  .lightbox-next {
    right: 1rem;
  }
  
  .lightbox-caption h3 {
    font-size: 1.4rem;
  }
  
  .lightbox-caption p {
    font-size: 1rem;
  }
  
  .screenshot-zoom-icon {
    font-size: 2rem;
  }
  
  .screenshot-zoom-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .lightbox-image-container {
    max-height: 50vh;
  }
  
  .lightbox-image {
    max-height: 50vh;
  }
  
  .lightbox-close {
    top: -35px;
    width: 35px;
    height: 35px;
    font-size: 1.8rem;
  }
  
  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 2rem;
  }
  
  .lightbox-prev {
    left: 0.5rem;
  }
  
  .lightbox-next {
    right: 0.5rem;
  }
  
  .lightbox-caption h3 {
    font-size: 1.2rem;
  }
  
  .lightbox-caption p {
    font-size: 0.9rem;
  }
  
  .lightbox-counter {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }
}

/* Enhance screenshot container hover effect */
.screenshot-container {
  transition: all 0.3s ease;
}

.screenshot-container:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.4);
}

/* Add shine effect on hover */
.screenshot-clickable::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.screenshot-clickable:hover::before {
  left: 100%;
}