@charset "UTF-8";
/* Базовые переменные через :root, чтобы было легко править темing */
:root {
  --bg: #0b0e14;
  --surface: #121724;
  --surface-2: #0f1320;
  --text: #dfe6f6;
  --muted: #9aa3b2;
  --accent: #6ea8ff;
  --accent-2: #a38bff;
  --border: rgba(255, 255, 255, .08);
  --container: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Utilities */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-title {
  font-weight: 800;
  font-size: clamp(28px, 2.5vw, 40px);
  letter-spacing: 0.3px;
  margin: 0 0 28px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 68px;
  z-index: 50;
  -webkit-backdrop-filter: saturate(120%) blur(8px);
          backdrop-filter: saturate(120%) blur(8px);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  border-bottom: 1px solid var(--border);
}
.site-header .header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.site-header .logo .logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-weight: 800;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0e1220;
  box-shadow: var(--shadow);
}
.site-header .logo .logo-text {
  font-weight: 700;
  letter-spacing: 0.2px;
}
.site-header .main-nav {
  margin-left: auto;
  display: flex;
  gap: 16px;
}
.site-header .main-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: 0.2s ease;
}
.site-header .main-nav a:hover {
  border-color: var(--border);
  background: #0d1220;
}
.site-header .burger {
  display: none;
  margin-left: 8px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}
.site-header .burger span,
.site-header .burger span::before,
.site-header .burger span::after {
  display: block;
  content: "";
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  position: relative;
  top: 0;
  transition: 0.2s ease;
}
.site-header .burger span::before {
  position: absolute;
  top: -6px;
}
.site-header .burger span::after {
  position: absolute;
  top: 6px;
}
@media (max-width: 900px) {
  .site-header .main-nav {
    display: none;
  }
  .site-header .burger {
    display: inline-block;
  }
}

#modelHost canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.model-placeholder {
  pointer-events: none;
}

.hero {
  position: relative;
  height: 100vh;
  display: grid;
  place-items: center;
  background: #000;
  overflow: hidden;
  padding-block: clamp(24px, 6vw, 64px);
  /* ===== overlay фонарика ===== */
  /* SVG заголовок */
  /* ====== планшеты (≤980px) ====== */
  /* ====== мобильные (≤640px) ====== */
  /* очень маленькие (≤380px) — ещё компактнее */
  /* уважение к пользователю: меньше анимаций */
}
@media (max-width: 640px) {
  .hero {
    max-height: 48vh;
  }
}
.hero .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero .hero-left {
  align-self: center;
  max-width: 720px;
}
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  --mx: -100vw;
  --my: -100vh;
  background: radial-gradient(450px 450px at var(--mx) var(--my), rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.85) 75%, rgba(0, 0, 0, 0.95) 85%, #000 100%);
  transition: opacity 0.25s ease;
  opacity: 1;
}
.hero.lights-on .hero-overlay {
  opacity: 0;
}
.hero .nick-3d-visually-hidden {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.hero .nick-3d-svg {
  display: block;
  height: clamp(120px, 18vw, 150px);
  /* было 160px */
  width: auto;
  margin-inline: 0 auto;
}
.hero .hero-subtitle {
  color: var(--muted, #ccc);
  margin: 6px 0 20px;
  font-size: clamp(13px, 1.7vw, 16px);
  /* чуть меньше */
  line-height: 1.45;
}
.hero .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .hero-actions .btn {
  font-size: clamp(12px, 1.6vw, 14px);
  /* меньше текст на кнопках */
  padding: clamp(10px, 1.6vw, 12px) clamp(14px, 2.4vw, 18px);
  border-radius: 10px;
}
.hero .hero-right {
  align-self: center;
}
.hero .hero-right .model-card {
  height: clamp(240px, 34vw, 400px);
  /* чуть меньше */
  border-radius: var(--radius, 14px);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  background: radial-gradient(120% 120% at 100% 0%, rgba(110, 168, 255, 0.08), transparent 60%), linear-gradient(180deg, #121724 0%, #0f1320 100%);
  box-shadow: var(--shadow, 0 10px 30px rgba(0, 0, 0, 0.35));
  display: grid;
  place-items: center;
  position: relative;
}
.hero .hero-right .model-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(110, 168, 255, 0.15);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}
.hero .hero-right .model-placeholder {
  font-size: clamp(18px, 3.6vw, 34px);
  /* меньше */
  letter-spacing: 6px;
  color: #aab6d6;
  opacity: 0.5;
  text-transform: uppercase;
}
@media (max-width: 980px) {
  .hero .hero-inner {
    grid-template-columns: 1fr;
    gap: clamp(20px, 6vw, 40px);
    text-align: center;
  }
  .hero .hero-right {
    order: -1;
  }
  .hero .nick-3d-svg {
    margin-inline: auto;
  }
}
@media (max-width: 640px) {
  .hero {
    /* Скрываем модель на маленьких устройствах */
  }
  .hero .hero-overlay {
    background: radial-gradient(240px 240px at var(--mx) var(--my), rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.85) 39%, rgba(0, 0, 0, 0.95) 62%, #000 100%);
  }
  .hero .hero-right {
    display: none;
  }
  .hero #toggleLight {
    display: none;
  }
  .hero .nick-3d-svg {
    height: clamp(84px, 20vw, 110px);
  }
  .hero .hero-subtitle {
    font-size: clamp(12px, 3.8vw, 15px);
  }
  .hero .hero-actions {
    gap: 10px;
  }
  .hero .hero-actions .btn {
    font-size: clamp(12px, 3.6vw, 14px);
    padding: 10px 14px;
    width: 95%;
    /* удобнее тапнуть */
    justify-content: center;
  }
}
@media (max-width: 380px) {
  .hero .nick-3d-svg {
    height: 78px;
  }
  .hero .hero-subtitle {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-overlay {
    transition: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  background: #0e1424;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0e1220;
  font-weight: 700;
}

.btn-ghost {
  background: transparent;
}

/* About */
.about {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02));
}
.about .about-inner {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 40px;
  align-items: center;
}
.about .about-text p {
  margin: 0 0 16px;
  color: #cdd6ea;
}
.about .about-highlights {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.about .about-highlights .hl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #11182a;
  border: 1px solid var(--border);
  color: #cfd8ee;
  font-size: 14px;
}
@media (max-width: 700px) {
  .about .about-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.about .about-socials {
  margin-top: 24px;
  display: flex;
  gap: 16px;
}
.about .about-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #11182a;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  color: #cfd8ee;
  font-size: 20px;
  transition: all 0.3s ease;
}
.about .about-socials a:hover {
  transform: translateY(-3px) scale(1.08);
  background: linear-gradient(135deg, var(--accent, #6ea8ff), var(--accent-2, #a38bff));
  color: #fff;
  box-shadow: 0 6px 18px rgba(110, 168, 255, 0.35);
}
.about .about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: clip;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about .about-photo img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 980px) {
  .about .about-inner {
    grid-template-columns: 1fr;
  }
}

.skills {
  overflow: hidden;
  padding: 100px 0;
  position: relative;
  background: #0d111a;
  /* === живой фон === */
  /* === сетка === */
  /* === карточки навыков === */
  /* адаптив */
}
.skills .skills-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, #6ea8ff, #15e4c6, #a38bff, #6ea8ff);
  background-size: 300% 300%;
  animation: gradientFlow 14s ease infinite;
  filter: blur(100px) opacity(0.35);
}
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.skills .container {
  position: relative;
  z-index: 1;
}
.skills .section-title {
  text-align: center;
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 50px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #6ea8ff, #a38bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}
.skills .skills-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.skills .skill {
  background: rgba(20, 24, 38, 0.9);
  border-radius: 18px;
  padding: 30px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: transform 0.35s cubic-bezier(0.21, 1.02, 0.73, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 0 25px rgba(21, 228, 198, 0.15);
  /* shine эффект */
  /* hover эффекты */
}
.skills .skill i {
  font-size: 40px;
  margin-bottom: 14px;
  color: var(--accent, #15e4c6);
  filter: drop-shadow(0 0 6px var(--accent, #15e4c6));
  transition: transform 0.3s ease;
}
.skills .skill h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #6ea8ff, #a38bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.skills .skill p {
  font-size: 15px;
  color: #aab6d6;
  line-height: 1.5;
}
.skills .skill::after {
  content: "";
  position: absolute;
  inset: -100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
  transform: translateX(-100%) rotate(25deg);
  transition: opacity 0.3s ease;
  opacity: 0;
}
.skills .skill:hover::after {
  animation: shineMove 1.2s forwards;
  opacity: 1;
}
@keyframes shineMove {
  100% {
    transform: translateX(200%) rotate(25deg);
  }
}
.skills .skill:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--accent, #15e4c6);
  box-shadow: 0 0 20px rgba(21, 228, 198, 0.5), 0 0 40px rgba(21, 228, 198, 0.35);
}
.skills .skill:hover i {
  transform: scale(1.15);
}
@media (max-width: 640px) {
  .skills {
    padding: 70px 0;
  }
  .skills .section-title {
    margin-bottom: 30px;
  }
  .skills .skill {
    padding: 24px 18px;
  }
}

.projects {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
  overflow: hidden;
  isolation: isolate;
  background: #0b0f18;
  /* ——— Глубокий фон: перелив + “ленты” + шум ——— */
  /* ——— Сетка карточек ——— */
  /* ——— Карточка ——— */
  /* ——— Медиа (изображение) ——— */
  /* ——— Контент карточки ——— */
  /* ——— Hover: 3D-движ и зум медиа ——— */
  /* ——— Scroll-reveal ——— */
}
.projects::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, #0d111a 0%, transparent 100%);
  clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%);
  z-index: 2;
}
.projects .container {
  position: relative;
  z-index: 2;
}
.projects .section-title {
  text-align: center;
  margin: 0 0 36px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--accent, #6ea8ff), var(--accent-2, #a38bff));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.projects .projects-bg {
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(60% 60% at 15% 30%, rgba(110, 168, 255, 0.22), transparent 60%), radial-gradient(60% 60% at 85% 20%, rgba(163, 139, 255, 0.24), transparent 60%), radial-gradient(60% 60% at 55% 85%, rgba(21, 228, 198, 0.2), transparent 60%), conic-gradient(from 220deg at 50% 50%, rgba(110, 168, 255, 0.12), rgba(163, 139, 255, 0.12), rgba(21, 228, 198, 0.12), rgba(255, 140, 249, 0.1), rgba(110, 168, 255, 0.12));
  filter: blur(70px) saturate(120%);
  animation: projectsFlow 18s ease-in-out infinite alternate;
}
@keyframes projectsFlow {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-28px) scale(1.03);
  }
}
.projects .projects-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,      <svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'>      <filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/></filter>      <rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>");
  mix-blend-mode: overlay;
}
.projects .projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 28px);
}
@media (max-width: 1100px) {
  .projects .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .projects .projects-grid {
    grid-template-columns: 1fr;
  }
}
.projects .project-card {
  position: relative;
  border-radius: 18px;
  overflow: clip;
  background: rgba(13, 17, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
  /* неоновая рамка-маска */
  /* диагональный яркий shine */
  transition: transform 0.35s cubic-bezier(0.21, 1.02, 0.73, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.projects .project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--accent, #6ea8ff), var(--accent-2, #a38bff));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.85;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 16px rgba(110, 168, 255, 0.4));
}
.projects .project-card::after {
  content: "";
  position: absolute;
  inset: -120%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%);
  transform: translateX(-100%) rotate(18deg);
  opacity: 0;
  pointer-events: none;
}
.projects .project-card:hover::after {
  animation: projectShine 1.15s ease forwards;
  opacity: 1;
}
@keyframes projectShine {
  100% {
    transform: translateX(200%) rotate(18deg);
  }
}
.projects .project-card:hover::before {
  filter: drop-shadow(0 0 28px rgba(110, 168, 255, 0.6));
}
.projects .project-media {
  position: relative;
  overflow: hidden;
  height: clamp(180px, 26vw, 280px);
  background: #0f1422;
  /* мягкая маска, чтобы текст читался */
}
.projects .project-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transform: scale(1.02) translateZ(0);
  transition: transform 0.6s cubic-bezier(0.21, 1.02, 0.73, 1), filter 0.4s ease;
  filter: saturate(1.05) contrast(1.02);
}
.projects .project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(11, 17, 32, 0.68), rgba(11, 17, 32, 0) 60%);
}
.projects .project-meta {
  position: relative;
  padding: 18px 18px 20px;
  display: grid;
  gap: 10px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(110, 168, 255, 0.08), transparent 60%), linear-gradient(180deg, rgba(18, 23, 36, 0.9), rgba(15, 19, 32, 0.9));
}
.projects .project-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.projects .project-desc {
  margin: 0;
  color: #aab6d6;
  line-height: 1.55;
}
.projects .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.projects .project-tags span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(110, 168, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cfe2ff;
}
.projects .project-actions {
  margin-top: 4px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.projects .project-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dfe6ff;
  background: #0e1424;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.projects .project-actions .btn i {
  opacity: 0.9;
}
.projects .project-actions .btn:hover {
  transform: translateY(-1px);
}
.projects .project-actions .btn-ghost {
  background: transparent;
}
.projects .project-actions .btn-ghost:hover {
  background: rgba(110, 168, 255, 0.15);
}
.projects .project-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(110, 168, 255, 0.25);
}
.projects .project-card:hover .project-media img {
  transform: scale(1.08);
}
.projects .project-card {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}
.projects .project-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.21, 1.02, 0.73, 1);
}

/* Заглушки разделов */
.placeholder {
  color: #c9d3ea;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.placeholder p {
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0e1320;
}
.site-footer .footer-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-footer .to-top {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  background: #0f1424;
  transition: 0.2s ease;
}
.site-footer .to-top:hover {
  transform: translateY(-2px);
}

/* Отступ на высоту фикс-хедера */
#hero,
.section {
  scroll-margin-top: 76px;
}

.sparkles {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* ниже контента */
  overflow: hidden;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: sparkleAnim linear forwards;
}

@keyframes sparkleAnim {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-50px) scale(0.2);
    opacity: 0;
  }
}
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  animation: zoomIn 0.35s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0.5;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 36px;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
}/*# sourceMappingURL=style.css.map */