* {
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.storyhousebody {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #222;
}

.storyhousebody::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: var(--orange-yellow-crayola); */
   background: linear-gradient(#04a2f4, #007de7); 
  clip-path: circle(30% at left 70%);
}

.storyhousebody::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#007de7, #262d37);
  /* var(--orange-yellow-crayola);*/
  clip-path: circle(20% at right 10%);
  border-radius: 20px;
}

.storyhousesections {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  flex-wrap: wrap;
  z-index: 1;
  margin: 50px 50px 50px 50px;
}

.storyhousesections .scard {
  position: relative;
  width: 280px;
  height: 400px;
  margin: 30px;
  box-shadow: 20px 20px 50px #12121280;
  border-radius: 15px;
  background: #ffffff1b;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #ffffff80;
  border-left: 1px solid #ffffff80;
  backdrop-filter: blur(5px);
}

.storyhousesections .scard .item {
  padding: 20px;
  text-align: center;
  transform: translateY(0px);
  opacity: 1;
  transition: 0.5s;
}

.storyhousesections .scard .item h1 {
  position: absolute;
  top: -80px;
  right: 20px;
  font-size: 8em;
  pointer-events: none;
  color: #ffffff0d;
}

.storyhousesections .scard .item h2 {
  font-size: 1.8em;
  color: #fff;
  z-index: 1;
}

.storyhousesections .scard .item p {
  font-size: 1em;
  color: #fff;
  font-weight: 300;
}

 .top-tab {
        position: absolute;
        top: 18px;
        left: 18px;
        z-index: 2;
      }
      .top-tab .tabs {
        display: flex;
        gap: 10px;
      }
      .top-tab .tab {
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.12);
        font-weight: 600;
        font-size: 0.9rem;
        color: #fff;
        cursor: default;
        backdrop-filter: blur(6px);
      }
      .top-tab .tab.active {
        background: rgba(255,255,255,0.14);
        box-shadow: 0 6px 20px rgba(0,0,0,0.35);
      }

/* =====================
   Projects Section
   ===================== */

.projects-body {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 10px 0 30px;
}

.projects-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
}

.blob-1 {
  width: 320px;
  height: 320px;
  background: linear-gradient(#04a2f4, #007de7);
  top: -60px;
  left: -60px;
}

.blob-2 {
  width: 220px;
  height: 220px;
  background: linear-gradient(#007de7, #262d37);
  bottom: 0;
  right: -40px;
}

.project-cards {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 28px;
  padding: 30px 16px;
  z-index: 1;
}

.pcard {
  position: relative;
  width: 260px;
  min-height: 340px;
  box-shadow: 20px 20px 50px rgba(18, 18, 18, 0.5);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.107);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.pcard-inner {
  padding: 24px 20px;
  text-align: center;
  transform: translateY(0);
  opacity: 1;
  transition: 0.4s ease;
}

.pcard-num {
  position: absolute;
  top: -60px;
  right: 15px;
  font-size: 7em;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.pcard-title {
  font-size: 1.35em;
  color: var(--orange-yellow-crayola);
  margin-bottom: 12px;
  z-index: 1;
}

.pcard-desc {
  font-size: 0.875em;
  color: var(--light-gray);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 16px;
}

.pcard-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}

.pcard-tags span {
  background: rgba(255, 199, 0, 0.12);
  border: 1px solid rgba(255, 199, 0, 0.28);
  color: var(--orange-yellow-crayola);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75em;
}

.pcard-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white-1);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.82em;
  text-decoration: none;
  transition: background 0.2s ease;
}

.pcard-link:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Wide split card (e.g. Mini Note) */
.pcard-wide {
  width: 560px;
  max-width: 100%;
  cursor: pointer;
}

.pcard-wide .pcard-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 28px 24px;
  text-align: left;
}

.pcard-split-left {
  flex: 1;
  min-width: 0;
}

.pcard-split-left .pcard-title {
  text-align: left;
}

.pcard-split-left .pcard-tags {
  justify-content: flex-start;
}

.pcard-split-right {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pcard-icon {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 22px;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

@media (max-width: 480px) {
  .pcard-wide .pcard-inner {
    flex-direction: column;
    text-align: center;
  }
  .pcard-split-left .pcard-title,
  .pcard-split-left .pcard-tags {
    text-align: center;
    justify-content: center;
  }
}
