/* PS4 Console - Static Site Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Oswald:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #1a1a2e;
  color: #e0e0e0;
  line-height: 1.6;
}

a {
  color: #4fc3f7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #81d4fa;
}

img {
  max-width: 100%;
  height: auto;
}

/* Top Navigation */
.top-nav {
  background: #0f0f23;
  border-bottom: 2px solid #0d47a1;
  padding: 0;
}
.top-nav ul {
  list-style: none;
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}
.top-nav li a {
  display: block;
  padding: 12px 20px;
  color: #b0bec5;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.top-nav li a:hover,
.top-nav li a.active {
  background: #1a237e;
  color: #fff;
}

/* Site Header */
.site-header {
  background: #0f0f23;
  text-align: center;
  padding: 0;
}
.site-title {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  padding: 20px 0 0;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.site-title a {
  color: #fff;
}
.banner-image {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
}
.banner-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Main Content Area */
.main-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* Intro Section */
.intro-section {
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  border-radius: 8px;
  padding: 30px 40px;
  margin-bottom: 30px;
  text-align: center;
}
.intro-section h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
}
.intro-section p {
  color: #b0bec5;
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
}

/* Category Tiles */
.cat-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #16213e;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(13, 71, 161, 0.4);
}
.tile a {
  display: block;
  color: inherit;
}
.tile img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.tile-info {
  padding: 15px;
}
.tile-info h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  color: #fff;
  margin-bottom: 6px;
}
.tile-info p {
  font-size: 13px;
  color: #90a4ae;
  line-height: 1.5;
}

/* Post Entries */
.entry {
  background: #16213e;
  border-radius: 8px;
  margin-bottom: 25px;
  overflow: hidden;
  display: flex;
  transition: box-shadow 0.3s;
}
.entry:hover {
  box-shadow: 0 4px 20px rgba(13, 71, 161, 0.3);
}
.entry-image {
  flex: 0 0 280px;
}
.entry-image img {
  width: 280px;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}
.entry-content {
  padding: 20px 25px;
  flex: 1;
}
.entry-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  margin-bottom: 8px;
}
.entry-title a {
  color: #fff;
}
.entry-title a:hover {
  color: #4fc3f7;
}
.entry-meta {
  font-size: 13px;
  color: #78909c;
  margin-bottom: 12px;
}
.entry-meta .category {
  color: #4fc3f7;
}
.entry-excerpt {
  font-size: 14px;
  color: #b0bec5;
  line-height: 1.7;
  margin-bottom: 12px;
}
.read-more {
  display: inline-block;
  color: #4fc3f7;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid #4fc3f7;
  padding: 6px 16px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.read-more:hover {
  background: #4fc3f7;
  color: #0f0f23;
}

/* Single Post Page */
.post-single {
  background: #16213e;
  border-radius: 8px;
  padding: 30px 40px;
  margin-bottom: 30px;
}
.post-single .post-header {
  margin-bottom: 20px;
}
.post-single .post-title {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 10px;
}
.post-single .post-meta {
  font-size: 14px;
  color: #78909c;
  margin-bottom: 20px;
}
.post-single .post-featured-image {
  margin: 0 -40px 25px;
}
.post-single .post-featured-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.post-single .post-body {
  font-size: 16px;
  color: #cfd8dc;
  line-height: 1.8;
}
.post-single .post-body p {
  margin-bottom: 16px;
}
.post-single .post-body h3 {
  font-family: 'Oswald', sans-serif;
  color: #fff;
  margin: 24px 0 12px;
  font-size: 22px;
}
.post-single .post-body strong {
  color: #fff;
}

/* Back Link */
.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #4fc3f7;
  font-size: 14px;
}
.back-link:hover {
  color: #81d4fa;
}

/* Contact Page */
.contact-section {
  background: #16213e;
  border-radius: 8px;
  padding: 40px;
  max-width: 600px;
}
.contact-section h2 {
  font-family: 'Oswald', sans-serif;
  color: #fff;
  font-size: 28px;
  margin-bottom: 16px;
}
.contact-section p {
  color: #b0bec5;
  margin-bottom: 12px;
}

/* Category Page */
.category-header {
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 25px;
}
.category-header h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  color: #fff;
}
.category-header p {
  color: #b0bec5;
  font-size: 14px;
  margin-top: 6px;
}

/* Footer */
.site-footer {
  background: #0f0f23;
  border-top: 2px solid #0d47a1;
  text-align: center;
  padding: 25px;
  margin-top: 40px;
  color: #546e7a;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  .entry {
    flex-direction: column;
  }
  .entry-image {
    flex: none;
  }
  .entry-image img {
    width: 100%;
    height: 200px;
  }
  .cat-section {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .site-title {
    font-size: 24px;
  }
  .post-single {
    padding: 20px;
  }
  .post-single .post-featured-image {
    margin: 0 -20px 20px;
  }
  .intro-section {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .cat-section {
    grid-template-columns: 1fr;
  }
  .top-nav ul {
    justify-content: center;
  }
}
