@charset "UTF-8";
body {
  font-size: 12px;
  color: #4d4d4d;
  -webkit-overflow-scrolling: touch;
  font-family: PingFangSC-Regular, Helvetica Neue, Microsoft Yahei, 微软雅黑;
}

.container,
.main {
  background-color: #f3f6f8;
}

@media (min-width: 481px) {
  .container .left-bar {
    width: 250px;
    height: 100vh;
    background-color: #222831;
    color: #6b7386;
    padding: 0 24px;
    position: relative;
  }
  .container .left-bar .title {
    height: 50px;
    line-height: 50px;
    text-align: center;
  }
  .container .left-bar .title h1 {
    font-size: 25px;
    text-align: center;
    color: #fff;
    display: block;
    text-shadow: #253e45 -1px 1px 0, #253e45 -2px 2px 0,
 #3a85ff -3px 3px 0, #3a85ff -4px 4px 0;
  }
  .container .left-bar .item {
    height: 48px;
    line-height: 46px;
    border-top: 2px solid rgba(255, 255, 255, 0.04);
    border-bottom: 2px solid rgba(255, 255, 255, 0.04);
    font-size: 14px;
  }
  .container .left-bar .nav {
    height: 100%;
    padding-bottom: 150px;
    position: relative;
    overflow: hidden;
  }
  .container .left-bar .nav .home {
    position: relative;
    font-size: 13px;
  }
  .container .left-bar .nav .home .hairlines {
    height: 40px;
    width: 3px;
    position: absolute;
    height: 24px;
    right: 0;
    top: 11px;
    background-color: #3a85ff;
  }
  .container .left-bar .nav .active {
    color: #fff;
  }
  .container .left-bar .nav .nav-item {
    max-height: 100%;
    overflow-y: scroll;
    color: #a9b1c7;
    /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
    /*定义滚动条轨道 内阴影+圆角*/
    /*定义滑块 内阴影+圆角*/
  }
  .container .left-bar .nav .nav-item::-webkit-scrollbar {
    width: 5px;
    height: 16px;
    background-color: #222831;
  }
  .container .left-bar .nav .nav-item::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #2a2d31;
  }
  .container .left-bar .nav .nav-item::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #323233;
  }
  .container .left-bar .nav .nav-item .category-nav li {
    padding: 8px 15px;
  }
  .container .left-bar .nav .nav-item .category-nav li .iconfont {
    margin-right: 10px;
  }
  .container .left-bar .nav .nav-item .category-nav li > a {
    cursor: pointer;
  }
  .container .left-bar .my-link {
    position: absolute;
    z-index: 100;
    bottom: 1px;
    right: 24px;
    width: 202px;
    background: #222831;
  }
  .container .left-bar .my-link > a {
    text-align: center;
  }
  .container .main #mainContent {
    max-width: 1200px;
    margin: 0 auto;
  }
  .container .main .itemCart .item:hover {
    transform: translateY(-6px);
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    box-shadow: 0 26px 40px -24px rgba(0, 36, 100, 0.3);
    -webkit-box-shadow: 0 26px 40px -24px rgba(0, 36, 100, 0.3);
    -moz-box-shadow: 0 26px 40px -24px rgba(0, 36, 100, 0.3);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.container .left-bar {
  position: fixed;
  padding: 0 24px;
  z-index: 10000;
  left: 0;
  top: 0;
}

.container .left-bar .title p {
  text-align: center;
}

.container .left-bar .nav .item {
  height: 48px;
  line-height: 46px;
  border-top: 2px solid rgba(255, 255, 255, 0.04);
  border-bottom: 2px solid rgba(255, 255, 255, 0.04);
}

.container .main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
      flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
      justify-content: center;
  margin-left: 250px;
}

.container .main .ph-box {
  display: none;
  width: 90%;
  margin: 0 auto;
  margin-top: 10px;
}

.container .main .ph-box.loading {
  display: block;
}

.container .main .itemCart {
  overflow: hidden;
  background: #fff;
  margin: 20px 30px;
  padding-bottom: 20px;
  -webkit-box-shadow: 1px 2px 8px 1px rgba(0, 0, 0, 0.1);
          box-shadow: 1px 2px 8px 1px rgba(0, 0, 0, 0.1);
}

.container .main .itemCart:last-child {
  margin-bottom: 35px;
}

.container .main .itemCart .sub-category > div {
  padding: 14px 0 0 2.1%;
  font-size: 18px;
}

.container .main .itemCart .sub-category > div i {
  font-size: 18px;
}

.container .main .itemCart .item {
  border-radius: 6px;
  background: #fff;
  padding: 10px;
  width: 22%;
  min-width: 200px;
  margin: 22px 0 0 2%;
  float: left;
  overflow: hidden;
  border: 1px solid #e4ecf3;
  -webkit-box-shadow: 1px 2px 3px #f2f6f8;
          box-shadow: 1px 2px 3px #f2f6f8;
}

.container .main .itemCart .item .logo {
  height: 60px;
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #3273dc;
  overflow: hidden;
  padding: 0 0.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.container .main .itemCart .item .logo .img-container {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.container .main .itemCart .item .logo .img-container:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.container .main .itemCart .item .logo .item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.container .main .itemCart .item .logo .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(102, 126, 234, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.container .main .itemCart .item .logo .img-container:hover .img-overlay {
  opacity: 1;
}

.container .main .itemCart .item .logo .img-overlay i {
  color: white;
  font-size: 18px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.container .main .itemCart .item .logo .img-container:hover .img-overlay i {
  transform: scale(1);
}

.container .main .itemCart .item .logo .item-title {
  flex: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 600;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.container .main .itemCart .item:hover .logo .item-title {
  color: #3273dc;
}

/* 图片加载动画 */
.container .main .itemCart .item .logo .item-img[src*="loading.gif"] {
  animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 图片加载失败样式 */
.container .main .itemCart .item .logo .item-img[src*="default.png"] {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.container .main .itemCart .item .logo .item-img[src*="default.png"]::before {
  content: "📷";
  font-size: 20px;
  opacity: 0.5;
}

/* 图片懒加载淡入效果 */
.container .main .itemCart .item .logo .item-img.loaded {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 响应式优化 */
@media (max-width: 768px) {
  .container .main .itemCart .item .logo {
    height: 50px;
    gap: 8px;
  }
  
  .container .main .itemCart .item .logo .img-container {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
  
  .container .main .itemCart .item .logo .item-title {
    font-size: 13px;
  }
}

.container .main .itemCart .item .desc {
  color: gray;
  font-size: 12px;
  line-height: 17px;
  padding: 10px 0;
  height: 44px;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.container .main .own {
  display: block;
  width: 100%;
  height: 40px;
  background-color: #fff;
  border-bottom: 2px dashed #94527e;
  overflow: hidden;
}

.container .main .own .own-left {
  width: 20%;
  float: left;
  height: 100%;
  line-height: 40px;
  font-size: 14px;
}

.container .main .own .own-left .current-time {
  margin-left: 10px;
}

.container .main .own .own-left .current-time span.date-item {
  display: inline-block;
  background-color: #282a36;
  border-radius: 4px;
  color: #fff;
  padding: 2px 4px;
  line-height: 19px;
  -webkit-box-shadow: 2px 2px 5px 0px rgba(21, 20, 20, 0.4);
          box-shadow: 2px 2px 5px 0px rgba(21, 20, 20, 0.4);
  border: 2px solid #fff;
}

.container .main .own .own-right {
  float: right;
  height: 100%;
  font-size: 14px;
}

.container .main .own .own-right ul.own-link {
  height: 100%;
}

.container .main .own .own-right ul.own-link li {
  color: #fff;
  float: left;
  font-weight: bold;
  margin-right: 15px;
  background-color: #3a85ff;
  margin-top: 4px;
  padding: 5px 8px;
  border-radius: 5px;
  -webkit-box-shadow: 2px 2px 5px 0px rgba(21, 20, 20, 0.4);
          box-shadow: 2px 2px 5px 0px rgba(21, 20, 20, 0.4);
  border: 2px solid #fff;
  -webkit-transition: all 0.2s linear 0s;
  transition: all 0.2s linear 0s;
}

.container .main .own .own-right ul.own-link li:hover {
  background-color: #ffaf65;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.container .footer {
  width: 100%;
  bottom: 0;
  line-height: 45px;
  background: #fff;
  -webkit-box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
}

.container .footer p {
  display: none;
}

.container .footer .copyright {
  margin-left: 30px;
  color: #949494;
  font-size: 12px;
}

.container .footer .copyright a {
  display: inline-block;
  text-decoration: none;
  color: #3a85ff;
}

.container .goTop {
  display: block;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  position: fixed;
  bottom: 50px;
  right: 10px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 1000;
}

.container .goTop.btn-is-visible {
  /* 按钮可见 */
  visibility: visible;
  opacity: 1;
}

.container .goTop.btn-fade-out {
  /* 如果用户继续向下滚动,这个按钮的透明度会变得更低 */
  opacity: 0.5;
}

.container .goTop img {
  width: 100%;
  height: 100%;
}

@media (max-width: 480px) {
  .container .left-bar {
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: 0;
    padding: 0;
  }
  .container .left-bar .title {
    display: none;
  }
  .container .left-bar .category-nav {
    width: 100%;
    overflow: hidden;
    height: 40px;
    position: relative;
  }
  .container .left-bar .item {
    display: none;
  }
  .container .left-bar .nav ul {
    position: absolute;
    background: #fff;
    overflow-x: scroll;
    width: 100%;
    height: 40px;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    top: 0;
    bottom: -30px;
    left: 0;
    right: 0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-box-shadow: 0 0 2rem rgba(0, 0, 0, 0.2);
            box-shadow: 0 0 2rem rgba(0, 0, 0, 0.2);
    background-color: #44475a;
  }
  .container .left-bar .nav ul::-webkit-scrollbar {
    display: none;
  }
  .container .left-bar .nav ul li {
    display: inline-block;
    width: calc(100% / 3);
    padding-left: 0;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
  }
  .container .left-bar .nav ul li i {
    display: none;
  }
  .container .left-bar .nav ul li.active {
    height: 40px;
    background-color: #3c5671;
    border-bottom: 3px solid #8c4a73;
    color: #fff;
    -webkit-transition: all ease-in 0.3s;
    transition: all ease-in 0.3s;
  }
  .container .main {
    padding-top: 40px;
    margin: 0;
    width: 100vw;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  .container .main .own {
    display: none;
  }
  .container .main #mainContent {
    padding: 0 10px;
    background: #67b26f;
    /* fallback for old browsers */
    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-gradient(linear, right top, left top, from(#4ca2cd), to(#67b26f));
    background: linear-gradient(to left, #4ca2cd, #67b26f);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  }
  .container .main #mainContent .itemCart {
    margin: 0;
    margin-top: 16px;
    overflow: hidden;
    width: 100%;
    opacity: 0.99;
  }
  .container .main #mainContent .itemCart:last-child {
    margin-bottom: 16px;
  }
  .container .main #mainContent .itemCart .sub-category > div {
    padding-left: 3%;
  }
  .container .main #mainContent .itemCart .item {
    width: 45.5%;
    float: left;
    min-width: 100px;
    margin-left: 3%;
    margin-top: 12px;
  }
  .container .main #mainContent .itemCart .item .desc {
    margin-bottom: 10px;
    margin-top: 5px;
    margin-left: 5px;
    height: 2.1em;
    font-size: 12px;
    line-height: 16px;
  }
  .container .footer {
    height: 2.4rem;
    position: relative;
    margin-left: 0;
    bottom: 0;
    font-size: 14px;
  }
  .container .footer p {
    text-align: center;
    display: block;
    height: 30px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 22px;
  }
  .container .footer a {
    color: #1982d1;
  }
  .container .footer .copyright {
    background: #fff;
    margin-left: auto;
    color: #949494;
    font-size: 12px;
  }
  .container .footer .copyright > div {
    text-align: center;
  }
  .container .goTop {
    right: 20px;
    bottom: 20px;
  }
}

@media (min-width: 481px) {
  .container .main .itemCart .item {
    width: 94%;
    margin: 22px 0 0 3%;
  }
}

@media (min-width: 768px) {
  .container .main .itemCart .item {
    width: 45%;
  }
}

@media (min-width: 1040px) {
  .container .main .itemCart .item {
    width: 29%;
  }
  .goTop {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}

/* 分类图片区域样式 */
.category-image-area {
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.category-image-area:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.category-image-container {
  position: relative;
  height: 120px;
  overflow: hidden;
}

.category-representative-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-image-area:hover .category-representative-image {
  transform: scale(1.05);
}

.category-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 20px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-name {
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.category-count {
  font-size: 12px;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 移动端适配 */
@media (max-width: 480px) {
  .category-image-area {
    margin-top: 6px;
    border-radius: 6px;
  }
  
  .category-image-container {
    height: 100px;
  }
  
  .category-info-overlay {
    padding: 15px 10px 10px;
  }
  
  .category-name {
    font-size: 13px;
  }
  
  .category-count {
    font-size: 11px;
  }
}

/* 世界时间显示区域样式 - 使用 Font Awesome 图标优化 */
.world-time-section {
  background: linear-gradient(135deg, #1a73e8 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.world-time-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.world-time-section > * {
  position: relative;
  z-index: 2;
}

.world-time-header {
  text-align: center;
  margin-bottom: 30px;
}

.world-time-header h3 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.world-time-header h3 i {
  font-size: 2.2rem;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.world-time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.world-time-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
}

.world-time-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.world-time-item:hover::before {
  left: 100%;
}

.world-time-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.country-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.country-info .flag {
  font-size: 2.5rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.country-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.country-name {
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 5px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.country-en {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 300;
}

.country-icon {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.world-time-item:hover .country-icon {
  color: white;
  transform: scale(1.1);
}

.time-info {
  text-align: center;
}

.time-value {
  margin-bottom: 8px;
}

.time-display {
  color: white;
  font-size: 2.8rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  margin: 10px 0;
  letter-spacing: 2px;
  position: relative;
  animation: pulse 2s ease-in-out infinite;
}

.time-display::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.date-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.date-display {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
}

.day-status {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.time-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.refresh-btn {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(238, 90, 36, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.refresh-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.refresh-btn:hover::before {
  left: 100%;
}

.refresh-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(238, 90, 36, 0.4);
}

.refresh-btn:active {
  transform: translateY(0);
}

.refresh-btn.loading {
  background: linear-gradient(45deg, #95a5a6, #7f8c8d);
  cursor: not-allowed;
  pointer-events: none;
}

.refresh-btn i {
  transition: transform 0.3s ease;
}

.refresh-btn:hover i:not(.fa-spinner) {
  transform: rotate(180deg);
}

.update-time-info {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.update-time-info i {
  font-size: 0.8rem;
}

.message {
  padding: 12px 20px;
  border-radius: 10px;
  margin: 15px 0;
  text-align: center;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.message.show {
  opacity: 1;
  transform: translateY(0);
}

.message.success {
  background: rgba(46, 204, 113, 0.2);
  color: #27ae60;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.message.success::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.message.error {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.message.error::before {
  content: '\f071';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.message.info {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.message.info::before {
  content: '\f05a';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

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

.world-time-item:nth-child(1) { animation-delay: 0.1s; }
.world-time-item:nth-child(2) { animation-delay: 0.2s; }
.world-time-item:nth-child(3) { animation-delay: 0.3s; }
.world-time-item:nth-child(4) { animation-delay: 0.4s; }
.world-time-item:nth-child(5) { animation-delay: 0.5s; }
.world-time-item:nth-child(6) { animation-delay: 0.6s; }

.fa-spinner {
  animation: spin 1s linear infinite;
}

.world-time-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .world-time-section {
    padding: 20px 15px;
    margin: 15px 0;
  }
  
  .world-time-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .world-time-header h3 {
    font-size: 1.3rem;
  }
  
  .world-time-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .world-time-item {
    padding: 15px;
  }
  
  .country-info .flag {
    font-size: 1.5rem;
    margin-right: 10px;
  }
  
  .country-name {
    font-size: 1rem;
  }
  
  .country-en {
    font-size: 0.8rem;
  }
  
  .time-display {
    font-size: 1.6rem;
  }
  
  .date-display {
    font-size: 0.9rem;
  }
  
  .day-status {
    font-size: 0.75rem;
    padding: 1px 6px;
  }
  
  .time-controls {
    flex-direction: column;
    gap: 10px;
  }
  
  .refresh-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* 旋转动画 */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 消息提示样式 */
.rate-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rate-message.show {
  transform: translateX(0);
}

.rate-message-success {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.rate-message-error {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* 汇率项变化动画 */
.exchange-rate-item {
  transition: all 0.3s ease;
}

.exchange-rate-item.updating {
  opacity: 0.7;
}

/* 移动端消息提示适配 */
@media (max-width: 768px) {
  .rate-message {
    top: 10px;
    right: 10px;
    left: 10px;
    transform: translateY(-100%);
  }
  
  .rate-message.show {
    transform: translateY(0);
  }
}

@media (min-width: 1200px) {
  .container .main .itemCart .item {
    width: 22%;
    margin: 22px 0 0 2%;
  }
}
/*# sourceMappingURL=index.css.map */