* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #801000;
  color: #1d1d1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 20px;
  transition: background 0.5s;
}

.hidden { display: none !important; }

.card{
  background: rgba(255,255,255,0.92);
  border-radius: 26px;
  box-shadow:
    0 18px 50px rgba(0,0,0,0.25),
    0 1px 0 rgba(255,255,255,0.5) inset;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 30px;
  max-width: 380px;
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


.lock-icon { font-size: 3rem; margin-bottom: 15px; display: block; }
.denied-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; color: #1d1d1f; }
.denied-text { font-size: 1rem; color: #86868b; line-height: 1.5; }

.photo-frame {
  width: 100%;
  height: min(350px, 55vh);
  border-radius: 18px;
  overflow: hidden;
  background-color: #eee;
  margin-bottom: 25px;
  position: relative;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1 {
  font-size: 1.1rem;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 600;
}

#daily-quote {
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 400;
  color: #1d1d1f;
  min-height: 80px;
}

.date-display {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #86868b;
}

#private-view{
  animation: popIn 450ms cubic-bezier(.2,.9,.2,1) both;
}

@keyframes popIn{
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; }
}


body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 800px at 20% 20%, rgba(255,255,255,0.10), transparent 60%),
              radial-gradient(900px 700px at 80% 30%, rgba(255,255,255,0.08), transparent 60%),
              radial-gradient(1100px 900px at 50% 90%, rgba(0,0,0,0.10), transparent 60%),
              linear-gradient(120deg, #801000, #5a0a00, #a31600);
  filter: saturate(1.05);
  z-index: -2;
  animation: bgMove 18s ease-in-out infinite alternate;
}

@keyframes bgMove{
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.05) translate(10px,-10px); }
}

.test-btn{
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.85);
  font-family: inherit;
  font-size: 0.95rem;
}

.test-btn:active{
  transform: scale(0.98);
}
