/**
 * gate.css – Design für das Jarritc.de Gast-Gate
 * Einbinden: <link rel="stylesheet" href="https://static.jarritc.de/css/gate.css">
 */

/* ── Layout (standalone Gate-Seite) ─────────────────────────────────────── */

.gate-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
}

/* ── Card ────────────────────────────────────────────────────────────────── */

.gate-card {
    width: 100%;
    max-width: 420px;
    background: rgba(10, 10, 20, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    padding: 48px 44px 40px;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.50),
        0 0 0 1px rgba(0, 130, 230, 0.08) inset;
    text-align: center;
    animation: gateFadeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ── Logo ────────────────────────────────────────────────────────────────── */

.gate-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 18px;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ── Texte ───────────────────────────────────────────────────────────────── */

.gate-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gate-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* ── Trennlinie ──────────────────────────────────────────────────────────── */

.gate-card::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0082e6, #00c6ff);
    border-radius: 2px;
    margin: 0 auto 28px;
}

/* ── Formular ────────────────────────────────────────────────────────────── */

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gate-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    letter-spacing: 0.1px;
}

.gate-input::placeholder {
    color: rgba(255, 255, 255, 0.30);
}

.gate-input:focus {
    border-color: rgba(0, 130, 230, 0.70);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 3px rgba(0, 130, 230, 0.15);
}

.gate-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0082e6 0%, #0066cc 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0, 130, 230, 0.35);
    margin-top: 4px;
}

.gate-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0, 130, 230, 0.45);
}

.gate-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 130, 230, 0.3);
}

.gate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ── Fehlermeldung ───────────────────────────────────────────────────────── */

.gate-error {
    background: rgba(220, 50, 50, 0.18);
    border: 1px solid rgba(220, 50, 50, 0.40);
    color: #ffb3b3;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    animation: gateFadeIn 0.3s ease;
}

/* ── Hinweis-Text ────────────────────────────────────────────────────────── */

.gate-hint {
    color: rgba(255, 255, 255, 0.30);
    font-size: 12px;
    margin-top: 20px;
    letter-spacing: 0.2px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
    .gate-card {
        padding: 36px 26px 32px;
        border-radius: 20px;
    }

    .gate-title { font-size: 24px; }
    .gate-logo  { width: 60px; height: 60px; }
}

/* ── Full HD+ ────────────────────────────────────────────────────────────── */

@media (min-width: 1920px) {
    .gate-card   { max-width: 480px; padding: 56px 52px 48px; }
    .gate-title  { font-size: 32px; }
    .gate-input  { padding: 16px 20px; font-size: 16px; }
    .gate-btn    { padding: 16px; font-size: 16px; }
}

@media (min-width: 2560px) {
    .gate-card   { max-width: 560px; padding: 64px 60px 56px; border-radius: 30px; }
    .gate-title  { font-size: 38px; }
    .gate-logo   { width: 90px; height: 90px; border-radius: 22px; }
    .gate-input  { padding: 18px 22px; font-size: 18px; border-radius: 14px; }
    .gate-btn    { padding: 18px; font-size: 18px; border-radius: 14px; }
    .gate-hint   { font-size: 14px; }
}

@media (min-width: 3840px) {
    .gate-card   { max-width: 700px; padding: 80px 72px 68px; border-radius: 36px; }
    .gate-title  { font-size: 48px; }
    .gate-logo   { width: 110px; height: 110px; }
    .gate-input  { padding: 22px 26px; font-size: 22px; border-radius: 16px; }
    .gate-btn    { padding: 22px; font-size: 22px; border-radius: 16px; }
    .gate-hint   { font-size: 17px; margin-top: 28px; }
}
