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

body {
	font-family: 'JetBrains Mono', monospace;
	background: linear-gradient(45deg, #0a0a0a, #1a1a2e);
	min-height: 100dvh;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: auto;
	padding: 10px;
}

.terminal-container {
	width: 90%;
	max-width: 1000px;
	height: 80vh;
	min-height: 400px;
	background: #1e1e1e;
	border-radius: 10px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	border: 1px solid #333;
	display: flex;
	flex-direction: column;
}

.terminal-header {
	background: #2d2d2d;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px;
	border-bottom: 1px solid #444;
}

.terminal-buttons {
	display: flex;
	gap: 8px;
}

.terminal-buttons span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	cursor: pointer;
}

.btn-close {
	background: #ff5f56;
}

.btn-minimize {
	background: #ffbd2e;
}

.btn-maximize {
	background: #27ca3f;
}

.terminal-title {
	color: #ccc;
	font-size: 12px;
	font-weight: 600;
}

.welcome-social-links {
	display: flex;
	gap: 10px;
	margin: 8px 0;
	flex-wrap: wrap;
	justify-content: center;
}

.welcome-social-links .social-link {
	font-size: 11px;
	padding: 3px 6px;
	border: 1px solid #ffd93d;
	white-space: nowrap;
}

.terminal-body {
	flex: 1;
	background: #0c0c0c;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.terminal-content {
	flex: 1;
	padding: 20px;
	overflow-y: auto;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: #444 #0c0c0c;
}

.terminal-content::-webkit-scrollbar {
	width: 8px;
}

.terminal-content::-webkit-scrollbar-track {
	background: #0c0c0c;
}

.terminal-content::-webkit-scrollbar-thumb {
	background: #444;
	border-radius: 4px;
}

.terminal-line {
	margin-bottom: 10px;
	color: #e0e0e0;
	line-height: 1.2;
	display: flex;
	flex-wrap: wrap;
}

.prompt {
	color: #00ff88;
	font-weight: 600;
	margin-right: 10px;
	white-space: nowrap;
}

.command-output {
	color: #e0e0e0;
	margin-left: 10px;
	white-space: normal;
	word-break: break-word;
}

.welcome-text {
	color: #88ccff;
	font-style: italic;
}

.error-text {
	color: #ff6b6b;
}

.success-text {
	color: #51cf66;
}

.highlight-text {
	color: #ffd93d;
	font-weight: 600;
}

.terminal-input-line {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	background: transparent;
}

.terminal-input {
	flex: 1;
	background: transparent;
	border: none;
	color: #e0e0e0;
	font-family: inherit;
	font-size: 14px;
	outline: none;
	margin-left: 10px;
	caret-color: #00ff88;
}

.cursor {
	color: #00ff88;
	animation: blink 1s infinite;
	margin-left: 2px;
}

@keyframes blink {
	0%,
	50% {
		opacity: 1;
	}
	51%,
	100% {
		opacity: 0;
	}
}

.ascii-art {
	color: #00ff88;
	font-size: 10px;
	line-height: 1;
	white-space: pre;
	font-family: monospace;
	overflow-x: auto;
	overflow-y: hidden;
}

.info-section {
	margin: 10px 0;
	padding: 0;
	background: transparent;
}

.info-title {
	color: #00ff88;
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.info-item {
	margin-bottom: 5px;
	color: #e0e0e0;
	font-size: 14px;
	line-height: 1.2;
}

.info-label {
	color: #88ccff;
	font-weight: 600;
}

.social-links {
	display: flex;
	gap: 15px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.social-link {
	color: #ffd93d;
	text-decoration: none;
	padding: 5px 10px;
	border: 1px solid #ffd93d;
	border-radius: 3px;
	transition: all 0.3s ease;
}

.social-link:hover {
	background: #ffd93d;
	color: #0c0c0c;
}

.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-top: 10px;
}

.skill-category {
	background: rgba(255, 255, 255, 0.05);
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #333;
}

.skill-category-title {
	color: #00ff88;
	font-weight: 600;
	margin-bottom: 8px;
}

.skill-item {
	color: #e0e0e0;
	margin-bottom: 3px;
	font-size: 13px;
}

.content-section {
	margin: 15px 0;
	padding: 10px;
	background: rgba(255, 255, 255, 0.02);
	border-radius: 5px;
}

@media (max-width: 768px) {
	body {
		padding: 0px;
	}

	.terminal-container {
		width: 98%;
		height: 100vh;
		height: 100dvh;
		min-height: 400px;
		max-width: none;
		border-radius: 0;
		box-shadow: none;
		border: none;
	}

	.terminal-header {
		display: none;
	}

	.terminal-content {
		padding: 12px;
		font-size: 13px;
	}

	.terminal-input-line {
		padding: 0;
		margin-bottom: 8px;
		flex-wrap: wrap;
	}

	.prompt {
		font-size: 12px;
		margin-right: 6px;
		flex-shrink: 0;
	}

	.terminal-input {
		font-size: 13px;
		min-width: 0;
		flex: 1;
		padding: 2px 0;
	}

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

	.social-links {
		gap: 6px;
		margin-top: 12px;
	}

	.welcome-social-links {
		gap: 6px;
		margin: 10px 0;
	}

	/* Logo ASCII responsivo para móviles */
	.ascii-art {
		font-size: clamp(4px, 1.8vw, 8px);
		white-space: pre;
		overflow-x: auto;
		overflow-y: hidden;
		max-width: 100%;
		width: 100%;
		display: block;
		line-height: 0.8;
		margin: 8px 0;
	}

	.info-section {
		margin: 12px 0;
	}

	.info-title {
		font-size: 13px;
		margin-bottom: 10px;
	}

	.info-item {
		font-size: 12px;
		margin-bottom: 4px;
		line-height: 1.3;
		word-break: break-word;
	}

	.skill-category {
		padding: 8px;
		margin-bottom: 8px;
	}

	.skill-category-title {
		font-size: 12px;
		margin-bottom: 6px;
	}

	.skill-item {
		font-size: 11px;
		margin-bottom: 2px;
		line-height: 1.2;
	}

	.content-section {
		margin: 12px 0;
		padding: 10px;
	}

	.terminal-line {
		margin-bottom: 8px;
		line-height: 1.3;
	}

	.command-output {
		margin-left: 0;
		margin-top: 4px;
		width: 100%;
		word-break: break-word;
	}

	.social-link {
		padding: 6px 12px;
		font-size: 11px;
		text-align: center;
		min-height: 36px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.welcome-social-links .social-link {
		font-size: 10px;
		padding: 5px 10px;
		min-height: 32px;
	}
}

@media (max-width: 480px) {
	body {
		padding: 0px;
	}

	.terminal-container {
		width: 100%;
		height: 100vh;
		height: 100dvh;
		border-radius: 0;
		box-shadow: none;
		border: none;
	}

	.terminal-header {
		display: none;
	}

	.terminal-content {
		padding: 10px;
		font-size: 12px;
	}

	.prompt {
		font-size: 11px;
		margin-right: 4px;
	}

	.terminal-input {
		font-size: 12px;
	}

	.ascii-art {
		font-size: clamp(3px, 1.8vw, 8px);
		line-height: 0.7;
		margin: 6px 0;
	}

	.info-title {
		font-size: 12px;
		margin-bottom: 8px;
	}

	.info-item {
		font-size: 11px;
		margin-bottom: 3px;
		line-height: 1.2;
	}

	.skill-category {
		padding: 6px;
		margin-bottom: 6px;
	}

	.skill-category-title {
		font-size: 11px;
		margin-bottom: 4px;
	}

	.skill-item {
		font-size: 10px;
		margin-bottom: 1px;
		line-height: 1.1;
	}

	.content-section {
		margin: 10px 0;
		padding: 8px;
	}

	.terminal-line {
		margin-bottom: 6px;
		line-height: 1.2;
	}

	.social-link {
		padding: 5px 10px;
		font-size: 10px;
		min-height: 32px;
	}

	.welcome-social-links .social-link {
		font-size: 9px;
		padding: 4px 8px;
		min-height: 28px;
	}

	.terminal-title {
		font-size: 10px;
	}
}
