:root {
  color-scheme: dark;
  --head-bar-height: 100px;
  --enter-button-start: #4d8f9d;
  --enter-button-end: #416887;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family:
    'Inter',
    'PingFang SC',
    'Hiragino Sans GB',
    'Microsoft YaHei',
    sans-serif;
  background-color: #03050c;
  color: #fff;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('./assets/common/CormorantGaramond-VariableFont_wght.ttf') format('truetype');
  font-display: swap;
  font-weight: 400 700;
}

.artist-main-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 20% 0%, rgba(185, 213, 226, 0.35), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(155, 195, 170, 0.35), transparent 55%),
    linear-gradient(180deg, rgba(8, 14, 22, 0.4), rgba(5, 8, 14, 0.9));
}

.dynamic-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  transition: opacity 0.5s ease-in-out;
}

.dynamic-bg.loading {
  opacity: 0;
}

.dynamic-bg.loaded {
  opacity: 1;
}

.dynamic-bg .fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c7d6ad, #6aa1b2 50%, #41506f);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 4px;
}

.head-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  height: var(--head-bar-height);
  z-index: 10;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 4px 4px 8.7px rgba(255, 255, 255, 0.25);
}

.head-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  padding-bottom: 30px;
}

.head-bar-line {
  height: 1px;
  width: calc(100% - 60px);
  align-self: center;
  background: rgba(255, 255, 255, 0.5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-button {
  display: inline-block;
  height: 40px;
  padding: 0 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  text-decoration: none;
  line-height: 40px;
}

.login-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
}

.login-button:visited {
  color: #fff;
}

.content-container {
  position: relative;
  z-index: 5;
  margin-top: var(--head-bar-height);
  padding: 0 30px 0px;
  height: calc(100vh - var(--head-bar-height));
}

.content-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slogan-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding-top: 40px;
  flex-shrink: 1;
  min-height: 0;
}

.button-group {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.slogan-section img {
  user-select: none;
  -webkit-user-drag: none;
  max-width: clamp(320px, 75vw, 1024px);
}

.enter-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  border-radius: 19px;
  padding: 0 28px;
  height: 72px;
  font-size: 24px;
  color: #ffffff;
  background: linear-gradient(103deg, var(--enter-button-start), var(--enter-button-end));
  box-shadow:
    inset 4px 4px 8.7px rgba(255, 255, 255, 0.25),
    0 0 20px rgba(255, 255, 255, 0.18),
    0 20px 40px rgba(9, 21, 43, 0.35);
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.enter-button svg {
  flex-shrink: 0;
}

.enter-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.3), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.enter-button:hover::after {
  opacity: 1;
}

.enter-button:visited {
  color: #ffffff;
}

.quick-actions {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 0px;
  height: 400px;
  width: 100%;
  margin-top: auto;
}

.quick-action {
  position: relative;
  flex: 1;
  border-radius: 16px;
  padding: 26px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5625) 2%, rgba(90, 87, 83, 0.75) 80%);
  background-blend-mode: overlay;
  border: 1.76px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  isolation: isolate;
}

.quick-action-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('./assets/quick-actions/ButtonBackground.svg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.quick-action:hover {
  background: #f5f5f5;
  box-shadow:
    0px 36.96px 22.88px 0px rgba(192, 192, 192, 0.16),
    0px 3.52px 8.8px 0px rgba(183, 181, 203, 0.31),
    inset 0px 1.76px 42.24px 0px rgba(255, 255, 255, 0.96);
}

.quick-action-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  z-index: 10;
}

.quick-action:hover .quick-action-arrow {
  background: rgba(0, 0, 0, 0.9);
}

.quick-action-icon {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: normal;
  z-index: 10;
}

.quick-action-icon-svg {
  width: 100%;
  height: 100%;
}

.quick-action[data-action='意图表达'] .quick-action-icon {
  width: 210px;
  height: 210px;
  bottom: 40px;
  right: 190px;
}

.quick-action[data-action='一键生成'] .quick-action-icon {
  width: 130px;
  height: 130px;
  bottom: 100px;
  right: 120px;
}

.quick-action[data-action='智能修改'] .quick-action-icon {
  width: 120px;
  height: 120px;
  bottom: 120px;
  right: 210px;
}

.quick-action-text {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0;
  mix-blend-mode: normal;
  align-items: flex-start;
  width: 100%;
}

.quick-action-title,
.quick-action-subtitle {
  display: block;
  max-width: 100%;
  line-height: 1;
  flex-shrink: 0;
}

.quick-action-title svg,
.quick-action-subtitle svg {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
}

.quick-action-title {
  height: 52px;
  display: flex;
  align-items: center;
}

.quick-action-subtitle {
  height: 20px;
  display: flex;
  align-items: center;
}

@media (max-width: 1100px) {
  .quick-actions {
    flex-direction: column;
    min-height: auto;
  }

  .quick-action {
    min-height: 280px;
  }

  .quick-action-icon {
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  :root {
    --head-bar-height: 90px;
  }

  .head-bar {
    padding: 20px;
  }

  .content-container {
    padding: 0 20px 20px;
  }

  .slogan-section {
    padding-top: 20px;
  }

  .enter-button {
    height: 60px;
    font-size: 20px;
  }
}

