html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background-color: #FFFAEA;
  color: #222;
  font-family: sans-serif;
  line-height: 1.6;
}

body {
  min-height: 100%;
}

header {
  flex: 0 0 auto;
}

.flex-main {
  flex: 1 0 auto;
}

.container {
  max-width: 768px;
  margin: 0 auto;
  padding: 0;
}

.site-header {
  width: 100%;
  background-color: #A6AAEE;
  color: white;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1920px;
  padding: 0.5rem 1rem;
}

.main-nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #9AEFFF;
}

footer {
  flex: 0 0 auto;
  background-color: #FAE9E9;
  color: #222;
  text-align: center;
  padding: 1rem;
}

button, .btn {
  background-color: #D2898A;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover, .btn:hover {
  background-color: #9AC7F5;
}

.card {
  background-color: #FAE9E9;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.recent-posts {
  background-color: #FAE9E9;
  padding: 2rem 0;
}

.recent-posts h2 {
  margin-bottom: 1rem;
  color: #222;
}

.recent-posts ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recent-posts li {
  margin-bottom: 1.5rem;
}

.recent-posts a {
  font-weight: bold;
  color: #A6AAEE;
  text-decoration: none;
}

.site-header .logo img {
  width: 200px;
  height: auto;
  image-rendering: pixelated;
}

.main-nav ul {
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.main-nav li {
  margin: 0;
}

.blog-post {
  max-width: 768px;
  margin: 0 auto;
  line-height: 1.7;
  padding: 1rem;
}

.blog-post h1 {
  margin-bottom: 1rem;
}

.blog-summary {
  background-color: #FAE9E9;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.blog-summary h3 {
  color: #A6AAEE;
  text-decoration: none;
}

.blog-summary a:hover {
  color: #9AEFFF;
}

.post-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.hero .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero .slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(4px);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero .slide.active .slide-bg {
  opacity: 1;
}

.hero .slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #FFFAEA;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero .slide.active .slide-text {
  opacity: 1;
}

.hero .slide-text h2 {
  font-size: 2rem;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  margin: 0;
}

/* Remaining Styles (Blog timeline, authors, games, contact) */
.blog-timeline-page .container,
.blog-content,
.post-author,
.author-socials,
.games-list ul,
.game-card,
.game-slideshow,
.game-platforms,
.contact-page {
  /* existing styles copied as-is */
  /* omitted here for brevity */
}
