main{
    width: 100%;
    background-color: #1a1a2e;
    padding-top: 93px;
}

.event-container{
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
}

.event-title{
    text-align: center;
    padding-top: 50px;
}
.event-title h1{
    color: white;
    font-size: 50px;
    font-weight: bold;
    padding-bottom: 15px;
    font-family: 'esamanru', sans-serif;
    font-size: 700;
}
.event-title .neon-text{
    color: white;
    font-size: 20px;
    text-shadow:
    0 0 3px #f051c0,
    0 0 8px #f051c0,
    0 0 12px #f051c0,
    0 0 20px #ff4b9f,
    0 0 30px #ff4b9f;
    padding-bottom: 30px;
    font-family: 'esamanru', sans-serif;
    font-size: 300;
}

.event-grid{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    padding-top: 50px;
    padding-bottom: 100px;
    overflow: hidden;

    padding: 15px;
    padding-bottom: 50px;
    box-sizing: border-box;
}

.event-grid img{
    width: 100%;
    margin: 0 auto;
    cursor: pointer;

    border-bottom: 1px solid #f051c0;
    box-shadow: 0 1px 15px 1px #f051c0;
}

/* 모달 */
.event-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;

  /* 블러는 기본 비활성화 */
  backdrop-filter: none;
  transition: backdrop-filter 0.3s ease;
}

/* 모달이 열릴 때만 블러 적용 */
.image-modal.active {
  display: flex;
  backdrop-filter: blur(5px);
}

.event-modal img {
  max-width: 90%;
  max-height: 90%;  
  display: block;
  margin: auto;
  box-shadow: 0 0 20px rgba(255, 0, 150, 0.6),
            0 0 40px rgba(255, 0, 150, 0.4),
            0 0 60px rgba(255, 0, 150, 0.2);
}

/* 닫기 버튼 */
.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
}

.upbtn {
  padding: 10px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: rgba(204, 204, 204, 0.5); /* 반투명 */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.upbtn:hover {
  background-color: #555; 
  transform: scale(1.1);
  color: white;
}

.footer{
    position: relative;
    width: 100%;
    border-top: 1px solid #f051c0;
    box-shadow: 0 1px 20px 1px #f051c0;
    z-index: 9;
    text-align: center;
}
.footer-logo{
    padding-top: 50px;
}
.footer-title{
    display: block;
    color:  white;
    padding-top: 50px;
    font-family: 'esamanru', sans-serif;
    font-size: 300;
}
.footer ul{
    display: flex;
    gap: 50px;
    justify-content: center;
    padding: 50px 0;
}
.footer-text{
    display: block;
    color: #ccc;
    padding-bottom: 50px;
}

@media screen and (max-width: 1100px) {
.event-grid{
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
}

.event-grid img{
    width: 90%;
    margin: 0 auto;
    cursor: pointer;

    border-bottom: 1px solid #f051c0;
    box-shadow: 0 1px 15px 1px #f051c0;
}

.event-title{
    width: calc(100% - 40px);
    padding: 0 20px;
    text-align: center;
    padding-top: 30px;

}
.event-title h1{
    max-width: 14ch;
    font-size: 30px;
    margin: 0 auto;
}
.event-title .neon-text{
    font-size: 18px;
    padding-bottom: 20px;
    line-height: 1.2;
}

.upbtn {
  padding: 6px;
}

.footer{
    width: calc(100% - 40px);
    padding: 0 20px;
}
.footer-logo{
    padding-top: 30px;
}
.footer-title{
    font-size: 12px;
    padding-top: 30px;
}
.footer ul{
    gap: 20px;
    font-size: 14px;
    padding: 30px 0;
}
.footer-text{
    font-size: 12px;
    padding-bottom: 30px;
}
}