/* CSS Variables for Cyber Theme */
:root {
  --bg-color: #050505;
  --bg-secondary: #0a0f0d;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;

  /* Neon Colors */
  --neon-green: #0f0;
  --neon-cyan: #0ff;
  --neon-purple: #bc13fe;
  --neon-accent: var(--neon-cyan); /* Primary accent */

  --font-mono: "Fira Code", monospace;
  --font-sans: "Inter", sans-serif;

  --header-height: 70px;
  --glow-shadow:
    0 0 10px rgba(0, 255, 255, 0.3), 0 0 20px rgba(0, 255, 255, 0.1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Canvas */
#matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.15; /* Sutil */
  pointer-events: none;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.terminal-prompt {
  color: var(--neon-green);
  margin-right: 0.5rem;
}

.highlight {
  color: var(--neon-green);
  font-weight: 600;
}

.accent-color {
  color: var(--neon-cyan);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.sticky-header {
  position: sticky;
  top: 0;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.nav-links a.disabled {
  color: #444;
  cursor: not-allowed;
  text-decoration: line-through;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  transition: 0.3s;
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-text h2 {
  font-size: 1.5rem;
  color: var(--neon-purple);
  margin-bottom: 1rem;
}

.glow-text {
  text-shadow: var(--glow-shadow);
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.institution {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
}

.hero-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  border-left: 3px solid var(--neon-green);
  padding-left: 1rem;
  text-align: left;
  background: rgba(0, 255, 0, 0.05);
  padding: 1.5rem;
}

/* Sections Common */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #333;
  padding-bottom: 1rem;
  display: inline-block;
}

/* Profile Section */
.profile-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border: 1px solid #333;
  position: relative;
  overflow: hidden;
}

.glow-border {
  position: relative;
  transition: box-shadow 0.3s ease;
}

.glow-border:hover {
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  border-color: var(--neon-cyan);
}

.profile-layout {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.profile-image-placeholder {
  width: 200px;
  height: 200px;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--neon-purple);
  font-size: 4rem;
}

.interests-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.interests-list li {
  background: rgba(188, 19, 254, 0.1);
  color: var(--neon-purple);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  border: 1px solid rgba(188, 19, 254, 0.3);
}

/* Tech Info Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.tech-card {
  background: #0d0d0d;
  padding: 2rem;
  border: 1px solid #222;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-green);
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.1);
}

.tech-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.security-badge {
  display: inline-block;
  margin-top: 0.5rem;
  background: rgba(0, 255, 0, 0.1);
  color: var(--neon-green);
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  border-radius: 4px;
  border: 1px solid var(--neon-green);
}

/* Contact Form */
.form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid #333;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: #000;
  border: 1px solid #333;
  color: #fff;
  font-family: var(--font-sans);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* Footer */
footer {
  padding: 2rem 0;
  border-top: 1px solid #222;
  background: #080808;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: #555;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--neon-cyan);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }

  .profile-layout {
    flex-direction: column;
    text-align: center;
  }

  .interests-list {
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #000;
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid #333;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-description {
    text-align: left;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .social-links a {
    margin: 0 1rem;
  }
}

/* Skill Icons */
.skill-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: middle;
  stroke: currentColor;
}

/* Avatar SVG */
.avatar-svg {
  width: 80%;
  height: 80%;
  filter: drop-shadow(0 0 5px var(--neon-cyan));
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Interests Grid */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.interest-card {
  background: rgba(10, 15, 13, 0.6);
  padding: 1.5rem;
  border: 1px solid #222;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.interest-card:hover {
  background: rgba(10, 15, 13, 0.9);
  transform: translateY(-5px);
}

.interest-card h4 {
  color: #fff;
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
}

.interest-card p {
  font-size: 0.9rem;
  color: #aeaeae;
}

.card-icon {
  display: inline-flex;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Form Validation Styles */
.error-message {
  color: #ff3333;
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
  height: 1rem; /* Reserve space */
  font-family: var(--font-mono);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #555;
  color: #555;
  box-shadow: none;
}

.submit-btn:disabled:hover {
  background: transparent;
  box-shadow: none;
  border-color: #555;
}

input.invalid {
  border-color: #ff3333;
}

/* Mobile Section Title Fix */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.1rem;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-all;
    hyphens: auto;
    max-width: 100%;
    display: block;
    line-height: 1.4;
  }

  /* Also reduce general heading sizes on mobile */
  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }
}

/* Mobile-only message (for desktop-only features) */
.mobile-only-message {
  display: none;
  background: rgba(188, 19, 254, 0.1);
  border: 1px solid var(--neon-purple);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
}

.mobile-only-message h3 {
  color: var(--neon-purple);
  margin-bottom: 1rem;
}

.mobile-only-message p {
  color: #ddd;
}

.mobile-only-message .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .mobile-only-message {
    display: block;
  }

  .desktop-only {
    display: none !important;
  }
}

/* Disabled Cards */
.disabled-card {
  opacity: 0.5;
  filter: grayscale(0.8);
  pointer-events: none;
}

/* Article Styles for Activities */
.article-container {
  background: rgba(10, 15, 13, 0.95); /* High opacity for readability */
  padding: 3rem;
  border: 1px solid #333;
  border-radius: 4px;
  margin-bottom: 3rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.article-content {
  color: #e0e0e0;
  font-size: 1.05rem;
}

.article-content h2 {
  color: var(--neon-cyan);
  border-bottom: 2px solid var(--neon-purple);
  padding-bottom: 0.5rem;
  margin-top: 3rem;
}

.article-content h3 {
  color: #fff;
  margin-top: 2rem;
}

.article-content p {
  margin-bottom: 1.2rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* Tables */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.95rem;
}

.responsive-table th,
.responsive-table td {
  border: 1px solid #333;
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.responsive-table th {
  background: rgba(188, 19, 254, 0.1);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-weight: 600;
}

.responsive-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Blockquotes in articles */
blockquote {
  border-left: 4px solid var(--neon-green);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  background: rgba(0, 255, 0, 0.05);
  padding: 1rem;
}

/* Print Styles */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  #matrix-bg,
  .sticky-header,
  footer,
  .btn-print,
  .mobile-menu-btn {
    display: none !important;
  }

  .article-container {
    background: #fff;
    color: #000;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }

  h1,
  h2,
  h3,
  h4,
  .terminal-prompt {
    color: #000 !important;
    text-shadow: none !important;
  }

  a {
    text-decoration: underline;
    color: #000;
  }

  .responsive-table th {
    background: #eee;
    color: #000;
    border: 1px solid #000;
  }

  .responsive-table td {
    border: 1px solid #000;
    color: #000;
  }
}

/* Print Button */
.btn-print {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.btn-print:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Activity Content Fixes */
.article-content section {
  padding: 1.5rem 0 !important; /* Override global section padding */
}

/* Code Block Styling */
.article-content pre {
  background: #1a1a1a;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #333;
  margin: 1rem 0 1.5rem 0;
  overflow-x: auto;
  white-space: pre-wrap;       /* Wrap long lines */
  word-wrap: break-word;       /* Break long words if needed */
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--neon-cyan);
}

.article-content code {
  font-family: var(--font-mono);
}

/* Roadmap / Timeline Styles */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px; /* Position of the vertical line */
  width: 4px;
  background: rgba(188, 19, 254, 0.3);
  box-shadow: 0 0 10px rgba(188, 19, 254, 0.2);
  border-radius: 2px;
}

.timeline-node {
  position: relative;
  display: flex;
  margin-bottom: 3rem;
  padding-left: 90px; /* Space for the line and point */
  width: 100%;
}

.timeline-point {
  position: absolute;
  left: 31px; /* Center circle on the line */
  top: 20px;
  width: 22px;
  height: 22px;
  background: var(--bg-secondary);
  border: 3px solid var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-node:hover .timeline-point {
  transform: scale(1.2);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.9);
  background: var(--neon-cyan);
}

.timeline-content {
  background: rgba(10, 15, 13, 0.8);
  border: 1px solid #333;
  padding: 2rem;
  border-radius: 8px;
  width: 100%;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 26px;
  left: -15px;
  border-style: solid;
  border-width: 10px 15px 10px 0;
  border-color: transparent #333 transparent transparent;
}

.timeline-content::after {
  content: '';
  position: absolute;
  top: 27px;
  left: -13px;
  border-style: solid;
  border-width: 9px 14px 9px 0;
  border-color: transparent rgba(10, 15, 13, 0.9) transparent transparent;
}

.timeline-node:hover .timeline-content {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
}

.timeline-node:hover .timeline-content::before {
  border-color: transparent var(--neon-cyan) transparent transparent;
}

.lab-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.lab-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lab-badge.apprentice {
  background: rgba(0, 255, 0, 0.1);
  color: var(--neon-green);
  border: 1px solid var(--neon-green);
}

.lab-badge.practitioner {
  background: rgba(188, 19, 254, 0.1);
  color: var(--neon-purple);
  border: 1px solid var(--neon-purple);
}

.lab-badge.expert {
  background: rgba(0, 255, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
}

.lab-title {
  color: #fff;
  margin: 0;
  font-size: 1.3rem;
  flex: 1;
}

.lab-image-placeholder {
  width: 100%;
  height: 250px;
  background: #111 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="rgba(255,255,255,0.05)"><rect width="100" height="100"/><text x="50" y="50" font-family="monospace" font-size="6" text-anchor="middle" fill="%23444">Screenshot Placeholder</text></svg>') center center no-repeat;
  background-size: cover;
  border: 1px solid #222;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lab-details h4 {
  color: var(--neon-cyan);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.lab-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.technical-evidence {
  background: #000;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 1.2rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  overflow-x: auto;
  border-left: 3px solid var(--neon-purple);
}

.technical-evidence p {
  margin: 0;
}

.payload-text {
  color: var(--neon-green);
  word-break: break-all;
}

.cta-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(188, 19, 254, 0.1);
  border: 2px solid var(--neon-purple);
  color: var(--neon-purple);
  padding: 1rem 2rem;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(188, 19, 254, 0.2);
  text-align: center;
  margin: 0 auto;
}

.cta-download-btn:hover {
  background: var(--neon-purple);
  color: #fff;
  box-shadow: 0 0 25px rgba(188, 19, 254, 0.6);
  transform: translateY(-2px);
}

.cta-download-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* Roadmap Header Text */
.roadmap-intro {
  max-width: 800px;
  margin: 2rem auto 4rem;
  text-align: center;
}

@media (max-width: 768px) {
  .timeline-container::before {
    left: 20px;
  }
  .timeline-point {
    left: 11px;
    width: 18px;
    height: 18px;
  }
  .timeline-node {
    padding-left: 50px;
  }
  .timeline-content::before {
    left: -12px;
    border-width: 8px 12px 8px 0;
  }
  .timeline-content::after {
    left: -10px;
    border-width: 7px 11px 7px 0;
  }
  .lab-title {
    font-size: 1.1rem;
    width: 100%;
  }
}

/* Image Gallery & Lightbox Styles */
.gallery-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  margin-top: 15px;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-purple) #111;
}

.gallery-row::-webkit-scrollbar {
  height: 6px;
}

.gallery-row::-webkit-scrollbar-track {
  background: #111;
  border-radius: 3px;
}

.gallery-row::-webkit-scrollbar-thumb {
  background: var(--neon-purple);
  border-radius: 3px;
}

.gallery-thumb {
  height: 80px;
  width: auto;
  min-width: 120px;
  object-fit: cover;
  border: 1px solid #333;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.gallery-thumb:hover {
  opacity: 1;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Modal / Lightbox Full Screen */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(5px);
  overflow: hidden;
}

.lightbox-content-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 20px;
}

.lightbox-img-container {
  position: relative;
  max-width: 90%;
  max-height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
  border-radius: 4px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {transform: scale(0.9); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.lightbox-caption {
  margin-top: 20px;
  width: 90%;
  max-width: 800px;
  color: #fff;
  text-align: center;
  font-size: 1.1rem;
  background: rgba(10, 15, 13, 0.8);
  padding: 15px;
  border-radius: 6px;
  border-bottom: 2px solid var(--neon-purple);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--neon-green);
}

.lightbox-prev, .lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background-color: rgba(188, 19, 254, 0.6);
  border-color: var(--neon-purple);
  color: #fff;
}

.lightbox-prev {
  left: 20px;
  border-radius: 3px 0 0 3px;
}

.lightbox-next {
  right: 20px;
  border-radius: 0 3px 3px 0;
}

/* Image Counter */
.lightbox-counter {
  position: absolute;
  top: 25px;
  left: 30px;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: bold;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(5, 5, 5, 0.95);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.8);
  border: 1px solid #333;
  border-top: 2px solid var(--neon-purple);
  border-radius: 0 0 4px 4px;
  z-index: 1005;
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
}

.dropdown-content a {
  color: var(--text-secondary);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
  border-left: 3px solid transparent;
}

.dropdown-content a:hover {
  background-color: rgba(188, 19, 254, 0.1);
  color: var(--neon-cyan);
  border-left: 3px solid var(--neon-cyan);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 1rem;
    min-width: 100%;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
}
