body {
  background-color: #000000;
  color: #ffffff;
}

.site-main {
  background-color: #000000;
}

.blog-hero {
  height: 60vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.blog-eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #9247d7;
  margin-bottom: 1rem;
  background: rgba(146, 71, 215, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(146, 71, 215, 0.3);
}

.blog-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.text-gradient {
  background: linear-gradient(90deg, #ffffff 0%, #9247d7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-description {
  font-size: 1.2rem;
  color: #cccccc;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-container-wrapper {
  position: relative;
  z-index: 10;
  background-color: #000000;
  padding-bottom: 6rem;
  margin-top: -60px;
}

.blog-filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.filter-btn {
  background: transparent;
  border: none;
  color: #a1a1aa;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #9247d7;
  color: #ffffff;
}

.featured-post-section {
  margin-bottom: 5rem;
}

.featured-card {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(146, 71, 215, 0.3);
}

.featured-image-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-card:hover .featured-img {
  transform: scale(1.05);
}

.placeholder-img {
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  background-image: linear-gradient(
    45deg,
    #1a1a1a 25%,
    #222 25%,
    #222 50%,
    #1a1a1a 50%,
    #1a1a1a 75%,
    #222 75%,
    #222 100%
  );
  background-size: 40px 40px;
}

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #9247d7;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.featured-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  color: #a1a1aa;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.post-meta i {
  color: #9247d7;
  margin-right: 0.5rem;
}

.featured-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.featured-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-title a:hover {
  color: #9247d7;
}

.featured-excerpt {
  color: #cccccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #9247d7;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.read-more-btn:hover {
  gap: 1rem;
  background-color: transparent;
  color: #9247d7;
}

.newsletter-section {
  margin-bottom: 5rem;
}

.newsletter-box {
  background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
  border: 1px solid rgba(146, 71, 215, 0.2);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(146, 71, 215, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  z-index: 0;
}

.newsletter-text {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  flex: 1;
}

.newsletter-icon {
  font-size: 2rem;
  color: #9247d7;
  background: rgba(146, 71, 215, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.newsletter-copy h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.newsletter-copy p {
  color: #a1a1aa;
  font-size: 1rem;
  margin: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 500px;
}

.newsletter-form .input-group {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.newsletter-form input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-message {
    font-size: 0.9rem;
    padding-left: 1rem;
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    width: 100%;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #f87171;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #9247d7;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(146, 71, 215, 0.3);
}

.newsletter-btn {
  background: #9247d7;
  color: #ffffff;
  border: 1px solid transparent;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #7a3bb8;
}

.section-header-simple {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-header-simple h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
}

.header-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  flex-grow: 1;
}

.latest-quests-swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 3rem;
  cursor: grab;
}

.latest-quests-swiper:active {
  cursor: grabbing;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

.post-card {
  background-color: #0a0a0a;
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(146, 71, 215, 0.3);
}

.card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-img {
  transform: scale(1.05);
}

.placeholder-img-small {
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
}

.card-category {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  gap: 0.5rem;
  color: #71717a;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.meta-author {
  color: #a1a1aa;
  font-weight: 600;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
  flex-grow: 1;
}

.card-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-title a:hover {
  color: #9247d7;
}

.card-link {
  color: #9247d7;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.card-link:hover {
  text-decoration: underline;
}

.cta-slide {
  background: linear-gradient(135deg, #2d1b4e 0%, #1a0b2e 100%);
  border: 1px solid rgba(146, 71, 215, 0.3);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.cta-slide-icon {
  font-size: 2.5rem;
  color: #9247d7;
  margin-bottom: 1.5rem;
  background: rgba(146, 71, 215, 0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-slide h4 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-slide p {
  color: #cccccc;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.btn-cta-slide {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cta-slide:hover {
  background: #9247d7;
  border-color: #9247d7;
}

.swiper-nav-buttons {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  background: #9247d7;
  border-color: #9247d7;
}

.swiper-button-prev-custom.swiper-button-disabled,
.swiper-button-next-custom.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: #9247d7 !important;
  width: 20px !important;
  border-radius: 5px !important;
  transition: width 0.3s ease;
}

.blog-cta-section {
  padding-top: 4rem;
  padding-bottom: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-box {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid rgba(146, 71, 215, 0.2);
  border-radius: 24px;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(146, 71, 215, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}

.cta-content {
  max-width: 600px;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.2rem;
  color: #a1a1aa;
  margin: 0;
}

.cta-action {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-left: 2rem;
}

.btn-primary {
  background-color: #9247d7;
  color: #ffffff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: #7a3bb8;
}

.featured-layout-split {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.featured-main-card {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
}

.featured-main-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(146, 71, 215, 0.3);
}

.featured-main-card .featured-image-wrapper {
  height: 60%;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

.featured-main-card .featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-main-card:hover .featured-img {
  transform: scale(1.05);
}

.featured-main-card .featured-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.featured-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.featured-list-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  border-left: 4px solid #9247d7;
  padding-left: 1rem;
}

.featured-list-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.featured-list-item {
  display: flex;
  gap: 1rem;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 12px;
  align-items: center;
  transition: background 0.3s ease;
  flex-grow: 1;
}

.featured-list-item:hover {
  background: #27272a;
  border-color: rgba(146, 71, 215, 0.3);
}

.featured-list-items.single-list-mode .featured-list-item {
  flex-grow: 0;
}

.featured-list-image {
  width: 100px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.featured-list-image img,
.featured-list-image .placeholder-img-small {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #2a2a2a;
}

.featured-list-content {
  flex-grow: 1;
}

.post-meta-small {
  font-size: 0.8rem;
  color: #a1a1aa;
  margin-bottom: 0.25rem;
}

.featured-list-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.featured-list-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.featured-list-title a:hover {
  color: #9247d7;
}
