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

html {
    scroll-behavior: smooth;
}

/* = BODY PAGES = */
/* Page backgrounds (desktop stays as is) */
body.home-page,
body.characters-page,
body.about-page,
body.story-page,
body.gameplay-page {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.45)),
    url('Assets/Backround.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: bisque;
}

/* Mobile overrides */
@media (max-width: 600px) {
  body.home-page,
  body.characters-page,
  body.about-page,
  body.story-page,
  body.gameplay-page {
    background-attachment: scroll; 
    background-size: contain; 
    background-position: top center;
  }

  .navbar ul {
    display: none; 
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: rgba(0,0,0,0.85); 
    padding: 20px;
    margin-top: 10px;
  }

  .navbar ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block; 
  }
}

.navbar {
  position: fixed;   
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;     
  background: rgba(0,0,0,0.4); 
  backdrop-filter: blur(4px); 
  display: flex;
  align-items: center;
  padding: 10px 20px;
  transition: top 0.3s ease; 
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 10px 20px 10px 60px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  background: url("Assets/cloned_fabicon.png") no-repeat left center;
  background-size: 40px 40px;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: text-shadow 0.3s ease;
}

.navbar ul li a:hover {
  text-shadow: 0 0 10px rgb(235, 218, 39);
}

body {
  margin: 0;
  padding-top: 60px; 
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  margin-right: 20px;
}


@media (max-width: 600px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    justify-content: flex-start;
  }

  .navbar ul {
    display: none; 
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: rgba(0,0,0,0.85); 
    padding: 20px;
    margin-top: 10px;
  }

  .navbar ul.show {
    display: flex; 
  }
}

.navbar.hidden {
  display: none;
}

.characters-container,
.about-container,
.gameplay-container,
.story-container, 
.home-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 0 80px;
    position: relative;
    padding-bottom: 500px;
}

.characters-container::before,
.about-container::before,
.gameplay-container::before,
.story-container::before,
.home-container::before {
    content: "";
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle at center, rgba(255, 228, 196, 0.06), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.gameplay {
    margin-top: 200px;
}
.gameplay,
.story,
.characters,
.about {
    width: 90%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}
/* ================= SHARED TITLE ================= */
.page-title {
    font-size: 56px;
    color: bisque;
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-shadow: 0 0 12px rgba(255, 228, 196, 0.35);
    border-left: 6px solid rgba(255, 228, 196, 0.9);
    padding-left: 18px;
    position: relative;
    z-index: 1;
    margin-top:20px;
}

.about-title {
    font-size: 56px;
    color: bisque;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 3px;
    text-shadow: 0 0 12px rgba(255, 228, 196, 0.35);
    position: relative;
    z-index: 1;
}

/* ================= CHARACTERS ================= */
.character-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 70px;
    padding: 35px;
    border: 1px solid rgba(255, 228, 196, 0.16);
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.35);
    backdrop-filter: blur(3px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(255, 228, 196, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.character-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 228, 196, 0.08), transparent 35%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 55%);
    pointer-events: none;
}

.character-card.reverse {
    flex-direction: row-reverse;
}

.character-text {
    flex: 1;
    min-width: 280px;
    z-index: 1;
}

.character-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: bisque;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 228, 196, 0.3);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.character-text p {
    width: 100%;
    color: bisque;
    font-family: 'Merriweather', serif;
    font-size: 24px;
    line-height: 1.8;
}

.character-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 24px;
    justify-items: center;
    align-items: center;
    z-index: 1;
}
.character-gallery.single {
    grid-template-columns: 1fr;
    max-width: 220px;
    margin: 0 auto;
}

.character-gallery img {
    width: 100%;
    max-width: 180px;
    height: auto;
    image-rendering: pixelated;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.55));
    object-fit: contain;
}

.character-gallery img:hover {
    transform: scale(1.3);
    filter: drop-shadow(0 0 16px rgba(255, 228, 196, 0.45));
}



/* ================= ABOUT ================= */

.about {
    padding: 60px 40px;
}

.about-card,
.about-main-card,
.about-details-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 30px;
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.35);
    backdrop-filter: blur(3px);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 228, 196, 0.16);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(255, 228, 196, 0.05);
    z-index: 1;
}

.about-card::before,
.about-main-card::before,
.about-details-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 228, 196, 0.08), transparent 35%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 55%);
    pointer-events: none;
}

.about-text,
.about-image-box,
.about-details-grid,
.about-detail-box {
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 2;
    min-width: 280px;
}

.about-text p {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    line-height: 1.8;
    color: bisque;
    margin-bottom: 20px;
    word-break: normal;
    overflow-wrap: break-word;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image-box {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-box img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    border-radius: 12px;
    image-rendering: pixelated;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.about-image-box img:hover {
    transform: scale(1.06);
    filter: drop-shadow(0 0 16px rgba(255, 228, 196, 0.35));
}

.about-details-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 25px;
}

.about-detail-box {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 228, 196, 0.12);
    background: rgba(255, 228, 196, 0.03);
}

.about-detail-box h3 {
    margin: 0 0 12px 0;
    font-size: 32px;
    color: bisque;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.about-detail-box p {
    margin: 0;
    font-family: 'Merriweather', serif;
    font-size: 22px;
    line-height: 1.8;
    color: bisque;
}
.production-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.production-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 10px auto 16px;
    object-fit: contain;
}

.about-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border: 1px solid bisque;
    color: bisque;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.about-btn:hover {
    background: bisque;
    color: #111;
}
.home-about-card {
    max-width: 1000px;
    margin: 0 auto;
}
.home-about-card .about-text {
    flex: 1;
    min-width: 100%;
}
/* ================= GAME INFO ================= */
.game-info {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto 80px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 25px;
}

/* bawat box */
.info-card {
    padding: 25px;
    border: 1px solid rgba(255, 228, 196, 0.16);
    border-radius: 16px;
    background: rgba(10, 10, 10, 0.35);
    backdrop-filter: blur(3px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35),
        0 0 12px rgba(255, 228, 196, 0.05);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* glass effect */
.info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 228, 196, 0.08), transparent 35%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 55%);
    pointer-events: none;
}

/* title */
.info-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: bisque;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(255, 228, 196, 0.3);
}

/* text */
.info-card p {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    color: bisque;
    opacity: 0.9;
}
/* ================= FEATURES ================= */
.features {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto 90px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 28px;
}

.feature-card {
    padding: 32px;
    border: 1px solid rgba(255, 228, 196, 0.16);
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.35);
    backdrop-filter: blur(3px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(255, 228, 196, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 228, 196, 0.08), transparent 35%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 55%);
    pointer-events: none;
}

.feature-title,
.feature-card p {
    position: relative;
    z-index: 1;
}

.feature-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.feature-title img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.55));
}

.feature-card h2 {
    font-size: 32px;
    color: bisque;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 228, 196, 0.3);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
}

.feature-card p {
    color: bisque;
    font-family: 'Merriweather', serif;
    font-size: 22px;
    line-height: 1.8;
}
/* ================= WHAT TO EXPECT ================= */
.expect {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto 110px;
}

.expect-zigzag {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 36px;
    align-items: start;
}

.expect-box {
    padding: 24px;
    border-radius: 24px;
    background: rgba(10, 10, 10, 0.45);
    border: 1px solid rgba(255, 228, 196, 0.16);
    backdrop-filter: blur(6px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.45),
        0 0 18px rgba(255, 228, 196, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.expect-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 228, 196, 0.08), transparent 35%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 55%);
    pointer-events: none;
}

.expect-box:hover {
    transform: translateY(-10px);
    box-shadow:
        0 28px 55px rgba(0, 0, 0, 0.55),
        0 0 24px rgba(255, 228, 196, 0.12);
}

/* zigzag effect */
.expect-down {
    margin-top: 60px;
}

.expect-up {
    margin-top: 0;
}

.expect-box-image,
.expect-box-content {
    position: relative;
    z-index: 1;
}

.expect-box-image {
    width: 100%;
    height: 280px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
}

.expect-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    transition: transform 0.35s ease, filter 0.35s ease;
    filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.7));
}

.expect-box:hover .expect-box-image img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 24px rgba(255, 228, 196, 0.2));
}

.expect-box-content h3 {
    font-size: 30px;
    margin-bottom: 14px;
    color: bisque;
    letter-spacing: 2px;
    text-shadow: 0 0 12px rgba(255, 228, 196, 0.32);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.expect-box-content p {
    color: bisque;
    font-family: 'Merriweather', serif;
    font-size: 18px;
    line-height: 1.75;
}
/* ================= GAMEPLAY ================= */
.gameplay-intro-card,
.gameplay-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    margin-bottom: 40px;
    padding: 30px;
    border: 1px solid rgba(255, 228, 196, 0.16);
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.35);
    backdrop-filter: blur(3px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(255, 228, 196, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.gameplay-intro-card::before,
.gameplay-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 228, 196, 0.08), transparent 35%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 55%);
    pointer-events: none;
}

.gameplay-intro-text,
.gameplay-text,
.gameplay-image-box {
    position: relative;
    z-index: 1;
}

.gameplay-intro-text p,
.gameplay-text p {
    color: bisque;
    font-family: 'Merriweather', serif;
    font-size: 22px;
    line-height: 1.8;
}

.gameplay-text {
    flex: 1;
    min-width: 280px;
}

.gameplay-text h2 {
    font-size: 38px;
    margin-bottom: 18px;
    color: bisque;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 228, 196, 0.3);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.gameplay-card {
    gap: 50px;
}

.gameplay-card.reverse {
    flex-direction: row-reverse;
}

.gameplay-image-box {
    flex: 0 0 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gameplay-image-box img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 12px;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.55));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gameplay-image-box img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 16px rgba(255, 228, 196, 0.35));
}


/* ================= STORY ================= */
.story-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 35px 40px;
    border: 1px solid rgba(255, 228, 196, 0.16);
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.35);
    backdrop-filter: blur(3px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(255, 228, 196, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.story-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 228, 196, 0.08), transparent 35%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 55%);
    pointer-events: none;
}

.story-text {
    position: relative;
    z-index: 1;
    text-align: center;
}

.story-text p {
    color: bisque;
    font-family: 'Merriweather', serif;
    font-size: 24px;
    line-height: 1.9;
    margin-bottom: 24px;
}

.story-text p:last-child {
    margin-bottom: 0;
}

/* ================= HOME PAGE ================= */
/* Background video stays behind everything */
#bgVideo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1300px;
  height: 1100px;
  object-fit: cover;
  z-index: -1; /* ensures video is behind */
  
  mask-image:
    linear-gradient(to top, transparent 5%, black 10%),
    linear-gradient(to bottom, transparent 10%, black 10%),
    linear-gradient(to left, transparent 5%, black 10%),
    linear-gradient(to right, transparent 5%, black 10%);
  mask-composite: intersect;

  -webkit-mask-image:
    linear-gradient(to top, transparent 5%, black 10%),
    linear-gradient(to bottom, transparent 10%, black 10%),
    linear-gradient(to left, transparent 5%, black 10%),
    linear-gradient(to right, transparent 5%, black 10%);
  -webkit-mask-composite: source-in;
}



.overlayText {
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);

  display: flex;
  flex-direction: row;       
  align-items: center;        
  justify-content: center; 
  gap: 20px;                 

  padding: 20px;
  box-sizing: border-box;    

  color: rgb(206, 206, 206);
  font-size: clamp(24px, 5vw, 50px); /* responsive font size */
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  max-width: 90%;
  word-wrap: break-word;
}

/* Responsive switch: stack vertically on smaller screens */
@media (max-width: 768px) {
  .overlayText {
    flex-direction: column;   /* switch to column layout */
    top: 60%;                 /* adjust centering for smaller screens */
    gap: 15px;                /* slightly smaller spacing */
  }
}

#redFont {
    color: rgb(186, 0, 0);
    padding: 10px;
}

video {
    align-items: center;
}
/* ================= FOOTER (IMAGE VERSION) ================= */
.site-footer {
    width: 100%;
    padding: 10px 0 50px;
}

.footer-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-card {
    margin-top: 60px; /* mas malayo sa taas */
    padding: 20px 18px; /* dating 30px, pinaliit */
    max-width: 800px; /* para hindi sobrang wide */
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 228, 196, 0.12);
    border-radius: 15px;
    background: rgba(10, 10, 10, 0.25); /* mas subtle */
    backdrop-filter: blur(2px);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 228, 196, 0.04);
    text-align: center;
}


.footer-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 228, 196, 0.08), transparent 35%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 55%);
    pointer-events: none;
}

.footer-title,
.footer-text,
.footer-icons,
.footer-links,
.footer-copy {
    position: relative;
    z-index: 1;
}

.footer-title {
    font-size: 26px;
    color: bisque;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 228, 196, 0.25);
}

.footer-text {
    color: bisque;
    font-family: 'Merriweather', serif;
    font-size: 15px;
    margin-bottom: 20px;
}

/* ICONS */
.footer-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-icons img {
    width: 45px;
    height: 60px;
    object-fit: contain;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 228, 196, 0.05);
    border: 1px solid rgba(255, 228, 196, 0.15);
    transition: 0.3s ease;
}

/* hover effect (optional aesthetic lang) */
.footer-icons img:hover {
    transform: scale(1.1);
    background: rgba(255, 228, 196, 0.12);
    box-shadow: 0 0 12px rgba(255, 228, 196, 0.2);
}

.footer-links {
    margin-bottom: 15px;
    font-size: 15px;
    color: bisque;
}

.footer-links span {
    margin: 0 5px;
}

.footer-copy {
    font-size: 14px;
    color: bisque;
    opacity: 0.9;
}
/* ===== GAMEPLAY UI (HEARTS + KEYS) ===== */

.gameplay-ui-box {
    flex: 0 0 320px; /* left side width */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

/* bawat section (HEALTH / KEYS) */
.ui-group {
    text-align: left;
}

/* title (HEALTH / KEYS) */
.ui-group h4 {
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: bisque;
}

/* icons container */
.ui-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* HEARTS size */
.ui-icons img {
    height: 70px;
    image-rendering: pixelated;
}

/* KEYS smaller */
.ui-group:last-child .ui-icons img {
    height: 150px;
}
.reveal {
    opacity: 0;
    transition: opacity 4s ease, transform 4s ease;
}

.reveal.reveal-left {
    transform: translateX(-80px);
}

.reveal.reveal-right {
    transform: translateX(80px);
}

.reveal.active {
    opacity: 1;
    transform: translateX(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .page-title,
    .about-title {
        font-size: 42px;
    }
    .about-details-grid {
    grid-template-columns: 1fr;
    }   
    .character-card,
    .character-card.reverse,
    .about-card,
    .gameplay-card,
    .gameplay-card.reverse {
        flex-direction: column;
        text-align: center;
    }

    .character-text h2,
    .gameplay-text h2 {
        font-size: 34px;
    }

    .character-text p,
    .gameplay-text p,
    .gameplay-intro-text p {
        font-size: 20px;
        line-height: 1.7;
    }

    .character-gallery {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }

    .about-text p {
        font-size: 19px;
        line-height: 1.7;
    }

    .about-info-card {
        max-width: 100%;
    }

    .gameplay-image-box {
        flex: unset;
        width: 100%;
    }

    .gameplay-image-box img {
        max-width: 100%;
    }
    .story-text p {
    font-size: 20px;
    line-height: 1.7;
    }
    .feature-grid {
    grid-template-columns: 1fr;
    }

    .feature-card h2 {
    font-size: 28px;
    }

    .feature-card p {
    font-size: 20px;
    line-height: 1.7;
    }

    .story-card {
    padding: 28px 24px;
    }
    .info-grid {
    grid-template-columns: repeat(2, 1fr);
    }
    .expect-zigzag {
    grid-template-columns: 1fr;
}

.expect-down,
.expect-up {
    margin-top: 0;
}

.expect-box-image {
    height: 220px;
}

.expect-box-content h3 {
    font-size: 26px;
}

.expect-box-content p {
    font-size: 17px;
}

}  
    

@media (max-width: 600px) {
    .character-gallery {
        grid-template-columns: 1fr;
    }

    .page-title,
    .about-title {
        font-size: 34px;
    }

    .character-text h2,
    .gameplay-text h2 {
        font-size: 28px;
    }

    .character-text p,
    .gameplay-text p,
    .gameplay-intro-text p {
        font-size: 18px;
    }

    .navbar a {
        padding: 15px 18px;
        font-size: 14px;
    }

    .about-card,
    .gameplay-card,
    .gameplay-intro-card {
        padding: 22px 18px;
    }

    .about-text p {
        font-size: 17px;
    }

    .about-info h3 {
        font-size: 21px;
    }

    .about-info p {
        font-size: 16px;
    }

    .about-image-box {
        flex: unset;
    }
    .story-card {
    padding: 22px 18px;
}

.story-text p {
    font-size: 18px;
    line-height: 1.7;
}
.about-detail-box h3 {
    font-size: 24px;
}

.about-detail-box p {
    font-size: 18px;
}
}

.container {
  display: flex;          /* activates flexbox */
  gap: 20px;              /* adds spacing between items */
  justify-content: space-around; /* distributes items */
  align-items: center;    /* aligns vertically */
}

@font-face {
    font-family: 'Pixeled';
    src: url('Assets/Pixeled.woff2') format('woff2'),
         url('Assets/Pixeled.woff') format('woff');
}

h1{
    font-family: 'Pixeled';
}

html {
    scroll-behavior: smooth; 
}


.card-container {
  display: flex;
  flex-wrap: wrap;              
  gap: 20px;                    
  justify-content: center; 
  margin: 20px;
}

.card {
  flex: 1 1 200px;  
  max-width: 250px;   
  padding: 20px;
  background-color: rgba(0,0,0,0.8); 
  border: 2px solid rgb(255, 255, 255);    
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 0 15px rgb(255, 255, 255);
  transform: translateY(-5px);
}

.card-link {
  display: inline-block;
  text-decoration: none;
  color: rgb(152, 152, 149);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
.feature-card {
    padding: 22px 18px;
}

.feature-title {
    gap: 10px;
}

.feature-title img {
    width: 38px;
    height: 38px;
}

.feature-card h2 {
    font-size: 22px;
}

.feature-card p {
    font-size: 18px;
    line-height: 1.7;
}
.info-grid {
    grid-template-columns: 1fr;
}

.info-card h3 {
    font-size: 20px;
}
.expect-box {
    padding: 18px;
}

.expect-box-image {
    height: 180px;
}

.expect-box-content h3 {
    font-size: 22px;
}

.expect-box-content p {
    font-size: 16px;
    line-height: 1.65;
}
