/**
 * gca2 guest landing page (resources/views/layouts/gca2/landing/home.blade.php).
 * Everything is scoped to .gca2-landing so the rest of the theme is not affected.
 */

/* The page brings its own nav and footer: let it run edge to edge */
body:has(.gca2-landing) {
  background: #070A2B !important;
}
body:has(.gca2-landing) #page-contents {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.gca2-landing {
  --gl-accent: #F2C230;
  --gl-tint: 0.45;
  --gl-text: #EEF1FF;
  --gl-soft: #C9CEF0;
  --gl-muted: #A8AEDB;
  --gl-line: #262E7A;
  --gl-line-soft: #1A2160;
  --gl-edge: #4A55B8;
  --gl-gold-line: rgba(242, 194, 48, 0.35);
  --gl-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gl-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  font-family: 'Barlow', 'Helvetica Neue', sans-serif;
  color: var(--gl-text);
  background: #070A2B;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  line-height: 1.4;
}
.gca2-landing *, .gca2-landing *::before, .gca2-landing *::after { box-sizing: border-box; }
.gca2-landing a { color: var(--gl-text); }
.gca2-landing a:hover { color: #FFFFFF; }
.gca2-landing h1, .gca2-landing h2 { color: inherit; }

.gl-wrap { max-width: 1360px; margin: 0 auto; }
.gl-section { position: relative; z-index: 1; padding: 0 3%; }

/* Background film, tint and fade */
.gl-bg {
  position: absolute; top: 0; left: 0; right: 0; height: 1100px;
  background-size: cover; background-position: center;
}
.gl-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.gl-bg-video.is-playing { opacity: 1; }
.gl-bg-tint { position: absolute; inset: 0; background: rgba(10, 14, 70, var(--gl-tint)); }
.gl-bg-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,43,0.55) 0%, rgba(7,10,43,0.1) 35%, rgba(7,10,43,0.7) 78%, #070A2B 100%); }

/* Header */
.gl-header { position: relative; z-index: 2; padding: 0 3%; background: rgba(10, 14, 60, 0.72); border-bottom: 1px solid var(--gl-gold-line); }
.gl-header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.gl-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.gl-brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; background: #FFFFFF; padding: 3px; }
.gl-brand-text { display: flex; flex-direction: column; line-height: 1; }
.gl-brand-name { font-family: var(--gl-cond); font-weight: 700; font-size: 22px; letter-spacing: 0.12em; text-transform: uppercase; }
.gl-brand-sub { font-family: var(--gl-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gl-accent); margin-top: 4px; text-transform: uppercase; }
.gl-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; }
.gca2-landing .gl-nav a { text-decoration: none; padding: 12px 14px; color: var(--gl-soft); }
.gca2-landing .gl-nav a:hover { color: #FFFFFF; }
.gca2-landing .gl-nav .gl-btn-outline { padding: 11px 18px; margin-left: 8px; border: 1px solid var(--gl-edge); border-radius: 6px; color: var(--gl-text); }
.gca2-landing .gl-nav .gl-btn-accent { padding: 11px 18px; border-radius: 6px; background: var(--gl-accent); color: #0A0E3C; }
.gca2-landing .gl-nav .gl-btn-accent:hover { color: #0A0E3C; filter: brightness(1.08); }

/* Hero */
.gl-hero { position: relative; z-index: 1; padding: 40px 3% 32px; }
.gl-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.gl-hero-text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* All slide captions share one grid cell, so the hero keeps its height when the slide changes */
.gl-slide-texts { display: grid; }
.gl-slide-text { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.gl-slide-text.is-active { opacity: 1; visibility: visible; }
.gl-kicker { font-family: var(--gl-mono); font-size: 13px; letter-spacing: 0.18em; color: var(--gl-accent); text-transform: uppercase; }
.gl-reg { font-family: var(--gl-mono); font-size: 20px; color: var(--gl-soft); }
.gca2-landing .gl-title { margin: 0; font-family: var(--gl-cond); font-weight: 700; font-size: clamp(44px, 5vw, 80px); line-height: 0.92; text-transform: uppercase; overflow-wrap: anywhere; }
.gl-arrows { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.gl-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gl-edge); background: rgba(10, 14, 60, 0.6); color: var(--gl-text); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.gl-arrow:hover { border-color: var(--gl-accent); }
.gl-arrow:focus-visible { outline: 2px solid var(--gl-accent); outline-offset: 2px; }
.gl-arrow svg { width: 20px; height: 20px; }
.gl-networks { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.gl-networks-label { font-size: 14px; color: var(--gl-muted); }
.gl-network { display: flex; align-items: center; border: 1px solid var(--gl-edge); border-radius: 6px; padding: 6px 12px; background: rgba(10, 14, 60, 0.45); }
.gl-network:hover { border-color: var(--gl-accent); }
.gl-network img { height: 28px; width: auto; display: block; }
/* Photo card: fixed 21:9 (16:9 on phones), at most 820px wide; the image is cropped to fit, never stretched */
.gl-photo { flex: 0 1 820px; width: 100%; max-width: 820px; aspect-ratio: 21 / 9; border-radius: 14px; border: 1px solid rgba(242, 194, 48, 0.4); background: rgba(10, 14, 60, 0.55); position: relative; overflow: hidden; }
.gl-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.gl-photo-img.is-active { opacity: 1; }

/* Readouts */
.gl-readouts { display: flex; flex-wrap: wrap; gap: 1px; background: var(--gl-gold-line); border: 1px solid var(--gl-gold-line); border-radius: 12px; overflow: hidden; }
.gl-readout { flex: 1 1 220px; background: rgba(9, 12, 52, 0.92); padding: 22px 26px; display: flex; flex-direction: column; gap: 6px; }
.gl-readout-label { font-family: var(--gl-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--gl-muted); text-transform: uppercase; }
.gl-readout-value { display: flex; align-items: baseline; gap: 8px; }
.gl-readout-num { font-family: var(--gl-mono); font-weight: 600; font-size: 36px; color: #5CF29A; }
.gl-readout-unit { font-family: var(--gl-mono); font-size: 14px; color: #8FE8B5; }

/* Widget cards */
.gl-widgets-section { padding: 40px 3% 72px; }
.gl-widgets { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.gl-card { flex: 1 1 300px; min-width: 0; border: 1px solid var(--gl-line); border-radius: 12px; background: rgba(12, 16, 66, 0.88); overflow: hidden; }
.gl-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--gl-line); }
.gca2-landing .gl-card-head h2 { margin: 0; font-family: var(--gl-cond); font-weight: 600; font-size: 20px; letter-spacing: 0.1em; text-transform: uppercase; }
.gl-tag { font-family: var(--gl-mono); font-size: 11px; color: var(--gl-accent); text-transform: uppercase; white-space: nowrap; }
.gl-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--gl-line-soft); }
.gl-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gca2-landing .gl-row-name { font-weight: 600; font-size: 17px; text-decoration: none; }
.gl-row-sub { font-size: 14px; color: var(--gl-soft); }
.gl-row-meta { font-family: var(--gl-mono); font-size: 12px; color: var(--gl-muted); }
.gl-avatar { position: relative; overflow: hidden; width: 44px; height: 44px; border-radius: 50%; background: #1F3BB3; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; }
.gl-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #1F3BB3; } /* solid, so the initials never show through a transparent PNG */
.gl-badge { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gl-accent); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; object-fit: cover; color: var(--gl-accent); background: rgba(10, 14, 60, 0.6); }
.gl-best { padding: 18px; border-bottom: 1px solid var(--gl-line-soft); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gl-best-cat { font-family: var(--gl-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--gl-muted); text-transform: uppercase; }
.gca2-landing .gl-best-name { font-weight: 600; font-size: 18px; text-decoration: none; }
.gl-best-value { font-family: var(--gl-mono); font-weight: 600; font-size: 22px; color: var(--gl-accent); white-space: nowrap; }
.gl-empty { padding: 18px; color: var(--gl-muted); font-size: 14px; }
.gl-stats { padding: 6px 18px 12px; }
.gl-stat { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--gl-line-soft); font-size: 15px; }
.gl-stat-label { color: var(--gl-soft); }
.gl-stat-value { font-family: var(--gl-mono); font-weight: 500; text-align: right; }

/* Footer */
.gl-footer { position: relative; z-index: 1; padding: 22px 3%; border-top: 1px solid var(--gl-gold-line); background: rgba(10, 14, 60, 0.8); }
.gl-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 14px; color: var(--gl-muted); }
.gca2-landing .gl-footer a { color: var(--gl-text); }

/*
 * Desktop (1200px wide and 720px tall or more): the whole page fits in one screen, no scrolling.
 * The hero takes whatever height is left after the nav, readouts, cards and footer;
 * text sizes are a bit tighter than in the scrolling layout used on smaller screens.
 */
@media (min-width: 1200px) and (min-height: 720px) {
  .gca2-landing { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
  .gl-bg { height: 100%; }

  .gl-header { flex: none; }
  .gl-header-row { padding: 10px 0; }

  .gl-hero { flex: none; padding: 24px 3% 20px; }
  .gl-hero-row { flex-wrap: nowrap; gap: 40px; }
  /* Arrows and the IVAO/VATSIM logos share one line under the caption */
  .gl-hero-text { flex-direction: row; flex-wrap: wrap; align-content: flex-end; align-items: center; gap: 12px 28px; padding-bottom: 0; overflow: hidden; }
  .gl-slide-texts { flex: 1 1 100%; }
  .gl-slide-text { gap: 10px; }
  .gl-reg { font-size: 18px; }
  .gca2-landing .gl-title { font-size: clamp(36px, min(4.5vw, 6.5vh), 76px); }
  .gl-arrows { margin-top: 0; }
  .gl-networks { margin-top: 0; }
  /* About 820px wide on a 1080p screen; narrower on lower screens so the readouts and cards still fit */
  .gl-photo { flex: 0 0 auto; width: min(820px, 58vw, calc((100dvh - 600px) * 21 / 9)); }

  .gl-section { flex: none; }
  .gl-readout { padding: 12px 20px; gap: 4px; }
  .gl-readout-num { font-size: 26px; line-height: 1.1; }

  .gl-widgets-section { padding: 14px 3% 14px; }
  .gl-widgets { flex-wrap: nowrap; align-items: stretch; gap: 16px; }
  .gl-card { flex: 1 1 0; }
  .gl-card-stats { flex-grow: 1.6; }
  .gl-card-head { padding: 9px 16px; }
  .gca2-landing .gl-card-head h2 { font-size: 17px; }
  .gl-row { padding: 9px 16px; gap: 12px; }
  .gl-avatar { width: 36px; height: 36px; font-size: 13px; }
  .gl-badge { width: 38px; height: 38px; }
  /* Name on the first line, airport/award and date side by side on the second */
  .gl-row .gl-row-text { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline; }
  .gl-row .gl-row-text > :first-child { grid-column: 1 / -1; }
  .gca2-landing .gl-row-name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gl-row-sub { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gl-row-meta { font-size: 11px; white-space: nowrap; }
  .gl-best { padding: 11px 16px; }
  .gca2-landing .gl-best-name { font-size: 16px; }
  .gl-best-value { font-size: 19px; }
  /* Statistics in two columns */
  .gl-stats { padding: 4px 16px 8px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .gl-stat { padding: 5px 0; font-size: 13px; }

  .gl-footer { flex: none; margin-top: auto; padding: 10px 3%; }
  .gl-footer-row { font-size: 13px; }
}

/* Phones: 16px gutters, full-width photo card, nav wraps under the logo */
@media (max-width: 767px) {
  .gl-header, .gl-hero, .gl-section, .gl-widgets-section, .gl-footer { padding-left: 16px; padding-right: 16px; }
  .gl-hero { padding-top: 32px; padding-bottom: 32px; }
  .gl-hero-row { gap: 24px; }
  .gl-hero-text, .gl-photo, .gl-card { flex-basis: 100%; }
  .gl-photo { aspect-ratio: 16 / 9; }
  /* Nav on one line under the logo: links left, Join us / Log In right (wraps only on very narrow screens) */
  .gl-header-row { gap: 10px; padding: 12px 0; }
  .gl-nav { width: 100%; gap: 4px; font-size: 14px; letter-spacing: 0.02em; }
  .gca2-landing .gl-nav a { padding: 9px 8px; }
  .gca2-landing .gl-nav .gl-btn-outline { margin-left: auto; padding: 8px 12px; }
  .gca2-landing .gl-nav .gl-btn-accent { padding: 9px 12px; }
  .gca2-landing .gl-nav .gl-nav-trip i { display: none; }
  .gl-readout { flex-basis: 45%; padding: 16px 18px; }
  .gl-readout-num { font-size: 28px; }
  .gca2-landing .gl-title { font-size: clamp(40px, 12vw, 56px); }
}

/* Reduced motion: no fades (the background film still plays) */
@media (prefers-reduced-motion: reduce) {
  .gl-slide-text, .gl-photo-img { transition: none; }
}

/*
 * Register page (gca2/auth/register.blade.php) and the invitation page (gca2/errors/403.blade.php)
 */
.gl-auth { position: relative; z-index: 1; padding: 48px 3% 64px; flex: 1 0 auto; }
/* Short pages built around one card (login, register, by invitation, 404): keep the footer at the bottom on every screen size */
.gca2-landing:has(> .gl-auth) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.gl-auth-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; max-width: 1180px; }
.gl-auth-row-single { justify-content: center; }
.gl-auth-intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; padding-top: 12px; min-width: 0; }
.gl-auth-intro .gl-title, .gl-auth-message .gl-title { font-size: clamp(40px, 4.4vw, 68px); }
.gl-auth-lead { margin: 0; font-size: 18px; line-height: 1.5; color: var(--gl-soft); max-width: 34em; }
.gl-auth-note { margin: 0; font-size: 15px; color: var(--gl-muted); line-height: 1.6; }
.gca2-landing .gl-auth-note a { color: var(--gl-accent); font-weight: 600; text-decoration: none; }
.gca2-landing .gl-auth-note a:hover { text-decoration: underline; }
.gl-auth-facts { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1px; background: var(--gl-gold-line); border: 1px solid var(--gl-gold-line); border-radius: 12px; overflow: hidden; }
.gl-auth-facts li { flex: 1 1 120px; background: rgba(9, 12, 52, 0.92); padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.gl-auth-fact-num { font-family: var(--gl-mono); font-weight: 600; font-size: 26px; color: #5CF29A; }
.gl-auth-fact-label { font-family: var(--gl-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--gl-muted); text-transform: uppercase; }

.gl-auth-card { flex: 1.3 1 480px; }
.gl-auth-message { flex: 0 1 640px; }
.gl-auth-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.gl-auth-message .gl-auth-body { padding: 32px 32px 34px; gap: 16px; }

.gl-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gca2-landing .gl-fieldset legend { float: none; width: auto; margin: 0 0 2px; padding: 0; font-family: var(--gl-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gl-accent); }
.gl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 16px; }
.gl-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gca2-landing .gl-field label { font-size: 14px; font-weight: 600; color: var(--gl-soft); margin: 0; }
.gl-hint { font-size: 12px; color: var(--gl-muted); }
.gca2-landing .gl-field input[type="text"],
.gca2-landing .gl-field input[type="email"],
.gca2-landing .gl-field input[type="number"],
.gca2-landing .gl-field input[type="password"],
.gca2-landing .gl-field select {
  width: 100%; height: 44px; padding: 0 12px; font: inherit; font-size: 15px;
  color: var(--gl-text); background: rgba(7, 10, 43, 0.85); border: 1px solid var(--gl-edge); border-radius: 8px;
}
.gca2-landing .gl-field input:focus, .gca2-landing .gl-field select:focus { outline: none; border-color: var(--gl-accent); box-shadow: 0 0 0 3px rgba(242, 194, 48, 0.25); }
.gca2-landing .gl-field input[aria-invalid="true"] { border-color: #FF7A7A; }

/* select2 (airline, home airport, country, timezone); its dropdown is attached to <body> */
.gca2-landing .select2-container--default .select2-selection--single {
  height: 44px; background: rgba(7, 10, 43, 0.85); border: 1px solid var(--gl-edge); border-radius: 8px; display: flex; align-items: center;
}
.gca2-landing .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--gl-text); line-height: 42px; padding-left: 12px; padding-right: 32px; font-size: 15px; }
.gca2-landing .select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--gl-muted); }
.gca2-landing .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; right: 6px; }
.gca2-landing .select2-container--default .select2-selection--single .select2-selection__arrow b { border-top-color: var(--gl-soft); }
.gca2-landing .select2-container--focus .select2-selection--single,
.gca2-landing .select2-container--open .select2-selection--single { border-color: var(--gl-accent); }
body:has(.gca2-landing) .select2-dropdown { background: #0C1042; border: 1px solid var(--gl-edge, #4A55B8); color: #EEF1FF; }
body:has(.gca2-landing) .select2-search--dropdown .select2-search__field { background: #070A2B; color: #EEF1FF; border: 1px solid #4A55B8; border-radius: 6px; }
body:has(.gca2-landing) .select2-results__option { color: #EEF1FF; }
body:has(.gca2-landing) .select2-results__group { color: #F2C230; }
body:has(.gca2-landing) .select2-container--default .select2-results__option--highlighted[aria-selected],
body:has(.gca2-landing) .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: #1F3BB3; color: #FFFFFF; }
body:has(.gca2-landing) .select2-container--default .select2-results__option[aria-selected="true"],
body:has(.gca2-landing) .select2-container--default .select2-results__option--selected { background: #262E7A; }

.gl-alert { background: rgba(120, 20, 30, 0.55); border: 1px solid #FF7A7A; border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.gl-alert ul { margin: 6px 0 0; padding-left: 18px; }

/* Terms: collapsed by default */
.gl-toc { border: 1px solid var(--gl-line); border-radius: 8px; background: rgba(7, 10, 43, 0.5); }
.gl-toc summary { cursor: pointer; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--gl-soft); }
.gl-toc summary:hover { color: #FFFFFF; }
.gl-toc h5 { display: none; }
.gca2-landing .gl-toc textarea { display: block; width: calc(100% - 28px); margin: 0 14px 14px; height: 180px !important; padding: 10px 12px; font-size: 13px; line-height: 1.5; color: var(--gl-soft); background: rgba(7, 10, 43, 0.85); border: 1px solid var(--gl-line); border-radius: 6px; resize: vertical; }
.gl-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gl-soft); cursor: pointer; margin: 0; }
.gl-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--gl-accent); }

.gl-submit, .gca2-landing a.gl-submit {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  font: inherit; font-size: 16px; font-weight: 700; letter-spacing: 0.04em; text-decoration: none;
  color: #0A0E3C; background: var(--gl-accent); border: 0; border-radius: 8px; cursor: pointer;
}
.gl-submit:hover, .gca2-landing a.gl-submit:hover { color: #0A0E3C; filter: brightness(1.08); }
.gl-submit:focus-visible, .gl-btn-ghost:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.gl-submit:disabled { background: #3A4180; color: var(--gl-muted); cursor: not-allowed; filter: none; }
.gca2-landing .gl-btn-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--gl-edge); border-radius: 8px; color: var(--gl-text); text-decoration: none; font-weight: 600; }
.gca2-landing .gl-btn-ghost:hover { border-color: var(--gl-accent); }
.gl-auth-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

@media (max-width: 767px) {
  .gl-auth { padding: 28px 16px 40px; }
  .gl-auth-row { gap: 28px; }
  .gl-auth-intro, .gl-auth-card { flex-basis: 100%; }
  .gl-auth-body, .gl-auth-message .gl-auth-body { padding: 18px 16px 20px; }
  .gl-submit { width: 100%; }
}

/* Login page (gca2/auth/login.blade.php) */
.gl-auth-login { flex: 0 1 460px; }
.gl-auth-login .gl-auth-body { padding: 30px 30px 28px; gap: 16px; }
.gl-auth-login .gl-title { font-size: clamp(40px, 4vw, 56px); margin-bottom: 4px; }
.gl-field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gca2-landing .gl-field-link { font-size: 13px; color: var(--gl-accent); text-decoration: none; }
.gca2-landing .gl-field-link:hover { text-decoration: underline; color: var(--gl-accent); }
.gl-divider { display: flex; align-items: center; gap: 12px; font-family: var(--gl-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gl-muted); }
.gl-divider::before, .gl-divider::after { content: ""; flex: 1; height: 1px; background: var(--gl-line); }
.gca2-landing .gl-btn-block { justify-content: center; width: 100%; }
.gl-auth-switch { text-align: center; padding-top: 6px; border-top: 1px solid var(--gl-line-soft); }
@media (max-width: 767px) {
  .gl-auth-login { flex-basis: 100%; }
  .gl-auth-login .gl-auth-body { padding: 22px 18px 22px; }
}

/* Live map for guests (gca2/livemap/guest.blade.php) */
.gca2-landing .gl-nav a[aria-current="page"] { color: #FFFFFF; box-shadow: inset 0 -2px 0 var(--gl-accent); }
.gl-live { position: relative; z-index: 1; padding: 32px 3% 48px; flex: 1 0 auto; }
.gl-live .gl-wrap { display: flex; flex-direction: column; gap: 20px; }
/* Stacked cards: keep their own height (the desktop rule .gl-card { flex: 1 1 0 } is meant for the side-by-side widgets) */
.gl-live .gl-card { flex: none; }
.gl-live-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.gl-live-head .gl-title { font-size: clamp(40px, 4.4vw, 64px); margin-top: 8px; }
.gl-live-head .gl-auth-note { max-width: 32em; }
.gl-live-map { position: relative; border-color: rgba(242, 194, 48, 0.4); }
.gl-live-map #map { width: 100%; height: clamp(420px, calc(100vh - 330px), 760px); background: #0B0F33; }
/* The map is already dark: cancel Disposable's dark-mode filter ([data-theme="dark"] #map), which would invert it to white */
.gca2-landing .gl-live-map #map { filter: none !important; }
/* OpenStreetMap tiles turned dark navy (tiles only: markers and routes keep their colours) */
.gl-live-map .leaflet-tile-pane { filter: invert(1) hue-rotate(195deg) saturate(0.55) brightness(0.8) contrast(0.95); }
/* Black aircraft icon -> accent yellow on the dark map */
.gl-live-map .leaflet-marker-icon[src*="aircraft"] { filter: invert(1) sepia(1) saturate(4) hue-rotate(-8deg) brightness(1.05) drop-shadow(0 0 3px rgba(0, 0, 0, 0.8)); }
.gl-live-map .leaflet-bar a { background: #0C1042; color: var(--gl-text); border-bottom-color: var(--gl-line); }
.gl-live-map .leaflet-bar a:hover { background: #1A2160; color: #FFFFFF; }
.gl-live-map .leaflet-bar { border: 1px solid var(--gl-edge); box-shadow: none; }
.gl-live-map .leaflet-control-attribution { background: rgba(7, 10, 43, 0.75); color: var(--gl-muted); }
.gca2-landing .gl-live-map .leaflet-control-attribution a { color: var(--gl-soft); }

/* Flight details bar on the map */
.gl-live-info { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1000; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 12px 16px; background: rgba(9, 12, 52, 0.92); border: 1px solid var(--gl-gold-line); border-radius: 10px; }
.gl-live-info-logo { height: 36px; width: auto; max-width: 90px; object-fit: contain; }
.gl-live-info-logo:not([src]), .gl-live-info-logo[src=""] { display: none; }
.gl-live-info-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gl-live-ident { font-family: var(--gl-mono); font-weight: 600; font-size: 18px; color: var(--gl-accent); }
.gl-live-route { font-family: var(--gl-mono); font-size: 14px; color: var(--gl-text); display: flex; gap: 8px; }
.gl-live-pilot { font-size: 13px; color: var(--gl-soft); }
.gl-live-info-data { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.gl-live-info-data div { display: flex; flex-direction: column; gap: 1px; }
.gl-live-info-data dt { font-family: var(--gl-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gl-muted); font-weight: 500; }
.gl-live-info-data dd { margin: 0; font-family: var(--gl-mono); font-size: 14px; color: var(--gl-text); }

/* Flights table */
.gl-live-table-wrap { overflow-x: auto; }
.gl-live-table { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; }
.gl-live-table th { text-align: left; padding: 10px 16px; font-family: var(--gl-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gl-muted); border-bottom: 1px solid var(--gl-line); }
.gl-live-table td { padding: 10px 16px; border-bottom: 1px solid var(--gl-line-soft); color: var(--gl-text); }
.gl-live-table .num { text-align: right; font-family: var(--gl-mono); }
.gl-live-table tbody tr:hover td { background: rgba(31, 59, 179, 0.18); }
.gca2-landing .gl-live-table a { color: var(--gl-accent); font-family: var(--gl-mono); font-weight: 600; text-decoration: none; }

@media (max-width: 767px) {
  .gl-live { padding: 24px 16px 36px; }
  .gl-live-map #map { height: 60vh; min-height: 360px; }
  .gl-live-info { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; gap: 8px 14px; }
}

/* "Book a trip" passenger page (gca2/pages/book_trip.blade.php) */
.gca2-landing .gl-nav .gl-nav-trip { color: var(--gl-accent); }
.gca2-landing .gl-nav .gl-nav-trip:hover { color: #FFE27A; }
.gl-trip { position: relative; z-index: 1; padding: 56px 3% 64px; flex: 1 0 auto; display: flex; flex-direction: column; gap: 40px; }
.gl-trip .gl-wrap { width: 100%; }
.gl-trip-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.gl-trip-hero .gl-title { font-size: clamp(48px, 6vw, 96px); }
.gl-trip-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--gl-gold-line); border-radius: 999px; background: rgba(9, 12, 52, 0.7); font-family: var(--gl-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gl-accent); }
.gl-trip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gl-accent); box-shadow: 0 0 0 0 rgba(242, 194, 48, 0.6); animation: gl-pulse 2s infinite; }
@keyframes gl-pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 194, 48, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(242, 194, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 194, 48, 0); } }
.gl-trip-body { max-width: 40em; font-size: 18px; line-height: 1.6; color: var(--gl-soft); }
.gl-trip-body p { margin: 0 0 12px; }
.gl-trip-body p:last-child { margin-bottom: 0; }
.gca2-landing .gl-trip-body a { color: var(--gl-accent); }

.gl-trip-steps { display: flex; flex-wrap: wrap; gap: 20px; }
.gl-trip .gl-trip-step { flex: 1 1 260px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.gl-trip-step-num { font-family: var(--gl-mono); font-weight: 600; font-size: 14px; color: var(--gl-accent); letter-spacing: 0.1em; }
.gca2-landing .gl-trip-step h2 { margin: 0; font-family: var(--gl-cond); font-weight: 600; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; }
.gl-trip-step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--gl-soft); }

.gl-trip-dest-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 14px; }
.gca2-landing .gl-trip-dest-head h2 { margin: 0; font-family: var(--gl-cond); font-weight: 700; font-size: 30px; letter-spacing: 0.08em; text-transform: uppercase; }
.gl-trip-dest-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1px; background: var(--gl-gold-line); border: 1px solid var(--gl-gold-line); border-radius: 12px; overflow: hidden; }
.gl-trip-dest-tile { background: rgba(9, 12, 52, 0.92); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gl-trip-icao { font-family: var(--gl-mono); font-weight: 600; font-size: 22px; color: #5CF29A; letter-spacing: 0.06em; }
.gl-trip-city { font-weight: 600; font-size: 16px; display: flex; align-items: baseline; gap: 8px; }
.gl-trip-country { font-family: var(--gl-mono); font-size: 11px; color: var(--gl-muted); letter-spacing: 0.1em; }
.gl-trip-airport { font-size: 13px; color: var(--gl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 767px) {
  .gl-trip { padding: 32px 16px 40px; gap: 28px; }
  .gl-trip-body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .gl-trip-dot { animation: none; }
}

/* Narrow phones: drop the external SimBrief link so the rest of the nav fits on one line */
@media (max-width: 419px) {
}
@media (max-width: 379px) {
  .gl-nav { font-size: 13px; gap: 2px; }
  .gca2-landing .gl-nav a { padding: 8px 6px; }
  .gca2-landing .gl-nav .gl-btn-outline, .gca2-landing .gl-nav .gl-btn-accent { padding: 8px 10px; }
}

/* 404 page (gca2/errors/404.blade.php): the requested path */
.gl-404-path { font-family: var(--gl-mono); font-size: 0.92em; color: var(--gl-accent); overflow-wrap: anywhere; }

/* Best pilots with their pictures; Pilot of the Month trophy card (gca2/landing/home.blade.php) */
.gl-best .gl-avatar-sm { width: 36px; height: 36px; font-size: 13px; }
.gl-best > .gl-row-text { flex: 1 1 auto; min-width: 0; }
.gl-avatar-lg { width: 64px; height: 64px; font-size: 20px; border: 2px solid var(--gl-accent); }
.gca2-landing .gl-potm-name { font-family: var(--gl-cond); font-weight: 700; font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gl-text); text-decoration: none; line-height: 1.1; }
.gca2-landing .gl-potm-name:hover { color: var(--gl-accent); }
.gl-potm-rule { margin: 6px 18px 16px; font-size: 13px; line-height: 1.5; color: var(--gl-muted); }
.gl-potm-prev { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding: 12px 18px 16px; border-top: 1px solid var(--gl-line-soft); font-size: 13px; color: var(--gl-soft); }
.gl-potm-prev-label { font-family: var(--gl-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gl-muted); }
.gca2-landing .gl-potm-prev a { color: var(--gl-text); text-decoration: none; font-weight: 600; margin-right: 6px; }
.gca2-landing .gl-potm-prev a:hover { color: var(--gl-accent); }

/* Statistics card, one slide per airline (gca2/landing/home.blade.php + landing.js) */
.gl-airstats-dots { display: flex; gap: 6px; }
.gca2-landing .gl-airstats-dot { font-family: var(--gl-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--gl-edge, #4A55B8); background: transparent; color: var(--gl-muted); cursor: pointer; }
.gca2-landing .gl-airstats-dot.is-active { background: var(--gl-accent); border-color: var(--gl-accent); color: #0A0E3C; }
.gca2-landing .gl-airstats-dot:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.gl-airstats-name { display: flex; align-items: center; gap: 12px; padding: 14px 18px 4px; font-family: var(--gl-cond); font-weight: 700; font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase; }
.gl-airstats-name img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #FFFFFF; padding: 3px; }
.gl-airstats-slide { animation: gl-airstats-in 0.4s ease; }
@keyframes gl-airstats-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gl-airstats-slide { animation: none; } }
/* Airline statistics: one column, values on one line */
.gca2-landing .gl-airstats .gl-stats { display: block; columns: auto; column-count: 1; }
.gl-airstats .gl-stat-value { white-space: nowrap; }
.gl-airstats .gl-stat { font-size: 14px; padding: 7px 0; }

/* Pilot of the Month card: large trophy on top, holder below, month-by-month history */
.gl-potm-body { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 18px 6px; }
.gl-potm-trophy { width: min(100%, 210px); height: auto; filter: drop-shadow(0 8px 22px rgba(242, 194, 48, 0.28)); }
.gl-potm-holder { display: flex; align-items: center; gap: 14px; align-self: stretch; padding: 12px 14px; border-radius: 10px; background: rgba(7, 10, 43, 0.55); }
.gl-potm-holder-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gl-potm-holder .gl-row-sub, .gl-potm-holder .gl-row-meta { white-space: normal; }
.gl-potm-prev-item { display: flex; align-items: baseline; gap: 8px; }
.gl-potm-prev-month { flex: 0 0 auto; width: 9.5em; font-family: var(--gl-mono); font-size: 12px; color: var(--gl-muted); }
.gca2-landing .gl-potm-prev .gl-potm-prev-item a { margin-right: 0; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-potm-prev-how { flex: 0 0 auto; font-family: var(--gl-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--gl-edge, #4A55B8); color: var(--gl-muted); }
.gl-potm-prev-how.is-won { border-color: var(--gl-accent); color: var(--gl-accent); }
/* Pilot of the Month: the rule as a popup on the trophy (hover, focus, tap) */
.gca2-landing .gl-potm-trophy-btn { position: relative; display: block; padding: 0; border: 0; background: none; cursor: help; width: min(100%, 210px); border-radius: 12px; }
.gca2-landing .gl-potm-trophy-btn:focus-visible { outline: 2px solid var(--gl-accent); outline-offset: 4px; }
.gl-potm-trophy-btn .gl-potm-trophy { width: 100%; display: block; }
.gl-potm-tip { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%) translateY(6px); width: max(100%, 230px); max-width: calc(100vw - 48px); z-index: 5;
  padding: 12px 14px; border: 1px solid var(--gl-accent); border-radius: 10px; background: rgba(8, 11, 48, 0.97); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  font-family: var(--gl-sans); font-size: 13px; line-height: 1.5; color: var(--gl-soft); text-align: left;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; }
.gl-potm-tip b { display: block; margin-bottom: 4px; color: #FFFFFF; font-size: 14px; }
.gl-potm-trophy-btn:hover .gl-potm-tip, .gl-potm-trophy-btn:focus .gl-potm-tip, .gl-potm-trophy-btn:focus-within .gl-potm-tip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce) { .gl-potm-tip { transition: none; } }
.gl-potm-prev-item { align-items: center; }
.gl-potm-mini { flex: 0 0 auto; width: 14px; height: auto; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)); }

/* One-screen layout (large screens, see the block above): the Pilot Challenge card must not be taller than the
   other cards, so the trophy sits next to the holder and the lists are tighter */
@media (min-width: 1200px) and (min-height: 720px) {
  .gl-potm-body { flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px 4px; }
  .gca2-landing .gl-potm-trophy-btn { flex: 0 0 auto; width: 96px; }
  .gl-potm-tip { left: 0; bottom: auto; top: 100%; transform: translateY(6px); width: 250px; }
  .gl-potm-trophy-btn:hover .gl-potm-tip, .gl-potm-trophy-btn:focus .gl-potm-tip, .gl-potm-trophy-btn:focus-within .gl-potm-tip { transform: translateY(0); }
  .gl-potm-holder { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; min-width: 0; flex: 1 1 auto; }
  .gl-avatar-lg { width: 48px; height: 48px; font-size: 16px; }
  .gca2-landing .gl-potm-name { font-size: 20px; }
  .gl-potm-prev { margin-top: 6px; padding: 8px 16px 10px; gap: 2px; font-size: 12.5px; }
  .gl-potm-prev-month { width: 8.8em; font-size: 11.5px; }
  .gl-potm-prev-how { font-size: 9px; padding: 0 7px; }
  .gl-airstats-name { padding: 10px 16px 2px; font-size: 18px; }
  .gl-airstats-name img { width: 32px; height: 32px; }
  .gl-airstats .gl-stat { padding: 4px 0; font-size: 13px; }
  .gca2-landing .gl-airstats .gl-stats { padding: 2px 16px 8px; }
  .gl-widgets-section { padding: 12px 3% 8px; }
}

/* Ad banner for guests (2026-10-30): the dashboard ads (File Library "Dashboard ads"), same shapes and rotation as
   .gdn-ad* in dash-next.css: desktop group 8:1 from 768px, mobile group 3:1 below; shown ads stacked and crossfading */
.gl-ad-section { margin-top: -48px; padding-bottom: 40px; }
.gl-ad-section .gl-wrap { display: grid; }
.gdn-ad { display: block; position: relative; border: 1px solid var(--gl-line); border-radius: 12px; overflow: hidden; background: rgba(10, 14, 60, 0.55); }
.gdn-ad img { display: block; width: 100%; height: auto; }
.gdn-ad-desktop img { aspect-ratio: 8 / 1; }
.gdn-ad-mobile img { aspect-ratio: 3 / 1; }
a.gdn-ad { transition: border-color 0.15s; }
a.gdn-ad:hover { border-color: var(--gl-gold-line); }
a.gdn-ad:focus-visible { outline: 2px solid var(--gl-accent); outline-offset: 2px; }
.gdn-ad-rot { display: grid; position: relative; }
.gdn-ad-rot.gdn-ad-mobile { display: none; }
@media (max-width: 767px) {
  .gdn-ad-rot.gdn-ad-desktop { display: none; }
  .gdn-ad-rot.gdn-ad-mobile { display: grid; }
  .gdn-ad-mobile .gdn-ad { border-radius: 10px; }
}
.gdn-ad-rot > .gdn-ad { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0s linear 0.8s, border-color 0.15s; }
.gdn-ad-rot > .gdn-ad.is-on { opacity: 1; visibility: visible; transition: opacity 0.8s ease, visibility 0s, border-color 0.15s; }
.gdn-ad-dots { position: absolute; right: 10px; bottom: 8px; z-index: 1; display: flex; gap: 2px; padding: 2px 4px; border-radius: 999px; background: rgba(7, 10, 43, 0.55); }
.gdn-ad-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.gdn-ad-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(238, 241, 255, 0.45); transition: background 0.2s, transform 0.2s; }
.gdn-ad-dots button:hover::before { background: var(--gl-text); }
.gdn-ad-dots button[aria-current]::before { background: var(--gl-accent); transform: scale(1.25); }
.gdn-ad-dots button:focus-visible { outline: 2px solid var(--gl-accent); outline-offset: -2px; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .gdn-ad-rot > .gdn-ad, .gdn-ad-rot > .gdn-ad.is-on { transition: none; } }
@media (max-width: 767px) { .gl-ad-section { padding-bottom: 24px; } .gl-ad-section.gl-ad-no-mobile { display: none; } }
@media (min-width: 768px) { .gl-ad-section.gl-ad-no-desktop { display: none; } }
/* One-screen layout: the banner gets its own row. From 1000px tall the hero photo shrinks by the banner's height
   (wrap width / 8 + gaps) so everything still fits; on lower screens the hero keeps its size and the banner sits just below
   the fold (a short scroll) instead of squeezing the hero text */
@media (min-width: 1200px) and (min-height: 720px) {
  .gl-ad-section { flex: none; margin-top: 0; padding-top: 6px; padding-bottom: 14px; }
}
@media (min-width: 1200px) and (min-height: 1000px) {
  .gl-has-ad .gl-photo { width: min(820px, 58vw, max(466px, calc((100dvh - 618px - min(94vw, 1360px) / 8) * 21 / 9))); }
}

/*
 * Design review 2026-10-30
 * Hero: a lead sentence and a Join button under the title (Join for guests; the IVAO/VATSIM logos share the row),
 * the slide arrows moved onto the photo (bottom right).
 */
.gl-lead { margin: 0; max-width: 34em; font-size: 18px; line-height: 1.45; color: var(--gl-soft); }
.gl-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.gl-hero-actions .gl-networks { margin-top: 0; }
.gca2-landing .gl-btn-join { display: inline-block; padding: 13px 26px; border-radius: 6px; background: var(--gl-accent); color: #0A0E3C; font-weight: 600; font-size: 16px; letter-spacing: 0.02em; text-decoration: none; transition: filter 0.15s; }
.gca2-landing .gl-btn-join:hover { color: #0A0E3C; filter: brightness(1.08); }
.gca2-landing .gl-btn-join:focus-visible { outline: 2px solid var(--gl-accent); outline-offset: 3px; }
.gl-photo .gl-arrows { position: absolute; right: 14px; bottom: 14px; z-index: 2; margin: 0; gap: 8px; }
.gl-photo .gl-arrow { width: 40px; height: 40px; background: rgba(7, 10, 43, 0.6); border-color: rgba(238, 241, 255, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gl-photo .gl-arrow:hover { border-color: var(--gl-accent); }
.gl-photo .gl-arrow svg { width: 18px; height: 18px; }
@media (min-width: 1200px) and (min-height: 720px) {
  .gl-lead { flex: 1 1 100%; font-size: 17px; }
}
@media (max-width: 767px) {
  .gl-lead { font-size: 16px; }
  .gl-photo .gl-arrows { right: 10px; bottom: 10px; }
}

/*
 * More see-through (2026-10-30): a lighter tint and fade so the background film shows more, and frosted-glass panels
 * (translucent + blurred film behind them) so text stays as readable as on the old solid panels.
 */
.gca2-landing { --gl-tint: 0.25; }
.gl-bg-fade { background: linear-gradient(180deg, rgba(7,10,43,0.45) 0%, rgba(7,10,43,0) 35%, rgba(7,10,43,0.4) 75%, rgba(7,10,43,0.85) 100%); }
.gl-header { background: rgba(10, 14, 60, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.gl-card { background: rgba(12, 16, 66, 0.68); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
/* the readout separators were the gold container showing through 1px gaps; with see-through tiles they are shadows instead */
.gl-readouts { gap: 0; background: rgba(9, 12, 52, 0.66); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.gl-readout { background: transparent; box-shadow: 1px 0 0 var(--gl-gold-line), 0 1px 0 var(--gl-gold-line); }
.gl-footer { background: rgba(10, 14, 60, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
/* with the lighter film behind it the hero text needs a soft shadow to stay readable over bright clouds */
.gl-hero-text { text-shadow: 0 1px 2px rgba(7, 10, 43, 0.55), 0 0 18px rgba(7, 10, 43, 0.55); }
.gl-hero-text .gl-btn-join { text-shadow: none; }
.gl-networks-label { color: var(--gl-soft); }
.gl-lead { color: #DDE1FA; }

/* 2026-10-30: "Book a trip" in the nav like the other links, so Log In is the only gold item up there */
.gca2-landing .gl-nav .gl-nav-trip { color: var(--gl-text); }
.gca2-landing .gl-nav .gl-nav-trip:hover { color: #FFFFFF; }
@media (max-width: 767px) {
  .gl-readout-avg { display: none; }
  /* Pilot Challenge on phones: trophy next to the holder (as in the one-screen layout) instead of filling the screen */
  .gl-potm-body { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px 6px; }
  .gca2-landing .gl-potm-trophy-btn { flex: 0 0 auto; width: 92px; }
  .gl-potm-tip { left: 0; bottom: auto; top: 100%; transform: translateY(6px); width: 250px; }
  .gl-potm-trophy-btn:hover .gl-potm-tip, .gl-potm-trophy-btn:focus .gl-potm-tip, .gl-potm-trophy-btn:focus-within .gl-potm-tip { transform: translateY(0); }
  .gl-potm-holder { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; min-width: 0; flex: 1 1 auto; }
}

/* One step more see-through (2026-10-30, user: "ta lite till"): thinner tint/fade and panels, a little more blur so the
   text on them stays readable. To go back, delete this block (or restore landing.css.before-moreglass-20261030). */
.gca2-landing { --gl-tint: 0.15; }
.gl-bg-fade { background: linear-gradient(180deg, rgba(7,10,43,0.35) 0%, rgba(7,10,43,0) 35%, rgba(7,10,43,0.25) 75%, rgba(7,10,43,0.75) 100%); }
.gl-header { background: rgba(10, 14, 60, 0.45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.gl-card { background: rgba(12, 16, 66, 0.56); backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); }
.gl-readouts { background: rgba(9, 12, 52, 0.54); backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); }
.gl-footer { background: rgba(10, 14, 60, 0.5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
/* the IVAO/VATSIM logo boxes and the hero text lost contrast over the brighter clouds */
.gl-network { background: rgba(10, 14, 60, 0.72); }
.gl-hero-text { text-shadow: 0 1px 2px rgba(7, 10, 43, 0.7), 0 0 22px rgba(7, 10, 43, 0.7); }
.gl-networks-label { color: var(--gl-text); }

/* Ad banner see-through like the panels (2026-10-30): the image is faded so the film shows through it, full strength on
   hover/focus; the frame is a glass edge like the cards */
.gl-ad-section .gdn-ad { background: rgba(12, 16, 66, 0.15); border-color: rgba(238, 241, 255, 0.18); }
.gl-ad-section .gdn-ad img { opacity: 0.6; transition: opacity 0.3s; }
.gl-ad-section .gdn-ad-rot:hover .gdn-ad img, .gl-ad-section .gdn-ad:focus-visible img { opacity: 1; }

/* Latest Awards (2026-10-30): the newest occasion featured with every recipient, earlier occasions listed below */
.gl-awards { display: flex; flex-direction: column; }
.gl-award-hero { display: flex; align-items: center; gap: 16px; margin: 14px 16px 4px; padding: 14px; border-radius: 10px; background: rgba(7, 10, 43, 0.55); }
.gl-badge-lg { width: 76px; height: 76px; border-width: 2px; box-shadow: 0 0 22px rgba(242, 194, 48, 0.28); }
.gl-badge-sm { width: 34px; height: 34px; border-width: 1px; }
.gl-award-hero-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gl-award-kicker { font-family: var(--gl-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gl-accent); }
.gl-award-name { font-family: var(--gl-cond); font-weight: 600; font-size: 22px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; }
.gl-award-who { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; }
.gca2-landing .gl-award-pilot { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; text-decoration: none; }
.gca2-landing .gl-award-pilot:hover { color: var(--gl-accent); }
.gl-avatar-xs { width: 26px; height: 26px; font-size: 10px; }
.gl-award-earlier { display: flex; flex-direction: column; gap: 6px; padding: 10px 16px 14px; }
.gl-award-earlier .gl-potm-prev-label { margin-bottom: 2px; }
.gl-award-row { display: flex; align-items: center; gap: 10px; }
.gl-award-row .gl-row-text { gap: 0; }
.gl-award-row-name { font-size: 14px; font-weight: 600; line-height: 1.25; }
.gl-award-row .gl-row-sub { font-size: 13px; }
.gca2-landing .gl-award-row .gl-row-sub a { color: var(--gl-soft); text-decoration: none; }
.gca2-landing .gl-award-row .gl-row-sub a:hover { color: #FFFFFF; }
@media (min-width: 1200px) and (min-height: 720px) {
  .gl-award-hero { margin: 10px 14px 2px; padding: 12px; gap: 14px; }
  .gl-badge-lg { width: 64px; height: 64px; }
  .gl-award-name { font-size: 20px; }
  .gl-award-earlier { gap: 5px; padding: 8px 16px 10px; }
  /* the one-screen grid layout for .gl-row-text must not apply here */
  .gl-award-row .gl-row-text { display: flex; flex-direction: column; }
}

/* Header and footer solid again (2026-10-30, user): only the content panels are see-through */
.gl-header, .gl-footer { background: #0A0E3C; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Hero text over bright clouds (2026-10-30): a soft dark scrim behind the text side only, fading out towards the photo,
   so the film stays clear on the right; on phones (text above the photo) it fades out downwards instead */
.gl-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 10, 43, 0.62) 0%, rgba(7, 10, 43, 0.5) 30%, rgba(7, 10, 43, 0.2) 50%, rgba(7, 10, 43, 0) 62%); }
@media (max-width: 1023px) {
  .gl-hero::before { background: linear-gradient(180deg, rgba(7, 10, 43, 0.55) 0%, rgba(7, 10, 43, 0.45) 45%, rgba(7, 10, 43, 0) 75%); }
}
.gl-lead { color: #EEF1FF; }
/* no hard edge where the hero ends: the scrim fades out over its bottom part and reaches a bit below it */
.gl-hero::before { bottom: -60px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }

/* "We fly on" (2026-10-30): a small spaced-caps label above the IVAO/VATSIM logos, like the other labels on the page,
   instead of plain text squeezed in to the left of them */
.gl-hero .gl-networks { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 8px 12px; }
.gl-hero .gl-networks-label { grid-column: 1 / -1; font-family: var(--gl-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gl-soft); }
.gl-hero .gl-networks { margin-top: 10px; }

/* Book a trip (and the other guest pages) with the lighter film, 2026-10-30: the same soft scrim behind the hero text as on
   the start page, a text shadow, and brighter body text; the log in / invitation panels a little denser so they stay navy
   instead of turning grey over bright clouds */
.gl-trip-hero { position: relative; z-index: 0; text-shadow: 0 1px 2px rgba(7, 10, 43, 0.7), 0 0 22px rgba(7, 10, 43, 0.7); }
.gl-trip-hero::before { content: ''; position: absolute; z-index: -1; pointer-events: none; top: -56px; bottom: -40px; left: -100vw; right: 0;
  background: linear-gradient(90deg, rgba(7, 10, 43, 0.62) 0%, rgba(7, 10, 43, 0.62) calc(100vw + 30%), rgba(7, 10, 43, 0.25) calc(100vw + 55%), rgba(7, 10, 43, 0) calc(100vw + 75%));
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.gl-trip-hero .gl-submit, .gl-trip-hero .gl-trip-badge { text-shadow: none; }
.gl-trip-body { color: #EEF1FF; }
@media (max-width: 767px) {
  .gl-trip-hero::before { background: rgba(7, 10, 43, 0.5); }
}
.gl-auth .gl-card { background: rgba(12, 16, 66, 0.8); }
/* the scrim spans the full screen width; its left-to-right fade is laid out against the viewport (fixed attachment, the
   fade is horizontal only), so it has no edge whatever the page width */
.gl-trip-hero::before { left: -100vw; right: -100vw; background-attachment: fixed;
  background-image: linear-gradient(90deg, rgba(7, 10, 43, 0.62) 0%, rgba(7, 10, 43, 0.5) 35%, rgba(7, 10, 43, 0.2) 55%, rgba(7, 10, 43, 0) 70%); }
@media (max-width: 767px) {
  .gl-trip-hero::before { background-image: none; background-color: rgba(7, 10, 43, 0.5); }
}
/* IVAO/VATSIM boxes solid (2026-10-30, user) */
.gl-network { background: #0A0E3C; }

/* Book a trip, "Where we fly" (2026-10-30): frosted glass like the readouts; separators as shadows instead of the gold
   grid background showing through 1px gaps */
.gl-trip-dest-grid { gap: 0; background: rgba(9, 12, 52, 0.54); backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); }
.gl-trip-dest-tile { background: transparent; box-shadow: 1px 0 0 var(--gl-gold-line), 0 1px 0 var(--gl-gold-line); }
.gl-trip-dest-head { text-shadow: 0 1px 2px rgba(7, 10, 43, 0.7), 0 0 18px rgba(7, 10, 43, 0.7); }

/* IVAO/VATSIM in the footer (2026-10-30), between the copyright and "Powered by"; small logos */
.gl-footer-row { align-items: center; }
.gl-footer-nets { display: inline-flex; align-items: center; gap: 10px; }
.gl-footer-nets-label { font-family: var(--gl-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gl-muted); }
.gl-footer .gl-network { padding: 3px 8px; border-radius: 5px; }
.gl-footer .gl-network img { height: 20px; }
@media (max-width: 767px) {
  .gl-footer-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (min-width: 1200px) and (min-height: 720px) { .gl-footer { padding-top: 6px; padding-bottom: 6px; } }

/* Footer as tall as the header (2026-10-30, user), and "We fly on" as a small label above the logos instead of beside them */
.gl-footer { padding-top: 0; padding-bottom: 0; }
.gl-footer-row { min-height: 72px; padding: 8px 0; }
.gl-footer-nets { flex-direction: column; gap: 4px; }
.gl-footer-nets-logos { display: inline-flex; gap: 8px; }
@media (min-width: 1200px) and (min-height: 720px) {
  .gl-footer { padding-top: 0; padding-bottom: 0; }
  .gl-footer-row { min-height: 64px; padding: 6px 0; }
}
@media (max-width: 767px) {
  .gl-footer-row { padding: 16px 0; }
  .gl-footer-nets { align-items: flex-start; }
}
@media (min-width: 1200px) and (min-height: 720px) { .gl-footer-row { min-height: 65px; } }
/* the taller footer takes 25px more of the one-screen layout, so the hero photo gives them up (618px -> 645px) */
@media (min-width: 1200px) and (min-height: 1000px) {
  .gl-has-ad .gl-photo { width: min(820px, 58vw, max(466px, calc((100dvh - 645px - min(94vw, 1360px) / 8) * 21 / 9))); }
}
@media (min-width: 1200px) and (min-height: 720px) and (max-height: 999px) {
  .gl-photo { width: min(820px, 58vw, calc((100dvh - 625px) * 21 / 9)); }
}

/*
 * Book a trip: the "free flight experience" ad (2026-10-30), a cream paper ticket with a perforated stub and a stamp,
 * tilted a little. Desktop: in the empty right half of the hero (the hero becomes a two-column grid); phones: under the
 * text, full width.
 */
.gl-promo { position: relative; display: flex; max-width: 440px; margin-top: 8px; color: #0A0E3C; text-shadow: none; transform: rotate(-2.5deg); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); }
.gl-promo-main, .gl-promo-stub { background: #F6F1E4; }
.gl-promo-main { flex: 1 1 auto; padding: 22px 22px 18px 24px; border-radius: 12px 0 0 12px; display: flex; flex-direction: column; gap: 8px;
  background-image: repeating-linear-gradient(-45deg, rgba(10, 14, 60, 0.025) 0 6px, transparent 6px 12px); }
.gl-promo-kicker { align-self: flex-start; font-family: var(--gl-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #F6F1E4; background: #0A0E3C; padding: 3px 9px; border-radius: 4px; }
.gl-promo-head { margin: 0; font-family: var(--gl-cond); font-weight: 600; font-size: 28px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }
.gl-promo-head strong { color: #B8860B; font-weight: 700; }
.gl-promo-head sup { font-size: 0.55em; top: -0.8em; color: #B8860B; }
.gl-promo-fine { margin: 0; font-size: 12px; line-height: 1.4; color: #5A5F80; font-style: italic; }
/* the stub: dashed tear line with half-circle notches top and bottom */
.gl-promo-stub { position: relative; flex: 0 0 92px; border-radius: 0 12px 12px 0; border-left: 2px dashed rgba(10, 14, 60, 0.3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--gl-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #5A5F80; }
.gl-promo-stub b { font-family: var(--gl-cond); font-size: 40px; line-height: 1; letter-spacing: 0; color: #0A0E3C; }
.gl-promo-stub::before, .gl-promo-stub::after { content: ''; position: absolute; left: -9px; width: 16px; height: 16px; border-radius: 50%; background: #0A0E3C; }
.gl-promo-stub::before { top: -8px; }
.gl-promo-stub::after { bottom: -8px; }
.gl-promo-stamp { position: absolute; right: 64px; top: -22px; width: 72px; height: 72px; border-radius: 50%; border: 3px solid #C8352E; color: #C8352E; display: grid; place-items: center;
  font-family: var(--gl-cond); font-weight: 700; font-size: 20px; text-transform: uppercase; transform: rotate(14deg); background: rgba(246, 241, 228, 0.85); box-shadow: inset 0 0 0 2px rgba(246, 241, 228, 0.85), inset 0 0 0 4px #C8352E; }
@media (min-width: 1024px) {
  .gl-trip-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); column-gap: 64px; align-items: start; justify-items: start; }
  .gl-trip-hero > * { grid-column: 1; }
  .gl-trip-hero > .gl-promo { grid-column: 2; grid-row: 1 / span 6; align-self: center; justify-self: end; margin-top: 0; }
}
@media (max-width: 767px) {
  .gl-promo { max-width: none; width: 100%; transform: rotate(-1.5deg); margin-top: 18px; }
  .gl-promo-head { font-size: 23px; }
  .gl-promo-stub { flex-basis: 74px; }
  .gl-promo-stub b { font-size: 32px; }
  .gl-promo-stamp { width: 60px; height: 60px; font-size: 17px; right: 50px; top: -20px; }
}
/* notches as real cut-outs (the film shows through) instead of navy dots; the stamp sits over the main part */
.gl-promo-stub::before, .gl-promo-stub::after { display: none; }
.gl-promo-stub { -webkit-mask: radial-gradient(circle 9px at 0 0, transparent 98%, #000) top left / 100% 51% no-repeat, radial-gradient(circle 9px at 0 100%, transparent 98%, #000) bottom left / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at 0 0, transparent 98%, #000) top left / 100% 51% no-repeat, radial-gradient(circle 9px at 0 100%, transparent 98%, #000) bottom left / 100% 51% no-repeat; }
.gl-promo-main { -webkit-mask: radial-gradient(circle 9px at 100% 0, transparent 98%, #000) top right / 100% 51% no-repeat, radial-gradient(circle 9px at 100% 100%, transparent 98%, #000) bottom right / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at 100% 0, transparent 98%, #000) top right / 100% 51% no-repeat, radial-gradient(circle 9px at 100% 100%, transparent 98%, #000) bottom right / 100% 51% no-repeat; }
.gl-promo-stamp { right: 112px; }
@media (max-width: 767px) { .gl-promo-stamp { right: 92px; } }
