@font-face {
  font-family: 'Aldrich';
  src: url('../fonts/Aldrich-Regular.ttf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Big Macca';
  src: url('../fonts/bigmacca.ttf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

.page-bg-img {
  display: block;
}

.page-bg-img.mobile-bg {
  display: none;
}


.desktop-bg {
  display: block;
}

.mobile-bg {
  display: none;
}

@media (max-width: 767px) {
  .desktop-bg {
    display: none;
  }

  .mobile-bg {
    display: block !important;
  }
}

.section-hero {
  position: relative;
  background-image: url('../img/Header\ bg.png');
  background-size: cover;
  background-position: center;
  aspect-ratio: 2880 / 1460;
  width: 100%;
  /* min-height: 700px; */
  line-height: 0;
  background-repeat: no-repeat;
}
@media (max-width: 767px) {
  .section-hero {
    background-image: url('../img/mobile-header.png');
    aspect-ratio: 390 / 844;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: -12%;
  }
}

/* Outer section — black sides */
.section-series {
  background-color: #13161F;
  padding: 30px 0;
  width: 100%;
}

/* Inner card — section-1.png stretches to fit content */
.series-card {
  background-image: url('../img/section-1.png');
  background-size: 100% 100%;   /* stretches to match content dimensions */
  background-repeat: no-repeat;
  max-width: 1200px;             /* controls how wide the card is — tweak this */
  margin: 0 auto;                /* centers it, leaving black on sides */
  padding: 30px 80px;            /* breathing room inside the card */
}

@media (max-width: 767px) {
  .section-series {
    padding: 15px 0;
  }

  .series-card {
    background-image: url('../img/bg\ series\ mobile.png');
    background-position: top;
    max-width: 92%;
    padding: 5px 20px 30px;
  }
}

.section-games {
  background-image: url('../img/Characters\ bg.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding: 47px 24px 23px;
    width: 100%;
    background-color: #13161F;
}

.section-games__content {
  position: relative;
  z-index: 1;
  padding: 20px 0;
  max-width: 1300px;
  margin: 0 auto;
}

.character-card {
  cursor: pointer;
}

@media (max-width: 767px) {
  .section-games {
    background-image: url('../img/character\ bg\ mobile.png');
    background-position: top;
    padding: 0 16px;
  }
}

@media (max-width: 360px) {
  .section-games__content {
    padding: 17px 0 20px;
  }
}

.section-news {
  background-image: url('../img/News\ bg.png');
  background-size: cover;
    background-position: top;
    padding: 56px 24px;
    width: 100%;
    /* background-color: #13161F; */
    margin-bottom: -3%;
}

.news-content {
    position: relative;
    z-index: 1;
    padding: 0 0;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
} 

@media (max-width: 767px) {
  .section-news {
    background-image: url('../img/news\ bg\ mobile.png');
    padding: 0 16px;
  }

  .news-content {
    padding: 20px 0;
  } 
}

@media (max-width: 360px) {
  .section-news {
    margin-bottom: -10%;
  }
}



/* TCG section — black bg, overflows allowed */
.section-tcg {
  position: relative;
  background-color: #13161F;
  overflow: visible;
  z-index: 1;
  min-height: 450px;        /* matches the image height */
  display: flex;
  align-items: center;
  /* padding: 60px 60px 60px calc(674px + 60px); content pushed right of image */
}

.tcg-content {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Left decorative image — bleeds into adjacent sections */
.footer-image-desktop {
  position: absolute;
  left: 0;
  top: 35%;
  transform: translateY(-50%);
  width: 674px;
  height: 759px;
  object-fit: contain;
  object-position: left center;
  pointer-events: none;
  display: block;
}

/* These two sections paint ON TOP of the TCG overflow */
.section-news {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .tcg-content {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
  .footer-image-desktop {
  position: absolute;
  left: 0;
  top: 35%;
  transform: translateY(-50%);
  width: 250px;
  height: 292px;
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
  display: block;
}

  .section-tcg {
    min-height: auto;
    padding: 60px 24px;
    justify-content: center;
    text-align: center;
  }
}

/* .section-shop {
  position: relative;
  z-index: 2;
} */

.section-shop {
  position: relative;
  background-image: url('../img/Bg\ shop.png'); /* swap filename */
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  /* background-color: #13161F; */
  width: 100%;
  z-index: 2;
  min-height: 500px;
  margin-top: -3%;
  margin-bottom: -3%;
}

.section-shop__content {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  max-width: 1300px;
  margin: 0 auto;
}

@media (min-width: 1680px) {
  .section-shop {
    background-size: cover;
    background-position: center bottom;
  }
}

@media (max-width: 767px) {
  .section-shop {
    background-image: url('../img/bg\ shop\ mobile.png'); /* swap filename */
    background-position: top;
    background-size: contain;
    margin-top: -5%;
    margin-bottom: -20%;
    min-height: 350px;
  }

  .section-shop__content {
    padding: 10px 24px 40px;
  }
}

@media (max-width: 360px) {
  .section-shop {
    margin-top: -5%;
    margin-bottom: -23%;
  }
}

@media (min-width: 1900px) {
  .section-games {
      padding: 85px 24px 23px;
  }
   .section-news {
    padding: 88px 24px 56px;
  }
}

@media (min-width: 2500px) {
  .section-games {
    padding: 132px 24px 23px;
  }
   .section-news {
    padding: 127px 24px 56px;
  }
}

#shop a {
    text-decoration: none;
    color: inherit;
}

#shop .shop-card-title {
  font-family: 'Aldrich', sans-serif;
  color: #000000;
  font-size: 18px;
  font-weight: 400;
  margin-top: 10px;
  /* text-align: center; */
}

.shop-slide-title {
  font-family: 'Aldrich', sans-serif;
  color: #000000;
  font-size: 14px;
  font-weight: 400;
  margin-top: 10px;
  /* text-align: center; */
}

.section-footer {
  position: relative;
  background-color: #13161F;
  overflow: hidden;
  z-index: 1;
  min-height: 350px;
  display: flex;
  align-items: center;
  padding: 60px 60px 60px calc(674px + 60px);
}

.section-footer__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.footer-red-line {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 444px;
  height: 11px;
  background-color: #FF254D;
  border-radius: 6px;
  display: block;
}

@media (max-width: 767px) {
  .section-footer {
    min-height: auto;
    padding: 60px 24px 40px;
    text-align: center;
  }

  #footer .footer-image-desktop {
    top: 52%;
  }

  .footer-red-line {
    width: 80%;   /* scales down on mobile */
    max-width: 444.63px;
  }
}

.section-feature {
  padding: 80px 0;
}

/* Wrapper ensures equal spacing left/right */
.feature-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  background-color: #13161F;
}

/* Card */
.feature-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 60px 40px;
  color: #fff;

  background-image: url('../img/section-1.png');
  background-size: cover;
  background-position: center;
}

/* Mobile background */
@media (max-width: 768px) {
  .feature-card {
    background-image: url('./assets/img/bg-mobile.jpg');
    padding: 40px 20px;
  }
}

/* Content */
.feature-title {
  font-family: 'Big Macca', sans-serif;
  color: #000000;
  font-size: 40px;
  font-weight: 400;
  text-align: center;
}

.feature-desc {
  font-family: 'Aldrich', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  color: #000000;
  max-width: 977px;
  text-align: center;
  margin: 20px auto;
}

/* Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 310px);
  gap: 20px;
  justify-content: center;
}

/* Mobile grid */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Item */
.feature-item {
  cursor: pointer;
}

.feature-item img {
  width: 100%;
  max-width: 310px;
  border-radius: 12px;
}

/* Mobile image size */
@media (max-width: 768px) {
  .feature-item img {
    max-width: 175px;
  }
}

















/* Kill Bootstrap modal background & borders */
.modal-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* Modal container */
.feature-modal {
  overflow: hidden;
  border: none;
}

/* Background + min height */
.feature-modal-body {
  position: relative;
  padding: 40px;
  height: 500px;
  background-image: url('../img/popup-bg.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Mobile background */
@media (max-width: 768px) {
  .feature-modal-body {
    background-image: url('../img/popup-mobile-bg.png') !important;
    padding: 0 45px;
    height: 750px;
  }
}

/* ---------------------------
   NEWS GRID — 50/50 LAYOUT
--------------------------- */

/* ================= NEWS SECTION ================= */

.news-grid {
  /* margin-top: 15px; */
}

/* ── Featured tile ── */
.news-tile-featured {
  min-height: 420px;
  /* border-radius: 16px; */
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
}

.news-tile-featured img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Small tiles ── */
.news-tile-small {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* text no longer inside the image */
}

.news-tile-img-wrap {
  width: 100%;
  height: 173px;
  /* desktop */
  overflow: hidden;
  flex-shrink: 0;
}

.news-tile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-tile-info {
  padding: 8px 4px 0;
}

.news-tile-small .news-tile-title {
  font-family: 'Aldrich', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.3;
}

.news-tile-small {
  font-size: 11px;
  color: #000000 !important;
  margin: 0;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .news-tile-img-wrap {
    height: 106px;
  }

  .news-tile-small .news-tile-title {
    font-size: 14px;
  }
}

/* ── Shared overlay ── */
.news-tile-overlay {
  position: relative;
  z-index: 1;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
}

.news-tile-featured .news-tile-overlay {
  padding: 24px;
}

.news-tile-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-tile-featured .news-tile-title {
  font-size: 20px;
}

.news-tile-date {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ── News height-capped scroller ── */
.news-content-scroller {
  max-height: 35vw;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
}

.news-content-scroller::-webkit-scrollbar { width: 4px; }
.news-content-scroller::-webkit-scrollbar-track { background: transparent; }
.news-content-scroller::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
}

@media (max-width: 767px) {
  .news-content-scroller {
    max-height: 70vh;
  }
}

@media (max-width: 400px) {
  .news-content-scroller {
    max-height: 70vh;
  }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .news-tile-featured {
    min-height: 260px;
  }

  .news-tile-small {
    -webkit-line-clamp: 3;
  }

  .news-tile-featured .news-tile-title {
    font-size: 15px;
  }
}


.tcg-title {
  font-family: 'Aldrich', sans-serif;
  font-weight: 400;
  font-size: 86px;
  color: #FF254D;
  line-height: 100%;
}

.tcg-desc {
  font-family: 'Aldrich', sans-serif;
  font-weight: 400;
  font-size: 33px;
  color: #FF254D;
}

@media (max-width: 767px) {

.tcg-title {
  font-family: 'Aldrich', sans-serif;
  font-weight: 400;
  font-size: 50px;
  color: #FF254D;
  line-height: 100%;
}

.tcg-desc {
  font-family: 'Aldrich', sans-serif;
  font-weight: 400;
  font-size: 20px;
}


}

.shop-dummy-title {
  font-family: 'Aldrich', sans-serif;
  font-weight: 400;
  font-size: 86px;
  color: #000000;
  line-height: 100%;
}

.shop-dummy-desc {
  font-family: 'Aldrich', sans-serif;
  font-weight: 400;
  font-size: 33px;
  color: #000000;
}

@media (max-width: 768px) {
  /* .section-series {
    margin-top: 153vw;
  } */

  .feature-title {
    font-size: 16px;
  }

  .feature-desc {
    font-size: 14px;
    line-height: 18px;
  }

  /* .characters-grid {
    margin-top: 0;
  }

  .section-games {
    margin-top: 21vw;
  }

  .section-news {
    margin-top: 18vw;
  }

  .section-tcg {
    margin-top: 12vw;
  } */

  .tcg-title {
    font-size: 50px;
  }

  .shop-dummy-title {
    font-size: 50px;
  }

  .shop-dummy-desc {
    font-size: 19px;
  }

  .section-shop {
    /* margin-top: 9vw; */
    /* margin-top: 35vw; */
  }

  .section-footer {
    /* margin-top: 0 !important;
    margin-top: 33vw !important; */
  } */

  .tcg-desc {
    font-size: 19px;
  }
}

/* Optional overlay for readability */
/* .feature-modal-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
} */

/* Keep content above overlay */
.feature-modal-inner {
  position: relative;
  z-index: 1;
}


@media (max-width: 400px) {
  .section-series {
    /* margin-top: 153vw; */
  }

  .feature-title {
    font-size: 14px;
    margin-bottom: 0 !important;
  }

  .feature-item img {
    max-width: 152px;
  }

  .btn-close {
    right: 25px;
  }

  .feature-modal-body {
    position: relative;
    height: 680px;
    padding: 0 25px;
  }

  .section-games {
    /* margin-top: 20vw; */
  }

  .mobile-character-header {
    font-size: 16px !important;
  }

  .characters-grid {
    /* margin-top: 5%; */
  }

  .section-news {
    /* margin-top: 18vw; */
  }

  .news-grid {
    /* margin-top: 0; */
  }

  .news-tile-featured {
    min-height: 210px;
  }

  .section-tcg {
    /* margin-top: 10vw; */
  }

  .section-shop {
    /* margin-top: 8%; */
    /* margin-top: 35vw; */
  }

  .shop-swiper {
    padding: 0 4px 0;
  }

  .section-footer {
    /* margin-top: 10vw !important; */
    /* margin-top: 33vw !important; */
  }
}


@media (max-width: 360px) {
  .section-series {
    /* margin-top: 153vw; */
  }

  .feature-title {
    font-size: 14px;
    margin-bottom: 0 !important;
  }

  .feature-item img {
    max-width: 132px;
  }

  .feature-modal-body {
    position: relative;
    height: 680px;
    padding: 0 17px !important;
  }

  /* .section-games {
    margin-top: 21vw;
  } */

  .mobile-character-header {
    font-size: 16px !important;
  }

  .characters-grid {
    margin-top: 0;
  }

  /* .section-news {
    margin-top: 20vw;
  }

  .news-grid {
    margin-top: 0;
  } */

  .news-content-scroller {
    max-height: 75vh;
    padding: 17px 0;
  }

  .news-tile-featured {
    min-height: 210px;
  }

  .news-tile-small {
    -webkit-line-clamp: 2;
  }

  .section-tcg {
    margin-top: 7vw;
  }

  .section-shop {
    /* margin-top: 8%; */
    /* margin-top: 35vw; */
  }

  .shop-swiper {
    padding: 0 4px 0;
  }

  .section-footer {
    /* margin-top: 10vw !important; */
    /* margin-top: 25vw !important; */
  }

  .modal-image {
    max-width: 75%;
  }
}














/* Image styling */
.modal-image {
  width: 310px;
  flex-shrink: 0;
  max-height: 420px;
  /* cap at modal body content height */
  object-fit: contain;
  /* preserve aspect ratio, no cropping */
  object-position: center;
  align-self: center;
  /* vertically center within the flex row */
  border-radius: 12px;
}

.watch-now-btn {
  margin-top: 10px;
  width: 310px;
  height: auto;
}

.modal-text {
  margin: auto 0;
  text-align: center;
}

.feature-close-btn {
    right: 1vw;
    top: 1vw !important;
  }

@media (max-width: 768px) {
  .modal-image {
    max-width: 100%;
  }
  .feature-close-btn {
    right: 7vw !important;
    top: 3vw !important;
  }
}

/* Text */
.modal-text h4 {
  font-family: 'Big Macca', sans-serif;
  font-weight: 400;
  font-size: 25px;
  margin-bottom: 10px;
}

.modal-text p {
  font-family: 'Aldrich', sans-serif;
  margin: 0;
  font-size: 15px;
}


@media (min-width: 1024px) and (max-width: 1279px) {
  .feature-title {
    font-size: 35px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 290px);
  }

  .feature-item img {
    width: 100%;
    max-width: 260px;
  }
/* 
  .section-news {
    margin-top: 5%;
  }

  .news-grid {
    margin-top: 5px;
  }

  .section-tcg {
    margin-top: 7%;
  } */
}

@media (min-width: 1280px) and (max-width: 1399px) {
  .feature-title {
    font-size: 35px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 310px);
  }

  .feature-item img {
    width: 100%;
    max-width: 280px;
  }

  /* .section-games {
    margin-top: 9.5vw;
  }

  .section-news {
    margin-top: 7%;
  }

  .section-news .feature-title {
    margin: 0;
  }

  .news-grid {
    margin-top: 0;
  }

  .news-tile-title {
    -webkit-line-clamp: 1;
  }

  .section-tcg {
    margin-top: 9vw;
  } */
}