:root {
  color-scheme: dark;
  --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #14b8a6 100%);
  --gradient-secondary: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  --color-cyan: #06b6d4;
  --color-sky: #0ea5e9;
  --color-teal: #14b8a6;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #020617;
  background-image:
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
}

.font-display {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}


[data-hero-canvas] {
  position: relative;
  overflow: hidden;
}

[data-hero-canvas]::after {
  content: '';
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle at 50% 35%, rgba(56, 189, 248, 0.18), transparent 60%);
  opacity: 0.45;
  pointer-events: none;
}

[data-hero-canvas] canvas {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  background: transparent !important;
  display: block;
}

.glass-panel {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(148, 163, 184, 0.07);
  padding: 28px;
  box-shadow: 0 30px 60px -40px rgba(15, 118, 110, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.glass-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(30, 41, 59, 0.55);
  padding: 0.35rem 0.85rem;
  box-shadow: 0 10px 18px -14px rgba(59, 130, 246, 0.8);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.glass-chip:hover,
.glass-chip:focus-visible {
  border-color: rgba(148, 163, 184, 0.6);
  background: rgba(59, 130, 246, 0.25);
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}

.primary-cta {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(14, 165, 233, 0.9));
  color: white;
  box-shadow: 0 18px 35px -18px rgba(59, 130, 246, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 45px -20px rgba(59, 130, 246, 0.9);
}

.secondary-cta {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(30, 41, 59, 0.55);
  color: rgba(226, 232, 240, 0.82);
}

.secondary-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(59, 130, 246, 0.25);
}

.control-btn {
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.7);
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.9);
  transition: background 0.2s ease, transform 0.2s ease;
}

.control-btn:hover {
  transform: translateY(-1px);
  background: rgba(59, 130, 246, 0.3);
}

.control-btn.active {
  background: rgba(59, 130, 246, 0.45);
  border-color: rgba(59, 130, 246, 0.7);
}

.lang-toggle {
  border-radius: 9999px;
  padding: 0.35rem 0.95rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid transparent;
  color: rgba(203, 213, 225, 0.82);
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.lang-toggle:hover {
  color: rgba(226, 232, 240, 0.98);
}

.lang-toggle.active {
  background: rgba(59, 130, 246, 0.35);
  color: #e2e8f0;
  border-color: rgba(59, 130, 246, 0.55);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(56, 189, 248, 0.8);
}

.section-title {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.1;
  font-weight: 600;
  color: #e2e8f0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.9);
}

.form-field input,
.form-field textarea {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.55);
  padding: 0.75rem 1rem;
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}




.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
  max-width: 72rem; /* max-w-6xl = 72rem */
  width: 100%;
  padding: 6rem 1.5rem;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #ffffff;
  max-width: 900px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(226, 232, 240, 0.75);
  margin-bottom: 2.5rem;
  max-width: 650px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  justify-content: flex-start;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 2rem;
  }
}

/* Section Separator */
.section-separator {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.5) 50%, transparent 100%);
  margin: 4rem 0;
}

.section-separator::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(14, 165, 233, 0.9));
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

/* Portfolio Section */
.portfolio-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.6);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 40px -20px rgba(59, 130, 246, 0.3);
}

.portfolio-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(14, 165, 233, 0.15));
}

.placeholder-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(59, 130, 246, 0.6);
  transition: color 0.3s ease, transform 0.3s ease;
}

.portfolio-card:hover .placeholder-image {
  color: rgba(59, 130, 246, 0.9);
  transform: scale(1.1);
}

.portfolio-content {
  padding: 1.75rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

.project-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 0.75rem;
}

.project-date i {
  font-size: 1rem;
  color: rgba(6, 182, 212, 0.8);
}

.portfolio-description {
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.portfolio-description p {
  margin: 0 0 0.5rem 0;
}

.portfolio-description p:last-child {
  margin-bottom: 0;
}

.portfolio-description a {
  color: #22d3ee;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.portfolio-description a:hover {
  color: #06b6d4;
}

.portfolio-description strong {
  font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
}

.portfolio-description em {
  font-style: italic;
}

.portfolio-description code {
  font-family: 'Courier New', monospace;
  background: rgba(59, 130, 246, 0.15);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.15);
  color: rgba(147, 197, 253, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.3);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tech-tag:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: auto;
  max-width: 420px;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(6, 182, 212, 0.1);
  animation: slide-up 0.4s ease-out;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner h3 {
  color: #e2e8f0;
  margin: 0;
}

.cookie-banner p {
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner .primary-cta {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(14, 165, 233, 0.9));
  color: white;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border: none;
}

.cookie-banner .primary-cta:hover {
  transform: translateY(-1px);
}

.cookie-banner .secondary-cta {
  background: rgba(30, 41, 59, 0.7);
  color: rgba(226, 232, 240, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.cookie-banner .secondary-cta:hover {
  background: rgba(51, 65, 85, 0.8);
  border-color: rgba(148, 163, 184, 0.5);
}

.cookie-banner .control-btn {
  background: transparent;
  color: rgba(226, 232, 240, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.cookie-banner .control-btn:hover {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.5);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fade-in 0.2s ease-out;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 60px rgba(139, 92, 246, 0.15);
  animation: scale-in 0.3s ease-out;
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #e2e8f0;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.7;
}

.modal-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

.modal-footer {
  padding: 1rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(226, 232, 240, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-color: rgba(6, 182, 212, 0.5);
}

/* Custom Scrollbar */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.8);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.9);
}

/* Company Info Card */
.company-info-card {
  width: 80%;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
}

.company-info-content {
  text-align: left;
}

.company-info-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.company-info-content p {
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.7);
  margin-bottom: 0.25rem;
  line-height: 1.6;
}

.company-name {
  margin-top: 0.5rem;
}

.company-link {
  color: rgba(59, 130, 246, 0.9);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.company-link:hover {
  color: rgba(59, 130, 246, 1);
}

.company-email {
  display: inline-block;
  margin-top: 0.5rem;
  color: rgba(59, 130, 246, 0.9);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.company-email:hover {
  color: rgba(59, 130, 246, 1);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .company-info-card {
    width: 100%;
  }
}

/* Cookie Status Card */
.cookie-status-card {
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
}

.cookie-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cookie-status-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.not-set {
  background: rgba(148, 163, 184, 0.2);
  color: rgba(203, 213, 225, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.status-badge.accepted {
  background: rgba(34, 197, 94, 0.15);
  color: rgba(134, 239, 172, 0.95);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.declined {
  background: rgba(239, 68, 68, 0.15);
  color: rgba(252, 165, 165, 0.95);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.cookie-status-text {
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.7);
  margin-bottom: 1rem;
}

#reset-cookies {
  width: 100%;
  justify-content: center;
}

/* Contact Section Centered */
.contact-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-heading {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(14, 165, 233, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subheading {
  font-size: 1.1rem;
  color: rgba(226, 232, 240, 0.7);
  margin-bottom: 3rem;
}

/* Footer Logo */
.footer-logo {
  height: 25px;
  width: auto;
  object-fit: contain;
}

/* Hidden class for modals */
.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .glass-panel {
    border-radius: 20px;
    padding: 22px;
  }
  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.25rem;
  }

  .modal-content {
    border-radius: 20px;
    max-height: 90vh;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Header animated wordmark */
.header-logo{
  position: relative;
  height: 44px; /* matches header height nicely */
  width: min(260px, 52vw);
  cursor: pointer;
  --stroke-width: 2.2;
}
.header-logo svg#hdr-logo{ position:absolute; inset:0; z-index:2 }
.header-logo .particles{ position:absolute; inset:0; z-index:1; pointer-events:none; opacity:0; transition:opacity .25s ease }
.header-logo:hover .particles{ opacity:1 }

/* stroke-draw effect */
#hdr-word{
  fill: none;
  stroke: url(#hdr-blue);
  stroke-width: var(--stroke-width);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* animated gradient shift for stroke */
.gradient-shift{ animation: hdr-gradShift 3.2s linear infinite }
@keyframes hdr-gradShift{ 0%{ } 50%{ } 100%{ } }

/* fill layer fades in per-letter via JS */
#hdr-fill{ fill: url(#hdr-blueSoft); opacity: 0 }
@keyframes hdr-fillIn{ to{ opacity:1 } }

/* subtle stroke-width bump on hover */
.header-logo:hover #hdr-word{ stroke-width: calc(var(--stroke-width) + .4) }

/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce){
  .header-logo .gradient-shift, #hdr-fill, #hdr-word { animation: none !important }
}


/* Portfolio Image Styles */
.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
}

/* View Gallery Button */
.view-gallery-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(6, 182, 212, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.view-gallery-btn:hover {
  background: rgba(14, 165, 233, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(6, 182, 212, 0.3);
}

.view-gallery-btn i {
  font-size: 18px;
}

/* Tech Icon Styles */
.tech-icon {
  font-size: 16px;
  margin-right: 4px;
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.lightbox-overlay.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(220, 38, 38, 0.9);
  transform: scale(1.1);
}

.lightbox-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-height: 100%;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(90vh - 120px);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-description {
  text-align: center;
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  max-width: 600px;
}

.lightbox-description p {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.lightbox-counter {
  font-size: 14px;
  color: rgba(148, 163, 184, 1);
}

.lightbox-nav {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lightbox-nav:hover:not(:disabled) {
  background: rgba(6, 182, 212, 0.9);
  transform: scale(1.1);
}

.lightbox-nav:disabled {
  cursor: not-allowed;
}

.lightbox-prev {
  margin-right: auto;
}

.lightbox-next {
  margin-left: auto;
}

/* Mobile Lightbox Adjustments */
@media (max-width: 768px) {
  .lightbox-container {
    flex-direction: column;
    gap: 10px;
  }

  .lightbox-nav {
    position: absolute;
    bottom: 20px;
    width: 48px;
    height: 48px;
  }

  .lightbox-prev {
    left: 20px;
    margin: 0;
  }

  .lightbox-next {
    right: 20px;
    margin: 0;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .lightbox-image {
    max-height: calc(90vh - 200px);
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.4), 0 0 40px rgba(6, 182, 212, 0.05);
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  min-width: 320px;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.hiding {
  opacity: 0;
  transform: translateX(400px);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.toast-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.toast-message {
  font-size: 15px;
  line-height: 1.5;
  color: #e2e8f0;
  flex: 1;
}

.toast-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(226, 232, 240, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.toast-close i {
  font-size: 16px;
}

/* Toast Types */
.toast-success {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 12px 28px -8px rgba(34, 197, 94, 0.2), 0 0 40px rgba(34, 197, 94, 0.05);
}

.toast-success .toast-icon {
  color: #22c55e;
}

.toast-error {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 12px 28px -8px rgba(239, 68, 68, 0.2), 0 0 40px rgba(239, 68, 68, 0.05);
}

.toast-error .toast-icon {
  color: #ef4444;
}

.toast-warning {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 12px 28px -8px rgba(245, 158, 11, 0.2), 0 0 40px rgba(245, 158, 11, 0.05);
}

.toast-warning .toast-icon {
  color: #f59e0b;
}

.toast-info {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 12px 28px -8px rgba(59, 130, 246, 0.2), 0 0 40px rgba(59, 130, 246, 0.05);
}

.toast-info .toast-icon {
  color: #3b82f6;
}

.toast-loading {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 12px 28px -8px rgba(6, 182, 212, 0.2), 0 0 40px rgba(6, 182, 212, 0.05);
}

.toast-loading .toast-icon {
  color: #06b6d4;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Mobile Toast Adjustments */
@media (max-width: 640px) {
  .toast-container {
    top: auto;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: none;
  }

  .toast {
    min-width: 0;
    width: 100%;
    transform: translateY(400px);
  }

  .toast.show {
    transform: translateY(0);
  }

  .toast.hiding {
    transform: translateY(400px);
  }
}
