.event-section {
    margin-bottom: 0;
}

.accordion-section {
    background-color: #fff;
}

.event-section h3 {
    color: #111;
    margin: 40px 0;
    font-family: Pretendard;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.1px;
    text-align: center;
}


.event-banner {
    position: relative;
}


.event-banner img {
    width: 100%;
}

.event-banner .event-banner-text {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    width: 100%;
}

.event-banner .event-banner-text p {
    color: #FFF;
    text-align: center;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
}

.event-banner .event-banner-text h2 {
    color: #FFF;
    text-align: center;
    font-family: Pretendard;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.12px;
    text-transform: uppercase;
}

.event-info .how-it-works {
    width: 100%;
}

.event-info .polygon {
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 auto;
    margin-top: 40px;
}


.deal-card {
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 44px;
    font-family: sans-serif;
    transition: opacity 0.3s ease;
}

.deal-card {
    position: relative;
}

.image-wrap {
    position: relative;
}

.image-wrap:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.50);
}

.image-wrap img {
    width: 100%;
    display: block;
    height: auto;
}

.badge {
    z-index: 1;
    position: absolute;
    top: 15px;
    right: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    color: #FFF;
    font-family: Pretendard;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.13px;
    background-color: #474747;
}

.badge svg {
    width: 16px;
    height: 16px;
}

.deal-meta, .deal-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #848284;
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.deal-meta svg {
    width: 16px;
    height: 16px;
}

.deal-title {
    padding: 12px 0;
    color: #848284;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.deal-period {
    color: #848284;
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.progress-bar {
    padding: 0;
    height: 10px;
    background-color: #F0F0F0;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: unset;
    border: 0;
}

.progress {
    display: block;
    height: 100%;
    background-color: #F0F0F0;
    border-radius: 0px 8px 8px 0px;
}

.deal-button {
    width: 100%;
    margin-top: 25px;
    padding: 12px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.deal-card.active .deal-meta span {
    color: #B53FFF;
}

.deal-card.active .deal-title {
    color: #111;
}

.deal-card.active .deal-button {
    color: #fff;
    background-color: #B53FFF;
}

.deal-card.active .badge {
    background-color: #B53FFF;
}

.deal-card.active .image-wrap:after {
    display: none;
}

.deal-card.active .progress-bar {
    background-color: #F0F0F0;
}

.deal-card.active .progress {
    background-color: #B53FFF;
}

.deal-button {
    display: block;
    width: 100%;
    padding: 12px;
    color: #FFF;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.4px;
    background-color: #CCC;
    border-radius: 6px;
}

.event-popup {
    display: none; /* 기본 숨김 */
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.event-popup.active {
    display: flex;
}

.popup-content {
    background: #fff;
    padding: 24px;
    border-radius: 6px;
    text-align: center;
    width: 70%;
    max-width: 600px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    background-color: #fff;
}

.popup-content h2 {
    color: #111;
    text-align: center;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.4px;
    margin-bottom: 22px;
}

.popup-content p {
    color: #111;
    text-align: center;
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.35px;
    line-height: 20px;
    margin-bottom: 26px;
}

.popup-ok-btn {
    width: 100%;
    padding: 10px 24px;
    background: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: Pretendard;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.3px;
}