/* ===== HERO TITLE ===== */
.project-main-title {
    font-size: 3rem;      
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

/* ===== META GRID ===== */
.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 1.5rem;       
}

/* ===== META ITEM ===== */
.project-meta-item {
    background: rgba(0, 0, 0, 0.45);
    padding: 1rem 1.4rem;    
    border-radius: 28px;      
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== META LABEL ===== */
.meta-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #cccccc;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.15rem;
}

/* ===== META VALUE ===== */
.meta-value {
    font-size: 1.1rem;    
    font-weight: 600;
    color: #ffffff;
}

.project-cover-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.project-demo-panel {
  background: rgba(20, 20, 20, 0.95);
  padding: 1.5rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}
.cover-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
  object-fit: cover;
}

.project-demo-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.project-demo-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.btn-outline {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #00c3ff;
  color: #00c3ff;
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.2s;
}

.btn-outline:hover {
  background: #00c3ff;
  color: #000;
}

.project-cover-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

.project-intro-text {
  margin-top: 1rem;
  max-width: 840px;
  color: #b0b0b0;
}
/* ===== FEATURE SECTIONS (Player / Enemy / Animation / Camera / UI) ===== */

.feature-section {
    margin-top: 3rem;
}

.feature-section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.feature-section-intro {
    max-width: 720px;
    color: #c0c0c0;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
    gap: 1.5rem;
    max-width: 1100px;    
    margin: 0 auto;       
}

.feature-card {
    background: #101010;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.feature-card img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;   
    object-fit: cover;
}

.feature-card-body {
    padding: 0.75rem 1rem 1rem;
}

.feature-card-heading {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.1rem;
    color: #f0f0f0;
}

.feature-card-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: #ffffff;
}

.feature-card-text {
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
    color: #cccccc;
}
.feature-section-title {
    text-align: center;         /* center the text */
    width: 100%;                /* allow it to center properly */
    margin: 0 auto 1rem auto;   /* center block + spacing */
}

.feature-section-intro {
    display: block;
    max-width: 850px;
    margin: 0 auto 2rem auto;     /* center intro text */
    text-align: center;
}


@media (max-width: 900px) {
    .feature-section-title {
        font-size: 1.8rem;
    }

    .feature-section-intro {
        font-size: 0.95rem;
    }

    .feature-card-body {
        padding: 0.9rem 1rem 1.1rem;
    }
}

.project-section {
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
    padding-top: 0 !important;
    padding-bottom: 1 !important;
}

.feature-section-title {
    margin-bottom: 0.3rem !important;
}

.feature-section-intro {
    margin-bottom: 0.8rem !important;
    max-width: 720px;
}

.feature-grid {
    gap: 1rem !important;   
    margin-top: 0.5rem !important;
}

.feature-card {
    transform: scale(0.95);
}

@media (max-width: 900px) {
  .project-cover-layout {
    grid-template-columns: 1fr;
  }

  .project-demo-panel {
    max-width: 240px;
    margin-bottom: 1rem;
  }

  .scene-step {
    grid-template-columns: 1fr;
  }
}
/* ===== HERO ===== */
.project-hero {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.project-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.75) 65%,
    #050505
  );
  z-index: -1;
}

.project-hero-overlay {
  padding: 3.5rem 1.5rem 2.75rem;
}

.project-main-title {
  font-size: clamp(2.3rem, 5vw, 3.3rem);
  margin: 0 0 1.6rem;
}
.project-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* Each pill becomes a flex column, centered vertically */
.project-meta-item {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* center label + value inside */
    min-height: 80px;          /* ensures same height even if text wraps */
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Label + value sizing so they look consistent */
.meta-label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b8b8b8;
    margin-bottom: 0.15rem;
}

.meta-value {
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.35;
}
