* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid #5960e8;
  outline-offset: 3px;
}
a {
  text-decoration: none;
  color: unset;
  display: inline-block;
}
p { color: #ffffffaf; }
body {
  font-family: Montserrat, sans-serif;
  background: #000;
}
main {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
}
.container {
  width: 90%;
  max-width: 1280px;
  margin: auto;
}
.flex { display: flex; align-items: center; }
.f-clmn { flex-direction: column; }
.sb { justify-content: space-between; }
.jc { justify-content: center; }
.ac { align-items: center; }
li { list-style: none; }
span { display: inline-block; }

/*--------
  BUTTONS
--------*/
.blueBtn {
  box-shadow: inset 2px 2px 10px -4px #fff;
  background-color: #5960e8;
  color: #fff;
}
button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 12px 14px;
  border: unset;
  border-radius: 8px;
  font-size: clamp(14px, 15px, 16px);
  font-family: Montserrat, sans-serif;
  transition: 0.3s ease;
  display: inline-block;
  opacity: 1;
}
button .text,
button .hover-text {
  display: block;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
button .hover-text {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
}
button:hover .text { transform: translateY(-170%); }
button:hover .hover-text { transform: translateY(-170%); }
button:hover {
  box-shadow: 0px 0px 50px -10px #fff;
  transform: scale(1.05);
}
button:active { transform: scale(0.9); }

/*----------------
  FOR ALL SECTIONS
----------------*/
section {
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow-y: hidden;
}
.allh2 {
  font-size: clamp(14px, 14px, 16px);
  font-weight: 500;
  margin-bottom: 35px;
  padding: 8px 12px;
  border: 1px solid #ffffff46;
  border-radius: 8px;
  width: fit-content;
}
.allh1 {
  font-size: clamp(24px, 5vw, 50px);
  line-height: clamp(2rem, 8vw, 5vw);
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}
.allp {
  margin-bottom: 50px;
  font-size: clamp(16px, 16px, 16px);
  line-height: 1.6rem;
  color: #ffffffaf;
  text-align: center;
}

/*-------
  HEADER
-------*/
header {
  background-color: #000000;
  width: 90%;
  margin: auto;
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  color: #fff;
  height: 3.5rem;
  z-index: 999;
  user-select: none;
  border-radius: 8px;
  box-shadow:
    1px 1px 50px -20px #f780ff88,
    1px 1px 50px -20px rgba(218, 165, 32, 0.553);
}
.IconCol { display: none; }
.logo {
  font-size: clamp(20px, 3vw, 20px);
  font-weight: 600;
}
.nav { gap: 15px; }
.nav li {
  padding: 10px 15px;
  font-size: 14px;
  transition: 0.3s ease;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}
.nav li:hover {
  color: #ffffff;
  background-color: #5960e8;
  box-shadow: 0px 0px 50px -10px #fff, inset 2px 2px 10px -4px #fff;
}
.nav li:active { transform: scale(0.9); }
.ri-menu-4-line,
.ri-close-large-fill {
  font-size: 22px;
  color: #fff;
  margin-right: 10px;
}
.navRow {
  display: none;
  line-height: clamp(3rem, 5vw, 5rem);
  margin-top: 1rem;
  text-align: center;
  border-top: 0.1px solid #ffffffaf;
  padding: 20px 0px;
}
header.add {
  padding: 15px 0px;
  height: fit-content;
}
header.add .navRow { display: flex !important; }
.navCol h2 {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 400;
}

/*-------------------
  SECTION 1 - HERO
-------------------*/
.blogHeroSec {
  height: 100vh;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #000000;
  flex-direction: column;
}
.blog-hero-content {
  position: relative;
  gap: 20px;
}
.blog-hero-content h1 {
  font-size: clamp(35px, 5vw, 70px);
  line-height: clamp(2.6rem, 8vw, 7vw);
  font-weight: 600;
}
.blog-hero-content h2 { margin: 0; }
.blog-hero-content .p2 {
  color: #ffffffaf;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7rem;
  text-align: center;
}

/*------------------------
  SECTION 2 - FEATURED
------------------------*/
.featuredSec {
  height: fit-content;
  padding: 60px 0px 40px;
  display: block;
}
.featured-card {
  display: flex;
  gap: 0;
  border: 1px solid #ffffff20;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #000, #5960e810 40% 60%, #000);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.featured-card:hover {
  box-shadow: 0 0 60px -15px #5960e8aa;
  transform: translateY(-4px);
}
.featured-img-wrap {
  position: relative;
  width: 55%;
  flex-shrink: 0;
  overflow: hidden;
}
.featured-img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.featured-card:hover .featured-img-wrap img { transform: scale(1.04); }
.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, #000 100%);
}
.featured-body {
  padding: 40px 35px;
  gap: 18px;
  justify-content: center;
  align-items: flex-start;
}
.featured-body h2 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}
.featured-body p {
  font-size: 15px;
  line-height: 1.6rem;
  color: #ffffffaf;
}

/*-------------------
  BLOG CATEGORY BADGE
-------------------*/
.blog-cat-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: #5960e820;
  border: 1px solid #5960e855;
  color: #9da3ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/*-------------------
  BLOG META
-------------------*/
.blog-meta {
  gap: 18px;
  flex-wrap: wrap;
}
.blog-meta span {
  font-size: 13px;
  color: #ffffff66;
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-meta i { font-size: 14px; }
.read-more-link {
  color: #9da3ff !important;
  font-weight: 600;
  font-size: 13px !important;
  display: flex !important;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}
.read-more-link:hover { gap: 8px !important; }

/*-----------------------
  SECTION 3 - BLOG GRID
-----------------------*/
.blogsGridSec {
  height: fit-content;
  padding: 40px 0px 60px;
  display: block;
}
.blogs-header {
  margin-bottom: 10px;
}

/* FILTER BUTTONS */
.blog-filter {
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.filter-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  background: transparent;
  border: 1px solid #ffffff28;
  color: #ffffffaf;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.25s ease;
}
.filter-btn:hover {
  background: #5960e820;
  border-color: #5960e855;
  color: #fff;
  transform: none;
  box-shadow: none;
}
.filter-btn.active {
  background: #5960e8;
  border-color: #5960e8;
  color: #fff;
  box-shadow: inset 2px 2px 10px -4px #fff;
  transform: none;
}

/* SEARCH */
.blog-search { margin-bottom: 40px; }
.search-wrap {
  gap: 10px;
  background: #111;
  border: 1px solid #ffffff20;
  border-radius: 8px;
  padding: 10px 16px;
  width: 400px;
  max-width: 100%;
  transition: border-color 0.25s ease;
}
.search-wrap:focus-within { border-color: #5960e855; }
.search-wrap i { color: #ffffff55; font-size: 16px; }
.search-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  width: 100%;
}
.search-wrap input::placeholder { color: #ffffff44; }

/* GRID */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ffffff18;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #050505, #0a0a0f);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.blog-card:hover {
  box-shadow: 0 0 50px -15px #5960e880;
  transform: translateY(-5px);
  border-color: #5960e840;
}
.blog-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img-wrap img { transform: scale(1.06); }
.blog-body {
  padding: 22px 20px;
  gap: 12px;
  flex: 1;
  justify-content: space-between;
  align-items: flex-start;
}
.blog-body h3 {
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}
.blog-body > p {
  font-size: 14px;
  line-height: 1.6rem;
  color: #ffffffaf;
}

/* NO RESULTS */
.no-results {
  flex-direction: column;
  gap: 12px;
  padding: 60px 0;
  color: #ffffff44;
  text-align: center;
}
.no-results i { font-size: 40px; }
.no-results p { font-size: 16px; color: #ffffff44; }

/*---------------------
  SECTION 4 - PROMO
---------------------*/
.promoSec {
  height: fit-content;
  padding: 50px 0px;
  text-align: center;
  display: block;
}
.promotion {
  padding: 70px 50px;
  border-radius: 8px;
  width: fit-content;
  margin: auto;
  background: linear-gradient(130deg, #9976ff, #ffffff14 20% 80%, #9976ff);
}
.promotion .allh1 {
  font-size: clamp(30px, 5vw, 50px);
  line-height: clamp(2rem, 8vw, 5vw);
}
.promotion button { margin-top: 30px; }

/*-------
  FOOTER
-------*/
footer { padding-top: 50px; user-select: none; }
.footer-top {
  padding: 40px 0px;
  align-items: flex-start;
  gap: 40px;
}
.footer-brand {
  gap: 20px;
  align-items: flex-start;
  max-width: 340px;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 8px;
}
.footer-brand .logo {
  color: #fff;
  font-size: clamp(18px, 2vw, 22px);
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6rem;
  color: #ffffffaf;
}
.footer-social {
  gap: 16px;
  margin-top: 5px;
}
.footer-social a {
  font-size: 20px;
  color: #ffffffaf;
  transition: color 0.25s ease;
}
.footer-social a:hover { color: #fff; }
.footer-links-group {
  gap: 50px;
  align-items: flex-start;
}
.footer-col {
  gap: 14px;
  align-items: flex-start;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-col a {
  font-size: 14px;
  color: #ffffffaf;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding: 15px 0px;
  border-top: 1px solid #ffffff20;
  margin-top: 10px;
}
.footer-bottom p {
  font-size: 13px;
  color: #ffffff55;
}
.footer-bottom a {
  font-size: 13px;
  color: #cacdff;
  text-decoration: underline;
}

/*-----------
  RESPONSIVE
-----------*/
@media (max-width: 768px) {
  .IconCol { display: block; }
  .ri-menu-4-line { display: block; }
  .nav { display: none; }

  .featured-card { flex-direction: column; }
  .featured-img-wrap { width: 100%; }
  .featured-img-wrap img { min-height: 220px; }
  .featured-overlay { background: linear-gradient(180deg, transparent 60%, #000 100%); }
  .featured-body { padding: 24px 20px; }

  .blogs-grid { grid-template-columns: 1fr; }

  .blog-filter { gap: 8px; }
  .filter-btn { font-size: 12px; padding: 7px 12px; }

  .search-wrap { width: 100%; }

  .footer-top { flex-direction: column; }
  .footer-brand { max-width: 100%; }
  .footer-links-group { gap: 30px; flex-wrap: wrap; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .IconCol { display: block; }
  .ri-menu-4-line { display: block; }
  .nav { display: none; }

  .featured-card { flex-direction: column; }
  .featured-img-wrap { width: 100%; }
  .featured-overlay { background: linear-gradient(180deg, transparent 60%, #000 100%); }

  .blogs-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { flex-direction: column; }
  .footer-brand { max-width: 100%; }
}