/* =========================================
   GAMESO BLOG
========================================= */

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


:root {
  --bg: #070b16;
  --bg-soft: #0c1220;
  --card: #101827;
  --border: #252f45;

  --primary: #7657ff;
  --primary-dark: #553bd1;

  --text: #ffffff;
  --muted: #929db7;
  --muted-dark: #68738d;
}


html {
  scroll-behavior: smooth;
}


body {
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 50% -15%,
      rgba(118, 87, 255, 0.18),
      transparent 38%
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;
}


/* =========================================
   HEADER
========================================= */

.site-header {
  width: 100%;

  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(7, 11, 22, 0.94);

  border-bottom: 1px solid #20293c;

  backdrop-filter: blur(14px);
}


.header-inner {
  width: min(1150px, 92%);

  min-height: 70px;

  margin: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}


/* LOGO */

.logo {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #fff;

  text-decoration: none;

  font-size: 21px;

  font-weight: 900;
}


.logo-icon {
  width: 40px;
  height: 40px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background:
    linear-gradient(
      135deg,
      #7657ff,
      #5139c9
    );

  box-shadow:
    0 7px 22px rgba(118, 87, 255, 0.25);
}


/* NAVIGATION */

.navigation {
  display: flex;

  align-items: center;

  gap: 7px;
}


.navigation a {
  padding: 9px 13px;

  color: #929db7;

  text-decoration: none;

  border-radius: 8px;

  font-size: 12px;

  font-weight: 700;

  transition: 0.2s;
}


.navigation a:hover,
.navigation a.active {
  color: #fff;

  background: rgba(118, 87, 255, 0.12);
}


/* =========================================
   HERO
========================================= */

.blog-hero {
  width: min(850px, 92%);

  margin: auto;

  padding: 80px 20px 70px;

  text-align: center;
}


.hero-badge {
  display: inline-block;

  padding: 8px 15px;

  margin-bottom: 18px;

  border: 1px solid rgba(118, 87, 255, 0.35);

  border-radius: 50px;

  background: rgba(118, 87, 255, 0.08);

  color: #b8adff;

  font-size: 10px;

  font-weight: 900;

  letter-spacing: 1.4px;
}


.blog-hero h1 {
  margin-bottom: 17px;

  font-size: clamp(40px, 6vw, 64px);

  line-height: 1.05;

  letter-spacing: -2px;

  font-weight: 900;

  background:
    linear-gradient(
      135deg,
      #fff,
      #a99cff
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}


.blog-hero p {
  max-width: 680px;

  margin: auto;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.75;
}


/* =========================================
   COMMON SECTION
========================================= */

.featured-section,
.posts-section,
.categories-section {
  width: min(1150px, 92%);

  margin: 0 auto 75px;
}


.section-heading {
  margin-bottom: 25px;
}


.section-heading span {
  display: block;

  margin-bottom: 7px;

  color: #8f7fff;

  font-size: 10px;

  font-weight: 900;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}


.section-heading h2 {
  color: #fff;

  font-size: 28px;

  font-weight: 850;
}


/* =========================================
   FEATURED POST
========================================= */

.featured-post {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  overflow: hidden;

  border: 1px solid var(--border);

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      #111a2b,
      #0c1321
    );

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.2);
}


.featured-image {
  min-height: 330px;

  display: flex;

  align-items: center;

  justify-content: center;

  background:
    radial-gradient(
      circle,
      rgba(118, 87, 255, 0.32),
      transparent 60%
    ),
    #0d1525;

  border-right: 1px solid var(--border);

  font-size: 100px;
}


.featured-content {
  padding: 40px;
}


.post-category {
  display: inline-block;

  margin-bottom: 13px;

  color: #a99cff;

  font-size: 10px;

  font-weight: 900;

  letter-spacing: 1px;

  text-transform: uppercase;
}


.featured-content h2 {
  margin-bottom: 15px;

  font-size: 32px;

  line-height: 1.2;

  font-weight: 850;
}


.featured-content p {
  margin-bottom: 20px;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.75;
}


.post-info {
  display: flex;

  flex-wrap: wrap;

  gap: 15px;

  margin-bottom: 25px;

  color: #69748e;

  font-size: 11px;
}


.read-more {
  display: inline-flex;

  padding: 11px 16px;

  border-radius: 9px;

  background:
    linear-gradient(
      135deg,
      #7657ff,
      #573ed0
    );

  color: #fff;

  text-decoration: none;

  font-size: 12px;

  font-weight: 800;

  transition: 0.25s;
}


.read-more:hover {
  transform: translateY(-2px);

  box-shadow:
    0 10px 25px rgba(118, 87, 255, 0.25);
}


/* =========================================
   POSTS GRID
========================================= */

.posts-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}


.post-card {
  overflow: hidden;

  border: 1px solid var(--border);

  border-radius: 15px;

  background: var(--card);

  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}


.post-card:hover {
  transform: translateY(-5px);

  border-color: #4b3c91;

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22);
}


/* POST IMAGE */

.post-image {
  height: 190px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 65px;

  border-bottom: 1px solid var(--border);
}


.arcade-image {
  background:
    radial-gradient(
      circle,
      rgba(255, 75, 166, 0.18),
      transparent 60%
    ),
    #10162a;
}


.racing-image {
  background:
    radial-gradient(
      circle,
      rgba(255, 82, 82, 0.18),
      transparent 60%
    ),
    #10162a;
}


.snake-image {
  background:
    radial-gradient(
      circle,
      rgba(65, 210, 130, 0.18),
      transparent 60%
    ),
    #10162a;
}


.browser-image {
  background:
    radial-gradient(
      circle,
      rgba(66, 170, 255, 0.18),
      transparent 60%
    ),
    #10162a;
}


.traffic-image {
  background:
    radial-gradient(
      circle,
      rgba(255, 185, 66, 0.18),
      transparent 60%
    ),
    #10162a;
}


.gaming-image {
  background:
    radial-gradient(
      circle,
      rgba(118, 87, 255, 0.22),
      transparent 60%
    ),
    #10162a;
}


/* POST BODY */

.post-body {
  padding: 21px;
}


.post-body h3 {
  margin-bottom: 10px;

  color: #fff;

  font-size: 19px;

  line-height: 1.35;

  font-weight: 800;
}


.post-body p {
  min-height: 63px;

  margin-bottom: 18px;

  color: #808ba4;

  font-size: 12px;

  line-height: 1.7;
}


.post-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  padding-top: 14px;

  border-top: 1px solid #202a3f;
}


.post-bottom span {
  color: #606b84;

  font-size: 10px;
}


.post-bottom a {
  color: #9d90ff;

  text-decoration: none;

  font-size: 11px;

  font-weight: 800;

  transition: 0.2s;
}


.post-bottom a:hover {
  color: #fff;
}


/* =========================================
   CATEGORIES
========================================= */

.categories-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 15px;
}


.category-card {
  min-height: 145px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 7px;

  padding: 20px;

  border: 1px solid var(--border);

  border-radius: 14px;

  background: #0e1626;

  color: #fff;

  text-decoration: none;

  text-align: center;

  transition: 0.25s;
}


.category-card:hover {
  transform: translateY(-4px);

  border-color: #4e4191;

  background: #121b30;
}


.category-card span {
  font-size: 30px;

  margin-bottom: 3px;
}


.category-card strong {
  font-size: 13px;
}


.category-card small {
  color: #68738d;

  font-size: 10px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  margin-top: 80px;

  padding: 45px 20px 25px;

  border-top: 1px solid #20293c;

  background: #060a14;

  text-align: center;
}


.footer-inner {
  width: min(900px, 92%);

  margin: auto;
}


.footer-logo {
  margin-bottom: 10px;

  color: #fff;

  font-size: 20px;

  font-weight: 900;
}


.site-footer p {
  margin-bottom: 20px;

  color: #68738d;

  font-size: 11px;
}


.footer-links {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  gap: 15px;

  margin-bottom: 25px;
}


.footer-links a {
  color: #818ca5;

  text-decoration: none;

  font-size: 11px;

  transition: 0.2s;
}


.footer-links a:hover {
  color: #fff;
}


.copyright {
  padding-top: 20px;

  border-top: 1px solid #182236;

  color: #4f5a72;

  font-size: 10px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

  .posts-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

  .header-inner {
    min-height: 64px;
  }


  .navigation {
    gap: 2px;
  }


  .navigation a {
    padding: 7px 8px;

    font-size: 10px;
  }


  .logo {
    font-size: 18px;
  }


  .logo-icon {
    width: 35px;
    height: 35px;
  }


  .blog-hero {
    padding: 55px 10px 50px;
  }


  .blog-hero h1 {
    font-size: 40px;

    letter-spacing: -1.2px;
  }


  .blog-hero p {
    font-size: 13px;
  }


  .featured-post {
    grid-template-columns: 1fr;
  }


  .featured-image {
    min-height: 210px;

    border-right: 0;

    border-bottom: 1px solid var(--border);
  }


  .featured-content {
    padding: 25px;
  }


  .featured-content h2 {
    font-size: 25px;
  }


  .posts-grid {
    grid-template-columns: 1fr;
  }


  .categories-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 430px) {

  .header-inner {
    width: 94%;

    gap: 8px;
  }


  .navigation a {
    padding: 6px;

    font-size: 9px;
  }


  .blog-hero h1 {
    font-size: 34px;
  }


  .section-heading h2 {
    font-size: 24px;
  }


  .categories-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================================
   BLOG ARTICLE IMAGE
========================================= */

.blog-post img,
.blog-content img,
article img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}





/* =========================================
   FEATURED BLOG POSTS - IMAGE FIX
========================================= */

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 330px;
  overflow: hidden;
}

/* Image area */
.featured-post .featured-image {
  width: 100%;
  height: 330px;
  min-height: 330px;
  overflow: hidden;
  position: relative;
  background: #101827;
  display: block;
  padding: 0;
}

/* Actual image */
.featured-post .featured-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

/* Remove old placeholder effects */
.featured-post .featured-image::before,
.featured-post .featured-image::after {
  display: none !important;
  content: none !important;
}


/* Content */
.featured-post .featured-content {
  min-width: 0;
  padding: 30px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post .featured-image {
    width: 100%;
    height: 240px;
    min-height: 240px;
  }

  .featured-post .featured-content {
    padding: 22px;
  }

}





