.gate {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 1.2rem;
    background: #f7f5f0;
    color: #292524;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.gate-card {
    width: min(1080px, 100%);
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(320px, 460px) 1fr;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(214, 211, 209, 0.9);
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(26, 46, 38, 0.12);
}

.gate-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    padding: 2.4rem 2.2rem;
    background: white;
}

.gate-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gate-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #165b40;
    color: white;
    box-shadow: 0 8px 16px rgba(22, 91, 64, 0.22);
}

.gate-mark svg { width: 22px; height: 22px; fill: currentColor; }
.gate-brand strong { display: block; font-size: 1.25rem; letter-spacing: -0.03em; }
.gate-brand small {
    display: block;
    color: #78716c;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gate-intro h1 {
    margin: 0 0 0.35rem;
    font-size: 1.85rem;
    letter-spacing: -0.04em;
}

.gate-intro p { margin: 0; color: #78716c; font-size: 0.92rem; }

.gate form { display: grid; gap: 0.55rem; }
.gate label {
    display: block;
    margin: 0.35rem 0 0;
    color: #44403c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.field-label a,
.gate-foot a {
    color: #165b40;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.field {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.85rem;
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    background: rgba(250, 250, 249, 0.8);
}

.field:focus-within {
    background: white;
    border-color: #165b40;
    box-shadow: 0 0 0 3px rgba(22, 91, 64, 0.12);
}

.field svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: #a8a29e;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gate input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.85rem 0;
    font: inherit;
    color: inherit;
}

.gate input:focus { outline: none; }

.eye {
    border: 0;
    background: transparent;
    color: #a8a29e;
    padding: 0.2rem;
    cursor: pointer;
}

.eye:hover { background: transparent; color: #57534e; }

.eye svg {
    width: 20px;
    height: 20px;
    display: block;
}

.gate .enter,
.gate .google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.gate .enter {
    margin-top: 0.45rem;
    border: 0;
    background: #165b40;
    color: white;
    box-shadow: 0 10px 18px rgba(22, 91, 64, 0.18);
}

.gate .enter svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.signup-names {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.signup-note {
    margin: 0.15rem 0 0;
    color: #78716c;
    font-size: 0.78rem;
    line-height: 1.45;
}

.gate .enter:hover { background: #124833; }

.or {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.7rem;
    margin: 0.2rem 0;
    color: #78716c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.or::before,
.or::after {
    content: "";
    height: 1px;
    background: #e7e5e4;
}

.gate .google {
    border: 1px solid #e7e5e4;
    background: white;
    color: #44403c;
}

.gate .google:hover { background: #fafaf9; }
.gate .google svg { width: 16px; height: 16px; }

.gate-foot {
    margin-top: 0.4rem;
    padding-top: 0.9rem;
    border-top: 1px solid #f5f5f4;
}

.gate-foot p { margin: 0; color: #78716c; font-size: 0.85rem; }
.gate .alert { width: auto; margin: 0; }

.gate-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: #f2efe9;
    overflow: hidden;
}

.gate-side.has-image { padding: 0; }
.gate-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.glow-a { top: -80px; right: -70px; background: #dcfce7; }
.glow-b { bottom: -90px; left: -60px; background: #e7e5e4; }

.live {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    margin: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e7e5e4;
    font-size: 0.75rem;
    font-weight: 700;
}

.live span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #059669;
}

.preview {
    position: relative;
    display: grid;
    gap: 0.8rem;
}

.card {
    max-width: 360px;
    margin-left: auto;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e7e5e4;
    box-shadow: 0 16px 30px -18px rgba(22, 91, 64, 0.35);
}

.card strong { display: block; margin-bottom: 0.25rem; }
.card p { margin: 0; color: #57534e; font-size: 0.84rem; line-height: 1.45; }
.card-dark {
    margin-left: 0;
    background: #0a2a1e;
    color: white;
    border-color: #0a2a1e;
}

.card-dark p { color: #d1fae5; }
.card-small { max-width: 280px; margin-left: 0; }

.entrance-preview {
    width: min(100%, 360px);
    border-radius: 16px;
    display: block;
}

@media (max-width: 860px) {
    .gate-card { grid-template-columns: 1fr; }
    .gate-side { min-height: 280px; }
    .card,
    .card-small { margin-left: 0; }
    .signup-names { grid-template-columns: 1fr; }
}
