
:root{
  --bg1:#0b0f1a;
  --glass: rgba(255,255,255,0.14);
  --glass2: rgba(255,255,255,0.20);
  --edge: rgba(255,255,255,0.38);
  --edge2: rgba(255,255,255,0.22);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.75);
  --shadow: 0 25px 70px rgba(0,0,0,0.45);
  --radius: 44px;
  --iconRadius: 20px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; width:100%; margin:0; }
body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  overflow:hidden;
  background: var(--bg1);
}

/* Background scene (acts like “what you see behind the glass”) */
.scene{
  position: fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
}
.scene__gradient{
  position:absolute; inset:-20%;
  background:
    radial-gradient(closest-side at 20% 30%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(closest-side at 75% 35%, rgba(120,170,255,0.20), transparent 65%),
    radial-gradient(closest-side at 60% 80%, rgba(255,120,210,0.14), transparent 65%),
    linear-gradient(120deg, rgba(10,14,26,1), rgba(9,14,24,1));
  filter: blur(0px);
  transform: scale(1.05);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift{
  0%{ transform: translate3d(-1%, -1%, 0) scale(1.06); }
  100%{ transform: translate3d(1.5%, 1.2%, 0) scale(1.08); }
}
.scene__noise{
  position:absolute; inset:0;
  opacity:0.12;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.scene__bokeh{
  position:absolute; inset:-10%;
  background:
    radial-gradient(circle at 15% 65%, rgba(255,255,255,0.12), transparent 30%),
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.10), transparent 28%),
    radial-gradient(circle at 80% 55%, rgba(255,255,255,0.10), transparent 30%),
    radial-gradient(circle at 70% 85%, rgba(255,255,255,0.08), transparent 26%);
  filter: blur(6px);
  opacity:0.9;
}

/* Viewport */
.viewport{
  position: relative;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: clamp(14px, 3vw, 40px);
}

/* Phone */
.phone{
  position: relative;
  width: min(92vw, 420px);
  height: min(92vh, 860px);
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(1.25);
  -webkit-backdrop-filter: blur(26px) saturate(1.25);
  overflow:hidden;
  padding: 28px 22px 30px;
}

.phone__frame{
  position:absolute; inset:0;
  border-radius: var(--radius);
  background:
    radial-gradient(closest-side at 50% 10%, rgba(255,255,255,0.14), transparent 55%),
    radial-gradient(closest-side at 10% 60%, rgba(255,255,255,0.09), transparent 55%),
    radial-gradient(closest-side at 90% 75%, rgba(255,255,255,0.10), transparent 60%);
  pointer-events:none;
}

.status{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 6px 6px 0;
  margin-top: 0;
}
.status__time{
  font-size: 22px;
  letter-spacing: 0.2px;
  font-weight: 600;
}
.status__right{
  display:flex;
  gap: 8px;
  align-items:center;
}
.status__pill{
  width: 18px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  opacity: 0.85;
}
.status__battery{
  width: 20px;
  height: 10px;
  border: 1.5px solid rgba(255,255,255,0.92);
  border-radius: 3px;
  position: relative;
}
.status__battery::after{
  content:"";
  position:absolute;
  right:-3.5px;
  top: 2.5px;
  width: 2.5px;
  height: 5px;
  border-radius: 2px;
  background: rgba(255,255,255,0.9);
}
.status__battery::before{
  content:"";
  position:absolute;
  inset:1.5px;
  border-radius: 2px;
  background: rgba(255,255,255,0.9);
  opacity:0.8;
}

/* Grid */
.grid{
  margin-top: 0;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 0 8px;
}

/* Icon buttons */
.icon{
  appearance:none;
  border:0;
  padding:0;
  background: transparent;
  cursor:pointer;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--iconRadius);
  outline: none;
  transform: translateZ(0);
}
.icon__glass{
  position:absolute; inset:0;
  border-radius: var(--iconRadius);
  background: var(--glass2);
  border: 1px solid var(--edge2);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 12px 26px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.icon__svg{
  position:absolute;
  inset: 18%;
  width: 64%;
  height: 64%;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.25));
  opacity: 0.95;
}
.icon:active .icon__glass{ transform: scale(0.97); }
.icon:hover .icon__glass{ background: rgba(255,255,255,0.24); border-color: rgba(255,255,255,0.30); }

/* Home bar */
.homebar{
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  width: 34%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  opacity: 0.55;
}

/* Dock hint (subtle) */
.dock-hint{
  position:absolute;
  left: 16px; right: 16px;
  bottom: 46px;
  height: 70px;
  border-radius: 26px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0.7;
}

/* Panel (app opens on click) */
.panel{
  position: fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  z-index: 5;
  padding: clamp(14px, 3vw, 40px);
}
.panel[aria-hidden="false"]{ display:flex; }
.panel__glass{
  width: min(92vw, 520px);
  height: min(88vh, 720px);
  border-radius: 30px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.30);
  backdrop-filter: blur(26px) saturate(1.25);
  -webkit-backdrop-filter: blur(26px) saturate(1.25);
  box-shadow: 0 35px 90px rgba(0,0,0,0.55);
  overflow:hidden;
  display:flex;
  flex-direction: column;
}
.panel__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.panel__title{
  font-weight: 650;
  letter-spacing: 0.2px;
}
.panel__close{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
  font-size: 22px;
  line-height: 32px;
  cursor:pointer;
}
.panel__body{
  padding: 18px;
  flex:1;
}
.panel__footer{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.panel__link{
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
}
.panel__link:hover{ background: rgba(255,255,255,0.14); }

/* App view skeleton */
.appview__hero{
  height: 160px;
  border-radius: 22px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.appview__row{
  margin-top: 0;
  height: 54px;
  border-radius: 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
}

/* Pages */
.page{
  position: relative;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: clamp(14px, 3vw, 40px);
}
.card{
  width: min(92vw, 520px);
  border-radius: 30px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(26px) saturate(1.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  padding: 20px 18px 18px;
}
.card__title{
  font-size: 22px;
  font-weight: 700;
}
.card__subtitle{
  margin-top: 0;
  color: var(--muted);
  font-size: 14px;
}

.form{ margin-top: 0; display:flex; flex-direction:column; gap: 12px; }
.field{ display:flex; flex-direction:column; gap: 6px; color: var(--muted); font-size: 13px; }
.field input{
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}
.field input::placeholder{ color: rgba(255,255,255,0.45); }

.btn{
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.14);
  color: var(--text);
  font-weight: 650;
  cursor: pointer;
}
.btn:hover{ background: rgba(255,255,255,0.18); }
.btn--ghost{ display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }

.link{
  text-align:center;
  color: rgba(255,255,255,0.80);
  text-decoration:none;
  margin-top: 0;
  display:block;
}
.copy{ margin-top: 0; color: rgba(255,255,255,0.86); line-height: 1.5; }
.copy ul{ margin: 10px 0 0 18px; }
.toast{
  margin-top: 0;
  min-height: 18px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
}

/* Better scaling on very small phones */
@media (max-width: 360px){
  .phone{ padding: 24px 18px 28px; }
  .grid{ gap: 20px; }
}

/* =========================
   NEON ACCENTS (CLOCK + ICONS)
   ========================= */

:root{
  --neon-cyan: #4ffcff;
  --neon-pink: #ff4fd8;
  --neon-violet: #8a7cff;
}

/* Digital clock: neon glow */
.status__time{
  color: var(--neon-cyan);
  text-shadow:
    0 0 6px rgba(79,252,255,0.55),
    0 0 14px rgba(79,252,255,0.45),
    0 0 28px rgba(79,252,255,0.35);
  letter-spacing: 0.5px;
}

/* Slight neon hint on status icons */
.status__pill,
.status__battery{
  box-shadow:
    0 0 6px rgba(138,124,255,0.45),
    inset 0 0 4px rgba(138,124,255,0.35);
}

/* Glass icons: neon border + glow */
.icon__glass{
  border: 1px solid rgba(79,252,255,0.55);
  box-shadow:
    0 0 10px rgba(79,252,255,0.35),
    0 0 22px rgba(79,252,255,0.25),
    inset 0 0 10px rgba(255,255,255,0.12);
}

/* Per-icon subtle color variation using nth-child */
.grid .icon:nth-child(3n+1) .icon__glass{
  border-color: rgba(255,79,216,0.6);
  box-shadow:
    0 0 10px rgba(255,79,216,0.35),
    0 0 22px rgba(255,79,216,0.25),
    inset 0 0 10px rgba(255,255,255,0.12);
}

.grid .icon:nth-child(3n+2) .icon__glass{
  border-color: rgba(138,124,255,0.6);
  box-shadow:
    0 0 10px rgba(138,124,255,0.35),
    0 0 22px rgba(138,124,255,0.25),
    inset 0 0 10px rgba(255,255,255,0.12);
}

/* Icon SVGs get a faint neon glow */
.icon__svg{
  filter:
    drop-shadow(0 0 6px rgba(255,255,255,0.45))
    drop-shadow(0 0 12px rgba(79,252,255,0.35));
}

/* Hover / active intensifies glow */
.icon:hover .icon__glass,
.icon:active .icon__glass{
  box-shadow:
    0 0 14px rgba(79,252,255,0.55),
    0 0 32px rgba(79,252,255,0.45),
    inset 0 0 12px rgba(255,255,255,0.18);
}

/* =========================
   NEON APP COLORS (STRONGER)
   ========================= */

/* Base boost for all icons */
.icon__glass{
  box-shadow:
    0 0 14px rgba(255,255,255,0.25),
    0 0 28px rgba(255,255,255,0.18),
    inset 0 0 14px rgba(255,255,255,0.14);
}

/* WhatsApp – neon green */
.icon[data-app="whatsapp"] .icon__glass{
  border-color: #3dff8a;
  box-shadow:
    0 0 16px rgba(61,255,138,0.55),
    0 0 36px rgba(61,255,138,0.45),
    inset 0 0 14px rgba(61,255,138,0.22);
}
.icon[data-app="whatsapp"] .icon__svg{
  filter:
    drop-shadow(0 0 8px rgba(61,255,138,0.85))
    drop-shadow(0 0 18px rgba(61,255,138,0.55));
}

/* Facebook – neon blue */
.icon[data-app="facebook"] .icon__glass{
  border-color: #4fa3ff;
  box-shadow:
    0 0 16px rgba(79,163,255,0.55),
    0 0 36px rgba(79,163,255,0.45),
    inset 0 0 14px rgba(79,163,255,0.22);
}
.icon[data-app="facebook"] .icon__svg{
  filter:
    drop-shadow(0 0 8px rgba(79,163,255,0.85))
    drop-shadow(0 0 18px rgba(79,163,255,0.55));
}

/* Instagram – neon pink/purple */
.icon[data-app="instagram"] .icon__glass{
  border-color: #ff4fd8;
  box-shadow:
    0 0 16px rgba(255,79,216,0.55),
    0 0 36px rgba(255,79,216,0.45),
    inset 0 0 14px rgba(255,79,216,0.22);
}
.icon[data-app="instagram"] .icon__svg{
  filter:
    drop-shadow(0 0 8px rgba(255,79,216,0.85))
    drop-shadow(0 0 18px rgba(255,79,216,0.55));
}

/* Messenger – neon cyan */
.icon[data-app="messenger"] .icon__glass{
  border-color: #4ffcff;
  box-shadow:
    0 0 16px rgba(79,252,255,0.55),
    0 0 36px rgba(79,252,255,0.45),
    inset 0 0 14px rgba(79,252,255,0.22);
}
.icon[data-app="messenger"] .icon__svg{
  filter:
    drop-shadow(0 0 8px rgba(79,252,255,0.85))
    drop-shadow(0 0 18px rgba(79,252,255,0.55));
}

/* Phone – neon gold */
.icon[data-app="dialer"] .icon__glass{
  border-color: #ffd36a;
  box-shadow:
    0 0 16px rgba(255,211,106,0.55),
    0 0 36px rgba(255,211,106,0.45),
    inset 0 0 14px rgba(255,211,106,0.22);
}
.icon[data-app="dialer"] .icon__svg{
  filter:
    drop-shadow(0 0 8px rgba(255,211,106,0.85))
    drop-shadow(0 0 18px rgba(255,211,106,0.55));
}

/* Camera – violet */
.icon[data-app="camera"] .icon__glass{
  border-color: #9f8cff;
  box-shadow:
    0 0 16px rgba(159,140,255,0.55),
    0 0 36px rgba(159,140,255,0.45),
    inset 0 0 14px rgba(159,140,255,0.22);
}
.icon[data-app="camera"] .icon__svg{
  filter:
    drop-shadow(0 0 8px rgba(159,140,255,0.85))
    drop-shadow(0 0 18px rgba(159,140,255,0.55));
}

/* Mail – soft ice blue */
.icon[data-app="mail"] .icon__glass{
  border-color: #aee7ff;
  box-shadow:
    0 0 16px rgba(174,231,255,0.55),
    0 0 36px rgba(174,231,255,0.45),
    inset 0 0 14px rgba(174,231,255,0.22);
}

/* Music – magenta */
.icon[data-app="music"] .icon__glass{
  border-color: #ff5fd2;
  box-shadow:
    0 0 16px rgba(255,95,210,0.55),
    0 0 36px rgba(255,95,210,0.45),
    inset 0 0 14px rgba(255,95,210,0.22);
}

/* Hover/press intensifies glow further */
.icon:hover .icon__glass,
.icon:active .icon__glass{
  box-shadow:
    0 0 22px currentColor,
    0 0 46px currentColor,
    inset 0 0 16px rgba(255,255,255,0.22);
}

/* =========================
   GRID 4 + LABELS
   ========================= */

/* 4 icons per row */
.grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0 6px;
}

/* Icon becomes a vertical stack: tile + label */
.icon{
  aspect-ratio: auto;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

/* Square tile that contains the glass + svg */
.icon__tile{
  position: relative;
  width: min(62px, 18vw);
  aspect-ratio: 1 / 1;
  border-radius: var(--iconRadius);
  display: block;
}

/* Glass fills the tile */
.icon__tile .icon__glass{
  position: absolute;
  inset: 0;
  border-radius: var(--iconRadius);
}

/* SVG sits inside the tile */
.icon__tile .icon__svg{
  position: absolute;
  inset: 18%;
  width: 64%;
  height: 64%;
}

/* Label outside the glass border */
.icon__label{
  font-size: clamp(10px, 2.6vw, 12px);
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.2px;
  text-shadow:
    0 1px 10px rgba(0,0,0,0.35),
    0 0 10px rgba(255,255,255,0.08);
  user-select: none;
  white-space: nowrap;
}

/* Slightly tighter vertical rhythm */
.phone{
  padding: 26px 20px 28px;
}
.grid{
  margin-top: 0;
}

/* Very small phones */
@media (max-width: 360px){
  .grid{ gap: 14px; }
  .icon__tile{ width: min(58px, 19vw); }
  .icon__label{ font-size: 10px; }
}

/* =========================
   BOTTOM DOCK (4 ICONS)
   ========================= */

.dock{
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 30px; /* above homebar */
  height: 78px;
  border-radius: 26px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 18px 42px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 12px;
  padding: 10px 12px;
  z-index: 3;
}

/* Move homebar a bit lower */
.homebar{
  bottom: 12px;
}

/* Dock icon button */
.dockicon{
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  position: relative;
}

.dockicon__glass{
  position:absolute;
  inset: 0;
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.20),
    inset 0 -14px 30px rgba(0,0,0,0.20);
}

.dockicon__glass::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(closest-side at 20% 20%, rgba(255,255,255,0.22), transparent 60%),
    linear-gradient(140deg, rgba(255,255,255,0.12), transparent 45%, transparent 70%, rgba(255,255,255,0.06));
  opacity: 0.9;
  pointer-events:none;
}

.dockicon__svg{
  position:absolute;
  inset: 18%;
  width: 64%;
  height: 64%;
  opacity: 0.92;
  filter:
    drop-shadow(0 0 8px rgba(255,255,255,0.40));
}

/* Apply same app-color neon logic to dock icons */
.dockicon[data-app="whatsapp"] .dockicon__glass{ border-color: #3dff8a; box-shadow: 0 0 16px rgba(61,255,138,0.55), 0 0 36px rgba(61,255,138,0.45), inset 0 0 14px rgba(61,255,138,0.22); }
.dockicon[data-app="facebook"] .dockicon__glass{ border-color: #4fa3ff; box-shadow: 0 0 16px rgba(79,163,255,0.55), 0 0 36px rgba(79,163,255,0.45), inset 0 0 14px rgba(79,163,255,0.22); }
.dockicon[data-app="instagram"] .dockicon__glass{ border-color: #ff4fd8; box-shadow: 0 0 16px rgba(255,79,216,0.55), 0 0 36px rgba(255,79,216,0.45), inset 0 0 14px rgba(255,79,216,0.22); }
.dockicon[data-app="messenger"] .dockicon__glass{ border-color: #4ffcff; box-shadow: 0 0 16px rgba(79,252,255,0.55), 0 0 36px rgba(79,252,255,0.45), inset 0 0 14px rgba(79,252,255,0.22); }
.dockicon[data-app="dialer"] .dockicon__glass{ border-color: #ffd36a; box-shadow: 0 0 16px rgba(255,211,106,0.55), 0 0 36px rgba(255,211,106,0.45), inset 0 0 14px rgba(255,211,106,0.22); }
.dockicon[data-app="camera"] .dockicon__glass{ border-color: #9f8cff; box-shadow: 0 0 16px rgba(159,140,255,0.55), 0 0 36px rgba(159,140,255,0.45), inset 0 0 14px rgba(159,140,255,0.22); }
.dockicon[data-app="mail"] .dockicon__glass{ border-color: #aee7ff; box-shadow: 0 0 16px rgba(174,231,255,0.55), 0 0 36px rgba(174,231,255,0.45), inset 0 0 14px rgba(174,231,255,0.22); }
.dockicon[data-app="music"] .dockicon__glass{ border-color: #ff5fd2; box-shadow: 0 0 16px rgba(255,95,210,0.55), 0 0 36px rgba(255,95,210,0.45), inset 0 0 14px rgba(255,95,210,0.22); }

.dockicon:hover .dockicon__glass,
.dockicon:active .dockicon__glass{
  box-shadow:
    0 0 22px rgba(255,255,255,0.35),
    0 0 46px rgba(255,255,255,0.22),
    inset 0 0 16px rgba(255,255,255,0.20);
}

/* Make space for dock by reducing grid bottom overlap */
.phone{
  padding-bottom: 120px;
}

/* =========================
   CLEAN FLAT DOCK ICONS
   ========================= */

.dock{
  background: rgba(255,255,255,0.04);
  border: none;
  box-shadow:
    0 16px 36px rgba(0,0,0,0.28);
}

/* Remove glass entirely */
.dockicon__glass{
  display: none;
}

/* Flat neon icons */
.dockicon__svg{
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  filter: none !important;
}

/* App-specific strong colors (no glow) */
.dockicon[data-app="dialer"] .dockicon__svg{ fill: #ffd36a; }
.dockicon[data-app="messenger"] .dockicon__svg{ fill: #4ffcff; }
.dockicon[data-app="mail"] .dockicon__svg{ fill: #aee7ff; }
.dockicon[data-app="camera"] .dockicon__svg{ fill: #9f8cff; }

/* Press feedback only (scale) */
.dockicon:active{
  transform: scale(0.94);
}

/* Embedded app iframe in panel */
.panel__iframe{
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 18px;
  background: rgba(0,0,0,0.15);
}

/* =========================
   FULL-WIDTH MOBILE + ANTIQUE GOLD BORDER
   ========================= */

/* Antique gold palette (slightly red/aged) */
:root{
  --gold-1: rgba(255, 214, 128, 0.95);
  --gold-2: rgba(212, 175, 55, 0.95);
  --gold-3: rgba(177, 120, 46, 0.95);
  --gold-4: rgba(120, 68, 28, 0.95);
  --frame-w: 2px;
}

/* Replace the plain border with a metallic gradient frame */
.phone{
  border: 0 !important; /* ensure we don’t double-border */
}

.phone::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: var(--frame-w);
  background: linear-gradient(
    135deg,
    var(--gold-1),
    var(--gold-2) 25%,
    var(--gold-3) 55%,
    var(--gold-2) 78%,
    var(--gold-4)
  );
  /* cut out the middle so only the frame remains */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.95;
}

/* Add a tiny metallic “shine” to the frame */
.phone::after{
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: inherit;
  background:
    radial-gradient(closest-side at 25% 10%, rgba(255,255,255,0.22), transparent 55%),
    radial-gradient(closest-side at 80% 18%, rgba(255,255,255,0.10), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.45;
  filter: blur(0.5px);
}

/* Ensure phone content stays above frame layers */
.phone > *{
  position: relative;
  z-index: 1;
}

/* MOBILE: true edge-to-edge (no side gaps) */
@media (max-width: 520px), (orientation: portrait){
  body{ overflow: hidden; }

  .viewport{
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  .phone{
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0 !important; /* removes corner gaps */
    padding-left: 18px !important;
    padding-right: 18px !important;
    padding-top: 0;
    padding-bottom: 110px !important; /* keeps space for dock/homebar */
  }

  /* Frame should match the new shape */
  .phone::before,
  .phone::after{
    border-radius: 0 !important;
  }

  /* Dock spans full width cleanly */
  .dock{
    left: 12px !important;
    right: 12px !important;
    bottom: 26px !important;
  }

  .homebar{
    bottom: 10px !important;
  }
}

/* Optional: Silver frame (available if you later want it)
   Add class 'theme-silver' to <body> to switch.
*/
body.theme-silver{
  --gold-1: rgba(240, 246, 255, 0.95);
  --gold-2: rgba(200, 210, 230, 0.95);
  --gold-3: rgba(150, 160, 180, 0.95);
  --gold-4: rgba(90, 95, 110, 0.95);
}

/* =========================
   SILVER FRAME + CENTER FIX
   ========================= */

/* Force silver metallic frame */
:root{
  --gold-1: rgba(245,248,255,0.95);
  --gold-2: rgba(210,220,235,0.95);
  --gold-3: rgba(165,175,195,0.95);
  --gold-4: rgba(120,130,150,0.95);
}

/* True horizontal centering */
.phone{
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Center grid content */
.grid{
  justify-items: center;
  align-items: start;
}

/* Center dock */
.dock{
  margin-left: auto;
  margin-right: auto;
}

/* Prevent right drift on small screens */
@media (max-width: 520px){
  .phone{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* =========================
   LAYOUT RESTORE (CENTER + DOCK BOTTOM)
   ========================= */

/* Ensure the phone is always centered in the viewport */
.viewport{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(14px, 3vw, 40px) !important;
}

/* Keep device centered and prevent drift */
.device{
  margin: 0 auto !important;
}

/* Restore rounded phone + consistent padding */
.phone{
  border-radius: var(--radius) !important;
  width: 100% !important;
  height: 100% !important;
  padding: 28px 22px 170px !important; /* reserve space for dock + homebar */
}

/* Grid: centered and with safe bottom spacing so labels never collide with dock */
.grid{
  justify-items: center !important;
  align-items: start !important;
  gap: 18px !important;
  padding: 0 8px !important;
  margin-top: 0;
  margin-bottom: 140px !important; /* keeps last row above dock */
}

/* Dock is anchored to the bottom of the phone */
.dock{
  left: 16px !important;
  right: 16px !important;
  bottom: 28px !important;
}

/* Homebar stays at the very bottom */
.homebar{
  bottom: 12px !important;
}

/* Mobile: keep rounded device, but reduce outer padding so it fills more */
@media (max-width: 520px), (orientation: portrait){
  .viewport{
    padding: 10px !important;
  }
  .phone{
    border-radius: var(--radius) !important; /* never square on mobile */
    padding-left: 18px !important;
    padding-right: 18px !important;
    padding-top: 0;
    padding-bottom: 170px !important;
  }
  .dock{
    left: 14px !important;
    right: 14px !important;
    bottom: 26px !important;
  }
}

/* =========================
   EXACT CENTER OVERRIDES
   ========================= */

/* Hard-center the whole device regardless of screen */
html, body{
  overflow-x: hidden;
}

.viewport{
  margin: 0 auto;
  display: flex;
  justify-content: center !important;
  align-items: center !important;
}

/* Prevent any asymmetric padding from shifting the device */
.viewport{
  padding-left: clamp(12px, 3vw, 40px) !important;
  padding-right: clamp(12px, 3vw, 40px) !important;
}

/* Mobile: keep centered (no edge-to-edge stretching) */
@media (max-width: 520px), (orientation: portrait){
  .viewport{
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 0;
    padding-bottom: 12px !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .device{
    width: min(94vw, 470px) !important;
    height: min(94vh, 940px) !important;
    margin: 0 auto !important;
  }

  .device__shell{
    width: 100% !important;
    height: 100% !important;
  }

  .phone{
    border-radius: var(--radius) !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Ensure dock stays perfectly centered within phone */
  .dock{
    left: 16px !important;
    right: 16px !important;
  }
}

/* =========================
   CENTERING + LAYOUT HOTFIX (AUTHORITATIVE)
   ========================= */

/* Prevent any scrollbars that visually shift centering */
html, body{
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

/* Absolute centering on desktop/tablet */
.viewport{
  display: grid !important;
  place-items: center !important;
  width: 100vw !important;
  height: 100vh !important;
  padding: clamp(12px, 3vw, 40px) !important;
}

/* Ensure the device itself has no left/right bias */
.device, .device__shell, .phone{
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Status bar alignment inside the top glass bar */
.status{
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.status__time{
  line-height: 1 !important;
}

/* MOBILE PORTRAIT: fill the viewport symmetrically (no “drift”) */
@media (max-width: 600px), (orientation: portrait){
  .viewport{
    padding: 0 !important;
  }

  .device{
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Keep a consistent shell margin so frame is even on both sides */
  .device__shell{
    width: calc(100vw - 20px) !important;
    height: calc(100vh - 20px) !important;
    margin: 0 auto !important;
  }

  /* Phone stays perfectly centered inside the shell */
  .phone{
    width: 100% !important;
    height: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    padding-top: 0;
    padding-bottom: 170px !important;
  }

  /* Dock pinned and centered */
  .dock{
    left: 16px !important;
    right: 16px !important;
    bottom: 28px !important;
  }
}

/* =========================
   REMOVE INTERIOR GLASS (SOLID UI)
   Keeps: icons + neon + clock
   Removes: inside glass panels/blur effects
   ========================= */

/* Remove “see-through” scene behind the phone */
.scene{ display: none !important; }
body{ background: #070b14 !important; }

/* Turn phone interior into a clean solid surface (no blur) */
.phone{
  background: #121827 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 30px 90px rgba(0,0,0,0.60) !important;
}

/* Remove internal decorative glass layers */
.phone__frame,
.dock-hint,
.phone__overlays{
  display: none !important;
}

/* Status bar: solid, clean (no glass pill) */
.status{
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 18px !important;
  padding: 12px 14px !important;
}

/* Icons: keep neon borders, but remove internal blur/glass */
.icon__glass{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255,255,255,0.06) !important;
}

/* Dock tray: simpler, less glassy */
.dock{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255,255,255,0.05) !important;
}

/* Bottom dock icons already flat neon in your version; ensure no glow */
.dockicon__svg{
  filter: none !important;
}

/* Panel modal: solid (no heavy glass) */
.panel__glass{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(18,24,39,0.95) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
}

/* =========================
   ANCIENT GOLD FRAME + GLASS SHEEN
   Keeps solid interior (stable layout) but adds “real glass” touch + premium gold frame.
   ========================= */

:root{
  /* Ancient/black/red gold palette */
  --og-1: rgba(255, 231, 170, 0.95); /* highlight */
  --og-2: rgba(214, 166, 60, 0.95);  /* gold */
  --og-3: rgba(161, 98, 35, 0.95);   /* red-gold */
  --og-4: rgba(64, 36, 18, 0.95);    /* near-black */
  --og-5: rgba(12, 8, 6, 0.85);      /* black */
  --frame-w: 2px;
}

/* Phone gets a premium metallic frame using mask technique (doesn't affect layout) */
.phone{
  position: relative;
  border: 0 !important;
}

/* Metallic border ring */
.phone::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: var(--frame-w);
  background:
    linear-gradient(135deg,
      var(--og-1) 0%,
      var(--og-2) 18%,
      var(--og-3) 42%,
      var(--og-2) 64%,
      var(--og-4) 82%,
      var(--og-1) 100%),
    radial-gradient(closest-side at 20% 15%, rgba(255,255,255,0.20), transparent 60%);
  /* cut out middle so only frame remains */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 6;
  opacity: 0.98;
}

/* Extra “aged” tone: a subtle dark patina near edges */
.phone::before{
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.22),
    0 25px 70px rgba(0,0,0,0.55);
}

/* Glass sheen overlay (NO blur) to avoid layout/compat issues */
.phone::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 5;
  background:
    radial-gradient(closest-side at 24% 8%, rgba(255,255,255,0.16), transparent 58%),
    radial-gradient(closest-side at 88% 18%, rgba(255,255,255,0.08), transparent 62%),
    linear-gradient(145deg, rgba(255,255,255,0.10), transparent 38%, transparent 68%, rgba(255,255,255,0.06));
  mix-blend-mode: screen;
  opacity: 0.55;
}

/* Keep content above the interior but below frame layers */
.phone > *{
  position: relative;
  z-index: 7;
}

/* Slightly richer solid interior to feel like glass-dark */
.phone{
  background:
    radial-gradient(closest-side at 20% 10%, rgba(255,255,255,0.06), transparent 58%),
    radial-gradient(closest-side at 80% 35%, rgba(255,255,255,0.03), transparent 62%),
    #121827 !important;
}

/* Make status bar feel like polished glass slab (still solid) */
.status{
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 12px 28px rgba(0,0,0,0.28) !important;
}

/* Optional: if you want the outside shell darker to match black-gold luxury */
.device__shell{
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.30)) !important;
}

/* Ensure frame doesn’t create horizontal shift */
.viewport, .device, .device__shell, .phone{
  transform: translateX(0) !important;
}

/* =========================
   FRAME TEXTURE – g1.png (VISIBLE)
   ========================= */

/* Apply texture directly to the metallic frame ring */
.phone::before{
  background:
    url("../assets/frame-texture.png"),
    linear-gradient(135deg,
      rgba(255,231,170,0.95),
      rgba(214,166,60,0.95),
      rgba(161,98,35,0.95),
      rgba(64,36,18,0.95));
  background-size: cover, 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Slight emboss so texture reads as metal */
.phone::before{
  filter: contrast(1.1) saturate(1.1);
}

/* =========================
   INSIDE BACKGROUND – g1.png (PHONE INTERIOR)
   ========================= */

/* Put the image INSIDE the phone */
.phone{
  background-image: url("../assets/inside-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Add a subtle dark veil so icons/text stay readable */
.phone::marker{ /* no-op, ensures rule boundary */ }
.phone{
  position: relative;
}
.phone .ui-veil{ display:none; }

.phone::after{
  /* If an ::after already exists for sheen, we keep that; so use an overlay div-like effect via box-shadow */
  /* This block intentionally left minimal to avoid overwriting prior ::after rules. */
}

/* Use an additional overlay using a pseudo-element on the status bar and dock */
.phone::before{
  /* keep existing frame ring; do not override here */
}

/* Readability: make UI slabs more transparent so background shows through */
.status{
  background: rgba(18,24,39,0.30) !important;
  border-color: rgba(255,255,255,0.18) !important;
}

.grid{
  /* allow background to be visible between icons */
}

.icon__label{
  color: rgba(255,255,255,0.90) !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55) !important;
}

/* Dock tray slightly transparent so the background image is visible */
.dock{
  background: rgba(18,24,39,0.28) !important;
}

/* Optional: slightly dim the whole phone content area to enhance contrast */
.phone{
  box-shadow: inset 0 0 0 9999px rgba(0,0,0,0.18);
}

/* =========================
   INSIDE BACKGROUND UPDATE – g2.png
   ========================= */

.phone{
  background-image: url("../assets/inside-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Reduce dark veil so texture is clearly visible */
.phone{
  box-shadow: inset 0 0 0 9999px rgba(0,0,0,0.08) !important;
}

/* Make slabs more transparent */
.status{
  background: rgba(255,255,255,0.18) !important;
}
.dock{
  background: rgba(255,255,255,0.16) !important;
}

/* =========================
   INSIDE BACKGROUND UPDATE – g3.png
   Dark glass + neon contrast
   ========================= */

.phone{
  background-image: url("../assets/inside-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Slight dark veil for contrast with neon */
.phone{
  box-shadow: inset 0 0 0 9999px rgba(0,0,0,0.22) !important;
}

/* Make UI slabs readable but translucent */
.status{
  background: rgba(0,0,0,0.28) !important;
}
.dock{
  background: rgba(0,0,0,0.26) !important;
}

.icon__label{
  color: rgba(255,255,255,0.95) !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.75) !important;
}

/* =========================
   INSIDE BACKGROUND UPDATE – g4.png
   Cracked glass effect with high contrast
   ========================= */

.phone{
  background-image: url("../assets/inside-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Dark veil tuned for cracked-glass contrast */
.phone{
  box-shadow: inset 0 0 0 9999px rgba(0,0,0,0.30) !important;
}

/* UI slabs more translucent to reveal cracks */
.status{
  background: rgba(0,0,0,0.24) !important;
}
.dock{
  background: rgba(0,0,0,0.22) !important;
}

.icon__label{
  color: rgba(255,255,255,0.95) !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.8) !important;
}

/* =========================
   LIGHT GOLD + BRIGHT NEON ICONS
   ========================= */

:root{
  --light-gold: #ffd87a;
  --neon-gold: #ffefb0;
}

/* Base icon glow lighter and brighter */
.icon__glass{
  border-color: var(--light-gold) !important;
  box-shadow:
    0 0 10px rgba(255,216,122,0.55),
    0 0 22px rgba(255,216,122,0.45),
    inset 0 0 14px rgba(255,255,255,0.22) !important;
}

/* Icon symbol brighter */
.icon__svg{
  filter:
    drop-shadow(0 0 6px rgba(255,239,176,0.95))
    drop-shadow(0 0 14px rgba(255,216,122,0.75)) !important;
}

/* Labels slightly warmer */
.icon__label{
  color: #fff2c9 !important;
}

/* Hover / active stronger neon */
.icon:hover .icon__glass,
.icon:active .icon__glass{
  box-shadow:
    0 0 16px rgba(255,239,176,0.75),
    0 0 34px rgba(255,216,122,0.65),
    inset 0 0 18px rgba(255,255,255,0.28) !important;
}

/* =========================
   EXTREME NEON GOLD FRAME
   ========================= */

:root{
  --frame-thickness: 3px; /* thicker frame */
  --gold-neon-1: #fff1b8;
  --gold-neon-2: #ffd24d;
  --gold-neon-3: #ff9f1c;
  --gold-neon-4: #b35a00;
  --gold-neon-5: #3a1800;
}

.phone{
  border: none !important;
  position: relative;
}

/* Heavy gold frame ring */
.phone::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: var(--frame-thickness);
  background:
    linear-gradient(135deg,
      var(--gold-neon-1) 0%,
      var(--gold-neon-2) 18%,
      var(--gold-neon-3) 38%,
      #ff5a1f 55%,
      var(--gold-neon-4) 72%,
      var(--gold-neon-5) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 10;
  pointer-events: none;

  /* STRONG NEON GLOW */
  box-shadow:
    0 0 18px rgba(255,210,77,0.95),
    0 0 38px rgba(255,159,28,0.85),
    0 0 70px rgba(255,90,31,0.75),
    inset 0 0 10px rgba(255,255,255,0.45);
}

/* Extra outer glow for realism */
.phone::after{
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 9;
  box-shadow:
    0 0 60px rgba(255,170,40,0.55),
    0 0 120px rgba(255,90,31,0.35);
}

/* =========================
   TOP AREA + PAGE DOTS UPGRADE
   ========================= */

/* Give the top bar more “design area” */
.status{
  height: 74px !important;
  border-radius: 22px !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Bigger, brighter neon clock */
.status__time{
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #7dfff2 !important;
  text-shadow:
    0 0 10px rgba(125,255,242,0.85),
    0 0 22px rgba(79,252,255,0.70),
    0 0 44px rgba(79,252,255,0.40) !important;
}

/* Right cluster spacing */
.status__right{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Battery percentage text */
.status__batteryPct{
  font-size: 13px;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}

/* Move icons grid down a bit (more breathing room under status) */
.grid{
  margin-top: 0;
}

/* Pin dock to the true bottom inside the phone */
.dock{
  bottom: 26px !important;
}

/* Ensure phone reserves enough bottom space so grid never collides */
.phone{
  padding-bottom: 190px !important;
}

/* Page dots (like iOS) */
.pageDots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 118px; /* above dock */
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 4;
  pointer-events: none;
}

.pageDot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  box-shadow: 0 0 10px rgba(255,255,255,0.10);
}

.pageDot.is-active{
  width: 18px;
  background: rgba(255,255,255,0.70);
  box-shadow: 0 0 14px rgba(255,255,255,0.22);
}

/* On very small phones, tighten spacing */
@media (max-width: 380px){
  .status{ height: 68px !important; }
  .status__time{ font-size: 20px !important; }
  .grid{ margin-top: 0; }
  .pageDots{ bottom: 112px; }
}

/* =========================
   FRAME BACKGROUND – g6.png
   Applies to the OUTER mobile frame (gold neon ring + shell).
   ========================= */

/* Put the image texture directly into the metallic frame ring */
.phone::before{
  background:
    url("../assets/frame-bg.png"),
    linear-gradient(135deg,
      var(--gold-neon-1, #fff1b8) 0%,
      var(--gold-neon-2, #ffd24d) 18%,
      var(--gold-neon-3, #ff9f1c) 38%,
      #ff5a1f 55%,
      var(--gold-neon-4, #b35a00) 72%,
      var(--gold-neon-5, #3a1800) 100%) !important;
  background-size: cover, 100% 100% !important;
  background-position: center, center !important;
  background-repeat: no-repeat, no-repeat !important;
  background-blend-mode: overlay, normal;
}

/* Also apply the image to the device shell so you see it around the phone */
.device__shell{
  background-image: url("../assets/frame-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Darken slightly so the gold neon ring stays readable */
.device__shell::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0,0,0,0.25);
  pointer-events: none;
}

/* =========================
   FRAME BG G6 – AUTHORITATIVE (VISIBLE)
   ========================= */

/* Ensure shell can show background */
.device__shell{
  position: relative !important;
  background-image: url("../assets/frame-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  filter: none !important;
}

/* Reduce any dark overlay that might hide the image */
.device__shell::before{
  background: rgba(0,0,0,0.08) !important; /* was too dark */
}

/* If the project uses a different outer frame element, apply there too */
.device, .device__frame, .frame, .shell{
  background-image: url("../assets/frame-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Frame ring: blend the texture but DON'T let it get masked out by strong glow */
.phone::before{
  background-image: url("../assets/frame-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-blend-mode: normal !important;
  opacity: 1 !important;
}

/* Make sure frame ring is not fully blown out by glow */
.phone::before{
  box-shadow:
    0 0 10px rgba(255,210,77,0.65),
    0 0 22px rgba(255,159,28,0.55),
    0 0 42px rgba(255,90,31,0.35),
    inset 0 0 10px rgba(255,255,255,0.30) !important;
}

/* Keep rim/shine above shell bg */
.device__rim, .device__shine, .device__shadow{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* =========================
   NEW APPS NEON COLORS
   ========================= */
.icon[data-app="tiktok"] .icon__glass{ border-color:#ff4fd8 !important; box-shadow: 0 0 16px rgba(255,79,216,0.55), 0 0 36px rgba(255,79,216,0.40), inset 0 0 14px rgba(255,79,216,0.22) !important; }
.icon[data-app="waze"] .icon__glass{ border-color:#aee7ff !important; box-shadow: 0 0 16px rgba(174,231,255,0.55), 0 0 36px rgba(174,231,255,0.40), inset 0 0 14px rgba(174,231,255,0.22) !important; }
.icon[data-app="googleMaps"] .icon__glass{ border-color:#4ffcff !important; box-shadow: 0 0 16px rgba(79,252,255,0.55), 0 0 36px rgba(79,252,255,0.40), inset 0 0 14px rgba(79,252,255,0.22) !important; }
.icon[data-app="googleTranslate"] .icon__glass{ border-color:#4fa3ff !important; box-shadow: 0 0 16px rgba(79,163,255,0.55), 0 0 36px rgba(79,163,255,0.40), inset 0 0 14px rgba(79,163,255,0.22) !important; }
.icon[data-app="googleEarth"] .icon__glass{ border-color:#9f8cff !important; box-shadow: 0 0 16px rgba(159,140,255,0.55), 0 0 36px rgba(159,140,255,0.40), inset 0 0 14px rgba(159,140,255,0.22) !important; }

/* Panel open link */
.panel__actions{
  display:flex;
  justify-content:flex-end;
  margin-bottom: 10px;
}
.panel__open{
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}
.panel__open:hover{ background: rgba(255,255,255,0.12); }

/* =========================
   PAGING SYSTEM (MAX 5 ROWS PER PAGE)
   ========================= */

.pages{
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  gap: 0;
  transform: translateX(0);
  transition: transform 260ms ease;
  will-change: transform;
}

.grid--page{
  flex: 0 0 100%;
  width: 100%;
  /* keep your 4-column grid */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: center;
  align-items: start;
  gap: 18px;
  padding: 0 6px;
  margin-top: 0; /* leaves room for top bar */
}

/* Prevent drag selecting text while swiping */
.pages, .grid--page, .icon{
  -webkit-user-select: none;
  user-select: none;
}

/* Page dots position */
.pageDots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 118px; /* above dock */
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 20;
}

.pageDot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
}

.pageDot.is-active{
  width: 20px;
  background: rgba(255,255,255,0.72);
}

/* =========================
   RESTORE EXTREME ANCIENT GOLD BORDER (DO NOT CHANGE)
   ========================= */

:root{
  --frame-thickness: 3px;
  --gold-neon-1: #fff1b8;
  --gold-neon-2: #ffd24d;
  --gold-neon-3: #ff9f1c;
  --gold-neon-4: #b35a00;
  --gold-neon-5: #3a1800;
}

/* Gold frame ring only (no texture overriding it) */
.phone::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: var(--frame-thickness);
  background:
    linear-gradient(135deg,
      var(--gold-neon-1) 0%,
      var(--gold-neon-2) 18%,
      var(--gold-neon-3) 38%,
      #ff5a1f 55%,
      var(--gold-neon-4) 72%,
      var(--gold-neon-5) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 50;
  opacity: 1;

  box-shadow:
    0 0 18px rgba(255,210,77,0.95),
    0 0 38px rgba(255,159,28,0.85),
    0 0 70px rgba(255,90,31,0.75),
    inset 0 0 10px rgba(255,255,255,0.45);
}

/* Outer glow halo */
.phone::after{
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 49;
  box-shadow:
    0 0 60px rgba(255,170,40,0.55),
    0 0 120px rgba(255,90,31,0.35);
}

/* Keep phone content above background but under frame */
.phone > *{ position: relative; z-index: 10; }

/* =========================
   INSIDE BG1.JPG (PHONE WALLPAPER)
   ========================= */
.phone{
  background-image: url("../assets/inside-bg.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
/* Contrast veil so icons stay readable */
.phone{
  box-shadow: inset 0 0 0 9999px rgba(0,0,0,0.22) !important;
}
.status, .dock{
  background: rgba(0,0,0,0.22) !important;
}

/* =========================
   INSIDE BACKGROUND g7.png
   ========================= */
.phone{
  background-image: url("../assets/inside-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* subtle veil so UI stays readable */
.phone{
  box-shadow: inset 0 0 0 9999px rgba(0,0,0,0.18) !important;
}

/* =========================
   WIDTH CENTERING BASELINE (STABLE)
   ========================= */
html, body{ width:100%; height:100%; margin:0; }
.viewport{
  display:grid !important;
  place-items:center !important;
  width:100vw !important;
  height:100vh !important;
  padding: clamp(12px, 3vw, 40px) !important;
  overflow:hidden;
}
.device{
  width: min(96vw, 520px) !important;
  height: min(96vh, 980px) !important;
  margin: 0 auto !important;
}
@media (max-width: 520px), (orientation: portrait){
  .viewport{ padding: 10px !important; }
  .device{ width: min(98vw, 520px) !important; height: min(98vh, 980px) !important; }
}

/* =========================
   FINAL LOCK: REAL ANCIENT RED GOLD BORDER
   ========================= */
:root{
  --frame-thickness: 3px;
  --gold-red-1: #fff2c6;   /* pale gold */
  --gold-red-2: #ffcc66;   /* warm gold */
  --gold-red-3: #ff9933;   /* red gold */
  --gold-red-4: #cc5500;   /* ancient red */
  --gold-red-5: #4a1a00;   /* dark old gold */
}

.phone::before{
  background: linear-gradient(135deg,
    var(--gold-red-1) 0%,
    var(--gold-red-2) 20%,
    var(--gold-red-3) 40%,
    var(--gold-red-4) 65%,
    var(--gold-red-5) 100%) !important;

  box-shadow:
    0 0 20px rgba(255,180,60,0.95),
    0 0 45px rgba(255,120,30,0.85),
    0 0 80px rgba(180,60,0,0.75),
    inset 0 0 12px rgba(255,240,220,0.45) !important;
}

/* Kill ANY green/blue tint */
.phone::before,
.phone::after{
  filter: hue-rotate(0deg) saturate(1.2) !important;
}

/* =========================
   TIKTOK MATCHES DEFAULT BORDER (NO PINK/RED SPECIAL)
   ========================= */
.icon[data-app="tiktok"] .icon__glass,
.icon[data-app="TikTok"] .icon__glass{
  border-color: var(--light-gold, #ffd87a) !important;
  box-shadow:
    0 0 10px rgba(255,216,122,0.55),
    0 0 22px rgba(255,216,122,0.45),
    inset 0 0 14px rgba(255,255,255,0.22) !important;
}

/* TIKTOK BORDER OVERRIDE FINAL */
.icon[data-app="tiktok"] .icon__glass{
  border-color: var(--light-gold, #ffd87a) !important;
  box-shadow:
    0 0 10px rgba(255,216,122,0.55),
    0 0 22px rgba(255,216,122,0.45),
    inset 0 0 14px rgba(255,255,255,0.22) !important;
}

/* =========================
   RESTORE: WALLPAPER (g7.png) + ICON VISIBILITY
   ========================= */
.phone{
  background-image: url("../assets/inside-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow: inset 0 0 0 9999px rgba(0,0,0,0.18) !important;
}

/* Force icon grids visible (some browsers cache weird states) */
.pages{ display:flex !important; width:100% !important; }
.grid--page{ display:grid !important; width:100% !important; }

/* =========================
   LOCK: REAL ANCIENT RED GOLD BORDER (NO GREEN)
   ========================= */
:root{
  --frame-thickness: 3px;
  --gold-red-1: #fff2c6;
  --gold-red-2: #ffcc66;
  --gold-red-3: #ff9933;
  --gold-red-4: #cc5500;
  --gold-red-5: #4a1a00;
}
.phone{ border:none !important; position:relative; }
.phone::before{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  padding: var(--frame-thickness);
  background: linear-gradient(135deg,
    var(--gold-red-1) 0%,
    var(--gold-red-2) 20%,
    var(--gold-red-3) 40%,
    var(--gold-red-4) 65%,
    var(--gold-red-5) 100%) !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  z-index: 50;
  box-shadow:
    0 0 20px rgba(255,180,60,0.95),
    0 0 45px rgba(255,120,30,0.85),
    0 0 80px rgba(180,60,0,0.75),
    inset 0 0 12px rgba(255,240,220,0.45) !important;
}
.phone::after{
  content:"";
  position:absolute; inset:-6px;
  border-radius: inherit;
  pointer-events:none;
  z-index: 49;
  box-shadow:
    0 0 60px rgba(255,170,40,0.55),
    0 0 120px rgba(255,90,31,0.35);
}
.phone > *{ position:relative; z-index:10; }

/* =========================
   FULLSCREEN PHONE (100% WIDTH & HEIGHT)
   ========================= */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}
.app, .device, .phone {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
}

/* =========================
   REAL SHINY ANCIENT GOLD BORDER (BRIGHTER + THICKER)
   ========================= */
:root{
  --frame-thickness: 4px; /* thicker */
  --gold-red-1: #fff6d6;
  --gold-red-2: #ffd27a;
  --gold-red-3: #ffae42;
  --gold-red-4: #d96a1a;
  --gold-red-5: #5a2200;
}

.phone::before{
  background: linear-gradient(135deg,
    var(--gold-red-1) 0%,
    var(--gold-red-2) 18%,
    var(--gold-red-3) 38%,
    var(--gold-red-4) 62%,
    var(--gold-red-5) 100%) !important;

  box-shadow:
    0 0 25px rgba(255,210,120,0.95),
    0 0 60px rgba(255,170,60,0.85),
    0 0 120px rgba(220,120,20,0.75),
    inset 0 0 16px rgba(255,245,220,0.6) !important;
}

/* =========================
   SLIGHTLY ROUNDED CORNERS + REAL GOLD GLOW (NO BRUSH)
   ========================= */
.app, .device, .phone{
  border-radius: 28px !important; /* subtle phone-like rounding */
  overflow: hidden !important;
}

/* Keep glow, enhance realism */
.phone::before{
  box-shadow:
    0 0 18px rgba(255,215,120,0.95),
    0 0 42px rgba(255,180,80,0.9),
    0 0 90px rgba(220,120,40,0.85),
    inset 0 0 14px rgba(255,245,220,0.65) !important;
}

/* Slight specular highlight like polished gold */
.phone::after{
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.05) 40%,
    rgba(255,255,255,0.0) 60%
  );
}

/* =========================
   REAL PHONE STRUCTURE LAYERS
   - Outer frame (gold) already exists via .phone::before
   - Add inner bezel + glass rim so it feels like a real device
   ========================= */

/* Keep fullscreen but with realistic device rounding */
.phone{
  position: relative !important;
  border-radius: 34px !important; /* slightly more device-like */
  overflow: hidden !important;
}

/* Inner bezel (black rim) */
.phone__inset{
  position: absolute;
  inset: 10px;                 /* bezel thickness */
  border-radius: 26px;         /* matches outer radius */
  pointer-events: none;
  z-index: 20;
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.60),         /* bezel line */
    inset 0 0 0 3px rgba(255,255,255,0.06),   /* tiny inner highlight */
    inset 0 12px 30px rgba(0,0,0,0.28),       /* top depth */
    inset 0 -18px 34px rgba(0,0,0,0.35);      /* bottom depth */
}

/* Glass rim reflection (very subtle) */
.phone__inset::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 90% at 50% 0%,
      rgba(255,255,255,0.22) 0%,
      rgba(255,255,255,0.08) 35%,
      rgba(255,255,255,0.0) 60%),
    radial-gradient(120% 80% at 50% 110%,
      rgba(0,0,0,0.0) 0%,
      rgba(0,0,0,0.20) 55%,
      rgba(0,0,0,0.35) 100%);
  mix-blend-mode: screen;
  opacity: 0.65;
}

/* Screen content inset so UI doesn't touch the bezel */
.phone > .status,
.phone > .searchBar,
.phone > .pages,
.phone > .pageDots,
.phone > .dock,
.phone > .dockBar,
.phone > .dockWrap{
  position: relative;
  z-index: 30;
}

.phone .status,
.phone .searchBar,
.phone .pages,
.phone .pageDots,
.phone .dock{
  margin-left: 12px !important;
  margin-right: 12px !important;
}

/* Safe-area handling for iPhone notch phones */
.phone{
  padding-top: 0;
  padding-bottom: env(safe-area-inset-bottom);
}

/* Status zone feels physical */
.status{
  border-radius: 18px !important;
  padding-top: 0;
  padding-bottom: 10px !important;
  background: rgba(0,0,0,0.18) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  backdrop-filter: blur(10px);
}

/* Add a subtle "notch/pill" camera area (optional but realism) */
.status::before{
  content:"";
  position:absolute;
  left: 50%;
  top: calc(8px + env(safe-area-inset-top));
  transform: translateX(-50%);
  width: 128px;
  height: 26px;
  border-radius: 999px;
  background: rgba(0,0,0,0.58);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 8px 20px rgba(0,0,0,0.25);
  pointer-events:none;
}

/* Make clock sit below the pill notch */
.clock{
  margin-top: 0;
}

/* Keep gold border hugging edge: ensure pseudo is clipped */
.phone::before, .phone::after{
  border-radius: inherit !important;
}

/* Extra polished highlight on the gold edge */
.phone::before{
  box-shadow:
    0 0 22px rgba(255,215,140,0.98),
    0 0 55px rgba(255,185,90,0.92),
    0 0 120px rgba(220,120,40,0.82),
    inset 0 0 18px rgba(255,250,235,0.68) !important;
}

/* =========================
   CENTERING HOTFIX (ICONS + UI)
   ========================= */
*{ box-sizing: border-box; }

/* Ensure the phone itself is centered when not fullscreen-constrained by browser UI */
body{
  display: grid;
  place-items: center;
}

/* Keep full screen layout, but center internal content */
.phone{
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

/* Remove any asymmetric nudges */
.phone .status,
.phone .searchBar,
.phone .pages,
.phone .pageDots,
.phone .dock,
.phone .dockBar,
.phone .dockWrap{
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Center grids perfectly */
.pages{
  width: 100% !important;
}
.grid--page{
  width: 100% !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  justify-items: center !important;
  align-content: start !important;
}

/* Center status row elements */
.status{
  width: calc(100% - 28px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Dock centered */
.dock{
  width: calc(100% - 28px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* =========================
   NEW BORDER STYLE: POLISHED ANCIENT RED GOLD (MORE REAL, LESS NEON)
   - Still shiny, but metal-like (no green)
   ========================= */
:root{
  --frame-thickness: 4px; /* keep thick */
  --rg-1:#fff6db;
  --rg-2:#ffd58a;
  --rg-3:#ffb24a;
  --rg-4:#e07a22;
  --rg-5:#7a2d05;
  --rg-6:#2a1206;
}

/* Replace the previous gradient with a metal-like multi-layer */
.phone::before{
  background:
    /* subtle brushed lines INSIDE the border */
    repeating-linear-gradient(
      115deg,
      rgba(255,255,255,0.16) 0px,
      rgba(255,255,255,0.10) 2px,
      rgba(0,0,0,0.00) 6px
    ),
    /* main metal gradient */
    linear-gradient(135deg,
      var(--rg-1) 0%,
      var(--rg-2) 18%,
      var(--rg-3) 40%,
      var(--rg-4) 64%,
      var(--rg-5) 86%,
      var(--rg-6) 100%) !important;

  /* Gold shine: tighter highlights, less “neon fog” */
  box-shadow:
    0 0 14px rgba(255,205,120,0.78),
    0 0 34px rgba(255,160,70,0.52),
    0 0 70px rgba(210,105,35,0.38),
    inset 0 0 18px rgba(255,250,235,0.70),
    inset 0 -10px 18px rgba(0,0,0,0.28) !important;
}

/* Specular edge highlight */
.phone::after{
  box-shadow:
    0 0 46px rgba(255,180,80,0.25),
    0 0 90px rgba(220,120,40,0.18) !important;
}

/* =========================
   BRAND TILE COLORS (ICON INSIDE COLORS)
   =========================
   Tint the tile behind the glass so each icon matches its original app color.
   Works for the grid icons (.icon__tile) and the dock icons (.dockicon__glass).
*/

/* Grid icon tiles */
.icon[data-app="whatsapp"] .icon__tile{ background:#25D366; }
.icon[data-app="facebook"] .icon__tile{ background:#1877F2; }
.icon[data-app="instagram"] .icon__tile{ background: linear-gradient(135deg,#F58529,#DD2A7B,#8134AF,#515BD4); }
.icon[data-app="messenger"] .icon__tile{ background:#00B2FF; }
.icon[data-app="phone"] .icon__tile,
.icon[data-app="dialer"] .icon__tile{ background:#34C759; }
.icon[data-app="camera"] .icon__tile{ background:#1f2937; }
.icon[data-app="mail"] .icon__tile{ background:#0A84FF; }
.icon[data-app="settings"] .icon__tile{ background:#6B7280; }
.icon[data-app="appstore"] .icon__tile{ background:#0A84FF; }

/* Google suite */
.icon[data-app="googlemaps"] .icon__tile,
.icon[data-app="googleMaps"] .icon__tile{ background:#4285F4; }
.icon[data-app="googletranslate"] .icon__tile,
.icon[data-app="googleTranslate"] .icon__tile{ background:#4285F4; }
.icon[data-app="googleearth"] .icon__tile,
.icon[data-app="googleEarth"] .icon__tile{ background:#34A853; }

/* Waze */
.icon[data-app="waze"] .icon__tile{ background:#33CCFF; }

/* TikTok */
.icon[data-app="tiktok"] .icon__tile,
.icon[data-app="TikTok"] .icon__tile{ background:#000000; }

/* Custom apps (choose clear, distinct colors) */
.icon[data-app="digitalphonebook"] .icon__tile{ background:#6366F1; }
.icon[data-app="pharma"] .icon__tile{ background:#10B981; }
.icon[data-app="qrpro"] .icon__tile{ background:#111827; }
.icon[data-app="xspace"] .icon__tile{ background:#111827; }
.icon[data-app="album"] .icon__tile{ background:#EC4899; }
.icon[data-app="budget"] .icon__tile{ background:#F59E0B; }
.icon[data-app="getthere"] .icon__tile{ background:#22C55E; }
.icon[data-app="budgethe"] .icon__tile{ background:#F97316; }
.icon[data-app="winner"] .icon__tile{ background:#EF4444; }

/* Dock icon tiles (apply color under the existing glass) */
.dockicon[data-app="whatsapp"] .dockicon__glass{ background: rgba(37,211,102,0.85); }
.dockicon[data-app="facebook"] .dockicon__glass{ background: rgba(24,119,242,0.85); }
.dockicon[data-app="instagram"] .dockicon__glass{ background: linear-gradient(135deg, rgba(245,133,41,0.90), rgba(221,42,123,0.88), rgba(129,52,175,0.86), rgba(81,91,212,0.84)); }
.dockicon[data-app="messenger"] .dockicon__glass{ background: rgba(0,178,255,0.85); }
.dockicon[data-app="dialer"] .dockicon__glass{ background: rgba(52,199,89,0.85); }
.dockicon[data-app="camera"] .dockicon__glass{ background: rgba(31,41,55,0.82); }
.dockicon[data-app="mail"] .dockicon__glass{ background: rgba(10,132,255,0.85); }

/* Keep icon glyphs readable on dark tiles */
.icon__svg,
.dockicon__svg{ filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35)); }


/* FORCE full-fit phone screen */
.phone,
.phone-frame,
.device,
.device-frame {
  padding-top: 0 !important;
}

.screen,
.phone-screen,
.device-screen {
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
}


/* === FORCE 100% EDGE-TO-EDGE PHONE FIT === */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

.scene,
.container,
.wrapper {
  padding: 0 !important;
  margin: 0 !important;
}

.phone,
.phone-frame,
.device,
.device-frame {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.screen,
.phone-screen,
.device-screen {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: inherit;
}

/* === REALISTIC GOLD PHONE FRAME === */
.phone,
.phone-frame,
.device,
.device-frame {
  border: 14px solid transparent;
  background:
    linear-gradient(135deg,
      #5c4a1a,
      #d4af37,
      #f9e076,
      #d4af37,
      #8a6e2f
    ) border-box;
  box-shadow:
    0 0 0 2px rgba(0,0,0,0.6),
    inset 0 0 6px rgba(255,255,255,0.35),
    0 20px 50px rgba(0,0,0,0.8);
  border-radius: 42px;
}

/* === ULTRA-REALISTIC THICK GOLD PHONE FRAME === */
.phone,
.phone-frame,
.device,
.device-frame {
  position: relative;
  padding: 0 !important;
  margin: 0 !important;

  /* VERY THICK FRAME */
  border: 26px solid transparent;

  /* Real gold metal gradient */
  background:
    linear-gradient(
      135deg,
      #3b2f0a 0%,
      #8a6e2f 12%,
      #d4af37 25%,
      #fff1a8 38%,
      #d4af37 50%,
      #b8962e 62%,
      #fff1a8 74%,
      #d4af37 86%,
      #6e571f 100%
    ) border-box;

  border-radius: 48px;

  /* Physical depth & polish */
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.6),
    inset 0 -3px 6px rgba(0,0,0,0.45),
    0 25px 70px rgba(0,0,0,0.85);
}

/* Screen sits inside heavy frame */
.screen,
.phone-screen,
.device-screen {
  border-radius: 28px;
}
