/* Login · cinematic 3D globe with glass panel */
:root {
  --ink: #0a1222;
  --gold: #d6b47c;
  --gold-2: #c49a5a;
  --cream: #f6e3bb;
  --mist: #9fb0cc;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; overflow-x: hidden; color: #fff; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 700px at 75% 45%, #16305a 0%, transparent 60%),
    radial-gradient(900px 600px at 10% 100%, rgba(196, 154, 90, .14), transparent 60%),
    linear-gradient(160deg, #0b1630 0%, #060b18 100%);
}
#globe { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 60% 50%, transparent 40%, rgba(4, 8, 18, .65) 100%); }

.shell { position: relative; z-index: 2; min-height: 100vh; display: grid; grid-template-columns: 1.15fr .85fr; }
.story { position: relative; padding: 2.5rem 3.5rem; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand strong { display: block; font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; }
.brand small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.brand-mark { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--ink); font-size: 1.2rem; background: linear-gradient(135deg, #f1dcae, #c49a5a 60%, #a9834c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 30px -8px rgba(214, 180, 124, .8); }
.brand-mark i { transform: rotate(-45deg); }
.brand-logo { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 13px; padding: 4px; }

.headline { margin-top: auto; max-width: 560px; animation: up .9s cubic-bezier(.2, .8, .2, 1) both; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .76rem; font-weight: 600; color: var(--cream); padding: .4rem .85rem; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.headline h1 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; margin: 1.2rem 0 1rem; text-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.headline h1 em { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-style: italic; letter-spacing: -.01em; background: linear-gradient(90deg, #f6e3bb, #d6b47c 50%, #f6e3bb); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: shine 6s linear infinite; }
.headline p { color: #c5cfdf; font-size: 1.02rem; line-height: 1.6; max-width: 480px; margin: 0; }
.features { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1.2rem; max-width: 520px; }
.features li { display: flex; align-items: center; gap: .55rem; font-size: .88rem; color: #dbe3ef; }
.features i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: .85rem; color: var(--gold); background: rgba(214, 180, 124, .12); border: 1px solid rgba(214, 180, 124, .25); }

/* Floating 3D boarding passes */
.passes { position: relative; height: 250px; margin-top: 2rem; perspective: 1100px; }
.pass {
  position: absolute; width: 300px; padding: 1rem 1.1rem; border-radius: 18px; color: #fff; transform-style: preserve-3d;
  background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.pass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .18) 45%, transparent 60%); background-size: 250% 100%; animation: sheen 7s ease-in-out infinite; pointer-events: none; }
.pass-a { left: 0; top: 30px; transform: rotateY(18deg) rotateX(8deg) rotateZ(-4deg); animation: floatA 7s ease-in-out infinite; }
.pass-b { left: 330px; top: -6px; transform: rotateY(-14deg) rotateX(10deg) rotateZ(3deg); animation: floatB 8s ease-in-out infinite; opacity: .92; }
.pass-top { display: flex; justify-content: space-between; align-items: center; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.pass-route { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: .7rem 0 .8rem; }
.pass-route b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.pass-route small { display: block; font-size: .68rem; color: var(--mist); margin-top: .25rem; }
.pass-route .r { text-align: right; }
.pass-line { flex: 1; display: flex; align-items: center; gap: .35rem; color: var(--gold); }
.pass-line span { flex: 1; border-top: 1.5px dashed rgba(214, 180, 124, .6); }
.pass-line i { transform: rotate(90deg); font-size: .95rem; }
.pass-meta { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: .5rem; padding-top: .7rem; border-top: 1px dashed rgba(255, 255, 255, .2); font-size: .74rem; font-weight: 600; }
.pass-meta small { display: block; font-size: .6rem; color: var(--mist); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: .1rem; }
.pass-meta .ok { color: #7ee2b0; }
.chip-card {
  position: absolute; left: 210px; top: 196px; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: 14px;
  background: rgba(10, 18, 34, .65); border: 1px solid rgba(214, 180, 124, .3); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .7);
  transform: rotateX(12deg) rotateY(10deg); animation: floatC 6s ease-in-out infinite;
}
.chip-card .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--ink); background: linear-gradient(135deg, #f1dcae, #c49a5a); }
.chip-card small { display: block; font-size: .66rem; color: var(--mist); }
.chip-card b { font-size: 1rem; }

/* Glass login card */
.panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 2.5rem; }
.card-glass {
  width: 100%; max-width: 420px; padding: 2.2rem 2.1rem 1.6rem; border-radius: 26px; animation: up .9s .15s cubic-bezier(.2, .8, .2, 1) both;
  background: linear-gradient(160deg, rgba(20, 34, 62, .72), rgba(10, 18, 34, .72));
  border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .12);
  position: relative;
}
.card-glass::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(214, 180, 124, .7), transparent 35%, transparent 65%, rgba(214, 180, 124, .4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.card-head { text-align: center; margin-bottom: 1.6rem; }
.lock { width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: var(--ink); background: linear-gradient(135deg, #f1dcae, #c49a5a 60%, #a9834c); box-shadow: 0 14px 30px -10px rgba(214, 180, 124, .8); }
.card-head h2 { margin: 0; font-size: 1.65rem; font-weight: 800; letter-spacing: -.03em; }
.card-head p { margin: .35rem 0 0; color: var(--mist); font-size: .9rem; }
.lbl { display: block; font-size: .78rem; font-weight: 600; color: #c9d3e3; margin: 0 0 .4rem; }
.field { position: relative; margin-bottom: .3rem; }
.field > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--mist); font-size: 1rem; }
.field input {
  width: 100%; height: 50px; padding: 0 2.8rem 0 2.75rem; border-radius: 14px; font: inherit; font-size: .95rem; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); outline: 0; transition: all .2s;
}
.field input::placeholder { color: rgba(201, 211, 227, .45); }
.field input:focus { border-color: var(--gold); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 4px rgba(214, 180, 124, .18); }
.field input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px #17284a inset; caret-color: #fff; }
.peek { position: absolute; right: .55rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--mist); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; }
.peek:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.err { display: block; min-height: 1.1rem; font-size: .76rem; color: #fca5a5; margin-bottom: .6rem; }
.alert { margin-bottom: 1rem; padding: .7rem .9rem; border-radius: 12px; font-size: .85rem; background: rgba(239, 68, 68, .14); border: 1px solid rgba(239, 68, 68, .35); color: #fecaca; }
.alert.validation-summary-valid { display: none; }
.alert ul { margin: 0; padding-left: 1rem; }
.remember { display: flex; align-items: center; gap: .65rem; cursor: pointer; font-size: .85rem; color: #c9d3e3; margin: .4rem 0 1.4rem; user-select: none; }
.remember input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 38px; height: 22px; border-radius: 99px; background: rgba(255, 255, 255, .14); position: relative; transition: background .2s; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.remember input:checked + .switch { background: linear-gradient(90deg, #c49a5a, #d6b47c); }
.remember input:checked + .switch::after { transform: translateX(16px); }
.remember input:focus-visible + .switch { outline: 2px solid var(--gold); outline-offset: 2px; }
.signin {
  position: relative; overflow: hidden; width: 100%; height: 52px; border: 0; border-radius: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .6rem; font: inherit; font-size: 1rem; font-weight: 700; color: #1a1206;
  background: linear-gradient(180deg, #f1dcae 0%, #d6b47c 45%, #c49a5a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 18px 36px -14px rgba(214, 180, 124, .85); transition: transform .2s, box-shadow .2s;
}
.signin::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .6), transparent); transform: skewX(-20deg); animation: sweep 3.8s ease-in-out infinite; }
.signin:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 24px 44px -14px rgba(214, 180, 124, .95); }
.signin:hover i { transform: translateX(3px); }
.signin i { transition: transform .2s; }
.card-foot { margin-top: 1.4rem; text-align: center; font-size: .76rem; color: var(--mist); }
.card-foot i { color: #7ee2b0; }
.copyright { margin-top: 1.4rem; font-size: .76rem; color: rgba(159, 176, 204, .7); }

@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes sheen { 0%, 60% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
@keyframes sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes floatA { 0%, 100% { transform: rotateY(18deg) rotateX(8deg) rotateZ(-4deg) translateY(0); } 50% { transform: rotateY(12deg) rotateX(4deg) rotateZ(-3deg) translateY(-14px); } }
@keyframes floatB { 0%, 100% { transform: rotateY(-14deg) rotateX(10deg) rotateZ(3deg) translateY(0); } 50% { transform: rotateY(-8deg) rotateX(6deg) rotateZ(2deg) translateY(-18px); } }
@keyframes floatC { 0%, 100% { transform: rotateX(12deg) rotateY(10deg) translateY(0); } 50% { transform: rotateX(8deg) rotateY(6deg) translateY(-10px); } }

@media (max-width: 1199.98px) { .story { padding: 2rem 2.2rem; } .passes { display: none; } }
@media (max-width: 991.98px) {
  .shell { grid-template-columns: 1fr; }
  .story { padding: 1.5rem 1.25rem 0; }
  .headline { margin-top: 30vh; text-align: center; margin-left: auto; margin-right: auto; }
  .headline p, .features { margin-left: auto; margin-right: auto; }
  .features { display: none; }
  .panel { padding: 1.5rem 1rem 2rem; }
}
@media (max-width: 575.98px) { .headline h1 { font-size: 1.9rem; } .headline p { font-size: .92rem; } .card-glass { padding: 1.8rem 1.3rem 1.3rem; border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }
