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

:root {
  --primary-accent: #6e45e2;
  --secondary-accent: #88d3ce;
}

body {
  background: #0a0e17;
  font-family: "Poppins", sans-serif;
}

#gallery {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(135deg, #0a0e17 0%, #1a1f3a 50%, #0f1525 100%);
  color: #fff;
}

#gallery h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 60px;
  font-weight: 800;
  background: linear-gradient(135deg, #88d3ce 0%, #6e45e2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: "Orbitron", sans-serif;
}

.gallery-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-card {
  width: 320px;
  border-radius: 20px;
  background: rgba(22, 27, 34, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(136, 211, 206, 0.1);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 20px 40px rgba(110, 69, 226, 0.6);
  border-color: rgba(136, 211, 206, 0.4);
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-cta {
  text-align: center;
  margin-top: 3rem;
}

.gallery-btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
  border: none;
  border-radius: 50px;
  color: white;
  cursor: pointer;
  transition: all 0.4s ease;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(110, 69, 226, 0.3);
}

.gallery-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(110, 69, 226, 0.5);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 80px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

.lightbox-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 40px rgba(136,211,206,0.5);
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: #fff;
  padding: 16px;
  margin-top: -50px;
  user-select: none;
  transition: 0.3s;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover, .close:hover {
  color: var(--secondary-accent);
}

@media (max-width: 768px) {
  .gallery-card { width: 240px; }
  .lightbox-img { max-width: 95%; max-height: 70%; }
}
