/* iosi.live - Mobile Phone Mockup & Responsive Mobile Styling */

.mobile-phone-frame {
  width: 375px;
  height: 770px;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 25px 60px -15px rgba(106, 0, 244, 0.35), 0 0 0 10px #1e1935, 0 0 0 12px #3c3258;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

/* Status Bar & Dynamic Island */
.phone-status-bar {
  height: 44px;
  padding: 10px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #1e1935;
  position: relative;
  z-index: 50;
  background: #ffffff;
}

.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background: #000000;
  border-radius: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.island-camera-lens {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0d1222;
  border: 1px solid #1c253d;
}

.status-right-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}

/* Mobile Header */
.mobile-header {
  padding: 8px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid rgba(235, 227, 250, 0.7);
  z-index: 40;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.mobile-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9d4edd, #6a00f4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.mobile-brand-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-dark);
}

.mobile-brand-sub {
  font-size: 9.5px;
  color: var(--text-muted);
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Scrollable Screen Content */
.mobile-screen-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Mobile Featured Card */
.mobile-card-container {
  width: 100%;
  height: 410px;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(106, 0, 244, 0.18);
  background: #251a3d;
}

.mobile-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Mobile Action Buttons Overlay */
.mobile-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: -20px;
  position: relative;
  z-index: 20;
}

.mobile-act-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(220, 212, 240, 0.9);
  box-shadow: 0 8px 18px rgba(131, 56, 236, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  transition: var(--transition-bounce);
}

.mobile-act-btn:hover {
  transform: scale(1.1);
}

.mobile-act-btn.btn-m-like {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #9d4edd, #6a00f4);
  color: white;
  border: none;
  box-shadow: 0 10px 24px rgba(106, 0, 244, 0.45);
}

/* Mobile Video Chat Full-width Button */
.mobile-video-banner {
  background: linear-gradient(135deg, #8338ec 0%, #6a00f4 100%);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(106, 0, 244, 0.35);
  transition: var(--transition-fast);
}

.mobile-video-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(106, 0, 244, 0.45);
}

.m-video-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-video-text {
  flex: 1;
}

.m-video-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.m-video-sub {
  font-size: 10.5px;
  opacity: 0.85;
}

/* Mobile Nearby Stories Bar */
.mobile-stories-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stories-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

.stories-see-all {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.stories-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.story-avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.story-ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #9d4edd, #6a00f4);
}

.story-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.story-name {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Mobile Bottom Tab Bar */
.mobile-tab-bar {
  height: 60px;
  background: #ffffff;
  border-top: 1px solid rgba(235, 227, 250, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  z-index: 50;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.tab-btn.active {
  color: var(--primary-dark);
}

.tab-btn svg {
  width: 20px;
  height: 20px;
}

.tab-badge {
  position: absolute;
  top: -3px;
  right: -5px;
  background: var(--primary);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: var(--radius-pill);
}

/* Mobile-only responsive view when screen width < 768px */
@media (max-width: 768px) {
  .mobile-phone-frame {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }
  .dynamic-island {
    display: none;
  }
}
