/* iPhone 15 device frame styles */
.iphone-15 {
  position: relative;
  width: 390px; /* iPhone 15 logical width */
  height: 844px; /* iPhone 15 logical height */
  border-radius: 48px;
  background: #0b0f14;
  border: 10px solid #0f141b;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.06);
}

.iphone-15:before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 52px;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.0));
}

.iphone-15-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  border: none;
}

/* Dynamic Island / notch */
.iphone-15-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 34px;
  background: #0b0f14;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.04);
  z-index: 5;
}

/* Side buttons hint (decoration) */
.iphone-15-buttons:before,
.iphone-15-buttons:after {
  content: "";
  position: absolute;
  background: #11161d;
  border-radius: 6px;
}

.iphone-15-buttons:before {
  /* volume buttons */
  left: -6px;
  top: 140px;
  width: 4px;
  height: 90px;
}

.iphone-15-buttons:after {
  /* power button */
  right: -6px;
  top: 220px;
  width: 4px;
  height: 70px;
}

/* Utility */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.card-shadow {
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.inner-shadow {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), inset 0 -1px 0 rgba(0,0,0,0.3);
}

/* Safe area padding for top (status bar & island) */
.safe-top {
  padding-top: 54px;
}

/* Bottom home indicator */
.home-indicator {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background: rgba(255,255,255,0.6);
  border-radius: 3px;
}

/* Tab bar mimic */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 84px;
  background: rgba(10,14,19,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.tabbar .active {
  color: #16a34a;
}

/* Minimal design tokens for Figma-friendly export */
.wallpaper {
  background: radial-gradient(1200px 600px at 20% -10%, rgba(16,185,129,.18), transparent 60%),
              radial-gradient(900px 500px at 120% 0%, rgba(59,130,246,.18), transparent 60%),
              linear-gradient(180deg, #0b0f14 0%, #0a0e13 100%);
}

.card {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.subtle {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 6px;
}

.tab-item {
  text-align: center;
  padding: 8px 12px;
  border-radius: 10px;
}

.tab-active { background: rgba(255,255,255,0.12); }

.title-underline { height: 8px; width: 80px; border-radius: 999px; }

/* Scrollbar: keep inside, slim and dark */
html, body, main, .scrollable {
  scrollbar-gutter: stable both-edges;
}

/* WebKit */
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,0);
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.35); }

/* Firefox */
* { scrollbar-color: rgba(255,255,255,0.3) rgba(255,255,255,0.06); scrollbar-width: thin; }



