/* 
 * Phone mockup styles for The Channel website
 * Uses CSS variables for consistent sizing across viewports
 */

.phone-container {
  padding: var(--space-2);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 20rem;
  height: auto;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-phone);
  padding: 4px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(224, 224, 224, 0.8);
  /* Scale while maintaining aspect ratio */
  aspect-ratio: 9 / 19;
}

.screen {
  height: 100%;
  width: 100%;
  border-radius: var(--radius-phone);
  overflow: hidden;
  position: relative;
}

.screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button-right {
  position: absolute;
  right: -2px;
  top: 100px;
  width: 3px;
  height: 30px;
  background: rgba(224, 224, 224, 0.8);
  border-radius: var(--radius-sm);
}

.buttons-left {
  position: absolute;
  left: -2px;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.button-left {
  width: 3px;
  height: 40px;
  background: rgba(224, 224, 224, 0.8);
  border-radius: var(--radius-sm);
}