:root {
  --bg: #0f0f0f;
  --text: #e0e0e0;
  --accent: #7fffd4;
  --highlight: #1a1a1a;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

header {
  background: var(--bg);
  padding: 4rem 1rem 2rem;
  text-align: center;
  animation: fadeIn 1.2s ease-out;
}

header h1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  animation: slideDown 1s ease-out;
}

header p {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color: #aaa;
  animation: slideUp 1s ease-out;
}

nav {
  display: flex;
  justify-content: center;
  background-color: var(--highlight);
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  animation: fadeIn 1.5s ease-out;
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin: 1rem;
  padding-bottom: 0.25rem;
  font-weight: 600;
  position: relative;
}

nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
  position: absolute;
  bottom: 0;
  left: 0;
}

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

.hero {
  background: url('Background.png') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  animation: fadeIn 2s ease-out;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, rgba(15, 15, 15, 0.6), var(--bg));
  animation: gradientFade 3s ease-in-out;
}

.hero h2 {
  color: white;
  font-size: 2.5rem;
  z-index: 1;
  text-align: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  animation: riseIn 1.5s ease-out;
}

main.content {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.blog-post {
  background: #121212;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease-out;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.blog-post h3 {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.blog-post time {
  font-size: 0.85rem;
  color: #888;
  display: block;
  margin-bottom: 1rem;
}

.blog-post p {
  font-size: 1.05rem;
  color: #ccc;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-links a {
  background-color: #222;
  color: var(--accent);
  border: 1px solid #333;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: var(--accent);
  color: #0f0f0f;
}

footer {
  background: var(--highlight);
  color: #999;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #222;
  animation: fadeIn 2s ease-out;
}

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

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

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

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

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

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