@charset "UTF-8";

.floating-banner-container {
  position: fixed; 
  bottom: 2rem; 
  z-index: 50;
  display: inline-block;
  transition: all 0.3s ease-out;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  right: 2rem;
}
@media (min-width: 1300px) {
  .floating-banner-container {
    right: 50%;
    margin-right: -500px;
  }
}
@media (max-width: 640px) {
  .floating-banner-container {
    bottom: 20px;
    right: 20px;
  }
}
.floating-banner-container.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.new-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 9999px;
  border: 2px solid white;
  pointer-events: none;
  z-index: 30;
  animation: badge-bounce 2s infinite;
}
@keyframes badge-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.floating-banner {
  width: 4rem;
  height: 4rem;
  border-radius: 16px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
  gap: 0.125rem;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.floating-banner-calendar-icon {
  width: 24px;
  height: 24px;
}
.floating-banner-text {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.theme-spring .floating-banner {
  background: linear-gradient(135deg, #ffffff 0%, #fce7f3 100%);
  border: 1px solid #fbcfe8;
  color: #db2777;
  box-shadow: 0 4px 10px rgba(219, 39, 119, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.8);
}
@media (min-width: 769px) {
  .theme-spring .floating-banner:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fbcfe8 100%);
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 6px 15px rgba(219, 39, 119, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  }
}
.theme-spring .new-badge {
  background-color: #f43f5e;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 2px 4px rgba(244, 63, 94, 0.3);
}

.theme-summer .floating-banner {
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  color: #0284c7;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}
@media (min-width: 769px) {
  .theme-summer .floating-banner:hover {
    background: linear-gradient(135deg, #ffffff 0%, #bae6fd 100%);
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  }
}
.theme-summer .new-badge {
  background-color: #0ea5e9;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 2px 4px rgba(14, 165, 233, 0.3);
}
.theme-summer .floating-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
  transform-origin: center;
  animation: sun-sweep 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes sun-sweep {
  0% { transform: rotate(25deg) translateY(-80%); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: rotate(55deg) translateY(80%); opacity: 0; }
}

.theme-summer-night .floating-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #1e3a8a 100%);
  border: 1px solid #3b82f6;
  color: #f8fafc;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.1);
}
@media (min-width: 769px) {
  .theme-summer-night .floating-banner:hover {
    background: linear-gradient(135deg, #312e81 0%, #2563eb 100%);
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 6px 15px rgba(30, 58, 138, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.2);
  }
}
.theme-summer-night .new-badge {
  background-color: #fbbf24;
  color: #78350f;
  border-color: #fef3c7; 
  box-shadow: 0 2px 4px rgba(251, 191, 36, 0.4);
}

.theme-autumn .floating-banner {
  background: linear-gradient(135deg, #ffffff 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  color: #c2410c;
  box-shadow: 0 4px 10px rgba(194, 65, 12, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.8);
}
@media (min-width: 769px) {
  .theme-autumn .floating-banner:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fed7aa 100%);
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 6px 15px rgba(194, 65, 12, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  }
}
.theme-autumn .new-badge {
  background-color: #ea580c;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 2px 4px rgba(234, 88, 12, 0.3);
}

.theme-winter .floating-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  color: #2C3E50;
  box-shadow: 0 4px 10px rgba(44, 62, 80, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.8);
}
@media (min-width: 769px) {
  .theme-winter .floating-banner:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 6px 15px rgba(44, 62, 80, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  }
}
.theme-winter .new-badge {
  background-color: #2C3E50;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 2px 4px rgba(44, 62, 80, 0.3);
}

.seasonal-decorations {
  position: absolute;
  top: -30px;
  left: -10px;
  right: -10px;
  height: 130px;
  pointer-events: none;
  z-index: 20; 
  overflow: visible;
}
.deco-item {
  position: absolute;
}

.theme-spring .seasonal-decorations .deco-item {
  background: linear-gradient(135deg, #fbcfe8 0%, #f472b6 100%);
  border-radius: 50% 0 50% 50%;
  box-shadow: 0 1px 3px rgba(244, 114, 182, 0.4);
  opacity: 0;
  animation: sakura-fall linear infinite;
}
.theme-spring .seasonal-decorations .deco-item:nth-child(1) {
  left: 10%;
  width: 10px;
  height: 12px;
  animation-duration: 4.5s;
  animation-delay: 0s;
}
.theme-spring .seasonal-decorations .deco-item:nth-child(2) {
  left: 40%;
  width: 8px;
  height: 10px;
  animation-duration: 5s;
  animation-delay: 1.2s;
}
.theme-spring .seasonal-decorations .deco-item:nth-child(3) {
  left: 70%;
  width: 12px;
  height: 14px;
  animation-duration: 4.2s;
  animation-delay: 0.5s;
}
.theme-spring .seasonal-decorations .deco-item:nth-child(4) {
  left: 90%;
  width: 9px;
  height: 11px;
  animation-duration: 5.5s;
  animation-delay: 2s;
}
@keyframes sakura-fall {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  15% { opacity: 1; }
  50% { transform: translate(15px, 60px) rotate(90deg); }
  80% { opacity: 1; }
  100% { transform: translate(-10px, 120px) rotate(180deg); opacity: 0; }
}

.theme-summer-night .seasonal-decorations .deco-item {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  animation: firework-burst 3.5s ease-out infinite;
}
.theme-summer-night .seasonal-decorations .deco-item:nth-child(1) {
  left: 15%;
  top: 30px;
  box-shadow: 
    0 -20px 0 0 #fbbf24, 14px -14px 0 0 #fde047, 
    20px 0 0 0 #fbbf24, 14px 14px 0 0 #fde047, 
    0 20px 0 0 #fbbf24, -14px 14px 0 0 #fde047, 
    -20px 0 0 0 #fbbf24, -14px -14px 0 0 #fde047,
    0 -10px 0 -1.5px #fff, 7px -7px 0 -1.5px #fff,
    10px 0 0 -1.5px #fff, 7px 7px 0 -1.5px #fff,
    0 10px 0 -1.5px #fff, -7px 7px 0 -1.5px #fff,
    -10px 0 0 -1.5px #fff, -7px -7px 0 -1.5px #fff;
  animation-delay: 0s;
}
.theme-summer-night .seasonal-decorations .deco-item:nth-child(2) {
  right: 15%;
  top: 15px;
  box-shadow: 
    0 -25px 0 0 #f472b6, 18px -18px 0 0 #60a5fa, 
    25px 0 0 0 #f472b6, 18px 18px 0 0 #60a5fa, 
    0 25px 0 0 #f472b6, -18px 18px 0 0 #60a5fa, 
    -25px 0 0 0 #f472b6, -18px -18px 0 0 #60a5fa;
  animation-delay: 1.2s;
}
.theme-summer-night .seasonal-decorations .deco-item:nth-child(3) {
  left: 55%;
  top: -5px;
  width: 3px;
  height: 3px;
  box-shadow: 
    0 -15px 0 0 #ffffff, 10px -10px 0 0 #bae6fd, 
    15px 0 0 0 #ffffff, 10px 10px 0 0 #bae6fd, 
    0 15px 0 0 #ffffff, -10px 10px 0 0 #bae6fd, 
    -15px 0 0 0 #ffffff, -10px -10px 0 0 #bae6fd;
  animation-delay: 2.5s;
}
@keyframes firework-burst {
  0% { transform: scale(0.1); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.9; }
  90% { opacity: 0; transform: scale(1.3) translateY(10px); }
  100% { opacity: 0; }
}

.theme-autumn .seasonal-decorations .deco-item {
  opacity: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  animation: autumn-fall linear infinite;
}
.theme-autumn .seasonal-decorations .deco-item:before {
  content: "\1F341";
}
.theme-autumn .seasonal-decorations .deco-item:nth-child(1) {
  font-size: 18px;
  left: 10%;
  animation-duration: 5s;
  animation-delay: 0s;
  filter: hue-rotate(0deg);
}
.theme-autumn .seasonal-decorations .deco-item:nth-child(2) {
  font-size: 14px;
  left: 40%;
  animation-duration: 4.5s;
  animation-delay: 1.5s;
  filter: hue-rotate(65deg) brightness(1.2);
}
.theme-autumn .seasonal-decorations .deco-item:nth-child(3) {
  font-size: 20px;
  left: 70%;
  animation-duration: 5.5s;
  animation-delay: 0.8s;
  filter: hue-rotate(30deg);
}
.theme-autumn .seasonal-decorations .deco-item:nth-child(4) {
  font-size: 16px;
  left: 90%;
  animation-duration: 4.8s;
  animation-delay: 2.2s;
  filter: hue-rotate(45deg);
}
@keyframes autumn-fall {
  0% { transform: translateY(0) rotate(-15deg); opacity: 0; }
  15% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateY(120px) rotate(180deg); opacity: 0; }
}

.theme-winter .seasonal-decorations .deco-item {
  color: #C9EDFB;
  opacity: 0;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(186, 230, 253, 0.9);
  animation: snowfall linear infinite;
}
.theme-winter .seasonal-decorations .deco-item:nth-child(1) {
  left: 10%;
  font-size: 20px;
  animation-duration: 4.5s;
  animation-delay: 0s;
}
.theme-winter .seasonal-decorations .deco-item:nth-child(1):before,
.theme-winter .seasonal-decorations .deco-item:nth-child(4):before {
  content: "\2744";
}
.theme-winter .seasonal-decorations .deco-item:nth-child(2) {
  left: 40%;
  font-size: 16px;
  animation-duration: 5.2s;
  animation-delay: 1.5s;
}
.theme-winter .seasonal-decorations .deco-item:nth-child(2):before {
  content: "\2745";
}
.theme-winter .seasonal-decorations .deco-item:nth-child(3) {
  left: 70%;
  font-size: 24px;
  animation-duration: 4.8s;
  animation-delay: 0.8s;
}
.theme-winter .seasonal-decorations .deco-item:nth-child(3):before {
  content: "\2746";
}
.theme-winter .seasonal-decorations .deco-item:nth-child(4) {
  left: 90%;
  font-size: 18px;
  animation-duration: 5.5s;
  animation-delay: 2.2s;
  content: "\2744";
}
@keyframes snowfall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  15% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateY(110px) rotate(180deg); opacity: 0; }
}
