body {
  background-color: #03091a;
  background-position: center;
  background-size: cover;
}

.main {
  height: 90%;
  margin-top: 0;
  padding: 3.5vh 4% 2vh;
}

#main-bar,
#main-bar2 {
  border: 1px solid rgba(74, 170, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8, 30, 65, 0.78), rgba(4, 15, 38, 0.88));
  box-shadow: inset 0 0 30px rgba(44, 151, 255, 0.12), 0 18px 46px rgba(0, 0, 0, 0.25);
}

.main .charts {
  display: flex;
  flex-direction: column;
  gap: 2%;
  padding-bottom: clamp(10px, 1.5vh, 16px);
  box-sizing: border-box;
}

.main .charts > div {
  flex: 1 1 0;
  height: auto;
  min-height: 0;
}

.main .animate .float [class^="roate-item"] p {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin: 0;
  line-height: 1;
  text-shadow: 0 0 12px rgba(77, 224, 255, 0.72);
}

.main .animate .float [class^="roate-item"] p strong {
  color: #f5fcff;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
}

.main .animate .float [class^="roate-item"] p em {
  color: #82eaff;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 700;
}

.main .animate .float [class^="roate-item"] > span {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 7px;
  border: 1px solid rgba(105, 221, 255, 0.28);
  border-radius: 999px;
  color: #c9f4ff;
  background: rgba(4, 24, 51, 0.64);
  font-size: 0.55rem;
  line-height: 1.2;
}

.main .animate .float > div > p {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(52, 180, 255, 0.72);
}

.main .animate .sum .data p {
  color: rgba(219, 245, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.main .animate .sum .data .order-total {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-top: 3px;
}

.main .animate .sum .data .order-total strong {
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  text-shadow: 0 0 18px rgba(64, 209, 255, 0.72);
}

.main .animate .sum .data .order-total em {
  color: #74ddff;
  font-size: 0.62rem;
  font-style: normal;
}

.main .animate .sum .qiu p strong {
  color: #fff;
  font-size: 1.18rem;
  text-shadow: 0 0 12px currentColor;
}

.main .animate .sum .qiu p em {
  color: #a9ecff;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
}

@media (min-width: 769px) {
  .main .animate .float {
    height: 42%;
  }

  .main .animate .sum {
    height: 56%;
    background-position: center bottom;
    background-size: 72%;
  }

  .main .animate .float {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5%;
    align-items: start;
    padding: 1.5% 1% 0;
    box-sizing: border-box;
  }

  .main .animate .float > div {
    float: none;
    width: 100% !important;
    height: 88% !important;
    margin: 0 !important;
    background-position: center bottom !important;
    background-size: 84% !important;
    animation: process-float 4.8s ease-in-out infinite !important;
  }

  .main .animate .float > div:nth-child(2) { animation-delay: -0.7s !important; }
  .main .animate .float > div:nth-child(3) { animation-delay: -1.4s !important; }
  .main .animate .float > div:nth-child(4) { animation-delay: -2.1s !important; }
  .main .animate .float > div:nth-child(5) { animation-delay: -2.8s !important; }

  .main .animate .float > div > div[id^="roate"] {
    width: 100% !important;
    height: 48% !important;
    background-size: 72% !important;
  }

  .main .animate .float [class^="roate-item"] {
    left: 50% !important;
    top: 0 !important;
    width: 5rem !important;
    height: 5rem !important;
    padding-top: 25% !important;
    transform: translate(-50%, -35%) !important;
  }

  .main .animate .float [class^="roate-item"] p {
    transform: translateY(-18px);
  }

  .main .animate .float > div > p {
    margin-top: 15% !important;
    text-align: center;
  }

  .main .animate .sum .data1,
  .main .animate .sum .data3 {
    left: 7%;
  }

  .main .animate .sum .data2,
  .main .animate .sum .data4 {
    right: 11%;
  }

  .main .animate .sum .data1,
  .main .animate .sum .data2 {
    top: 14%;
  }

  .main .animate .sum .data3,
  .main .animate .sum .data4 {
    bottom: 2%;
  }
}

@keyframes process-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 768px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body {
    font-size: 16px;
    background-attachment: fixed;
  }

  .header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px;
    width: 100%;
    height: auto;
    padding: 18px 14px 14px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(72, 190, 255, 0.28);
    background: rgba(3, 11, 31, 0.74);
    backdrop-filter: blur(12px);
  }

  .header .title,
  .header .time,
  .header .company {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    display: block;
    text-align: left;
  }

  .header .title {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: clamp(23px, 6.5vw, 30px);
    line-height: 1.35;
    letter-spacing: 0.08rem;
  }

  html[lang="en"] .header .title {
    padding-right: 150px;
    font-size: 18px;
    letter-spacing: 0.04rem;
    white-space: nowrap;
  }

  .header .time {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    font-size: 12px;
    line-height: 1.5;
  }

  .header .company {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    padding: 6px 10px;
    border: 1px solid rgba(72, 190, 255, 0.34);
    border-radius: 999px;
    font-size: 12px;
    background-color: rgba(33, 116, 179, 0.12);
  }

  .main {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 14px 12px 24px;
    overflow: visible;
  }

  .main > div {
    float: none;
  }

  .main .animate,
  .main .charts {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .main .animate {
    gap: 14px;
  }

  .main .animate .float {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    height: auto;
  }

  .main .animate .float > div {
    float: none;
    width: 100% !important;
    height: 176px !important;
    margin: 0 !important;
    animation: none !important;
    border: 1px solid rgba(74, 170, 255, 0.18);
    border-radius: 12px;
    background-color: rgba(6, 28, 62, 0.62);
    background-position: center 58px !important;
    background-size: 74% !important;
    box-shadow: inset 0 0 24px rgba(44, 151, 255, 0.1);
  }

  .main .animate .float > div:last-child {
    grid-column: 1 / -1;
    width: min(50%, 190px) !important;
    justify-self: center;
  }

  .main .animate .float > div > div[id^="roate"] {
    height: 74px !important;
    background-size: 58px !important;
  }

  .main .animate .float [class^="roate-item"] {
    left: 50% !important;
    top: 4px !important;
    width: 68px !important;
    height: 68px !important;
    padding-top: 17px !important;
    transform: translateX(-50%) !important;
    font-size: 12px;
  }

  .main .animate .float [class^="roate-item"] p {
    font-size: 13px;
  }

  .main .animate .float [class^="roate-item"] span {
    font-size: 10px;
  }

  .main .animate .float > div > p {
    margin-top: 82px !important;
    font-size: 14px !important;
    font-weight: 700;
  }

  .main .animate .sum {
    flex: none;
    width: 100%;
    height: 430px;
    margin-top: 0;
    border: 1px solid rgba(74, 170, 255, 0.2);
    border-radius: 14px;
    background-color: rgba(5, 22, 52, 0.68);
    background-size: 112%;
    overflow: hidden;
  }

  .main .animate .sum .data {
    top: 15px;
    height: auto;
    font-size: 14px;
  }

  .main .animate .sum .data span {
    font-size: 28px;
  }

  .main .animate .sum .cicle1 {
    top: 53%;
    left: 50%;
    width: 260px;
    height: 260px;
    margin: -130px 0 0 -130px;
    opacity: 0.48;
  }

  .main .animate .sum .data1,
  .main .animate .sum .data2,
  .main .animate .sum .data3,
  .main .animate .sum .data4 {
    width: 110px;
    height: 118px;
    padding-top: 4px;
  }

  .main .animate .sum .data1 { left: 4%; top: 20%; }
  .main .animate .sum .data2 { right: 4%; top: 20%; }
  .main .animate .sum .data3 { left: 4%; bottom: 7%; }
  .main .animate .sum .data4 { right: 4%; bottom: 7%; }

  .main .charts {
    margin-top: 14px;
    gap: 12px;
    padding-bottom: 12px;
  }

  .main .charts > div,
  #main-bar,
  #main-bar2 {
    display: block;
    flex: none;
    width: 100%;
    height: 360px;
    min-height: 360px;
    overflow: visible;
  }
}

@media (max-width: 350px) {
  .main .animate .float {
    grid-template-columns: 1fr;
  }

  .main .animate .float > div:last-child {
    grid-column: auto;
    width: 100% !important;
  }

  .main .animate .sum {
    height: 460px;
  }
}
