@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500&family=IBM+Plex+Mono:wght@400&display=swap');

:root {
    --bg-color: #050505;
    --text-main: #ffffff;
    --text-muted: #666666;
    --input-border-idle: #333333;
    --input-border-active: #ffffff;
    --btn-bg: #111111;
    --btn-border: #222222;
    --error-color: #e63946;
    --ease-custom: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* --- Main View --- */
.container {
    text-align: center;
    max-width: 560px;
    padding: 0 24px;
    transition: all 0.8s var(--ease-custom);
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.container.minimized {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(12px);
    pointer-events: none;
}

h1 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #fff;
}

p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
}

/* --- Button (Static Plaque) --- */
.action-btn {
    background-color: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: #e0e0e0;
    padding: 12px 32px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.action-btn::after {
    content: '→';
    font-family: sans-serif;
    font-size: 14px;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.action-btn:hover {
    border-color: #444;
    color: #fff;
}

.action-btn:hover::after {
    transform: translateX(4px);
    opacity: 1;
}

/* --- Footer --- */
.footer {
    position: absolute;
    bottom: 40px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: #333;
    text-align: center;
    line-height: 1.6;
    transition: opacity 0.5s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.container.minimized + .footer {
    opacity: 0;
}

/* --- Login Overlay --- */
.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s var(--ease-custom);
}

.overlay.active {
    visibility: visible;
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-btn:hover {
    color: #fff;
    transform: rotate(90deg);
}

.close-btn svg {
    width: 32px; height: 32px; stroke-width: 1.5;
}

.input-area {
    width: 100%;
    max-width: 320px;
    text-align: center;
}

input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--input-border-idle);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    padding: 12px 0;
    transition: border-color 0.3s ease;
    caret-color: #fff;
}

input::placeholder {
    color: #333;
    transition: color 0.3s;
    font-size: 18px;
}

input:focus {
    border-bottom-color: var(--input-border-active);
}

input:focus::placeholder {
    color: transparent;
}

.hint {
    margin-top: 24px;
    font-size: 12px;
    color: #444;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s var(--ease-custom);
}

.overlay.active .hint {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}
