:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  overflow: hidden;
}

body {
  background: #fff;
}

img {
  display: block;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.pc {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #fff;
}

.pc .left-content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
}

.pc .top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-logo {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-copy {
  color: #fff;
}

.brand-copy h1 {
  margin-bottom: 8px;
  background: linear-gradient(45deg, #ff6b6b, #ffd93d);
  background-clip: text;
  color: transparent;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.brand-copy p {
  display: flex;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
  white-space: nowrap;
}

.brand-copy strong {
  color: #ff6b6b;
}

.pc .main-content {
  display: flex;
  flex: 1;
  min-height: 0;
  align-items: center;
  justify-content: center;
}

.pc .visual {
  min-width: 0;
}

.pc .visual img {
  display: inline;
  width: 120%;
  max-width: none;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.pc .visual-wide {
  flex: 0 0 61.015625%;
}

.pc .visual-tall {
  flex: 0 0 38.984375%;
}

.pc .right-content {
  display: flex;
  width: 380px;
  flex: 0 0 380px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px;
}

.download-btn,
.bottom-btn {
  display: inline-block;
  border: 0;
  border-radius: 30px;
  background: linear-gradient(45deg, #ff6b6b, #ff8e53);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.download-btn {
  min-width: 280px;
  padding: 15px 40px;
  font-size: 18px;
}

.download-btn:hover,
.bottom-btn:hover {
  background: linear-gradient(45deg, #ff5252, #ff7043);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
  transform: translateY(-2px);
}

.download-btn:focus-visible,
.top-btn:focus-visible,
.bottom-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.phone {
  display: none;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .pc .left-content {
    padding: 30px;
  }

  .pc .right-content {
    width: 310px;
    flex-basis: 310px;
    padding: 30px;
  }

  .download-btn {
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  body {
    background: #000;
  }

  .pc {
    display: none;
  }

  .phone {
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    overflow: hidden;
    background: #000;
  }

  .phone::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    content: "";
  }

  .phone > * {
    position: relative;
    z-index: 1;
  }

  .phone .top-bar {
    display: flex;
    min-height: 90px;
    flex: 0 0 90px;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }

  .phone .brand {
    min-width: 0;
    gap: 15px;
  }

  .phone .brand-copy {
    min-width: 0;
  }

  .phone .brand-copy h1 {
    margin-bottom: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d, #ff6b6b);
    background-size: 200% 200%;
    background-clip: text;
    font-size: 18px;
    line-height: 1.2;
    animation: gradient-shift 3s ease-in-out infinite;
  }

  .phone .brand-copy p {
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
  }

  .top-btn {
    display: inline-block;
    flex: 0 0 auto;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
  }

  .top-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
  }

  .mobile-main {
    display: flex;
    min-height: 0;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
  }

  .mobile-visual {
    width: 100%;
  }

  .mobile-main img {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }

  .bottom {
    flex: 0 0 auto;
    padding: 20px 40px;
    text-align: center;
  }

  .bottom-btn {
    padding: 12px 40px;
    font-size: 16px;
    line-height: 21px;
  }
}

@media (max-width: 360px) {
  .phone .top-bar {
    padding-right: 12px;
    padding-left: 12px;
  }

  .phone .brand {
    gap: 10px;
  }

  .top-btn {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone .brand-copy h1,
  .download-btn,
  .top-btn,
  .bottom-btn {
    animation: none;
    transition: none;
  }
}

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

  50% {
    background-position: 100% 50%;
  }
}
