:root {
	--bg: hsl(220, 10%, 8%);
	--bg-2: hsl(220, 10%, 17%);
	--bg-3: hsl(220, 10%, 11%);
	--bg-4: hsl(220, 10%, 16%);
	--bg-t: hsla(220, 12%, 5%, 0.25);
	--bg-t-2: hsla(220, 12%, 5%, 0.5);
	--txt: hsl(220, 30%, 80%);
	--txt-1: hsl(220, 45%, 90%);
	--txt-2: hsl(220, 14%, 55%);
	--txt-3: hsl(220, 11%, 35%);
	--txt-4: #000000;
	--border: hsl(0, 0%, 100%);
	--accent: #f9e2af;
	--success: #a6e3a1;
	--error: #f38ba8;
	--gradient-primary: linear-gradient(90deg, #CF5DEB 0%, #9F3DFA 100%);
	--gradient-secondary: linear-gradient(90deg, var(--txt-1) 0%, var(--txt) 100%);
}

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

html,
body {
    background: var(--bg);
	height: 100dvh;
	width: 100%;
	font-family: "Source Code Pro", monospace;
	color: var(--txt-1);
	overflow-x: hidden;
	scroll-behavior: smooth;
	-ms-overflow-style: none;
}

h1, h2, h3, h4, h5 {
	background: var(--gradient-primary);
	display: inline-block;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.container {
	max-width: 1200px;
	margin: 50px auto;
	width: 100%;
}

.section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.section-title {
	animation: fadeInUp 0.8s ease-out;
	font-size: 2.8rem;
	margin-bottom: 1rem;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.section-subtitle {
	animation: fadeInUp 0.8s ease-out;
	color: var(--text-secondary);
	font-size: 1.2rem;
	max-width: 600px;
	margin: 0 auto;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.5rem;
}

.blog-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 25px var(--shadow);
	transition: all 0.4s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.blog-card:hover {
	transform: translateY(-10px) !important;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
	border-color: rgba(159, 61, 250, 0.5) !important;
}

.card-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

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

.card-date {
	color: var(--accent-secondary);
	font-size: 0.9rem;
	font-weight: 500;
	margin-bottom: 0.8rem;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.card-title {
	font-size: 1.6rem;
	margin-bottom: 1.2rem;
	line-height: 1.4;
	transition: color 0.3s ease;
}

.blog-card:hover .card-title {
	color: var(--accent-secondary);
}

.card-excerpt {
	color: var(--text-secondary);
	margin-bottom: 1.8rem;
	line-height: 1.7;
	flex-grow: 1;
}

.card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-bottom: 1.8rem;
}

.tag {
	display: inline-block;
	background: rgba(159, 61, 250, 0.15);
	color: var(--accent-secondary);
	padding: 0.4rem 1rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
	transition: all 0.3s ease;
}

.tag:hover {
	background: rgba(159, 61, 250, 0.25);
	transform: translateY(-2px);
}

.hashtag-filters {
    background-color: var(--bg-2);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	color: var(--txt-1);
    margin-bottom: 30px;
    padding: 20px;
}

.filter-header {
    margin-bottom: 15px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    display: inline-block;
    padding: 8px 15px;
    background-color: #e9ecef;
    border-radius: 20px;
    text-decoration: none;
    color: #495057;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-tag:hover {
    background-color: #dee2e6;
    transform: translateY(-2px);
}

.filter-tag.active {
    background-color: #0d6efd;
    color: white;
    font-weight: bold;
}

.filter-tag.filter-remove {
	background-color: var(--error);
	color: var(--txt-4);
}

.card-links {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--accent-secondary);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.read-more:hover {
	gap: 1rem;
	color: var(--text-primary);
}

.social-links {
	display: flex;
	gap: 0.8rem;
}

.social-link {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(159, 61, 250, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent-secondary);
	transition: all 0.3s ease;
}

.social-link:hover {
	background: var(--accent-primary);
	color: white;
	transform: translateY(-3px);
}

.hashtag {
	display: inline-block;
	background: rgba(159, 61, 250, 0.2);
	border: 1px solid rgba(159, 61, 250, 0.3);
	border-radius: 20px;
	color: var(--txt-1);
	cursor: pointer;
	font-size: 0.9rem;
	padding: 0.4rem 1rem;
	transition: all 0.2s ease;
	text-decoration: none;
}

.hashtag:hover {
	transform: scale(1.025);
}

::-webkit-overflow-scrolling:touch {
	background: #707070;
	width: 5px;
}