/* Laguna City Network: palette, fonts and the neon wordmark. Shared by the loading screen
   (addons/rp-loadscreen), the intro (addons/rp-intro) and the website (website/).
   This is the source: after editing, run `make brand-sync` to copy it there. */

@font-face { font-family: 'Russo One'; src: url(fonts/russo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Russo One'; src: url(fonts/russo-cyrillic.woff2) format('woff2');
  unicode-range: U+0400-045F, U+2116; }
@font-face { font-family: 'Pacifico'; src: url(fonts/pacifico-latin.woff2) format('woff2'); }
@font-face { font-family: 'Rubik'; src: url(fonts/rubik-latin.woff2) format('woff2');
  font-weight: 300 900; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Rubik'; src: url(fonts/rubik-cyrillic.woff2) format('woff2');
  font-weight: 300 900; unicode-range: U+0400-045F, U+2116; }

:root {
  --lg-bg: #120a24;
  --lg-panel: rgba(18, 12, 38, 0.78);
  --lg-text: #f4ecff;
  --lg-muted: #b9a9d6;
  --lg-pink: #ff3fa4;
  --lg-violet: #a35cff;
  --lg-cyan: #3fe6ff;
  --lg-sun: #ffb03a;
  --lg-gold: #f1c27d;
  --lg-font: 'Rubik', 'Segoe UI', Arial, sans-serif;
  --lg-head: 'Russo One', 'Rubik', 'Segoe UI', Arial, sans-serif;
}

/* Wordmark: <div class="lg-logo"><span class="lg-logo-main">LAGUNA</span>
   <span class="lg-logo-sub">City Network</span><span class="lg-logo-tag">Your city. Your rules.</span></div>
   Size it with font-size on .lg-logo, everything inside is in em. */
.lg-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  user-select: none;
}
.lg-logo-main {
  font-family: var(--lg-head);
  font-size: 1em;
  letter-spacing: 0.02em;
  transform: skewX(-8deg);
  background: linear-gradient(180deg, #fff6fb 0%, #ffd1ec 28%, #ff4fb0 52%, #a35cff 74%, #3fe6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 0.06em rgba(255, 63, 164, 0.9)) drop-shadow(0 0.04em 0 #2b0b4a)
    drop-shadow(0 0 0.25em rgba(163, 92, 255, 0.55));
}
.lg-logo-sub {
  font-family: 'Pacifico', cursive;
  font-size: 0.34em;
  margin-top: -0.12em;
  color: #ffe9a8;
  transform: rotate(-4deg);
  text-shadow: 0 0 0.12em rgba(255, 176, 58, 0.95), 0 0 0.4em rgba(255, 63, 164, 0.7), 0 0.05em 0 #5a1d3d;
}
.lg-logo-tag {
  font-family: var(--lg-font);
  font-size: 0.1em;
  margin-top: 1.5em;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--lg-muted);
  text-shadow: 0 1px 0.3em rgba(10, 4, 24, 0.9);
}

/* Sunset sky, sun and a neon grid floor: the background when there is no image or video */
.lg-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #1a0b3a 0%, #4a1460 30%, #b02a6e 52%, #ff7a45 62%, #2a0d45 62.2%, #120a24 100%);
}
.lg-sky::before { /* sun */
  content: '';
  position: absolute;
  left: 50%;
  top: 30%;
  width: 34vh;
  height: 34vh;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe27a 0%, #ff9a3d 45%, #ff3f8e 100%);
  box-shadow: 0 0 12vh rgba(255, 122, 69, 0.6);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 2.2vh, transparent 2.2vh 2.8vh);
  mask: repeating-linear-gradient(180deg, #000 0 2.2vh, transparent 2.2vh 2.8vh);
}
.lg-sky::after { /* grid floor */
  content: '';
  position: absolute;
  left: -50%;
  right: -50%;
  top: 62%;
  bottom: -40%;
  background:
    repeating-linear-gradient(90deg, rgba(63, 230, 255, 0.55) 0 2px, transparent 2px 8vh),
    repeating-linear-gradient(0deg, rgba(255, 63, 164, 0.5) 0 2px, transparent 2px 8vh);
  transform: perspective(40vh) rotateX(60deg);
  transform-origin: top;
  animation: lg-grid 3s linear infinite;
}
@keyframes lg-grid { from { background-position: 0 0, 0 0; } to { background-position: 0 0, 0 8vh; } }

.lg-panel {
  background: var(--lg-panel);
  border: 1px solid rgba(163, 92, 255, 0.55);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(63, 230, 255, 0.12) inset, 0 0 24px rgba(163, 92, 255, 0.35);
  backdrop-filter: blur(6px);
}
