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

#particles-js {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
	z-index: -1;
}

body {
	font-family: "Poppins", sans-serif;
	background-color: transparent;
	color: #c9d1d9;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	position: relative;
	z-index: 1;
}

.container {
	max-width: 800px;
	width: 100%;
	text-align: center;
	position: relative;
	z-index: 2;
}

/* Header Styling */
header {
	margin-bottom: 40px;
}

h1 {
	font-size: 3rem;
	margin-bottom: 10px;
	background: linear-gradient(45deg, #58a6ff, #1f6feb);
	background-clip: text;
	-webkit-background-clip: text;
	-moz-background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	-moz-text-fill-color: transparent;
	animation: fadeInDown 1s ease;
}

.subtitle {
	font-size: 1.2rem;
	color: #8b949e;
	animation: fadeInUp 1s ease;
}

/* Search Container */
.search-container {
	display: flex;
	gap: 15px;
	justify-content: center;
	margin-bottom: 30px;
	animation: fadeIn 1s ease;
}

.input-wrapper {
	position: relative;
	width: 300px;
}

.input-wrapper i {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #58a6ff;
}

input {
	width: 100%;
	padding: 12px 20px 12px 45px;
	border: 2px solid #30363d;
	background-color: #161b22;
	color: #c9d1d9;
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s ease;
}

input:focus {
	border-color: #58a6ff;
	box-shadow: 0 0 10px rgba(88, 166, 255, 0.2);
	outline: none;
}

button {
	padding: 12px 25px;
	background: linear-gradient(45deg, #238636, #2ea043);
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 500;
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
}

button:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(46, 160, 67, 0.3);
}

/* Loading Spinner */
.loading-spinner {
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	margin: 20px 0;
}

.spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #30363d;
	border-top: 4px solid #58a6ff;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

/* Output Container */
.output-container {
	padding: 20px;
	margin-top: 20px;
	animation: fadeIn 0.5s ease;
	position: relative;
	z-index: 2;
}

.output-container h2 {
	font-size: 2rem;
	margin-bottom: 15px;
	color: #58a6ff;
}

.output-container p {
	margin-bottom: 20px;
	color: #8b949e;
}

.output-container img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 3px solid #58a6ff;
	margin-bottom: 20px;
	transition: transform 0.3s ease;
}

.output-container img:hover {
	transform: scale(1.05);
}

/* Repositories List */
ul {
	list-style-type: none;
	padding: 0;
	width: 100%;
}

li {
	background: rgba(33, 38, 45, 0.6);
	backdrop-filter: blur(5px);
	margin: 15px 0;
	padding: 20px;
	border-radius: 8px;
	transition: all 0.3s ease;
	border: 1px solid rgba(88, 166, 255, 0.1);
}

.repo-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: left;
}

.repo-info a {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.2rem;
	color: #58a6ff;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.repo-description {
	color: #8b949e;
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 5px 0;
}

.repo-meta {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	color: #8b949e;
	font-size: 0.9rem;
}

.repo-meta span {
	display: flex;
	align-items: center;
	gap: 5px;
}

.repo-meta i {
	color: #58a6ff;
}

li:hover {
	background: rgba(48, 54, 61, 0.8);
	transform: translateX(5px);
	border-color: rgba(88, 166, 255, 0.2);
}

/* User Profile Section */
.user-profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	padding: 20px;
	transition: transform 0.2s ease-in-out;
}

.user-profile img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border: 3px solid rgba(88, 166, 255, 0.3);
	transition: all 0.3s ease;
	margin-bottom: 20px;
}

.user-profile img:hover {
	border-color: #58a6ff;
	transform: scale(1.05);
	box-shadow: 0 0 20px rgba(88, 166, 255, 0.2);
}

.user-profile h2 {
	font-size: 2.5rem;
	margin-bottom: 10px;
	background: linear-gradient(45deg, #58a6ff, #1f6feb);
	background-clip: text;
	-webkit-background-clip: text;
	-moz-background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	-moz-text-fill-color: transparent;
	animation: fadeInDown 0.5s ease;
}

.bio {
	max-width: 600px;
	margin: 15px auto;
	line-height: 1.6;
	color: #8b949e;
	font-size: 1.1rem;
}

.stats {
	display: flex;
	gap: 40px;
	justify-content: center;
	margin: 30px 0;
	flex-wrap: wrap;
}

.stat-item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #8b949e;
	transition: all 0.3s ease;
	font-size: 1.1rem;
}

.stat-item:hover {
	transform: translateY(-3px);
	color: #c9d1d9;
}

.stat-item i {
	color: #58a6ff;
	font-size: 1.2rem;
	transition: all 0.3s ease;
}

.stat-item:hover i {
	transform: scale(1.2);
}

.repos-section {
	width: 100%;
	margin-top: 30px;
}

.repos-section h3 {
	font-size: 1.8rem;
	margin-bottom: 25px;
	color: #58a6ff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	opacity: 0.9;
}

.repos-section h3 i {
	font-size: 1.6rem;
}

/* Footer */
footer {
	margin-top: 40px;
	padding: 20px;
	color: #8b949e;
}

.social-links {
	margin-top: 15px;
}

.social-links a {
	color: #8b949e;
	font-size: 1.5rem;
	margin: 0 10px;
	transition: all 0.3s ease;
}

.social-links a:hover {
	color: #58a6ff;
	transform: translateY(-3px);
}

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

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

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Responsive Design */
@media (max-width: 600px) {
	.search-container {
		flex-direction: column;
	}

	.input-wrapper {
		width: 100%;
	}

	h1 {
		font-size: 2.5rem;
	}

	.output-container {
		padding: 20px;
	}
}

/* Language Breakdown */
.language-breakdown {
	margin: 15px 0;
	width: 100%;
}

.language-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 5px 0;
}

.language-name {
	min-width: 100px;
	color: #8b949e;
	font-size: 0.9rem;
}

.progress-bar {
	flex: 1;
	height: 6px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 3px;
	overflow: hidden;
}

.progress {
	height: 100%;
	background: linear-gradient(90deg, #58a6ff, #1f6feb);
	border-radius: 3px;
	transition: width 0.3s ease;
}

/* Gists Section */
.gists-section {
	width: 100%;
	margin-top: 30px;
}

.gist-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: left;
}

.gist-info a {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.2rem;
	color: #58a6ff;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.gist-description {
	color: #8b949e;
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 5px 0;
}

.gist-meta {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	color: #8b949e;
	font-size: 0.9rem;
}

/* Starred Section */
.starred-section {
	width: 100%;
	margin-top: 30px;
}

/* Activity Section */
.activity-section {
	width: 100%;
	margin-top: 30px;
}

.activity-info {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #8b949e;
	font-size: 0.95rem;
}

.activity-info i {
	color: #58a6ff;
	font-size: 1.1rem;
}

.activity-time {
	margin-left: auto;
	font-size: 0.85rem;
	color: #6e7681;
}

/* Section Headers */
.repos-section h3,
.gists-section h3,
.starred-section h3,
.activity-section h3 {
	font-size: 1.8rem;
	margin-bottom: 25px;
	color: #58a6ff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	opacity: 0.9;
}

.repos-section h3 i,
.gists-section h3 i,
.starred-section h3 i,
.activity-section h3 i {
	font-size: 1.6rem;
}

/* Section Lists */
.repos-section ul,
.gists-section ul,
.starred-section ul,
.activity-section ul {
	list-style-type: none;
	padding: 0;
	width: 100%;
}

.repos-section li,
.gists-section li,
.starred-section li,
.activity-section li {
	background: rgba(33, 38, 45, 0.6);
	backdrop-filter: blur(5px);
	margin: 15px 0;
	padding: 20px;
	border-radius: 8px;
	transition: all 0.3s ease;
	border: 1px solid rgba(88, 166, 255, 0.1);
}

.repos-section li:hover,
.gists-section li:hover,
.starred-section li:hover,
.activity-section li:hover {
	background: rgba(48, 54, 61, 0.8);
	transform: translateX(5px);
	border-color: rgba(88, 166, 255, 0.2);
}

/* Heatmap Section */
.heatmap-section {
	width: 100%;
	margin-top: 30px;
}

.heatmap-container {
	background: rgba(33, 38, 45, 0.6);
	backdrop-filter: blur(5px);
	border-radius: 8px;
	padding: 20px;
	margin: 15px 0;
	border: 1px solid rgba(88, 166, 255, 0.1);
	position: relative;
	overflow: hidden;
}

.heatmap-container svg {
	display: block;
	margin: 0 auto;
}

.heatmap-tooltip {
	z-index: 100;
	pointer-events: none;
	transition: all 0.2s ease;
}

.no-data {
	color: #8b949e;
	text-align: center;
	padding: 20px;
	font-style: italic;
}

.day-label {
	font-family: "Poppins", sans-serif;
	font-size: 9px;
	fill: #8b949e;
}

/* Charts Section */
.charts-section {
	width: 100%;
	margin-top: 30px;
}

.charts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.chart-container {
	background: rgba(33, 38, 45, 0.6);
	backdrop-filter: blur(5px);
	border-radius: 8px;
	padding: 20px;
	border: 1px solid rgba(88, 166, 255, 0.1);
}

.chart-container h4 {
	color: #58a6ff;
	margin-bottom: 15px;
	text-align: center;
	font-size: 1.2rem;
}

/* Share Section */
.share-section {
	width: 100%;
	margin-top: 30px;
}

.share-buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 20px 0;
}

.share-btn {
	padding: 12px 25px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 500;
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
}

.share-btn.twitter {
	background: #1da1f2;
	color: white;
}

.share-btn.linkedin {
	background: #0077b5;
	color: white;
}

.share-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Profile Card */
.profile-card-container {
	margin-top: 20px;
	text-align: center;
}

.profile-card {
	background: rgba(33, 38, 45, 0.9);
	backdrop-filter: blur(10px);
	border-radius: 12px;
	padding: 30px;
	margin: 20px auto;
	max-width: 600px;
	border: 2px solid rgba(88, 166, 255, 0.2);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download-btn {
	background: linear-gradient(45deg, #238636, #2ea043);
	color: white;
	padding: 12px 25px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 500;
	font-size: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	margin-top: 15px;
}

.download-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(46, 160, 67, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.charts-grid {
		grid-template-columns: 1fr;
	}

	.share-buttons {
		flex-direction: column;
	}

	.share-btn {
		width: 100%;
		justify-content: center;
	}
}
