/* These styles are generated from project.scss. */

/* Landing Page */
body {
  margin: 0;
}

.container {
  background: #000000;
}

.landing-hero {
  height: calc(100vh - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.landing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.brand-name {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 500;
  color: #ffffff;
  opacity: 0.85;
  text-align: center;
  transition: opacity 0.25s ease-out;
}

.brand-slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  position: relative;
}

.brand-slogan::before {
  content: '';
  position: absolute;
  inset: -15px -25px;
  background: linear-gradient(90deg, #00cfff, #a600ff, #ff006e, #ff8800);
  filter: blur(25px) brightness(0.8);
  opacity: 0.7;
  border-radius: 100px;
  z-index: 0;
  pointer-events: none;
  background-size: 200% 200%;
  animation: gradientShift 12s ease-in-out infinite;
  will-change: background-position;
}

.slogan-line {
  position: relative;
  font-size: clamp(32px, 8vw, 80px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #ffffff;
  filter: brightness(1.1);
  z-index: 1;
  white-space: nowrap;
}

.slogan-line::before {
  display: none;
}

.slogan-line::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  letter-spacing: inherit;
  background: linear-gradient(90deg, #00cfff, #a600ff, #ff006e, #ff8800);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  mix-blend-mode: color-burn;
  filter: blur(3px) brightness(1.3);
  z-index: 0;
  pointer-events: none;
  background-size: 200% 200%;
  animation: gradientShift 12s ease-in-out infinite;
  will-change: background-position;
}

/* 桌面端：单行显示 */
@media (min-width: 769px) {
  .brand-slogan {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* 移动端：两行显示，第一行靠左，第二行靠右 */
@media (max-width: 768px) {
  .brand-slogan {
    align-items: stretch;
    gap: 10px;
  }

  .slogan-line-1 {
    align-self: flex-start;
  }

  .slogan-line-2 {
    align-self: flex-end;
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.flipdown {
  overflow: visible;
  width: 600px;
  max-width: 90vw;
  height: auto;
  min-height: 110px;
  margin: 30px auto 0 auto;
  align-self: center;
}

@media (max-width: 768px) {
  .flipdown {
    max-width: 90vw;
    width: auto;
    align-self: center;
  }
}

/* Admin */
.login-banner {
  max-width: 350px;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.login-logo {
  width: 80%;
  height: auto;
}

.index-logo {
  font-size: 25px;
  font-weight: bold;
  line-height: 70px;
}

.running-mode {
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-header {
  height: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-right: 50px;
}

.running-mode-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 22px;
  border-radius: 4px;
  box-sizing: border-box;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.25s ease-out;
  background-color: #fdf6ec;
  color: #e6a23c;
}

.running-mode-tag svg {
  flex-shrink: 0;
}

.landing-footer {
  height: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* 禁用移动端上下滚动 */
  html, body {
    height: 100%;
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .landing-header {
    padding-right: 20px;
  }

  .landing-hero {
    height: calc(100vh - 80px);
    padding: 0 20px;
    overflow: hidden;
  }
}
