@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Montserrat:wght@400;700&display=swap');
body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  animation: bgFadeIn 2s cubic-bezier(.77,0,.18,1) 1;
}
@keyframes bgFadeIn {
  from { filter: blur(40px) brightness(0.5); }
  to { filter: blur(0) brightness(1); }
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background: rgba(24,24,24,0.98);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.8), 0 1.5px 0 #00ffe7 inset;
  border-radius: 0 0 32px 32px;
  position: relative;
  z-index: 10;
  animation: navbarDrop 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes navbarDrop {
  0% { transform: translateY(-80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.logo {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 4px;
  color: #00ffe7;
  text-shadow: 0 2px 16px #00ffe7, 0 0px 32px #000;
  filter: drop-shadow(0 0 8px #00ffe7);
  animation: logoGlow 2.5s infinite alternate;
}
@keyframes logoGlow {
  0% { text-shadow: 0 2px 16px #00ffe7, 0 0px 32px #000; }
  100% { text-shadow: 0 4px 32px #00ffe7, 0 0px 64px #00ffe7; }
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  color: #aaa;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 10px 28px;
  border-radius: 12px;
  transition: background 0.3s cubic-bezier(.77,0,.18,1), color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  z-index: 1;
}
.nav-links li a.active,
.nav-links li a:hover {
  background: linear-gradient(90deg, #00ffe7 0%, #005577 100%);
  color: #181818;
  box-shadow: 0 4px 24px 0 #00ffe7cc, 0 0 0 2px #00ffe7 inset;
  text-shadow: 0 2px 8px #00ffe7;
  transform: scale(1.07) translateY(-2px);
}
.nav-links li a::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #00ffe7 0%, #005577 100%);
  opacity: 0.12;
  z-index: -1;
  transition: opacity 0.3s;
}
.nav-links li a:hover::before {
  opacity: 0.35;
}
main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 70vh;
  padding: 48px 0 0 0;
  position: relative;
  z-index: 1;
}
main::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" xmlns="http://www.w3.org/2000/svg"><defs><radialGradient id="g" cx="50%25" cy="40%25" r="80%25"><stop stop-color="%2300ffe7" stop-opacity="0.12"/><stop stop-color="%2300ffe7" stop-opacity="0"/></radialGradient></defs><rect width="100%25" height="100%25" fill="url(%23g)"/></svg>');
  pointer-events: none;
  z-index: 0;
}
.tab-section {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 540px;
  background: rgba(24,24,24,0.98);
  border-radius: 32px;
  box-shadow: 0 8px 48px 0 #00ffe7cc, 0 2px 32px 0 rgba(0,0,0,0.7);
  padding: 64px 40px 56px 40px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
  animation: sectionAppear 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes sectionAppear {
  0% { opacity: 0; transform: translateY(60px) scale(0.98); filter: blur(24px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.tab-section.active {
  display: flex;
  animation: sectionAppear 1.2s cubic-bezier(.77,0,.18,1);
}
.tab-section::before {
  content: '';
  position: absolute;
  left: -60px; top: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, #00ffe7 0%, transparent 80%);
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
  animation: floatGlow 5s infinite alternate;
}
@keyframes floatGlow {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(20px) scale(1.08); }
}
.headline {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 38px;
  color: #00ffe7;
  text-align: center;
  text-shadow: 0 2px 32px #00ffe7, 0 2px 16px #000;
  font-family: 'Orbitron', Arial, sans-serif;
  letter-spacing: 2px;
  animation: headlinePop 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes headlinePop {
  0% { opacity: 0; transform: scale(0.8) rotate(-8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.skills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 1;
}
.skills li {
  font-size: 1.25rem;
  background: linear-gradient(90deg, #232526 0%, #00ffe7 100%);
  padding: 16px 32px;
  border-radius: 16px;
  margin-bottom: 0;
  color: #fff;
  box-shadow: 0 4px 24px 0 #00ffe733, 0 2px 8px 0 rgba(0,0,0,0.4);
  letter-spacing: 1.5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  animation: skillFadeIn 1.2s cubic-bezier(.77,0,.18,1);
}
.skills li:hover {
  transform: scale(1.06) translateY(-2px) rotate(-1deg);
  box-shadow: 0 8px 48px 0 #00ffe7cc, 0 2px 32px 0 rgba(0,0,0,0.7);
  background: linear-gradient(90deg, #00ffe7 0%, #232526 100%);
  color: #181818;
}
@keyframes skillFadeIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
#contact-section h2 {
  font-size: 2.1rem;
  margin-bottom: 38px;
  color: #00ffe7;
  text-shadow: 0 2px 16px #00ffe7, 0 2px 8px #000;
  font-family: 'Orbitron', Arial, sans-serif;
  letter-spacing: 1.5px;
  animation: headlinePop 1.2s cubic-bezier(.77,0,.18,1);
}
.tg-btn {
  display: inline-block;
  background: linear-gradient(90deg, #00ffe7 0%, #005577 100%);
  color: #181818;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 20px 48px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 8px 32px 0 #00ffe7cc, 0 4px 24px 0 rgba(0,136,204,0.25);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  margin-top: 24px;
  letter-spacing: 1.5px;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  animation: tgBtnAppear 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes tgBtnAppear {
  0% { opacity: 0; transform: scale(0.8) translateY(40px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.tg-btn:hover {
  background: linear-gradient(90deg, #005577 0%, #00ffe7 100%);
  color: #fff;
  transform: translateY(-4px) scale(1.08) rotate(1deg);
  box-shadow: 0 12px 48px 0 #00ffe7cc, 0 8px 32px 0 #00557799;
}
.tg-btn::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  background: radial-gradient(circle, #fff 0%, transparent 80%);
  opacity: 0.12;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: width 0.4s, height 0.4s, opacity 0.4s;
  z-index: 0;
}
.tg-btn:hover::after {
  width: 180%; height: 180%; opacity: 0.22;
}
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    gap: 18px;
    padding: 18px 8px;
    border-radius: 0 0 18px 18px;
  }
  main {
    padding: 16px 0 0 0;
  }
  .tab-section {
    padding: 24px 8px 24px 8px;
    margin-top: 16px;
    max-width: 98vw;
    border-radius: 18px;
  }
  .headline {
    font-size: 1.5rem;
  }
  .skills li {
    font-size: 1rem;
    padding: 10px 14px;
    border-radius: 10px;
  }
  .tg-btn {
    font-size: 1rem;
    padding: 12px 18px;
    border-radius: 12px;
  }
}
/* SVG декоративные элементы */
body::after {
  content: '';
  position: fixed;
  right: -120px; bottom: -120px;
  width: 320px; height: 320px;
  background: url('data:image/svg+xml;utf8,<svg width="320" height="320" xmlns="http://www.w3.org/2000/svg"><circle cx="160" cy="160" r="140" fill="none" stroke="%2300ffe7" stroke-width="16" opacity="0.18"/><circle cx="160" cy="160" r="100" fill="none" stroke="%2300ffe7" stroke-width="8" opacity="0.12"/><circle cx="160" cy="160" r="60" fill="none" stroke="%2300ffe7" stroke-width="4" opacity="0.08"/></svg>');
  z-index: 0;
  pointer-events: none;
  filter: blur(0.5px);
  animation: svgSpin 18s linear infinite;
}
@keyframes svgSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}