/* ============================================
   TERMINAL THEME - 8-BIT RETRO STYLE
   Classic Unix/Linux Terminal Aesthetic
   ============================================ */

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

html {
	height: 100%;
}

body {
	background-color: #0a0e14;
	background-image: 
		repeating-linear-gradient(0deg, rgba(0, 255, 0, 0.03) 0px, transparent 1px, transparent 2px, rgba(0, 255, 0, 0.03) 3px),
		radial-gradient(ellipse at center, #0a0e14 0%, #000000 100%);
	min-height: 100%;
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	font-size: 1.1em;
	font-weight: 400;
	color: #00ff00;
	padding-top: 70px;
	text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
	line-height: 1.6;
	letter-spacing: 0.02em;
}

/* CRT Screen Scanline Effect */
body::before {
	content: " ";
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
	            linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
	background-size: 100% 2px, 3px 100%;
	pointer-events: none;
	z-index: 9999;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Orbitron', 'Press Start 2P', monospace;
	color: #00ff00;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
	font-weight: 700;
	line-height: 1.4;
}

h1 { font-size: 2.2em; margin-bottom: 25px; font-weight: 900; }
h2 { font-size: 1.8em; margin-bottom: 20px; font-weight: 700; }
h3 { font-size: 1.4em; margin-bottom: 15px; font-weight: 700; }
h4 { font-size: 1.2em; margin-bottom: 12px; }
h5 { font-size: 1.1em; margin-bottom: 10px; }
h6 { font-size: 1em; margin-bottom: 8px; }

/* ============================================
   NAVIGATION
   ============================================ */

nav {
	font-size: 1.2em;
	background-color: rgba(0, 0, 0, 0.9);
	border-bottom: 3px solid #00ff00;
	box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

nav a {
	color: #00ff00 !important;
	text-decoration: none;
	transition: all 0.3s;
}

nav a:hover {
	color: #00ffff !important;
	text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

/* ============================================
   USER PROFILE SECTION
   ============================================ */

#user-name {
	font-size: 3em;
	color: #00ff00;
	text-shadow: 0 0 20px rgba(0, 255, 0, 1), 0 0 40px rgba(0, 255, 0, 0.5);
	animation: flicker 3s infinite alternate;
	margin: 30px 0;
	letter-spacing: 5px;
}

@keyframes flicker {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.95; }
}

.user-description {
	background-color: rgba(0, 0, 0, 0.8);
	border: 4px solid #00ff00;
	box-shadow: 
		0 0 20px rgba(0, 255, 0, 0.5),
		inset 0 0 20px rgba(0, 255, 0, 0.1);
	margin: 30px auto;
	padding: 25px;
	font-size: 1.05em;
	line-height: 1.85;
	letter-spacing: 0.02em;
	max-width: 700px;
	position: relative;
	font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.user-description::before {
	content: "[INFO]";
	position: absolute;
	top: -15px;
	left: 20px;
	background-color: #0a0e14;
	padding: 0 10px;
	color: #00ffff;
	font-family: 'Press Start 2P', monospace;
	font-size: 0.7em;
}

.user-profile {
	padding: 20px 0;
}

.user-picture {
	border: 5px solid #00ff00;
	box-shadow: 
		0 0 30px rgba(0, 255, 0, 0.6),
		inset 0 0 20px rgba(0, 255, 0, 0.2);
	margin: 30px auto;
	max-width: 200px;
	image-rendering: pixelated;
	filter: contrast(1.1) brightness(1.1);
}

/* ============================================
   SOCIAL ICONS
   ============================================ */

i {
	margin: 15px;
	color: #00ff00;
	font-size: 2em;
	transition: all 0.3s;
	filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.6));
}

i:hover {
	color: #00ffff;
	filter: drop-shadow(0 0 20px rgba(0, 255, 255, 1));
	transform: scale(1.2);
}

/* ============================================
   POST LIST
   ============================================ */

#post-list {
	list-style: none;
	padding: 0;
	max-width: 900px;
	margin: 0 auto;
}

.post-list-item {
	background-color: rgba(0, 0, 0, 0.7);
	border: 3px solid #00ff00;
	box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
	margin: 25px 0;
	padding: 20px;
	transition: all 0.3s;
	position: relative;
}

.post-list-item::before {
	content: ">";
	position: absolute;
	left: -15px;
	top: 50%;
	transform: translateY(-50%);
	color: #00ff00;
	font-size: 2em;
	opacity: 0;
	transition: all 0.3s;
}

.post-list-item:hover {
	border-color: #00ffff;
	box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
	transform: translateX(10px);
}

.post-list-item:hover::before {
	opacity: 1;
	left: -25px;
}

.post-header {
	background: transparent;
	overflow: hidden;
	padding: 0;
	margin-bottom: 15px;
	border-bottom: 2px dashed #00ff00;
	padding-bottom: 10px;
}

.post-link {
	float: left;
	font-size: 1.25em;
	color: #00ff00;
	text-decoration: none;
	font-family: 'Orbitron', 'Press Start 2P', monospace;
	transition: all 0.3s;
	text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
	font-weight: 700;
	letter-spacing: 0.5px;
}

.post-link:hover {
	color: #00ffff;
	text-shadow: 0 0 20px rgba(0, 255, 255, 1);
	text-decoration: none;
}

.post-date {
	float: right;
	color: #00ff00;
	font-size: 0.9em;
	opacity: 0.8;
}

.post-date::before {
	content: "[";
}

.post-date::after {
	content: "]";
}

.post-summary, .post-content {
	clear: both;
	color: #00ff00;
	line-height: 1.9;
	font-size: 1.05em;
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	letter-spacing: 0.03em;
}

.post-summary {
	padding: 10px 0 0 0;
}

.post-list-footer {
	padding: 10px 0 0;
	border-top: 2px solid #00ff00;
	margin-top: 15px;
}

.post-comments {
	padding-top: 20px;
	border-top: 3px double #00ff00;
	margin-top: 20px;
}

/* ============================================
   LAYOUT
   ============================================ */

.wrapper {
	min-height: 100%;
	margin: 0 auto;
	padding-bottom: 70px;
}

.container {
	background-color: rgba(0, 0, 0, 0.5);
	border: 2px solid #00ff00;
	padding: 30px 20px;
	margin: 20px auto;
	box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
}

.footer {
	background-color: rgba(0, 0, 0, 0.9);
	border-top: 3px solid #00ff00;
	width: 100%;
	padding: 15px;
	text-align: center;
	color: #00ff00;
	box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	font-size: 0.95em;
	letter-spacing: 0.02em;
}

.footer::before {
	content: "EOF";
	display: block;
	font-family: 'Press Start 2P', monospace;
	font-size: 0.6em;
	margin-bottom: 10px;
	opacity: 0.6;
}

.push {
	height: 70px;
}

.col-centered {
	float: none;
	margin: 0 auto;
}

/* ============================================
   CONTENT STYLING
   ============================================ */

div p {
	text-align: left;
	margin-bottom: 18px;
	font-size: 1.05em;
	line-height: 1.9;
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	letter-spacing: 0.02em;
}

a {
	color: #00ffff;
	text-decoration: underline;
	transition: all 0.3s;
}

a:hover {
	color: #00ff00;
	text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

td {
	margin: 0 20px 0 20px;
}

/* Terminal-specific classes */
#green-terminal {
	color: #00ff00;
}

.font-header {
	font-family: 'Orbitron', 'Press Start 2P', monospace;
	font-weight: 700;
}

.font-paragraph {
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	font-weight: 400;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
	body {
		font-size: 1em;
		padding-top: 60px;
		line-height: 1.6;
	}
	
	#user-name {
		font-size: 2.2em;
		letter-spacing: 1.5px;
	}
	
	.user-description {
		padding: 20px;
		font-size: 0.95em;
		line-height: 1.8;
	}
	
	.container {
		padding: 20px 15px;
		margin: 15px;
	}
	
	.post-list-item {
		padding: 15px;
	}
	
	.post-link {
		font-size: 1.1em;
	}
	
	.post-summary, .post-content {
		font-size: 0.95em;
		line-height: 1.8;
	}
	
	h1 { font-size: 1.8em; }
	h2 { font-size: 1.4em; }
	h3 { font-size: 1.1em; }
}
