/* Чё тут много стилей, я не привык к такому... */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background: #0a0612;
	color: #f0e6ff;
	overflow-x: hidden;
	min-height: 100vh;
	position: relative;
}

/* Неплохой задний план, мне нравится, особенно НАШ индекс. */
body::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: 
	radial-gradient(circle at 10% 20%, rgba(120, 20, 200, 0.1) 0%, transparent 20%),
	radial-gradient(circle at 90% 80%, rgba(180, 60, 220, 0.1) 0%, transparent 20%);
	z-index: -1;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

header {
	padding: 1.5rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	animation: fadeIn 1s ease-in-out;
}

.logo {
	font-size: 1.8rem;
	font-weight: 700;
	background: linear-gradient(45deg, #b026ff, #6a11cb);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 0 15px rgba(176, 38, 255, 0.5);
}

nav ul {
	display: flex;
	list-style: none;
	gap: 1.8rem;
	align-items: center;
}

nav a {
	color: #d0b3ff;
	text-decoration: none;
	font-weight: 500;
	position: relative;
	padding: 5px 0;
	transition: all 0.3s ease;
}

nav a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #b026ff, #6a11cb);
	transition: width 0.3s ease;
}

nav a:hover {
	color: #ffffff;
}

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

.login-btn {
	background: transparent;
	border: 1px solid rgba(176, 38, 255, 0.5);
	color: #c0a0e0;
	padding: 4px 15px;
	border-radius: 20px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-left: 1rem;
}

.login-btn:hover {
	background: rgba(176, 38, 255, 0.15);
	box-shadow: 0 0 10px rgba(176, 38, 255, 0.3);
	color: #ffffff;
}

.genius {
	min-height: 85vh;
	padding: 3rem 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	position: relative;
}

.genius-content {
	max-width: 800px;
	margin-bottom: 3rem;
	animation: slideInDown 1s ease-in-out;
}

.genius h1 {
	font-size: 4rem;
	margin-bottom: 1.5rem;
	line-height: 1.2;
	background: linear-gradient(45deg, #d066ff, #a855f7);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.genius h1 span {
	display: block;
	font-size: 5rem;
	background: linear-gradient(45deg, #b026ff, #6a11cb);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 0 15px rgba(176, 38, 255, 0.7);
	line-height: normal;
}

.genius p {
	font-size: 1.4rem;
	margin-bottom: 2rem;
	line-height: 1.6;
	color: #d0b3ff;
}

.neon-btn {
	display: inline-block;
	padding: 12px 30px;
	background: transparent;
	border: 2px solid #b026ff;
	color: #f0e6ff;
	font-size: 1.1rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 30px;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 0 15px rgba(176, 38, 255, 0.3);
	margin: 1rem;
}

.neon-btn:hover {
	background: rgba(176, 38, 255, 0.2);
	box-shadow: 0 0 25px rgba(176, 38, 255, 0.5);
	transform: translateY(-3px);
}

.genius-visual {
	width: 100%;
	max-width: 800px;
	height: 200px;
	margin-top: 3rem;
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	background: rgba(25, 10, 45, 0.4);
	border: 1px solid rgba(176, 38, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
}
/* visual-center в geniun-visual */
.visual-center {
	position: relative;
	z-index: 2;
	font-size: 3rem;
	background: linear-gradient(45deg, #b026ff, #6a11cb);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding: 20px 40px;
	border-radius: 15px;
	border: 1px solid rgba(176, 38, 255, 0.5);
	box-shadow: 0 0 30px rgba(176, 38, 255, 0.3);
}

.auth-panel {
	position: fixed;
	top: 0;
	right: -350px;
	width: 350px;
	height: 100vh;
	background: rgba(15, 5, 30, 0.95);
	backdrop-filter: blur(10px);
	z-index: 500;
	padding: 2rem;
	border-left: 1px solid rgba(176, 38, 255, 0.3);
	transition: transform 0.5s ease;
	overflow-y: auto;
}

.auth-panel.active {
	transform: translateX(-350px);
}

.auth-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
}

.close-auth {
	background: transparent;
	border: none;
	color: #d0b3ff;
	font-size: 1.5rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.close-auth:hover {
	cursor: url('icons/air.png') 16 16, pointer;
}

.auth-title {
	font-size: 2rem;
	background: linear-gradient(45deg, #d066ff, #a855f7);
	background-clip: text;
	color: transparent;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	color: #d0b3ff;
}

.form-group input {
	width: 100%;
	padding: 12px 15px;
	background: rgba(25, 10, 45, 0.5);
	border: 1px solid rgba(176, 38, 255, 0.3);
	border-radius: 8px;
	color: #f0e6ff;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.auth-btn {
	width: 100%;
	padding: 12px;
	background: linear-gradient(45deg, #b026ff, #6a11cb);
	border: none;
	border-radius: 8px;
	color: #ffffff;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 0 15px rgba(176, 38, 255, 0.3);
}

.auth-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 0 25px rgba(176, 38, 255, 0.5);
}

.section-title {
	display: block;
	text-align: center;
	font-size: 2.5rem;
	margin: 0 auto 4rem;
}

.section-title::after {
	content: '';
	display: block;
	margin: 15px auto 0;
	width: 60%;
	max-width: 280px;
	height: 5px;
	background: linear-gradient(90deg, transparent, #b026ff, #6a11cb, transparent);
}

/* Плетём сеточку */
.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.skill-card {
	background: rgba(25, 10, 45, 0.6);
	border: 1px solid rgba(176, 38, 255, 0.3);
	border-radius: 15px;
	padding: 2rem;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	backdrop-filter: blur(5px);
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Немного анимаций карточек */
.skill-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(176, 38, 255, 0.2);
	border: 1px solid rgba(176, 38, 255, 0.6);
}

/* Для прекольненьких символов, мб на картиночки изменю */
.skill-icon {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	color: #b026ff;
	text-shadow: 0 0 10px rgba(176, 38, 255, 0.5);
}

.skill-icon-img {
	;
}

.skill-card h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: #e0c3ff;
}

.skill-card p {
	color: #c0a0e0;
	line-height: 1.6;
	flex-grow: 1;
}

.neon-out {
	width: 100%;
	height: 8px;
	background: rgba(176, 38, 255, 0.15);
	border-radius: 4px;
	margin-top: 1.5rem;
	overflow: hidden;
}

.neon-bar {
	height: 100%;
	background: linear-gradient(90deg, #6a11cb, #b026ff);
	border-radius: 4px;
}

.achiv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem; /* Отступы между карточками, мб сжечь */
}

.achiv-card {
	background: rgba(25, 10, 45, 0.6);
	border-radius: 15px;
	overflow: hidden;
	border: 1px solid rgba(176, 38, 255, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.achiv-image {
	height: 200px;
	background: linear-gradient(45deg, #2a0845, #6a11cb);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	image-size: 3rem;
	color: rgba(240, 230, 255, 0.8);
	overflow: hidden;
}

.achiv-content {
	padding: 1rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.achiv-content h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: #e0c3ff;
}

.achiv-content p {
	color: #c0a0e0;
	margin-bottom: 1.5rem;
	line-height: 1.6;
	flex-grow: 1;
}

/* для контейнера в котором будут хранится теги */
.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

/* для тегов которые будут хранится в контейнере выше */
.tag {
	background: rgba(176, 38, 255, 0.15);
	color: #d0b3ff;
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.8rem;
}

.contact-section {
	background: rgba(15, 5, 30, 0.7);
	border-radius: 20px;
	padding: 4rem;
	margin-top: 2rem;
	border: 1px solid rgba(176, 38, 255, 0.3);
	backdrop-filter: blur(10px);
	text-align: center;
}

.contact-grid {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 3rem;
}

.contact-info {
	max-width: 1700px;
}

.contact-info h3 {
	font-size: 2.2rem;
	margin-bottom: 2rem;
	color: #e0c3ff;
	background: linear-gradient(45deg, #d066ff, #a855f7);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.contact-info p {
	font-size: 1.2rem;
	margin-bottom: 2.5rem;
	line-height: 1.6;
	color: #d0b3ff;
}

.contact-methods {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2.5rem;
	margin-top: 2rem;
}

.contact-method {
	text-align: center;
	min-width: 200px;
}

.contact-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	background: rgba(176, 38, 255, 0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #b026ff;
	transition: transform 0.3s ease;
}


.contact-method h4 {
	font-size: 1.4rem;
	margin-bottom: 0.5rem;
	color: #e0c3ff;
}

.contact-method p {
	font-size: 1.1rem;
	color: #c0a0e0;
}

footer {
	text-align: center;
	padding: 3rem 0;
	margin-top: 4rem;
	border-top: 1px solid rgba(176, 38, 255, 0.2);
}

.copyright {
	color: #a080c0;
	font-size: 0.8rem;
}

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

@keyframes slideInDown {
	from { 
		opacity: 0; 
		transform: translateY(-50px);
	}
	to { 
		opacity: 1; 
		transform: translateY(0);
	}
}


/* Стили для модального окна */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 6, 18, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal {
  background: rgba(25, 10, 45, 0.95);
  border: 1px solid rgba(176, 38, 255, 0.5);
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  padding: 2rem;
  position: relative;
  box-shadow: 0 0 50px rgba(176, 38, 255, 0.3);
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

/* Скролинг модалки */
.modal::-webkit-scrollbar {
  width: 6px;
}

.modal::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.modal::-webkit-scrollbar-thumb {
  background: #a855f7;
  border-radius: 10px;
}


.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  font-size: 1.8rem;
  background: linear-gradient(45deg, #d066ff, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.close-modal {
  background: transparent;
  border: none;
  color: #d0b3ff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #ffffff;
}

.modal-body p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #d0b3ff;
}

/* Блокировка скролла при открытом модальном окне */
body.modal-open {
  overflow: hidden;
}

.auth-panel .openModal {
  display: inline-block;
  color: #0077ff;
  text-decoration: none;
  padding: 8px 16px;
  font-weight: 100;
  transition: 0.2s;
  cursor: pointer;
}

.auth-panel .openModal:hover {
  color: white;
}


.timeline {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding-left: 2.5rem;
}

.timeline::before {
	content: '';
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: 8px;
	width: 2px;
	background: linear-gradient(180deg,
		transparent,
		#b026ff 8%,
		#6a11cb 92%,
		transparent);
	box-shadow: 0 0 12px rgba(176, 38, 255, 0.45);
}

.timeline-item {
	position: relative;
	margin-bottom: 2rem;
}

.timeline-item:last-child {
	margin-bottom: 0;
}

/* Светящаяся точка на линии */
.timeline-item::before {
	content: '';
	position: absolute;
	left: -2.5rem;
	top: 1.9rem;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #0a0612;
	border: 2px solid #b026ff;
	box-shadow: 0 0 15px rgba(176, 38, 255, 0.8);
	z-index: 2;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover::before {
	background: #b026ff;
	box-shadow: 0 0 25px rgba(176, 38, 255, 1);
}

/* Пульсация текущего места работы */
.timeline-item.current::before {
	animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
	0%, 100% { box-shadow: 0 0 10px rgba(176, 38, 255, 0.6); }
	50%      { box-shadow: 0 0 26px rgba(176, 38, 255, 1); }
}

/* Карточка */
.exp-card {
	position: relative;
	overflow: hidden;
	background: rgba(25, 10, 45, 0.6);
	border: 1px solid rgba(176, 38, 255, 0.3);
	border-radius: 15px;
	padding: 1.8rem;
	backdrop-filter: blur(5px);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.exp-card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: linear-gradient(180deg, #b026ff, #6a11cb);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.exp-card:hover {
	transform: translateX(8px);
	border-color: rgba(176, 38, 255, 0.6);
	box-shadow: 0 10px 30px rgba(176, 38, 255, 0.22);
}

.exp-card:hover::after {
	opacity: 1;
}

/* Шапка карточки */
.exp-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.exp-company {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

.exp-logo {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	overflow: hidden;
	border-radius: 12px;
	background: rgba(176, 38, 255, 0.15);
	border: 1px solid rgba(176, 38, 255, 0.4);
	color: #d066ff;
	box-shadow: 0 0 15px rgba(176, 38, 255, 0.2);
}

.exp-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.exp-company h3 {
	font-size: 1.35rem;
	line-height: 1.3;
	color: #e0c3ff;
}

.exp-role {
	display: inline-block;
	margin-top: 0.3rem;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.3px;
	color: #b026ff;
	text-shadow: 0 0 10px rgba(176, 38, 255, 0.45);
}

.exp-period {
	font-size: 0.82rem;
	white-space: nowrap;
	padding: 0.35rem 0.9rem;
	border-radius: 20px;
	color: #d0b3ff;
	background: rgba(176, 38, 255, 0.12);
	border: 1px solid rgba(176, 38, 255, 0.3);
}

/* Текст и список задач */
.exp-desc {
	margin-bottom: 1rem;
	line-height: 1.6;
	color: #c0a0e0;
}

.exp-list {
	list-style: none;
	margin-bottom: 1.3rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.exp-list li {
	position: relative;
	padding-left: 1.5rem;
	font-size: 0.98rem;
	line-height: 1.55;
	color: #d0b3ff;
}

.exp-list li::before {
	content: '▸';
	position: absolute;
	left: 0;
	color: #b026ff;
	text-shadow: 0 0 8px rgba(176, 38, 255, 0.7);
}

/* Мобилка */
@media (max-width: 600px) {
	.timeline {
		padding-left: 2rem;
	}

	.timeline::before {
		left: 6px;
	}

	.timeline-item::before {
		left: -2rem;
		top: 1.6rem;
		width: 14px;
		height: 14px;
	}

	.exp-card {
		padding: 1.3rem;
	}

	.exp-card:hover {
		transform: translateY(-5px);
	}

	.exp-head {
		flex-direction: column;
	}

	.exp-company h3 {
		font-size: 1.15rem;
	}
}














/* Оно работает, а как - уже не важно */
html {
	overflow-x: hidden;
}

/* Чут-чут костылей под мобилки */
@media (max-width: 768px) {
	header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
		padding: 1rem 0;
	}

	nav ul {
		flex-wrap: wrap;
		gap: 0.6rem 1.2rem;
	}

	nav a,
	.login-btn {
		font-size: 0.9rem;
	}

	.login-btn {
		margin-left: 0;
	}

	.genius {
		min-height: auto;
		padding: 2rem 0;
	}

	.genius h1 {
		font-size: 2.2rem;
	}

	.genius h1 span {
		font-size: 2.6rem;
	}

	.genius p {
		font-size: 1.1rem;
	}

	.genius-visual {
		height: auto;
		padding: 1.5rem 1rem;
		margin-top: 1.5rem;
	}

	.visual-center {
		font-size: 1.5rem;
		padding: 15px 20px;
		text-align: center;
	}

	.section {
		padding: 2.5rem 0;
	}

	.section-title {
		font-size: 1.7rem;
		margin-bottom: 2.5rem;
	}

	.section-title::after {
		width: 80%;
	}

	.skill-card,
	.achiv-card {
		padding: 1.3rem;
	}

	.achiv-image {
		height: 140px;
	}

	.achiv-content h3 {
		font-size: 1.2rem;
	}

	.contact-section {
		padding: 2rem 1.2rem;
	}

	.contact-info h3 {
		font-size: 1.5rem;
	}

	.contact-info p {
		font-size: 1rem;
	}

	.contact-methods {
		gap: 1.5rem;
	}

	.modal {
		padding: 1.4rem;
		width: 94%;
	}

	.modal-header h2 {
		font-size: 1.4rem;
	}

	.modal-body p {
		font-size: 1rem;
	}

	footer {
		padding: 2rem 0;
		margin-top: 2rem;
	}
}

@media (max-width: 420px) {
	.genius h1 {
		font-size: 1.8rem;
	}

	.genius h1 span {
		font-size: 2.1rem;
	}

	.section-title {
		font-size: 1.45rem;
	}

	nav ul {
		gap: 0.4rem 0.8rem;
	}

	nav a,
	.login-btn {
		font-size: 0.8rem;
		padding: 4px 10px;
	}
}