/* ================================================
   AHLAME UGC — Instagram Showcase CSS
   Realistic Instagram-style UI for phones
   ================================================ */

/* ── SHOWCASE SECTION ── */
.slide--showcase {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: var(--space-2xl) 0;
}

.slide--showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.3;
}

/* ── IG SHOWCASE GRID ── */
.ig-showcase {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  margin: 0 auto;
  padding: var(--space-md) 0 var(--space-2xl);
  position: relative;
  flex-wrap: wrap;
}

/* ── PHONE FRAME ── */
.ig-phone {
  position: relative;
  flex-shrink: 0;
  transform-origin: top center;
  transition: transform 0.4s var(--ease-expo);
}

.ig-phone--center {
  transform: scale(1.05);
  z-index: 2;
}

.ig-phone--center:hover {
  transform: scale(1.08);
}

.ig-phone:not(.ig-phone--center) {
  opacity: 0.85;
  margin-top: 1.5rem;
}

.ig-phone:not(.ig-phone--center):hover {
  opacity: 1;
  transform: translateY(-8px);
}

.ig-phone__frame {
  width: 270px;
  height: 560px;
  border-radius: 44px;
  background: #1a1a1a;
  border: 2.5px solid #2a2a2a;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 30px 80px rgba(0,0,0,0.6),
    0 4px 20px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.ig-phone__frame::before {
  content: '';
  position: absolute;
  top: 0; left: 5%;
  width: 90%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  z-index: 10;
}

.ig-phone__frame--pro {
  background: #111;
  border: 2.5px solid #333;
}

/* ── DYNAMIC ISLAND / NOTCH ── */
.ig-phone__island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  gap: 4px;
}

.ig-phone__island::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a1a3e;
  border: 1px solid #333;
}

.ig-phone__island--pro {
  width: 110px;
  height: 32px;
}

/* ── PHONE SCREEN ── */
.ig-phone__screen {
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 41px;
}

/* ── SIDE BUTTONS ── */
.ig-phone__side-btn {
  position: absolute;
  background: #252525;
  border-radius: 2px;
}

.ig-phone__side-btn--vol-up {
  left: -3.5px;
  top: 90px;
  width: 3px;
  height: 28px;
}

.ig-phone__side-btn--vol-down {
  left: -3.5px;
  top: 130px;
  width: 3px;
  height: 28px;
}

.ig-phone__side-btn--power {
  right: -3.5px;
  top: 100px;
  width: 3px;
  height: 40px;
}

/* ────────────────────────────────────────────────
   PHONE 1 — Instagram Feed / Post View
   ──────────────────────────────────────────────── */

/* IG Top Bar */
.ig-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 14px 8px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.ig-top-bar__logo {
  color: #000;
  display: flex;
  align-items: center;
}

.ig-top-bar__logo svg {
  color: #000;
}

.ig-top-bar__actions {
  display: flex;
  gap: 12px;
}

.ig-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  color: #000;
}

/* IG Stories */
.ig-stories {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid #efefef;
  flex-shrink: 0;
  scrollbar-width: none; /* FF 64+ */
  -ms-overflow-style: none;
}

.ig-stories::-webkit-scrollbar { display: none; }

.ig-story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.ig-story__ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 2px;
  background: #dbdbdb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-story__ring--active {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.ig-story__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  color: white;
  background: #ccc;
  overflow: hidden;
}

.ig-story__avatar--add {
  background: #fff;
  border: 1.5px solid #dbdbdb;
  font-size: 1.1rem;
  color: #000;
  font-weight: 300;
}

.ig-story__name {
  font-size: 0.48rem;
  color: #111;
  text-align: center;
  max-width: 52px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* IG Post */
.ig-post {
  overflow-y: auto;
  scrollbar-width: none; /* FF 64+ */
  -ms-overflow-style: none;
  flex: 1;
  background: #fff;
}

.ig-post::-webkit-scrollbar { display: none; }

.ig-post--reel {
  overflow-y: auto;
}

/* Post Header */
.ig-post__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
}

.ig-post__user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ig-post__avatar-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-post__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: white;
}

.ig-post__avatar--sm {
  width: 22px;
  height: 22px;
  border: none;
  font-size: 0.45rem;
}

.ig-post__user-info {
  display: flex;
  flex-direction: column;
}

.ig-post__username {
  font-size: 0.6rem;
  font-weight: 700;
  color: #111;
}

.ig-post__location {
  font-size: 0.48rem;
  color: #555;
}

.ig-post__more {
  font-size: 0.8rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 1px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.ig-verified {
  color: #0095f6;
  font-size: 0.55rem;
}

/* Post Media */
.ig-post__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #111;
}

.ig-post__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Reel Overlay */
.ig-reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.ig-reel-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 0.45rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.ig-reel-actions {
  position: absolute;
  right: 10px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: all;
}

.ig-reel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

.ig-reel-btn svg {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
  width: 18px;
  height: 18px;
}

.ig-reel-btn--heart.liked svg {
  fill: #fe3c72;
  stroke: #fe3c72;
}

.ig-reel-count {
  font-size: 0.45rem;
  color: white;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.ig-reel-avatar {
  width: 24px;
  height: 24px;
}

.ig-reel-avatar-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  font-weight: 700;
  color: white;
}

/* Play/Pause overlay */
.ig-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0,0,0,0.15);
  transition: opacity 0.3s;
  opacity: 0;
}

.ig-play-overlay.visible {
  opacity: 1;
}

.ig-play-overlay svg {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* Post Actions */
.ig-post__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 4px;
}

.ig-post__actions-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ig-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 2px;
  transition: transform 0.2s, color 0.2s;
}

.ig-action-btn:active {
  transform: scale(0.85);
}

.ig-action-btn svg {
  width: 20px;
  height: 20px;
  color: #111;
}

.ig-heart-btn.liked svg.ig-heart-icon {
  fill: #fe3c72;
  stroke: #fe3c72;
}

.ig-heart-btn.liked {
  animation: heartPop 0.3s var(--ease-bounce);
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.ig-bookmark-btn.saved svg {
  fill: #111;
}

/* Likes */
.ig-post__likes {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 12px 4px;
}

.ig-post__likes-avatars {
  display: flex;
}

.ig-mini-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  margin-left: -4px;
}

.ig-mini-avatar:first-child { margin-left: 0; }

.ig-post__likes span {
  font-size: 0.52rem;
  color: #111;
}

.ig-post__likes strong {
  font-weight: 700;
}

/* Caption */
.ig-post__caption {
  padding: 2px 12px 4px;
  font-size: 0.52rem;
  color: #111;
  line-height: 1.4;
}

.ig-post__hashtags {
  color: #0095f6;
  display: block;
  margin-top: 2px;
}

/* Comments */
.ig-post__comments-preview {
  padding: 2px 12px;
}

.ig-post__view-comments {
  font-size: 0.5rem;
  color: #777;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  margin-bottom: 4px;
}

.ig-comment {
  display: flex;
  gap: 4px;
  margin-bottom: 3px;
}

.ig-comment__user {
  font-size: 0.5rem;
  font-weight: 700;
  color: #111;
  flex-shrink: 0;
}

.ig-comment__text {
  font-size: 0.5rem;
  color: #111;
}

/* Time */
.ig-post__time {
  padding: 2px 12px;
  font-size: 0.44rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Add comment */
.ig-post__add-comment {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-top: 1px solid #f0f0f0;
}

.ig-add-comment-text {
  flex: 1;
  font-size: 0.5rem;
  color: #aaa;
}

.ig-emoji-btn {
  font-size: 0.7rem;
  cursor: pointer;
}

/* ────────────────────────────────────────────────
   PHONE 2 — Full-Screen Reel View
   ──────────────────────────────────────────────── */

.ig-reel-fullscreen {
  width: 100%;
  height: 100%;
  position: relative;
  background: #000;
}

.ig-reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Reel Top Bar */
.ig-reel-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 44px 14px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 100%);
  z-index: 10;
}

.ig-reel-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.2px;
}

/* Reel Progress */
.ig-reel-progress {
  position: absolute;
  top: 40px;
  left: 0; right: 0;
  padding: 0 14px;
  z-index: 11;
}

.ig-reel-progress__bar {
  height: 2px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}

.ig-reel-progress__fill {
  height: 100%;
  width: 35%;
  background: white;
  border-radius: 2px;
  animation: reelProgress 12s linear infinite;
}

@keyframes reelProgress {
  0% { width: 0; }
  100% { width: 100%; }
}

/* Reel Bottom */
.ig-reel-bottom {
  position: absolute;
  bottom: 56px;
  left: 0;
  right: 50px;
  padding: 0 14px;
  z-index: 10;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 100%);
  padding-top: 24px;
  padding-bottom: 12px;
}

.ig-reel-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ig-reel-user__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: white;
}

.ig-reel-user__info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ig-reel-user__name {
  font-size: 0.58rem;
  font-weight: 700;
  color: white;
}

.ig-verified--white {
  color: white;
  font-size: 0.5rem;
}

.ig-follow-btn {
  background: none;
  border: 1px solid white;
  color: white;
  font-size: 0.48rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.ig-reel-caption {
  font-size: 0.5rem;
  color: white;
  line-height: 1.5;
  margin-bottom: 8px;
}

.ig-reel-more {
  font-weight: 700;
  cursor: pointer;
}

.ig-reel-audio {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ig-reel-audio__text {
  font-size: 0.46rem;
  color: white;
  flex: 1;
}

.ig-reel-audio__disc {
  font-size: 0.7rem;
  animation: spinDisc 3s linear infinite;
}

@keyframes spinDisc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Reel Side Actions */
.ig-reel-side {
  position: absolute;
  right: 8px;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.ig-reel-side-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
}

.ig-reel-side-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-reel-side-icon svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
}

.ig-reel-side-count {
  font-size: 0.45rem;
  color: white;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.ig-reel-side-disc {
  width: 28px;
  height: 28px;
}

.ig-reel-disc-inner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  animation: spinDisc 3s linear infinite;
}

.ig-reel-tap {
  position: absolute;
  inset: 0;
  z-index: 9;
  cursor: pointer;
}

/* IG Bottom Nav */
.ig-bottom-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 52px;
  background: rgba(0,0,0,0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px 8px;
  z-index: 10;
}

.ig-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.ig-nav-btn--add {
  width: 32px;
  height: 28px;
  border: 2px solid white;
  border-radius: 8px;
  padding: 2px;
}

.ig-nav-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  font-weight: 700;
  color: white;
}

/* ────────────────────────────────────────────────
   PHONE 3 — Profile Page View
   ──────────────────────────────────────────────── */

.ig-profile {
  overflow-y: auto;
  height: 100%;
  background: #fff;
  scrollbar-width: none; /* FF 64+ */
  -ms-overflow-style: none;
}

.ig-profile::-webkit-scrollbar { display: none; }

.ig-profile__header {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.ig-profile__info {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  gap: 12px;
}

.ig-profile__avatar-wrap {
  flex-shrink: 0;
}

.ig-profile__avatar-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-profile__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.ig-profile__stats {
  display: flex;
  gap: 12px;
  flex: 1;
  justify-content: space-around;
}

.ig-profile__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.ig-profile__stat-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: #111;
}

.ig-profile__stat-label {
  font-size: 0.45rem;
  color: #555;
}

/* Profile Bio */
.ig-profile__bio {
  padding: 0 14px 10px;
  font-size: 0.52rem;
  color: #111;
  line-height: 1.5;
}

.ig-profile__bio-name {
  font-weight: 700;
}

.ig-profile__bio-link {
  color: #0095f6;
  display: block;
}

/* Profile Buttons */
.ig-profile__buttons {
  display: flex;
  gap: 6px;
  padding: 0 14px 12px;
}

.ig-profile__btn {
  flex: 1;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  padding: 6px 2px;
  font-size: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: #111;
  text-align: center;
}

.ig-profile__btn--follow {
  background: #0095f6;
  color: white;
  border-color: #0095f6;
}

.ig-profile__btn--more {
  flex: 0 0 30px;
  font-size: 0.6rem;
}

/* Highlights */
.ig-highlights {
  display: flex;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  overflow-x: auto;
  scrollbar-width: none; /* FF 64+ */
  -ms-overflow-style: none;
}

.ig-highlights::-webkit-scrollbar { display: none; }

.ig-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  cursor: pointer;
}

.ig-highlight__ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid #dbdbdb;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-highlight__img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.ig-highlight__label {
  font-size: 0.44rem;
  color: #111;
  text-align: center;
}

/* Profile Tabs */
.ig-profile__tabs {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
}

.ig-profile__tab {
  flex: 1;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: #aaa;
}

.ig-profile__tab--active {
  border-bottom-color: #111;
  color: #111;
}

/* Profile Grid */
.ig-profile__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.ig-profile__post {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
}

.ig-profile__post-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ig-profile__post:hover .ig-profile__post-media {
  transform: scale(1.05);
}

.ig-profile__post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: white;
  font-size: 0.5rem;
  font-weight: 700;
  opacity: 0;
  transition: all 0.25s;
}

.ig-profile__post:hover .ig-profile__post-overlay {
  background: rgba(0,0,0,0.35);
  opacity: 1;
}

.ig-profile__post--reels::after {
  content: '▶';
  position: absolute;
  top: 6px;
  right: 6px;
  color: white;
  font-size: 0.5rem;
}

/* ── SHOWCASE STATS ── */
.showcase__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  margin-top: var(--space-2xl);
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(232, 168, 124, 0.1);
  border-radius: var(--radius-lg);
}

.showcase__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.showcase__stat-icon {
  font-size: 1.5rem;
}

.showcase__stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-bold);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase__stat-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--text-muted);
}

/* ── UTILITY CLASSES (replacing inline styles) ── */

/* Gradient avatar */
.ig-avatar--gradient {
  background: var(--gradient-hero) !important;
}

/* Mini avatar colors */
.ig-mini-avatar--pink  { background: #e91e63; }
.ig-mini-avatar--purple { background: #9c27b0; }

/* Profile username logo in top bar */
.ig-top-bar__logo--username {
  font-style: italic;
  font-size: 0.7rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.5px;
}

/* Dark icon button override */
.ig-icon-btn--dark {
  color: #111;
}

/* Highlight image colors */
.ig-highlight__img--beauty  { background: linear-gradient(135deg, #E8A87C, #D4A5A5); }
.ig-highlight__img--fashion { background: linear-gradient(135deg, #667eea, #764ba2); }
.ig-highlight__img--ugc     { background: linear-gradient(135deg, #f9a825, #e91e63); }
.ig-highlight__img--lifestyle { background: linear-gradient(135deg, #4CAF50, #8BC34A); }



/* ════════════════════════════════════════════
   RESPONSIVE — SHOWCASE
   ════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1200px) {
  .ig-showcase {
    gap: 1.5rem;
  }

  .ig-phone__frame {
    width: 240px;
    height: 500px;
  }
}

@media (max-width: 1024px) {
  .ig-showcase {
    gap: 1rem;
    padding: var(--space-md) 0 var(--space-xl);
  }

  .ig-phone__frame {
    width: 220px;
    height: 460px;
    border-radius: 36px;
  }

  .ig-phone__island {
    width: 80px;
    height: 24px;
    top: 8px;
  }

  .ig-phone--center {
    transform: scale(1.03);
  }

  .showcase__stats {
    gap: var(--space-lg);
  }
}

/* ═══════════════════════════════════════════════════
   MOBILE SLIDER — Infinite Loop
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Container ── */
  .ig-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 620px;
    width: 100vw;
    margin-left: calc(-1 * var(--space-sm, 1rem));
    padding: 0;
  }

  .ig-showcase::-webkit-scrollbar { display: none; }

  /* ── Phones (Absolute) ── */
  .ig-phone {
    position: absolute;
    width: 270px;
    opacity: 0.5;
    transform: scale(0.88);
    margin: 0 !important;
    z-index: 1;
    /* transition managed by JS to allow seamless wrapping */
    will-change: transform, opacity;
  }

  .ig-phone.slider-active {
    opacity: 1;
    transform: scale(1);
    z-index: 5;
  }

  /* Remove any ordering */
  .ig-phone--center,
  .ig-phone--right { order: unset; }

  .ig-phone__frame {
    width: 270px;
    height: 560px;
    border-radius: 44px;
  }

  /* ── Dots ── */
  .ig-slider-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 0.5rem;
  }

  .showcase__stats {
    gap: var(--space-md);
    border-radius: var(--radius-md);
  }

  .showcase__stat-num { font-size: 1.5rem; }
}

/* Dots hidden on desktop */
.ig-slider-dots { display: none; }

.ig-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(232, 168, 124, 0.25);
  border: 1.5px solid rgba(232, 168, 124, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  outline: none;
}

.ig-slider-dot.active {
  background: var(--color-primary, #E8A87C);
  border-color: var(--color-primary, #E8A87C);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 480px) {
  .ig-phone,
  .ig-phone__frame { width: 260px; }
  .ig-phone__frame { height: 540px; border-radius: 40px; }
  .showcase__stats { gap: var(--space-sm); padding: var(--space-md); }
  .showcase__stat  { min-width: 80px; }
}

@media (max-width: 360px) {
  .ig-phone,
  .ig-phone__frame { width: 240px; }
  .ig-phone__frame { height: 500px; }
}


