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

html {
  background: #331E66;
}


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

body {
  animation: fadeIn .2s ease;
  font-family: "Nunito", sans-serif;
  background:
    url('../images/fon.webp') repeat,
    radial-gradient(circle at top right, rgba(122, 65, 255, .25), transparent 30%),
    radial-gradient(circle at bottom left, rgba(122, 65, 255, .15), transparent 30%),
    #050816;
  color: #fff;
  min-height: 100dvh;
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(112, 0, 255, .06), transparent),
    radial-gradient(circle at 80% 20%, rgba(180, 100, 255, .15), transparent 25%);
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 10px;
}

.card {
  position: relative;
  margin-top: 5px;
  margin-bottom: 0;
  padding: 20px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(110, 60, 220, .14), transparent 42%),
    linear-gradient(180deg, rgba(22, 12, 58, .98) 0%, rgba(8, 5, 28, 1) 100%);
  border: 1px solid rgba(120, 80, 220, .28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .02),
    0 0 18px rgba(70, 40, 160, .16),
    0 12px 30px rgba(0, 0, 0, .6);
  overflow: hidden;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(150, 100, 255, .4);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .025),
    0 0 22px rgba(100, 60, 200, .22),
    0 18px 40px rgba(0, 0, 0, .7);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  margin-bottom: 16px;
}

.section-title img {
  width: 30px;
  height: 30px;
}

.stack-group {
  margin-bottom: 28px;
}

.stack-group h3,
.education-item h3 {
  color: #b278ff;
  margin-bottom: 5px;
  font-size: 19px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags span {
  border: 1px solid rgba(141, 92, 255, .4);
  background: rgba(141, 92, 255, .06);
  color: #f2ecff;
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.education-item {
  margin-bottom: 10px;
}

.education-item p {
  color: #bfc3d9;
  font-size: 13px;
  line-height: 1.4;
}

.language-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
  display: block;
}

.dots .active {
  background: #9a63ff;
  box-shadow: 0 0 10px #9a63ff;
}

.language-item small {
  color: #a9adc2;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero {
  display: grid;
  grid-template-columns: 150px 1fr 80px;
  gap: 20px;
  align-items: center;
  max-width: 900px;
  margin: 60px auto 0;
}

.hero-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bottom {
  grid-column: 1 / -1;
}

.avatar {
  width: 106%;
  max-width: 300px;
  border-radius: 24px;
  border: 2px solid #8d5cff;
}

.hero h1 {
  font-size: 60px;
  line-height: .95;
  margin-top: 10px;
  margin-bottom: 20px;
}

.hero h2 {
  color: #9c63ff;
  font-size: 27px;
  margin-bottom: 2px;
}

.hero p {
  color: #d1d4e6;
  line-height: 1.8;
  max-width: 900px;
}

.contacts {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid rgba(141, 92, 255, .2);
  border-radius: 7px;
  background: rgba(255, 255, 255, .02);
transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.contact-item:hover {
  background: rgba(141, 92, 255, .15);
  border-color: rgba(141, 92, 255, .45);
  box-shadow: 0 0 12px rgba(141, 92, 255, .25);
}

.contact-item img {
  width: 18px;
}

.hero-graphics {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphics img {
  width: 340%;
  opacity: .85;
  transform: translateX(-60px);
}

.experience-item {
  margin-bottom: 20px;
}

.experience-item h3 {
  font-size: 32px;

}

.experience-item h4 {
  margin-top: 4px;
  margin-bottom: 10px;
  font-size: 24px;
  color: #b277ff;
}

.date {
  display: inline-block;
  margin-bottom: 18px;
  color: #9ca3be;
}

.experience-item p,
.second-job li,
.info-box li {
  color: #b8a8d4;
  line-height: 1.2;
}
.simple-list li {

  line-height: 1.2;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.info-box {
  position: relative;
  padding: 22px 22px 12px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(140, 80, 255, .22), transparent 45%),
    linear-gradient(180deg, rgba(48, 24, 110, .96) 0%, rgba(17, 10, 50, .98) 100%);
  border: 1px solid rgba(170, 120, 255, .35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .03),
    0 0 20px rgba(120, 70, 255, .18),
    0 10px 30px rgba(0, 0, 0, .45);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.info-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, .55),
    rgba(180, 120, 255, .35),
    rgba(255, 255, 255, .08),
    rgba(120, 70, 255, .5)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.info-box::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 80px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, .14),
    transparent
  );
  transform: rotate(-6deg);
  opacity: .8;
  pointer-events: none;
}

.info-box:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 140, 255, .55);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .04),
    0 0 30px rgba(140, 80, 255, .3),
    0 18px 40px rgba(0, 0, 0, .55);
}

.info-box ul {
  padding-left: 14px;
  margin-bottom: 0;
}

.info-box li {
  margin-bottom: 10px;
  color: #b8a8d4;
  line-height: 1.2;
}

.info-box li::marker {
  color: #ffd84d;
}

.info-box h5 {
  margin-bottom: 12px;
  color: #b277ff;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(180, 120, 255, .45);
}

.info-box ul,
.simple-list,
.second-job ul,
.project-card ul {
  padding-left: 10px;
}

.full-width {
  grid-column: 1 / -1;
}

.project-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, #b277ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-card p {
  color: #d5d8eb;
  margin-bottom: 8px;
  line-height: 1.2;
}

.project-card li {
  color: rgba(255, 255, 255, .9);
  line-height: 1.2;
  margin-bottom: 5px;
}
.card.projects-card p {
  margin-bottom: 8px;
}
.badge {
  display: inline-block;
  margin-bottom: 2px;
  padding: 6px 10px;
  background: rgba(141, 92, 255, .12);
  border: 1px solid rgba(141, 92, 255, .35);
  border-radius: 999px;
  color: #cba6ff;
  font-size: 13px;
}

.simple-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.availability {
  margin-top: 26px;
  padding: 10px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 600;
  border-radius: 16px;
  background: linear-gradient(135deg, #7f4fff, #ac72ff);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  font-size: 19px;
  line-height: 1.2;
}

.availability:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 25px rgba(127, 79, 255, .45);
}

.availability:active {
  transform: scale(.98);
}

.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 60px;
  background: rgba(0, 0, 0, .8);
  z-index: 3;
}

.menu {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 40px;
    flex-wrap: nowrap;
}
nav {
  margin-left: auto;
}
.menu ul {
  display: flex;
  gap: 6px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
}

.menu a {
  white-space: nowrap;
  font-size: 14px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, .5);
  font-weight: bold;
  padding-bottom: 5px;
  transition: all .3s ease;
}

nav a.active {
  color: yellow;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: yellow;
  transition: width .3s ease;
}

nav a.active::after {
  width: 100%;
}

nav a:hover {
  color: yellow;
}

nav a:hover::after {
  width: 100%;
}

nav ul:hover a {
  color: rgba(255, 255, 255, .3);
}

nav ul a:hover {
  color: yellow;
}

nav ul:hover a.active {
  color: rgba(255, 255, 255, .3);
}

nav ul a.active:hover {
  color: yellow;
}

.logo {
  height: 40px;
  width: auto;
}

.sidebar,
.content {
  min-width: 0;
}


/* BURGER */

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 5px;
  z-index: 100;
}

.burger-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: .3s;
}

.burger-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.open span:nth-child(2) {
  opacity: 0;
}

.burger-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}



.contact-item a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: .2s ease;
}

.contact-item a:hover {
  color: #ffd84d;
}

.mail-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  z-index: 9999;
  backdrop-filter: blur(8px);
}

.mail-modal.active {
  opacity: 1;
  visibility: visible;
}

.mail-window {
  width: 420px;
  background: linear-gradient(180deg, rgba(25, 15, 60, .98), rgba(10, 5, 30, 1));
  border: 1px solid rgba(140, 90, 255, .35);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 0 30px rgba(120, 70, 255, .25), 0 20px 50px rgba(0, 0, 0, .6);
  position: relative;
}

.mail-window h2 {
  margin-bottom: 20px;
  color: #fff;
}

.mail-window input,
.mail-window textarea {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
}

.mail-window textarea {
  min-height: 140px;
  resize: vertical;
}

.send-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #7f4fff, #a86cff);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: .2s ease;
}

.send-btn:hover {
  transform: translateY(-2px);
}

.send-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.email-trigger {
  cursor: pointer;
  transition: color .3s ease;
}

.email-trigger span {
  color: rgba(255, 255, 255, .5);
  transition: color .3s ease;
}

.email-trigger:hover span {
  color: yellow;
}

.projects-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
  margin-bottom: 0;
}

.projects-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(90, 40, 170, .35), rgba(25, 10, 50, .92));
  border: 1px solid rgba(180, 120, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 25px rgba(0, 0, 0, .35);
  position: relative;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
}

.project-card::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
  pointer-events: none;
}

.project-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 22px;
  border: 2px solid rgba(180, 120, 255, .5);
  box-shadow: 0 0 24px rgba(130, 80, 255, .25);
}

.bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.projects-card {
  position: relative;
}

.squidgame-showcase {
  position: relative;
  margin-top: 20px;
  padding: 13px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(120, 70, 255, .16), transparent 35%),
    linear-gradient(180deg, rgba(18, 10, 50, .98), rgba(7, 4, 24, 1));
  border: 1px solid rgba(150, 100, 255, .32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 0 35px rgba(100, 60, 220, .18), 0 25px 60px rgba(0, 0, 0, .55);
  overflow: hidden;
}

.squidgame-showcase::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(160, 100, 255, .18), transparent 70%);
  pointer-events: none;
}

.squidgame-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 34px;
}

.squidgame-left {
  position: relative;
}

.squidgame-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: -17px;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(150, 100, 255, .4), transparent);
}

.squidgame-main {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
}

.squidgame-logo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 22px;
  border: 2px solid rgba(180, 120, 255, .5);
  box-shadow: 0 0 24px rgba(130, 80, 255, .25);
}

.squidgame-title h2 {
  font-size: 24px;
  line-height: .9;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff, #b277ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.squidgame-title h3 {
  color: #9d63ff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.squidgame-description {
  color: #d6d9eb;
  line-height: 1.4;
  font-size: 16px;
  margin-bottom: 8px;
}

.squid-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.squid-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 9px;
}

.squid-feature img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  opacity: .95;
}

.squid-feature h4 {
  font-size: 15px;
  margin-bottom: 3px;
    line-height: 1.1;
  color: #c993ff;
}

.squid-feature p {
  color: #b9bfd9;
  line-height: 1.1;
}

.squidgame-right h3 {
  margin-top: 12px;
  margin-bottom: 14px;
  color: #9d63ff;
  font-size: 20px;
  font-weight: 800;
}

.squidgame-gallery {
  display: flex;
  gap: 8px;
}

.squid-shot {
  width: 140px;
  flex-shrink: 0;
}

.squid-shot img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(170, 120, 255, .35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.squid-shot img:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(220, 160, 255, .6);
  box-shadow: 0 18px 40px rgba(120, 70, 255, .32);
}

.squid-shot p {
  color: #f0f2ff;
  line-height: 1.35;
  font-size: 16px;
}

.squidgame-bottom {
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(80, 40, 170, .22), rgba(20, 10, 50, .88));
  border: 1px solid rgba(160, 110, 255, .18);
}

.squidgame-bottom-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.squidgame-bottom-left img {
  width: 60px;
  height: 60px;
}

.squidgame-bottom-left p {
  max-width: 520px;
  color: #d5d9eb;
  line-height: 1.5;
  font-size: 15px;
  margin-bottom: 2px;
}

.squidgame-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.squidgame-stack span {
  padding: 8px 16px;
  border-radius: 400px;
  background: rgba(141, 92, 255, .08);
  border: 1px solid rgba(141, 92, 255, .35);
  color: #c998ff;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .container {
    width: 100%;
    padding: 14px;
    grid-template-columns: 1fr;
  }

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

  .hero-avatar,
  .hero-text,
  .hero-graphics,
  .contacts {
    justify-content: center;
    text-align: center;
  }

  .sidebar,
  .content {
    width: 100%;
  }

  .hero h1 {
    font-size: 45px;
  }


  .container {
    padding: 14px;
    gap: 14px;
  }

  .card {
    padding: 18px;
    border-radius: 18px;
  }

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

  .contacts {
    flex-direction: column;
  }

  .contact-item {
    width: 100%;
  }

  .hero h1 {
    font-size: 42px;
  }

  .section-title {
    font-size: 22px;
  }

  .experience-item h3 {
    font-size: 26px;
  }

  .projects-row,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .squidgame-layout {
    grid-template-columns: 1fr;
  }

  .squidgame-left::after {
    display: none;
  }

  .squidgame-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .squidgame-title h2 {
    font-size: 24px;
  }

  .squidgame-right h3 {
    font-size: 20px;
  }

  .squidgame-gallery {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .squid-shot {
    width: 150px;
  }

  .squid-shot img {
    height: 280px;
  }

  .squidgame-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .squidgame-stack {
    justify-content: flex-start;
  }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 2px;
  opacity: 0.6;
  padding: 3px;
  border-radius: 9px;
  background:
    linear-gradient(
      180deg,
      rgba(50, 25, 100, .95),
      rgba(18, 10, 45, .95)
    );

  border: 1px solid rgba(141, 92, 255, .22);

  box-shadow:
    0 0 10px rgba(120,70,255,.12);
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 24px;

  border-radius: 6px;

  text-decoration: none;

  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .5px;

  color: rgba(255,255,255,.55);

  transition:
    .2s ease;
}
.lang-btn:hover {
  color: #fff;

  background:
    rgba(141,92,255,.12);
}
.lang-btn.active {
  color: #fff;

  background:
    linear-gradient(
      135deg,
      #7f4fff,
      #ac72ff
    );

  box-shadow:
    0 0 10px rgba(140,90,255,.35);
}
.lang-switch:hover .lang-btn {
  opacity: .35;
}

.lang-switch .lang-btn:hover {
  opacity: 1;
}







/* =========================
   MOBILE ADAPTIVE
========================= */
@media (max-width: 900px),
@media (max-width: 768px) {

  body {
    font-size: 17px;
	}
.burger-btn {
  display: flex;
}



nav {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,.92);
  z-index: 999;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);

  transition: 
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

nav.open {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
}


nav ul {
  flex-direction: column;
  gap: 0;
  width: 100%;
}

nav li {
  width: 100%;
}

nav a {
   display: block;
   border-bottom: none;
   text-align: center;
   font-size: 13px;
   padding: 6px 8px;
  }
  /* HEADER */

  .header {
    height: 60px;
    padding: 0px 0;
  }
  .menu {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 100%;
    padding: 0 12px;
  }

  .logo {
    height: 34px;
	  margin-top: 0px;
  }

  nav {
    margin-left: 0;
    width: 100%;
  }

  nav ul {
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }



  .lang-switch {
    margin-top: 0px;
  }

  /* HERO */

  .hero {
    display: grid;
    grid-template-columns: 1fr;
	
  }

  .hero-avatar {
    grid-row: 1;
		  margin-top: 0px;
  }

  .hero-text {
    grid-row: 2;
  }

  .hero-bottom {
    grid-row: 3;
    grid-column: 1;
  }

  .hero-graphics {
    display: none;
  }
  
 
  .hero h1 {
    font-size: 34px;
    line-height: 1;
  }

  .hero h2 {
    font-size: 18px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.6;
  }

  .avatar {
    width: 180px;
    max-width: 100%;
  }

  /* CONTAINER */

  .container {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 12px;
  }

  .card {
    padding: 16px;
    border-radius: 18px;
  }

  /* TITLES */

  .section-title {
    font-size: 21px;
    gap: 10px;
  }

  .section-title img {
    width: 24px;
    height: 24px;
  }

  /* TEXT */

  .experience-item h3 {
    font-size: 25px;
  }

  .experience-item h4 {
    font-size: 19px;
  }

  .stack-group h3,
  .education-item h3 {
    font-size: 18px;
  }

  .project-card h3 {
    font-size: 19px;
  }

  .squidgame-title h2 {
    font-size: 23px;
  }

  .squidgame-title h3 {
    font-size: 16px;
  }

  /* TAGS */

  .tags {
    gap: 8px;
  }

  .tags span {
    font-size: 17px;
    padding: 5px 8px;
  }

  /* CONTACTS */

  .contacts {
    flex-direction: column;
  }

  .contact-item {
    width: 100%;
  justify-content: flex-start;
  text-align: left;
  flex-wrap: nowrap;
  }

  .contact-item a {
    word-break: break-word;
  }

  /* GRIDS */

  .experience-grid,
  .projects-row,
  .bottom-grid,
  .squidgame-layout {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: auto;
  }

  /* INFO BOX */

  .info-box {
    padding: 18px 16px 10px;
  }

  .info-box h5 {
    font-size: 19px;
  }

  .info-box li {
    font-size: 16px;
    line-height: 1.4;
  }

  /* SQUID SECTION */

  .squidgame-showcase {
    padding: 16px;
  }

.squidgame-main {
    flex-direction: row;   /* ← ключевое */
    align-items: center;
    text-align: left;
    gap: 12px;
  }

  .squidgame-logo {
    width: 90px;
    height: 90px;
  }

  .squidgame-description {
    text-align: left;
    font-size: 16px;
  }
  .squidgame-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    overflow: visible; /* убираем скролл */
  }

  .squid-shot {
    hight: 100%;
    min-width: 0;
  }

  .squid-shot img {
    height: 260px; /* под мобилку */
	width: auto;
  }



  .squid-shot p {
    font-size: 14px;
  }

  .squidgame-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .squidgame-stack {
    justify-content: flex-start;
  }

  /* PROJECTS */

  .project-card {
    padding: 14px;
  }

  .project-card img {
    width: 90px;
    height: 90px;
  }

  /* LANGUAGE */

  .language-item {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
  }

  /* MODAL */

  .mail-window {
    width: calc(100% - 24px);
    padding: 20px;
    border-radius: 20px;
  }

  .mail-window input,
  .mail-window textarea {
    font-size: 16px;
  }

  .send-btn {
    font-size: 16px;
  }

  /* AVAILABILITY */

  .availability {
    font-size: 16px;
    padding: 12px;

  }
  
  .contact-item,
.contact-item a,
.contact-item span {
  font-size: 17px;
}
}

