/* ==========================================================================
   Boddu — phone-frame emulation
   Mobile-first: real-device styles are the default. The desktop "costume"
   (bezel, notch, fake status bar) is only added above the 701px breakpoint.
   ========================================================================== */

.device-stage {
  min-height: 100vh;
  min-height: 100dvh;
}

.phone-frame {
  position: relative;
  width: 100%;
  height: 100dvh;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-frame__btn {
  display: none;
}

.phone-statusbar,
.phone-notch {
  display: none;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-bg);
  border-radius: 0;
}

.phone-statusbar {
  flex-shrink: 0;
}

.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.25);
  z-index: 20;
}

.home-indicator--light {
  background: rgba(255, 255, 255, 0.6);
}

@media (min-width: 701px) {
  .device-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    background: var(--color-bg-desktop);
    overflow: hidden;
  }

  .phone-frame {
    width: 390px;
    height: 844px;
    padding: 14px;
    border-radius: 55px;
    background: #121214;
    box-shadow: var(--shadow-frame), 0 0 0 2px rgba(255, 255, 255, 0.04) inset;
    flex-shrink: 0;
  }

  .phone-frame__btn {
    display: block;
    position: absolute;
    background: #0a0a0b;
    border-radius: 2px;
  }

  .phone-frame__btn--power {
    right: -3px;
    top: 180px;
    width: 3px;
    height: 80px;
  }

  .phone-frame__btn--vol-up {
    left: -3px;
    top: 140px;
    width: 3px;
    height: 45px;
  }

  .phone-frame__btn--vol-down {
    left: -3px;
    top: 195px;
    width: 3px;
    height: 45px;
  }

  .phone-screen {
    border-radius: 42px;
  }

  .phone-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    background: transparent;
    position: relative;
    z-index: 10;
  }

  .phone-statusbar__icons {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .phone-notch {
    display: block;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 16px;
    z-index: 15;
  }
}

/* Desktop backdrop decoration — only relevant around the phone, not inside it */
.desktop-decor {
  display: none;
}

@media (min-width: 701px) {
  .desktop-decor {
    display: block;
    position: absolute;
    z-index: 0;
    opacity: 0.12;
    pointer-events: none;
  }
}
