* {
     margin:0;
     padding:0;
     box-sizing:border-box;
}
 a {
    text-decoration: none;
 }

 body {
     font-family: 'Roboto', sans-serif;
     line-height: 1.7;
     color: #eee;
     background: linear-gradient(to bottom, #16213e, #0f3460);
     overflow-x: hidden;
}
 h1, h2, h3, h4 {
     font-family: 'Playfair Display', serif;
}
/* NAV */
 nav {
     background: linear-gradient(to bottom, #16213e, #0f3460);
     padding: 1.2em 2em;
     top: 0;
     z-index: 100;
     backdrop-filter: blur(12px);
     box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
 nav ul {
     list-style: none;
     display: grid;
     grid-template-columns: auto auto auto auto;
     justify-content: center;
     gap: 3em;
}
 #nav-links a {
     color: #fff;
     text-decoration: none;
     font-weight: 700;
     font-size: 1.05em;
     position: relative;
     transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
}
 #nav-links a::after {
     content: '';
     position: absolute;
     width: 0;
     height: 3px;
     bottom: -6px;
     left: 0;
     background: #FFD700;
     transition: width 0.4s cubic-bezier(0.23,1,0.32,1);
}
 #nav-links a:hover::after, #nav-links a.active::after {
     width: 100%;
}
 #nav-links a:hover, #nav-links a.active {
     color: #FFD700;
     transform: translateY(-2px);
}

/* HERO */
 .blog-hero {
     position: relative;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     overflow: hidden;
     background: linear-gradient(to bottom, #001f3f, #000033);
}
 #particles-js {
     position: absolute;
     inset: 0;
     z-index: 0;
}
 .hero-content {
     z-index: 2;
     max-width: 920px;
     padding: 0 2em;
}
 .hero-content h1 {
     font-size: clamp(3.2rem, 8vw, 5.6rem);
     line-height: 1.05;
     margin-bottom: 0.5em;
     text-shadow: 0 4px 40px rgba(255,215,0,0.5);
     animation: glow 3s infinite alternate;
}
 @keyframes glow {
     from {
         text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    }
     to {
         text-shadow: 0 4px 50px rgba(255,215,0,0.75);
    }
}
 .hero-content p {
     font-size: clamp(1.3rem, 4vw, 1.7rem);
     max-width: 720px;
     margin: 1em auto 2.2em;
     margin-bottom: 10vh;
}
 .hero-verse {
     font-style: italic;
     font-size: clamp(1.2rem, 3.5vw, 1.45rem);
     color: #FFD700;
     margin-top: 1.8em;
}
/* FILTERS */
 .blog-filters {
     display: flex;
     justify-content: center;
     gap: 1em;
     flex-wrap: wrap;
     padding: 3.5em 2em 2em;
     background: rgba(0,31,63,0.65);
}
 .filter-tab {
     background: transparent;
     color: #fff;
     border: 2px solid #FFD700;
     padding: 0.9em 2.4em;
     border-radius: 50px;
     font-weight: 700;
     cursor: pointer;
     transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
}
 .filter-tab:hover, .filter-tab.active {
     background: #FFD700;
     color: #001f3f;
     transform: translateY(-4px);
     box-shadow: 0 10px 25px rgba(255,215,0,0.35);
}
/* FEATURED */
 .featured {
     max-width: 1300px;
     margin: 0 auto;
     padding: 0 2em 4em;
}
 .featured-card {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 3em;
     background: rgba(22,33,62,0.85);
     border-radius: 28px;
     overflow: hidden;
     border: 1px solid rgba(255,215,0,0.2);
     transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
     text-decoration: none;
     color: inherit;
}
 .featured-card:hover {
     transform: scale(1.02);
     box-shadow: 0 30px 60px rgba(255,215,0,0.25);
}
 .featured-card img {
     width: 100%;
     height: 100%;
     object-fit: cover;
}
 .featured-content {
     padding: 3em;
     display: flex;
     flex-direction: column;
     justify-content: center;
}
 .category {
     display: inline-block;
     padding: 6px 20px;
     border-radius: 30px;
     font-size: 0.9rem;
     font-weight: 700;
     margin-bottom: 1em;
}
 .category-faith {
     background: #FFD700;
     color: #001f3f;
}
 .category-dev {
     background: #22d3ee;
     color: #001f3f;
}
 .category-releases {
     background: #a855f7;
     color: #fff;
}
 .category-growth {
     background: #f59e0b;
     color: #001f3f;
}
 .featured-content h2 {
     font-size: 2.8rem;
     line-height: 1.15;
     margin-bottom: 1em;
}
/* GRID */
 .blog-grid {
     max-width: 1300px;
     margin: 0 auto;
     padding: 2em;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
     gap: 2.8em;
}
 .blog-card {
     background: rgba(22,33,62,0.85);
     border-radius: 24px;
     overflow: hidden;
     border: 1px solid rgba(255,215,0,0.15);
     transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
 .blog-card:hover {
     transform: translateY(-16px);
     box-shadow: 0 25px 50px rgba(255,215,0,0.25);
}
 .blog-card img {
     width: 100%;
     height: 220px;
     object-fit: cover;
     transition: transform 0.7s cubic-bezier(0.34,1.56,0.64,1);
}
 .blog-card:hover img {
     transform: scale(1.1);
}
 .blog-content {
     padding: 1.8em;
     color:white;
}
 .blog-content .category {
     font-size: 0.85rem;
     margin-bottom: 0.8em;
}
 .blog-content h3 {
     font-size: 1.65rem;
     line-height: 1.25;
     margin-bottom: 0.8em;
     color: white;
     text-decoration: none;
}
 .blog-meta {
     font-size: 0.95rem;
     color: #aaa;
     display: flex;
     gap: 1em;
}
/* FOOTER */
 .blog-footer {
     text-align: center;
     padding: 7em 2em 5em;
     background: linear-gradient(to bottom, #0f3460, #001f3f);
}
 .blog-footer a {
     display: inline-block;
     background: #FFD700;
     color: #001f3f;
     padding: 1.2em 3.5em;
     border-radius: 50px;
     font-weight: 700;
     font-size: 1.25rem;
     text-decoration: none;
     transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
}
 .blog-footer a:hover {
     transform: scale(1.05);
     box-shadow: 0 15px 35px rgba(255,215,0,0.45);
}
/* MOBILE */
 @media (max-width: 768px) {
     nav {
         padding: 1em 1.5em;
         justify-content: space-between;
    }



     .featured-card {
         grid-template-columns: 1fr;
    }
     .blog-grid {
         grid-template-columns: 1fr;
         padding: 1em;
    }
     .hero-content {
         padding-top: 15vh;
    }
     .blog-hero {
         min-height: 70vh;
    }
}
/* POST HERO */
 .post-hero {
     position: relative;
     min-height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     overflow: hidden;
     background: linear-gradient(to bottom, #001f3f, #000033);
     padding: 4em 2em;
}
 .post-hero .hero-content {
     max-width: 920px;
}
 .post-hero .category {
     margin-bottom: 1em;
}
 .post-hero h1 {
     font-size: clamp(2.8rem, 7vw, 4.5rem);
     margin-bottom: 0.5em;
}
 .post-hero .blog-meta {
     justify-content: center;
     margin-bottom: 2em;
}
 .post-image {
     max-width: 40%;
     height: auto;
     border-radius: 24px;
     box-shadow: 0 15px 40px rgba(255,215,0,0.2);
     margin: 0 auto;
     display: block;
}
/* POST CONTENT */
 .post-content {
     max-width: 820px;
     margin: 4em auto;
     padding: 0 2em;
     background: rgba(22,33,62,0.85);
     border-radius: 28px;
     border: 1px solid rgba(255,215,0,0.15);
     overflow: hidden;
}
 .post-body {
     padding: 3em;
     font-size: 1.15rem;
     color: #ddd;
     line-height: 1.85;
}
 .post-body p {
     margin-bottom: 1.5em;
}
 .post-body h2, .post-body h3 {
     color: #FFD700;
     margin-top: 2em;
     margin-bottom: 1em;
}
 .back-link {
     display: inline-block;
     color: #FFD700;
     text-decoration: none;
     font-weight: 700;
     padding: 1em 2em;
     border: 2px solid #FFD700;
     border-radius: 50px;
     margin: 0 auto 3em;
     display: block;
     width: fit-content;
     transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
}
 .back-link:hover {
     background: #FFD700;
     color: #001f3f;
     transform: translateY(-4px);
     box-shadow: 0 10px 25px rgba(255,215,0,0.35);
}
 @media (max-width: 768px) {
     .post-hero {
         min-height: 50vh;
         padding: 3em 1.5em;
    }
     .post-content {
         margin: 2em auto;
    }
     .post-body {
         padding: 2em 1.5em;
    }
    .blog-footer p{
        margin-bottom: 10px;
    }
    .blog-footer a{
        padding: 0.8em 2em;
    }

}

 @media (max-width: 320px) {

    nav ul {
        grid-template-columns: auto auto auto;

    }


 }