:root {
  --bg: #131314;
  --surface: #131314;
  --surface-low: #1c1b1c;
  --primary: #dbfcff;
  --primary-container: #00f0ff;
  --secondary: #ebb2ff;
  --secondary-container: #bc13fe;
  --on-surface: #e5e2e3;
  --on-surface-var: #b9cacb;
  --outline: #849495;
  --outline-var: #3b494b;

  --gradient-primary: linear-gradient(135deg, #dbfcff 0%, #00f0ff 100%);
  --gradient-secondary: linear-gradient(135deg, #ebb2ff 0%, #bc13fe 100%);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 0px;
}

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

html {
  scroll-behavior: smooth;
}

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

::selection {
  background: rgba(0, 240, 255, 0.25);
  color: var(--primary-container);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--outline-var);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 240, 255, 0.5);
}

/* Neural BG */
.neural-bg {
  display: none;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 1;
}

/* Glass Card */
.glass-card {
  background: rgba(32, 31, 32, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(58, 73, 75, 0.25);
  transition: var(--transition);
}

.glass-card:hover {
  background: rgba(42, 42, 43, 0.85);
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.08);
}

.text-primary {
  color: var(--primary-container);
}

.text-secondary {
  color: var(--secondary-container);
}

.border-primary {
  border-left: 2px solid var(--primary-container);
}

.border-secondary {
  border-left: 2px solid var(--secondary-container);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
}

.accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-text {
  color: var(--primary-container);
}

.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary-container);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 5px 12px;
  background: rgba(0, 240, 255, 0.05);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(19, 19, 20, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  transition: var(--transition);
}

.nav.scrolled {
  padding: 12px 40px;
  background: rgba(19, 19, 20, 0.95);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.nav-logo-bracket {
  color: var(--primary-container);
}

.nav-logo-name {
  margin: 0 4px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--on-surface-var);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-container);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-primary);
  color: #0a0a0b;
  padding: 10px 24px;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 12px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

/* Mobile Menu Button */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
  transition: var(--transition);
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--on-surface);
  transition: var(--transition);
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav {
    padding: 15px 24px;
  }

  .nav.scrolled {
    padding: 10px 24px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(19, 19, 20, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(0, 240, 255, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-link {
    font-size: 16px;
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 60px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 10;
  position: relative;
  gap: 40px;
}

.hero-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.1), transparent 70%);
  top: -50px;
  left: -100px;
  border-radius: 50%;
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(188, 19, 254, 0.08), transparent 70%);
  bottom: 50px;
  right: 10%;
  border-radius: 50%;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite reverse;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hero-content {
  flex: 1;
  max-width: 650px;
  z-index: 10;
  position: relative;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff88;
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-meta-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--on-surface-var);
  letter-spacing: 0.15em;
}

.hero-title {
  font-size: clamp(3.5rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 24px;
  letter-spacing: -0.05em;
}

.hero-title-line {
  display: block;
}

.hero-role {
  font-family: var(--font-display);
  font-size: clamp(14px, 4vw, 20px);
  color: var(--primary-container);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: clamp(14px, 3.5vw, 16px);
  color: var(--on-surface-var);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #0a0a0b;
  padding: 14px 30px;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: var(--transition);
}

.btn-secondary {
  border: 1px solid rgba(132, 148, 149, 0.4);
  color: var(--on-surface-var);
  padding: 13px 30px;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.4);
}

.btn-secondary:hover {
  border-color: var(--primary-container);
  color: var(--primary-container);
  background: rgba(0, 240, 255, 0.05);
}

.hero-visual {
  flex: 0 0 450px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.hero-avatar-container {
  position: relative;
  width: clamp(240px, 30vw, 320px);
  height: clamp(240px, 30vw, 320px);
  border-radius: 50%;
  padding: 4px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(20%) contrast(120%);
  border: 2px solid rgba(0, 240, 255, 0.5);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.1);
}

.hero-ring {
  inset: -15px;
  border-width: 2px;
  z-index: 1;
  border-color: rgba(0, 240, 255, 0.4);
  border-style: dashed;
}

.hero-hud {
  position: absolute;
  right: -30px;
  bottom: 10px;
  width: 200px;
  padding: 15px;
  border-left: 2px solid var(--secondary-container);
  flex-direction: column;
  gap: 8px;
  z-index: 5;
  background: rgba(32, 31, 32, 0.85);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments for Hero */
@media (max-width: 1024px) {
  .hero {
    padding-top: 140px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-visual {
    flex: 0 0 auto;
    margin-bottom: 40px;
    order: -1;
  }

  .hero-hud {
    display: none;
  }

  .hero-tags,
  .hero-actions {
    justify-content: center;
  }
}

.hud-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--secondary-container);
}

.hud-bar-bg {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
}

.hud-bar-fill {
  height: 100%;
  background: var(--secondary-container);
}

.hud-footer {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.8;
  letter-spacing: 0.1em;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.scroll-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--outline);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--outline), transparent);
  animation: scrollDrop 2s infinite;
}

@keyframes scrollDrop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Sections */
.section {
  padding: 100px 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary-container);
  margin-bottom: 24px;
  letter-spacing: 0.2em;
  opacity: 0.8;
}

.section-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 40px;
  letter-spacing: -0.04em;
}

.section-title-sm {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: -0.03em;
}

/* About Section */
.about {
  background: transparent;
  max-width: 100% !important;
  padding-left: max(40px, calc((100vw - 1120px) / 2));
  padding-right: max(40px, calc((100vw - 1120px) / 2));
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

.about-text-content {
  margin-bottom: 40px;
}

.about-text {
  margin-bottom: 16px;
  color: var(--on-surface-var);
  font-size: 15px;
  line-height: 1.8;
}

.about-text strong {
  color: var(--on-surface);
  font-weight: 600;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--outline);
  letter-spacing: 0.15em;
}

.info-value {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--on-surface);
}

/* Profile Card */
.about-card {
  padding: 40px;
}

.card-header {
  margin-bottom: 30px;
}

.card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary-container);
  letter-spacing: 0.15em;
}

.profile-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 30px;
  position: relative;
  border-radius: 50%;
  z-index: 2;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(20%) contrast(120%);
  position: relative;
  z-index: 2;
  border: 2px solid rgba(0, 240, 255, 0.5);
}

.avatar-glow-ring {
  position: absolute;
  inset: -15px;
  border: 2px solid;
  border-color: rgba(0, 240, 255, 0.4);
  border-radius: 50%;
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: spin 8s linear infinite;
  z-index: 1;
}

.profile-details {
  text-align: center;
  margin-bottom: 24px;
}

.profile-name {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.profile-title {
  font-size: 14px;
  color: var(--on-surface-var);
  margin-bottom: 8px;
}

.profile-org {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary-container);
  letter-spacing: 0.1em;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.data-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 12px;
  background: rgba(188, 19, 254, 0.15);
  border: 1px solid rgba(235, 178, 255, 0.3);
  color: #e5e2e3;
  white-space: nowrap;
}

.data-chip.secondary-chip {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--primary-container);
}

/* Experience Section */
.exp-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  position: relative;
}

.exp-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 32px;
}

.exp-dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--outline);
  background: var(--bg);
  z-index: 2;
  flex-shrink: 0;
}

.exp-dot.active {
  border-color: var(--primary-container);
  background: var(--primary-container);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.exp-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--outline-var), transparent);
  margin-top: 8px;
  min-height: 40px;
}

.exp-content {
  padding: 32px 40px;
  margin-bottom: 30px;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.exp-role {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--on-surface);
  margin-bottom: 6px;
}

.exp-company {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary-container);
  letter-spacing: 0.1em;
}

.exp-period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--outline);
  letter-spacing: 0.1em;
}

.exp-desc p {
  color: var(--on-surface-var);
  font-size: 14.5px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.exp-desc p:last-child {
  margin-bottom: 0;
}

.exp-desc strong {
  color: #fff;
  font-weight: 600;
}

.exp-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.tag-sm {
  font-family: var(--font-mono);
  font-size: 10px;
  border: 1px solid rgba(132, 148, 149, 0.3);
  padding: 4px 10px;
  color: var(--on-surface-var);
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.skill-category {
  padding: 32px;
  border-top: 2px solid rgba(0, 240, 255, 0.4);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.skill-cat-icon {
  font-size: 20px;
}

.skill-cat-name {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-display);
}

.skill-cat-level {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.level-bar {
  height: 100%;
  background: var(--primary-container);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.skill-name {
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
  color: var(--on-surface-var);
  font-weight: 500;
}

.skill-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.skill-fill {
  height: 100%;
  background: var(--primary-container);
  transition: width 1s ease-out;
}

.skill-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.project-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary-container);
}

.project-type {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--outline);
  font-weight: 700;
}

.project-status {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border: 1px solid #00ff88;
  color: #00ff88;
}

.project-title {
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  min-height: 32px;
}

.project-desc {
  color: var(--on-surface-var);
  font-size: 14.5px;
  margin-bottom: 8px;
  line-height: 1.7;
  min-height: 104px;
}

.project-tech {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.project-media {
  margin: 12px 0 24px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  aspect-ratio: 16 / 9;
  background: #0b0b0c;
  position: relative;
}

.project-media img,
.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  opacity: 0.85;
  transition: opacity 0.3s;
  cursor: crosshair;
  display: block;
}

.project-media:hover img,
.project-media:hover video {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-right {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 24px 60px;
  }

  .section {
    padding: 80px 24px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions a {
    text-align: center;
  }

  .exp-item {
    grid-template-columns: 20px 1fr;
    gap: 16px;
  }

  .exp-marker {
    padding-top: 24px;
  }

  .exp-content {
    padding: 24px;
  }

  .about {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image Modal / Lightbox */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.image-modal.active .modal-content {
  transform: scale(1);
}

#modal-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: var(--primary-container);
  padding: 15px 0;
  font-family: var(--font-mono);
  font-size: 14px;
}

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

.modal-close:hover {
  color: var(--primary-container);
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 70%;
  }
}