@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "DM Sans", sans-serif;
}

@font-face {
  font-family: GlareRegular;
  src: url(PPFragment-GlareRegular);
}
/* Keyframe Animations */
@keyframes backgroundPulse {
  0%, 100% {
    background-size: 100% 100%;
    filter: brightness(1);
  }
  50% {
    background-size: 102% 102%;
    filter: brightness(1.05);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}
@keyframes shake {
  0%, 100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-8deg);
  }
  20% {
    transform: rotate(8deg);
  }
  30% {
    transform: rotate(-8deg);
  }
  40% {
    transform: rotate(8deg);
  }
  50% {
    transform: rotate(0deg);
  }
}
@keyframes buttonShake {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-5deg) scale(1.05);
  }
  75% {
    transform: rotate(5deg) scale(1.05);
  }
}
@keyframes fallingSlow {
  0% {
    top: -10%;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    transform: translateX(100px) rotate(360deg);
    opacity: 0;
  }
}
@keyframes fallingFast {
  0% {
    top: -10%;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    transform: translateX(-80px) rotate(-360deg);
    opacity: 0;
  }
}
@keyframes fallFromRight {
  0% {
    top: -10%;
    right: -5%;
    transform: rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    right: 10%;
    transform: rotate(360deg);
    opacity: 0;
  }
}
@keyframes fallFromLeft {
  0% {
    top: -10%;
    left: -5%;
    transform: rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    left: 15%;
    transform: rotate(-360deg);
    opacity: 0;
  }
}
@keyframes diagonalRightToLeft {
  0% {
    top: -10%;
    right: -10%;
    transform: rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    left: -10%;
    transform: rotate(-180deg) scale(1);
    opacity: 0;
  }
}
@keyframes diagonalLeftToRight {
  0% {
    top: -10%;
    left: -10%;
    transform: rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    right: -10%;
    transform: rotate(180deg) scale(1);
    opacity: 0;
  }
}
@keyframes spiralFall {
  0% {
    top: -10%;
    left: 50%;
    transform: rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    transform: rotate(90deg) translateX(50px);
  }
  50% {
    transform: rotate(180deg) translateX(0);
  }
  75% {
    transform: rotate(270deg) translateX(-50px);
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    left: 50%;
    transform: rotate(360deg) translateX(0);
    opacity: 0;
  }
}
@keyframes floatingGhost {
  0% {
    top: -10%;
    left: -5%;
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  90% {
    opacity: 0.8;
  }
  100% {
    top: 110%;
    left: 95%;
    transform: translateY(0) rotate(-5deg);
    opacity: 0;
  }
}
@keyframes zigzagFall {
  0% {
    top: -10%;
    left: 20%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    left: 30%;
  }
  50% {
    left: 20%;
  }
  75% {
    left: 35%;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    left: 25%;
    opacity: 0;
  }
}
@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(246, 80, 44, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(246, 80, 44, 0.6), 0 0 30px rgba(246, 80, 44, 0.4);
  }
}
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.aae-halloween-container h1, .aae-halloween-container h2, .aae-halloween-container h3, .aae-halloween-container h4, .aae-halloween-container h5, .aae-halloween-container h6 {
  margin: 0;
  padding: 0;
}

.aae-halloween-wrapper {
  background-image: url("../../images/notice/hallowen-bg.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 20px 0 27px 0;
  position: relative;
  animation: backgroundPulse 8s ease-in-out infinite;
  overflow: hidden;
}
@media (max-width: 1366px) {
  .aae-halloween-wrapper {
    background-size: cover;
    padding-inline-start: 30px;
    padding-inline-end: 30px;
  }
}

.falling-element {
  position: absolute;
  font-size: 30px;
  pointer-events: none;
  z-index: 10;
}

/* Top to Bottom - Center variations */
.falling-element:nth-child(1) {
  left: 10%;
  animation: fallingSlow 8s linear infinite;
  animation-delay: 0s;
}

.falling-element:nth-child(2) {
  left: 30%;
  animation: fallingFast 6s linear infinite;
  animation-delay: 0s;
  font-size: 25px;
}

.falling-element:nth-child(3) {
  left: 50%;
  animation: floatingGhost 10s ease-in-out infinite;
  animation-delay: 0s;
  font-size: 35px;
}

.falling-element:nth-child(4) {
  left: 70%;
  animation: fallingSlow 7s linear infinite;
  animation-delay: 0s;
  font-size: 28px;
}

.falling-element:nth-child(5) {
  left: 85%;
  animation: zigzagFall 9s linear infinite;
  animation-delay: 0s;
  font-size: 32px;
}

.aae-halloween-item {
  display: grid;
  grid-template-columns: 0.15fr 1fr;
  align-items: center;
}
@media (max-width: 1200px) {
  .aae-halloween-item {
    grid-template-columns: 0.2fr 1fr;
  }
}
@media (max-width: 767px) {
  .aae-halloween-item {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.aae-halloween-logo {
  display: flex;
  align-items: center;
  justify-content: end;
  padding-right: 35px;
  animation: shake 2s ease-in-out infinite;
}
@media (max-width: 767px) {
  .aae-halloween-logo {
    padding-right: 0;
    justify-content: center;
  }
}
@media (min-width: 1366px) and (max-width: 1500px) {
  .aae-halloween-logo {
    margin-left: 15px;
    padding-right: 25px;
  }
}

.aae-halloween-logo img {
  animation: slideInLeft 0.8s ease-out;
}

.aae-halloween-content {
  position: relative;
  padding-left: 40px;
}
@media (min-width: 1366px) and (max-width: 1500px) {
  .aae-halloween-content {
    padding-left: 30px;
  }
}
@media (max-width: 767px) {
  .aae-halloween-content {
    padding-left: 15px;
  }
}
.aae-halloween-content::before {
  content: "";
  width: 1px;
  height: 112px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  background: linear-gradient(189deg, rgba(102, 102, 102, 0) 0%, rgba(102, 102, 102, 0.4) 50%, rgba(102, 102, 102, 0) 100%);
}
@media (max-width: 767px) {
  .aae-halloween-content::before {
    display: none;
  }
}

.aae-halloween-title {
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.23;
  text-transform: capitalize;
  color: #121212;
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.aae-halloween-title span {
  color: #f6502c;
  position: relative;
  animation: titleGlow 2s ease-in-out infinite;
}
.aae-halloween-title span::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -8px;
  background-image: url("../../images/notice/bottom-line.png");
  background-repeat: no-repeat;
  width: 88px;
  height: 3px;
}

.aae-halloween-text {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #303030;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
@media (max-width: 1440px) {
  .aae-halloween-text {
    max-width: 85%;
  }
}
@media (max-width: 1366px) {
  .aae-halloween-text {
    max-width: 100%;
  }
}
.aae-halloween-text a {
  color: #121212;
  transition: 0.2s ease-in-out;
}
.aae-halloween-text a:hover {
  color: #f6502c;
  text-decoration: none;
}

.aae-halloween-btns {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
  padding-top: 5px;
}

.aae-halloween-btn {
  --halloween-bg: #f6502c;
  --white: #fff;
  --black: #000;
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  background-color: var(--halloween-bg);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid transparent;
  transition: 0.3s ease-in-out;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.aae-halloween-btn.outline {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.3);
  color: rgba(0, 0, 0, 0.3);
}
.aae-halloween-btn.outline:hover {
  background: var(--halloween-bg);
  color: var(--white);
  border: 1px solid transparent;
  animation: buttonShake 0.5s ease-in-out;
}
.aae-halloween-btn:hover {
  animation: buttonShake 0.5s ease-in-out;
  color: var(--white);
  box-shadow: 0 4px 18px #B18871;
}

.aae-notice.notice {
  padding: 0 !important;
}

.aae-halloween-end-shape {
  position: absolute;
  right: 110px;
}
@media (max-width: 1366px) {
  .aae-halloween-end-shape {
    display: none;
  }
}
@media (max-width: 1440px) {
  .aae-halloween-end-shape {
    right: 25px;
    top: 40px;
  }
}
@media (max-width: 767px) {
  .aae-halloween-end-shape {
    display: none;
  }
}

.aae-halloween-close {
  position: absolute;
  right: 10px;
  top: 6px;
  text-decoration: none;
}
.aae-halloween-close span {
  color: rgba(246, 80, 44, 0.3);
  font-size: 14px;
  padding: 2px;
  border-radius: 50%;
  border: 1px solid rgba(246, 80, 44, 0.3);
}
.aae-halloween-close span:hover {
  color: #f6502c;
  border: 1px solid #f6502c;
}