.theme-fun .welcome-container {
  min-height: 100vh;
  /* 背景图片URL */
  background-image: url('');
  background-size: cover;
  background-position: center;
}

.theme-fun .welcome-logo {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  text-align: center;
  transform: translateY(-1.5rem);
}

.theme-fun .welcome-logo-img {
  /* LOGO图片URL */
  content: url('');
  width: 62%;
  opacity: 0.68;
  /*height: auto;*/
  position: relative;
  top: 40px;
  left: 10px;
  transform-style: preserve-3d;
  /* 移除3D动画*/
  /* animation: float 3s ease-in-out infinite; */
}

.theme-fun .announcement-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  padding: 2rem;
  z-index: 51;
}

.theme-fun .announcement-button {
  
  position:absolute;
  right: 2rem;
  top: 1.25rem;
  color: rgba(0, 0, 0, 0.559);
  transition: color 0.1s;
  padding: 0.25rem;
  border-radius: 9999px;
  z-index: 51;
}

.theme-fun .announcement-button:hover {
  color: rgba(0, 0, 0, 0.652);
  background-color: rgba(0, 0, 0, 0.05);
  transform: rotate(360deg); /* 旋转360度 */
}

.theme-fun .announcement-button-img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}
.theme-fun .announcement-button-img:hover {
  transform: rotate(360deg); /* 旋转360度 */
}


.theme-fun .announcement-panel {
  position: fixed;
  top: 5rem;
  right: 5rem;
  width: 28rem;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease-out;
  transform-origin: top right;
  opacity: 0;
  transform: translateY(1rem) scale(0.95);
}

.theme-fun .announcement-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.theme-fun .button-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  position: absolute;
  top: 33%;
  left: 20rem;
  right: auto;
  width: auto;
  z-index: 51;
  padding: 1rem;
}

@media (min-width: 640px) {
  .theme-fun .button-container {
    width: 75%;
  }
}

@media (min-width: 768px) {
  .theme-fun .button-container {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .theme-fun .button-container {
    width: 33.333333%;
  }
}

.theme-fun .welcome-button {
  width: 400px;
  height: 100px;
  border-radius: 0.5rem;
  /*background-color: rgba(135, 163, 107, 0.359);*/
  background-color: rgba(177, 193, 174, 0.38);
  font-weight: 700;
  padding: 1rem 1.5rem;
  transition: all 0.33s, transform 0.3s, padding 0.3s;
  transform-origin: center;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.09);
  top: 22px;    /* 相对于原位置向下移动（负值向上） */
  left: -98px;   /* 相对于原位置向右移动（负值向左） */
}

.theme-fun .welcome-button:hover {
  background-color: rgba(21, 136, 213, 0.24);
  transform: scale(1.05);
  padding: 1.2rem 3rem;
  width: 128%;
}

.theme-fun .button-text {
  font-family: "Comic Sans MS", "Marker Felt", "Arial Rounded MT Bold", sans-serif;
  color: rgba(6, 30, 16, 0.8);
  letter-spacing: 0.05em;
  text-align: center;
  font-weight: 1200;
  font-size: 6rem;
  line-height: 1.3rem;
}

@media (min-width: 640px) {
  .theme-fun .button-text {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 768px) {
  .theme-fun .button-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

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

@keyframes soft-shake {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-2deg);
  }
}

.home-button:hover {
  color: rgba(0, 0, 0, 0.451);
  background-color: rgba(0, 0, 0, 0.05);
}

.home-button-img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

/* 存档面板容器 */
.save-panel-container {
    position: fixed;
    bottom: 50px;
    right: 5rem;
    z-index: 50;
    width: 28rem;
}

/* 存档面板 */
.save-panel {
    background: rgba(177, 193, 174, 0.353);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.088);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 350px;
}