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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #0b2b5c 0%, #1a4a8b 50%, #2c6e9e 100%);
  color: #eef4ff;
  line-height: 1.6;
  padding: 2rem 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border-radius: 24px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.header {
  background: rgba(15, 35, 65, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(100, 150, 200, 0.3);
  padding: 1rem 2rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 3.5rem;
}

.nav-link {
  font-weight: 500;
  color: #cce4ff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.4rem 0;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #f5f5dc;
  transform: translateY(-1px);
}

.columns {
  display: flex;
  flex-wrap: wrap;
}

.left-column {
  padding: 2rem;
  flex: 2 1 500px;
  background: rgba(10, 25, 45, 0.6);
  backdrop-filter: blur(4px);
}

.right-column {
  background: linear-gradient(145deg, #0f2b44, #07203a);
  padding: 2rem;
  flex: 1 1 300px;
  border-left: 1px solid rgba(100, 150, 200, 0.4);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.photo {
  display: block;
  margin: 0 auto 1.5rem auto;
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #5f9eff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-link {
  display: block;
}

.photo:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.section-title_name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.section-title_work {
  font-size: 1rem;
  font-weight: 500;
  color: #b8d4ff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #3b82f6;
  color: #eef4ff;
  letter-spacing: -0.2px;
}

.section {
  margin-bottom: 2rem;
  scroll-margin-top: 2rem;
}

.contact_item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact_item img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.contact_item a {
  color: #cce4ff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact_item a:hover {
  color: #f5f5dc;
  transform: translateY(-1px);
}

.list {
  list-style: none;
  padding-left: 0;
}

.list li {
  margin-bottom: 0.5rem;
}

ul:not(.nav-list):not(.list) {
  padding-left: 1.2rem;
}

ul:not(.nav-list):not(.list) li {
  margin-bottom: 0.5rem;
}

a {
  display: inline-block;
  color: #7ab3ff;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #f5f5dc;
  transform: translateY(-1px);
}

pre {
  background-color: transparent;
  padding: 1rem;
  border-radius: 12px;
  overflow-x: auto;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.85rem;
  line-height: 1.4;
  border: 1px solid rgba(100, 150, 200, 0.3);
  color: #d4eaff;
}

code {
  font-family: inherit;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 0.85em;
  color: #bbdbff;
}

.footer {
  background: rgba(15, 35, 65, 0.8);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(100, 150, 200, 0.3);
  padding: 1rem 2rem;
  border-radius: 0 0 24px 24px;
}

.footer_block_ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.footer_block_ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer a:hover {
  transform: none;
}

.logo,
.logo-git {
  height: 30px;
  width: auto;
  vertical-align: middle;
}

.logo-git {
  filter: brightness(0) invert(1);
}

@media (max-width: 600px) {
  body {
    padding: 1rem;
  }
  .left-column,
  .right-column {
    flex: 1 1 100%;
    border-left: none;
  }
  .columns {
    flex-direction: column;
  }
  .right-column {
    order: -1;
  }
  .nav-list {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.8rem;
  }
  .container {
    border-radius: 16px;
  }
  .footer {
    border-radius: 0 0 16px 16px;
  }
}