/* =====================================================
   PHOTODUMP DEMO PAGE
===================================================== */

.demo-mode{
  min-height:100vh;
}

.hidden{
  display:none !important;
}

.demo-landing{
  min-height:100vh;
}

.demo-app{
  min-height:100vh;
}

.demo-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  margin-bottom:12px;
  padding:7px 12px;

  border-radius:999px;

  background:rgba(255,255,255,.76);
  border:1px solid var(--accent-soft);

  color:var(--title);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;

  box-shadow:
    0 8px 18px rgba(0,0,0,.04),
    0 0 16px var(--accent-soft);
}

.demo-badge.inline{
  margin-bottom:8px;
}

.demo-intro-card{
  position:relative;
}

.demo-small{
  margin-top:14px;
  font-size:12px;
  color:var(--text-soft);
}

.demo-info-card{
  margin:12px 10px;
  padding:16px;

  border-radius:22px;

  background:var(--bg-card);
  border:1px solid var(--accent-soft);

  box-shadow:
    0 12px 28px rgba(0,0,0,.055),
    0 0 24px var(--accent-soft);

  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.demo-info-card h3{
  margin-bottom:8px;
  font-size:20px;
}

.demo-info-card p{
  font-size:14px;
  color:var(--text-soft);
}

.demo-info-card ul{
  margin-top:12px;
  padding-left:18px;
  color:var(--text-main);
  font-size:14px;
  line-height:1.8;
}

/* demo feed */
.demo-photo-card{
  cursor:pointer;
}

.demo-photo-card img{
  background:var(--bg-soft);
}

/* modal image */
.demo-image-modal-box{
  position:relative;

  width:92%;
  max-width:520px;

  padding:14px;

  border-radius:24px;

  background:var(--bg-card);
  border:1px solid var(--accent-soft);

  box-shadow:
    0 24px 70px rgba(0,0,0,.22),
    0 0 32px var(--accent-soft);

  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}

.demo-image-modal-box img{
  width:100%;
  max-height:70vh;
  object-fit:contain;

  display:block;
  border-radius:18px;

  background:#000;
}

.demo-image-modal-box p{
  margin-top:12px;
  text-align:center;

  color:var(--text-soft);
  font-size:13px;
}

.demo-modal-close{
  position:absolute;
  top:-12px;
  right:-8px;

  width:42px;
  height:42px;

  display:flex;
  align-items:center;
  justify-content:center;

  margin:0;
  padding:0;

  border-radius:50%;

  background:rgba(0,0,0,.58) !important;
  color:white !important;

  font-size:28px;
  line-height:1;

  box-shadow:none !important;
  z-index:4;
}

/* demo mode topbar */
.demo-mode .topbar{
  font-weight:700;
}

/* upload cards no native input */
.demo-mode .upload-card{
  user-select:none;
}

/* toast little stronger for demo */
.demo-mode #toast{
  bottom:92px;
  background:rgba(20,20,20,.92);
  color:#fff;
  font-weight:600;
}

/* landing bubbles above background */
.demo-landing .floating-container{
  z-index:1;
}

.demo-landing .center-wrapper{
  z-index:2;
}

/* mobile */
@media(max-width:420px){
  .demo-info-card{
    margin:12px 10px;
    padding:14px;
  }

  .demo-info-card h3{
    font-size:18px;
  }

  .demo-info-card p,
  .demo-info-card ul{
    font-size:13px;
  }

  .demo-image-modal-box{
    width:94%;
  }
}