@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@700&family=Inter:wght@400;700;900&display=swap');

/* --- GLOBAL SETUP --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    background-color: #e63946; /* Your original Red */
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    display: flex; 
    align-items: center; 
    justify-content: center;
    min-height: 100vh;
}

/* --- THE FULL SCREEN LOCK OVERLAY --- */
.lock-screen-wrapper {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.2); /* Very light tint of your red */
    backdrop-filter: blur(10px); /* This makes the form look "behind glass" */
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
}

.lock-card {
    background: #f3e5ab; /* Your original Potato Cream */
    width: 100%;
    max-width: 420px;
    border: 8px solid #7d5c3e; /* Your original Brown */
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    text-align: center;
    overflow: hidden;
}

.lock-card-header {
    background: #e63946; /* Matching Red */
    padding: 15px;
    color: white;
    font-family: 'Syncopate', sans-serif;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 2px;
}

.lock-card-body {
    padding: 40px 30px;
}

.lock-card-body h2 {
    color: #7d5c3e;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.lock-card-body p {
    font-size: 12px;
    color: #7d5c3e;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.lock-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(125, 92, 62, 0.1);
    padding: 6px 15px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 900;
    color: #7d5c3e;
    margin-bottom: 30px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #e63946;
    border-radius: 50%;
    animation: pulse-red 1.5s infinite;
}

.lock-btn {
    display: block;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    padding: 18px;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    transition: 0.2s;
}

.lock-btn:hover { background: #000; transform: translateY(-3px); }

/* --- THE BACKGROUND FORM (YOUR ORIGINAL STYLES) --- */
.potato-box {
    position: relative; 
    z-index: 1;
    width: 90vw; 
    max-width: 440px;
    min-height: 620px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    opacity: 0.8; /* Subtle transparency to help the glass effect */
}

.potato-bg {
    position: absolute; 
    inset: 0; 
    z-index: -1;
    background-color: #f3e5ab; 
    border: 10px solid #7d5c3e;
    animation: breathe 5s ease-in-out infinite;
}

.inner-content { width: 72%; display: flex; justify-content: center; }
.safe-zone { width: 100%; display: flex; flex-direction: column; align-items: center; }
.header { margin-bottom: 20px; text-align: center; }
.logo-circle { width: 55px; height: 55px; background: #7d5c3e; border-radius: 50%; margin: 0 auto 10px; overflow: hidden; }
.heading-font { font-family: 'Syncopate', sans-serif; color: #7d5c3e; font-size: 1.1rem; text-transform: uppercase; }

/* INPUTS */
.input-group { width: 100%; margin-bottom: 14px; }
label { display: block; font-size: 10px; font-weight: 800; color: #7d5c3e; margin-bottom: 8px; text-transform: uppercase; }
input {
    width: 100%; background: rgba(255, 255, 255, 0.9); border: 2px solid #7d5c3e;
    border-radius: 12px; padding: 9px 12px; font-size: 12px; color: #4a3221; outline: none;
}

.btn-primary { 
    width: 100%; padding: 12px; background: #e63946; color: white; 
    font-weight: 900; text-transform: uppercase; border: none; cursor: default;
}

/* --- ANIMATIONS --- */
@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

@keyframes breathe {
    0%, 100% { border-radius: 65% 35% 58% 42% / 37% 63% 37% 63%; }}