Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

10.9 KB
Raw Blame
@use "../../../styles/mixins.scss";

.authLayout {
  min-height: 100vh;
  display: flex;
  position: relative;
}

.splitLayout {
  flex: 1;
  min-width: 0;
  display: flex;
  position: relative;
  min-height: 100vh;
}

.leftPanel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 45% at 10% -8%, color-mix(in srgb, var(--mantine-color-primary-2) 40%, transparent), transparent 60%),
    radial-gradient(ellipse 55% 35% at 108% 108%, color-mix(in srgb, var(--mantine-color-secondary-2) 22%, transparent), transparent 65%),
    var(--hi-color-white);
  z-index: 2;

  &::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='2.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 160px 160px;
  }

  @include mixins.respond-below(md) {
    width: 100%;
  }
}

.container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem 2.5rem 1.75rem;

  @include mixins.respond-below(md) {
    padding: 1.75rem 1.5rem 1.5rem;
  }

  @include mixins.respond-below(sm) {
    padding: 1.5rem 1rem 1.25rem;
  }
}

.logo {
  align-self: flex-start;

  img {
    height: 40px;
    width: auto;

    @include mixins.respond-below(sm) {
      height: 34px;
    }
  }
}

.formArea {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;

  @include mixins.respond-below(sm) {
    padding: 1.75rem 0;
  }
}

.wrapper {
  width: 100%;
  min-width: 0;
  max-width: 420px;

  @include mixins.respond-below(sm) {
    max-width: 100%;
  }

  a {
    color: var(--mantine-color-secondary-5);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;

    &:hover {
      color: var(--mantine-color-secondary-7);
      text-decoration: underline;
    }
  }

  footer {
    font-size: 0.875rem;
    margin-top: 2rem;
    color: var(--hi-color-gray-dark);
    line-height: 1.6;

    a {
      font-weight: 500;
    }
  }
}

.panelFooter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;

  > div {
    margin: 0;
  }
}

.languageSwitcher {
  width: 110px;
}

.rightPanel {
  width: 55%;
  max-width: 760px;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 85% 65% at 90% -12%, color-mix(in srgb, var(--mantine-color-secondary-5) 24%, transparent), transparent 60%),
    radial-gradient(ellipse 75% 55% at -10% 110%, color-mix(in srgb, var(--mantine-color-primary-5) 20%, transparent), transparent 62%),
    linear-gradient(180deg, color-mix(in srgb, var(--mantine-color-primary-9) 90%, black) 0%, color-mix(in srgb, var(--mantine-color-primary-9) 70%, black) 100%);

  @include mixins.respond-below(lg) {
    width: 48%;
  }

  @include mixins.respond-below(md) {
    display: none;
  }
}

.noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='2.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

.rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  &::before,
  &::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 58%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
  }

  &::before {
    width: 620px;
    height: 620px;
    border: 1px solid color-mix(in srgb, white 8%, transparent);
  }

  &::after {
    width: 940px;
    height: 940px;
    border: 1px solid color-mix(in srgb, white 4%, transparent);
  }
}

.panelInner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem 6.5rem;
  gap: 3.25rem;

  @include mixins.respond-below(lg) {
    padding: 2.5rem 2.5rem 5.5rem;
    gap: 2.5rem;
  }
}

.heroTitle {
  margin: 0;
  align-self: flex-start;
  font-size: clamp(2.25rem, 2.6vw + 1.1rem, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--hi-color-white);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.heroBold {
  font-weight: 800;
  display: block;
}

.heroLight {
  font-weight: 300;
  font-style: italic;
  display: block;
  color: color-mix(in srgb, var(--mantine-color-primary-2) 85%, transparent);
}

.ticketScene {
  position: relative;
  align-self: center;
  width: min(100%, 480px);
  animation: rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both;
}

.ticketGhost {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: color-mix(in srgb, white 6%, transparent);
  border: 1px solid color-mix(in srgb, white 13%, transparent);
  transform: rotate(-4.5deg) translate(-16px, 20px);
}

.ticket {
  position: relative;
  z-index: 1;
  transform: rotate(2.5deg);
  animation: floatTicket 8s ease-in-out infinite;
  filter:
    drop-shadow(0 30px 45px rgba(0, 0, 0, 0.45))
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

@keyframes floatTicket {
  0%, 100% { transform: rotate(2.5deg) translateY(0); }
  50%      { transform: rotate(2.5deg) translateY(-8px); }
}

.ticketInner {
  display: grid;
  grid-template-columns: 1fr 118px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f4f9 100%);
  border-radius: 18px;
  -webkit-mask-image:
    radial-gradient(circle 9px at calc(100% - 118px) 0, transparent 8px, #000 9px),
    radial-gradient(circle 9px at calc(100% - 118px) 100%, transparent 8px, #000 9px);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle 9px at calc(100% - 118px) 0, transparent 8px, #000 9px),
    radial-gradient(circle 9px at calc(100% - 118px) 100%, transparent 8px, #000 9px);
  mask-composite: intersect;
}

.ticketMain {
  min-width: 0;
  padding: 1.375rem 1.5rem 1.25rem;
}

.ticketTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.875rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--hi-color-text-tertiary);
}

.ticketTitle {
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--mantine-color-primary-9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticketMeta {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--hi-color-text-muted);
}

.ticketFields {
  display: flex;
  gap: 2rem;
  margin-top: 1.125rem;
}

.ticketField {
  span {
    display: block;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--hi-color-text-tertiary);
    margin-bottom: 2px;
  }

  strong {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--mantine-color-primary-9);
    font-feature-settings: "tnum";
  }
}

.barcode {
  margin-top: 1.125rem;
  height: 26px;
  width: 78%;
  opacity: 0.85;
  background:
    repeating-linear-gradient(90deg, var(--mantine-color-primary-9) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(90deg, var(--mantine-color-primary-9) 0 1px, transparent 1px 8px);
}

.ticketStub {
  border-left: 1.5px dashed rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  padding: 1.125rem 0.75rem;
}

.stubLabel,
.stubSeat {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--hi-color-text-tertiary);
  white-space: nowrap;
}

.stubQr {
  width: 58px;
  height: 58px;
  fill: var(--mantine-color-primary-9);
  opacity: 0.9;
}

.stamp {
  position: absolute;
  z-index: 3;
  top: 30%;
  right: 14%;
  padding: 0.3125rem 0.875rem;
  border: 5px double color-mix(in srgb, var(--mantine-color-secondary-5) 90%, white);
  border-radius: 8px;
  color: color-mix(in srgb, var(--mantine-color-secondary-5) 90%, white);
  background: color-mix(in srgb, var(--mantine-color-secondary-5) 6%, transparent);
  font-weight: 800;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  white-space: nowrap;
  mix-blend-mode: multiply;
  transform: rotate(-10deg);
  animation: stampIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 1.2s both;
}

@keyframes stampIn {
  0%   { opacity: 0; transform: rotate(-10deg) scale(1.9); }
  60%  { opacity: 1; transform: rotate(-10deg) scale(0.94); }
  100% { opacity: 1; transform: rotate(-10deg) scale(1); }
}

.ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.25rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 4;
  border-top: 1px solid color-mix(in srgb, white 9%, transparent);
  background: color-mix(in srgb, white 4%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);

  @include mixins.respond-below(lg) {
    height: 3rem;
  }
}

.tickerTrack {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: max-content;
  animation: tickerScroll 180s linear infinite;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, white 55%, transparent);
  white-space: nowrap;
  will-change: transform;

  @include mixins.respond-below(lg) {
    font-size: 0.625rem;
    gap: 1.875rem;
  }
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tickerItem {
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;

  @include mixins.respond-below(lg) {
    gap: 1.875rem;
  }
}

.tickerDot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mantine-color-secondary-5);
  opacity: 0.7;
  flex-shrink: 0;
}

.static {
  .heroTitle,
  .ticketScene,
  .stamp {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .heroTitle,
  .ticketScene,
  .ticket,
  .stamp,
  .tickerTrack {
    animation: none;
  }
}