.vibe-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.vibe-content {
  display: flex;
  flex-direction: column;
}

.vibe-lead {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-blue-200);
  margin: 24px 0 !important;
  line-height: 1.4;
  padding: 16px 0; border-top: 1px solid rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.vibe-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.vibe-features a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  width: 100%;
  box-sizing: border-box;
}

.vibe-features li {
  padding: 0;
  background: var(--color-white);
  border: 1px solid var(--color-grey-050);
  border-radius: 40px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  width: 100%;
} 
@media (hover: hover) {
  .vibe-features li:hover {
  transform: translateX(8px);
  border-color: var(--color-blue-100);
}
}

.feat-icon {
  width: 24px;
  height: 24px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue-200);
}

.feat-text {
  display: contents;
}

.feat-text strong {
  grid-area: heading;
  font-size: 16px;
  color: var(--color-blue-200);
  line-height: 1.2;
}

.feat-text p {
  grid-area: text;
  margin: 0;
  font-size: 14px;
  color: var(--color-grey-300);
  line-height: 1.5;
}

.insta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

.vibe-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  min-width: 0;
  width: 100%;
}

.device-mockup-container {
  position: relative;
  width: 350px;
  height: auto;
  transform: rotate(-2deg) translateZ(0) scale(1.001);
  transition: transform 0.5s ease;
  z-index: 5;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  transform-style: preserve-3d;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
} 
@media (hover: hover) {
  .device-mockup-container:hover {
  transform: rotate(0deg) scale(1.02) translateZ(0);
}
}

.mockup-frame {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 20;
  pointer-events: none;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));
}

.screen-content-area {
  position: absolute;
  top: 2.5%;
  left: 6%;
  width: 88%;
  height: 95%;
  background: #ffffff;
  z-index: 10;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;

}

.app-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 5px;
  border-bottom: 0.5px solid #efefef;
}

.app-logo-text {

  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.app-top-actions {
  display: flex;
  gap: 16px;
}

.app-scroll-area {
  flex-grow: 1;
  overflow: hidden;
  scrollbar-width: none;
}
.app-scroll-area::-webkit-scrollbar {
  display: none;
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5px;
}

.post-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-ring {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  padding: 2px;
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.story-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50% !important;
  border: 2px solid #fff;
  background: #000;
  object-fit: contain;
}

.post-meta {
  display: flex;
  flex-direction: column;
}

.username {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  line-height: 1.1;
}

.location {
  font-size: 11px;
  color: #262626;
}

.vibe-slider {
  width: 100%;
  aspect-ratio: 4/5;
  background: #f0f0f0;
}

.vibe-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.post-footer {
  padding: 10px 5px;
}

.action-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.action-left,
.action-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ui-icon {
  cursor: pointer;
} 
@media (hover: hover) {
  .ui-icon:hover {
  opacity: 0.6;
}
} 
@media (hover: hover) {
  .icon-heart:hover {
  color: #ed4956;
}
}

.swiper-pagination {
  position: static !important;
  display: flex !important;
  gap: 4px;
}

.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #dbdbdb;
  opacity: 1;
  margin: 0 !important;
}

.swiper-pagination-bullet-active {
  background: #0095f6;
}

.likes-line {
  font-size: 13px;
  margin-bottom: 6px;
  color: #000;
}

.caption-line {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.comments-link {
  font-size: 13px;
  color: #8e8e8e;
  margin-bottom: 4px;
}

.time-ago {
  font-size: 10px;
  color: #8e8e8e;
  letter-spacing: 0.2px;
}

.app-nav-bar {
  height: 50px;
  border-top: 0.5px solid #dbdbdb;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
}

.nav-profile-pic {
  width: 24px;
  height: 24px;
  border-radius: 50% !important;
  overflow: hidden;
}

.nav-profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.vibe-badge {
  position: absolute;
  top: 40px;
  right: -20px;
  background: var(--color-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-blue-200);
  z-index: 25;
  animation: rotateText 20s linear infinite;
  will-change: transform;
  border: 4px solid var(--color-white);
}


.app-notif-screen {
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  bottom: 40px;
  background: #fff;
  z-index: 10;
  padding: 10px 5px;
  overflow-y: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.app-notif-screen.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  overflow-y: auto;
}

.notif-header {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 15px;
  color: #000;
}

.notif-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.notif-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  margin-right: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--color-black);
}

.notif-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notif-text {
  font-size: 13px;
  line-height: 1.3;
  flex-grow: 1;
  margin-right: 10px;
}

.notif-media {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.notif-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #dbdbdb;
  border-radius: 4px;
}

.notif-btn-blue {
  background: #0095f6;
  color: #fff;
  border: none;
  border-radius: 8px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
} 
@media (hover: hover) {
  .notif-btn-blue:hover {
  background: #0086e0;
  color: #fff;
}
}

/* --- ANIMATIONS & TOASTS --- */

.app-toast {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(38, 38, 38, 0.95);
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
  white-space: normal;
  text-align: center;
  max-width: 85%;
  width: max-content;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.app-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* The heart and bookmark carry two shapes, outline and filled (pk_icon_toggle in inc/icons.php).
   Phosphor icons are painted with fill, not stroke, so the active state shows the filled shape
   instead of switching the fill attribute the old stroke icons relied on. */
.pk-icon-toggle .pk-icon-toggle__on {
  display: none;
}

.pk-icon-toggle.is-active .pk-icon-toggle__on,
.pk-icon-toggle.liked .pk-icon-toggle__on {
  display: inline;
}

.pk-icon-toggle.is-active .pk-icon-toggle__off,
.pk-icon-toggle.liked .pk-icon-toggle__off {
  display: none;
}

#heart-btn.is-active {
  color: #ed4956;
}

.icon-heart.liked {
  color: #ed4956;
  animation: heartBounce 0.4s;
}

@keyframes heartBounce {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.story-ring.spin {
  animation: storySpin 0.8s ease-in-out;
}

@keyframes storySpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.app-nav-bar svg:active {
  transform: scale(0.9);
  color: #8e8e8e;
}

@media (max-width: 1024px) {
  .vibe-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .vibe-visual {
    order: -1;
  }
}

@media (max-width: 600px) {
  /* The screen inside is laid out in fixed pixels for a 350px phone, so a
     narrower frame crops it. Keep the 350px layout and shrink it as a whole. */
  .device-mockup-container {
    width: 350px;
    zoom: 0.83;
    transform: none;
  }
  .vibe-badge {
    top: 10px;
    right: 0px;
    width: 60px;
    height: 60px;
    font-size: 9px;
  }
}

@media (max-width: 374px) {
  .device-mockup-container {
    zoom: 0.8;
  }
}

@media (max-width: 339px) {
  .device-mockup-container {
    zoom: 0.68;
  }
}

.app-status-bar {
  width: 100%;
  height: 32px;
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  padding: 8px 16px;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  z-index: 20;
}

.sb-left {
  display: flex;
  justify-content: flex-start;
}

.sb-right {
  display: flex;
  justify-content: flex-end;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.time {

  letter-spacing: 0.3px;
  font-weight: 600;
}

.app-top-nav {
  padding-top: 5px;
  padding-bottom: 10px;
}

.status-icons svg {
  height: 10px;
  width: auto;
}

.js-egg-battery svg {
  height: 10px;
}

.app-top-actions svg,
.post-options svg,
.action-bar svg,
.app-nav-bar svg {
  width: 20px !important;
  height: 20px !important;
}

.nav-profile-pic {
  width: 20px !important;
  height: 20px !important;
}

.action-left,
.action-right {
  gap: 12px;
}

.app-top-actions {
  gap: 14px;
}

@media (max-width: 768px) {
  .vibe-lead {
    font-size: 18px;
    margin: 20px 0 !important;
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  .vibe-lead {
    font-size: 16px;
    margin: 16px 0 !important;
    padding: 10px 0;
  }
}


