h2{margin-top:80px;margin-bottom:80px}
h2 img{
	display: block;
	max-width: 300px;
    margin: 0 auto;
}
p.page-main-desc {
	font-size: 20px;
	margin: 0;
	line-height: 40px
}

.gift-combos{display:flex;flex-wrap:wrap;align-items: stretch;gap:40px;max-width:1440px;margin:60px auto 150px;padding:0 30px}
.gift-combos .gift-lottery{flex: 1 1 calc((100% - 3 * 40px) / 4)}
.gift-combos .gift-lottery .inside{background-color:#9FD2F1;border-radius:20px;box-shadow:0 6px 6px #C9C9C9;padding:20px 30px;
	flex-direction: column;display: flex;
	height: calc(100% - 20px);
	position: relative;
}
.gift-combos .gift-lottery img{width:80%;display:block;margin:0 auto}
.gift-combos .gift-lottery h3{color:white;margin:0 0 20px;font-size:30px;text-align:center;line-height:1.3}
.gift-combos .gift-lottery svg{width:30px;margin:0 auto;display:block}
.gift-combos .gift-lottery p.lottery-desc{margin:20px 0 30px;color:var(--primary-color);font-size:16px;font-weight:600}
.gift-lottery button.open-lottery-desc-btn {
	background-color: white;
	color: var(--primary-color);
	border-radius: 40px;
	font-size: 20px;
	width: 120px;
	cursor: pointer;
	display: block;
	border: 0;
	padding: 5px 0;
	margin: 20px auto 0;
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
}

.awards-result{text-align:center}
.awards-result h2{    color: var(--primary-color);text-align:center;font-size:30px;margin-bottom:0}
.awards-result h3{    color: var(--primary-color);text-align:center;font-size:25px;margin-bottom:10px}
.awards-result img{width:100%;max-width:700px;margin:0 auto}

@media screen and (max-width: 991px) {
	.gift-combos .gift-lottery{flex:1 1 calc((100% - 40px) / 2);margin-bottom:60px}
}

@media screen and (max-width: 700px) {
	.gift-combos .gift-lottery{flex:1 1 100%;margin-bottom:120px}
}

@media screen and (max-width: 500px) {
	h2{margin-top:40px;margin-bottom:40px}
    h2 img{max-width:250px}
}

@media screen and (max-width: 450px) {
    h2{margin-top:40px;margin-bottom:40px}
    h2 img{max-width:200px}
    .special-stores h2{margin:40px 0 80px !important}
    .gift-combos{margin-bottom:40px}
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0,0, 0.5);
    z-index: 2000;
    overflow-y: auto; /* Enable scrolling for modal overlay */
    justify-content: center;
    align-items: flex-start; /* Align content to top for scrolling */
    padding: 20px 0; /* Add padding to prevent content from touching edges */
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-in;
}

.modal-content {
    background: white;
    padding: 20px 40px;
    border-radius: 8px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh; /* Limit height to 60% of viewport */
    overflow-y: auto; /* Enable scrolling within modal content */
    position: relative;
    top: 10%; /* Position at 30% from top */
    margin: auto;
    transform: translateY(-10%); /* Adjust for centering */
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.modal-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color)
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-title img{width:150px;margin-bottom:10px;display:block}
.modal-title p{font-size: 2.4rem;margin: 0;letter-spacing: 4px;line-height:40px}
.modal-meta{padding-bottom:30px;border-bottom:1px solid black}
.modal-meta p{margin:0;font-size:16px}

.modal-body{padding-top:20px}
.modal-body h5{font-size:20px;color:var(--primary-color);margin:0 0 8px}
.date-ranges,
.location,
.main-methods,
.rules{margin-bottom:30px}
.date-ranges p,
.location p,
.main-methods p,
.rules p{font-size:16px;margin:0}

.modal-body ul{list-style:none;padding-left:0;margin-top:10px}
.modal-body ul li{margin-bottom:30px}
.modal-body ul li p{margin:0 0 3px}
.modal-body .notices{border-top:1px solid black;padding-top:30px}
.modal-body .notices li{margin-bottom:0}
.notices h5{color:orange}

@media screen and (max-width: 600px) {
    .modal-title p{font-size:1.7rem}
	.awards-result img{max-width:80%}
}

.special-stores{}
.special-stores .container{padding:0 30px}
.special-stores h2{margin:170px 0}
.store-cards{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:40px;margin-top:40px}
.store-cards .store-card{
    background-color: #9FD2F1;
    border-radius: 25px;
    position: relative;
    padding: 35px 0 20px;
    width: calc(33.3% - 40px);
    margin-bottom: 80px;
}

.store-cards .store-card .slogan{margin:0 0 10px;text-align:center;color:var(--primary-color);padding:0 10px}
.store-cards .store-card .store-title{position:absolute;top:-30px;left:0;right:0;margin:0 auto}
.store-cards .store-card .store-title h3{text-align:center;margin:0}
.store-cards .store-card .store-title img{max-width:200px}

.store-cards .store-card .sign-pic{width:100%;display:block}
.store-cards .store-card .bottom-goto-link{text-align:center}
.store-cards .store-card .bottom-goto-link a{text-decoration:none;display:block;background-color:white;color:var(--primary-color);width:200px;margin:0 auto;padding:10px 0;border-radius:25px;font-size:18px;margin-top:20px}

.penghu-line-link{display:block;max-width:500px;margin:50px auto;text-decoration:none}
.penghu-line-link img{display:block;width:100%}

.other-gifts-h2{margin:40px 0 0 !important}
.other-gifts-h2 + a{display:block;max-width:800px;margin:80px auto}
.other-gifts-h2 + a img{display:block;width:100%}
.other-gifts-h2 + a img.mobile-img{display:none !important}

@media screen and (max-width: 991px) {
    .store-cards .store-card{flex:1 1 calc((100% - 40px) / 2)}
    .store-cards .store-card:last-child{width:50%;flex:none}
}

@media screen and (max-width: 600px) {
    .store-cards .store-card{flex:1 1 100%;margin-bottom:40px}
    .store-cards .store-card:last-child{width:100%}

    .penghu-line-link{max-width:350px}

    .other-gifts-h2 + a img{display:none !important}
    .other-gifts-h2 + a img.mobile-img{display:block !important}
}

@media screen and (max-width: 450px) {
    .penghu-line-link{max-width:80%}
}

.store-cards#kr-store-cards .store-card:nth-child(1) .store-title img{max-width:255px}
.store-cards#kr-store-cards .store-card:nth-child(2) .store-title img{}
.store-cards#kr-store-cards .store-card:nth-child(3) .store-title img{max-width:150px}
.store-cards#kr-store-cards .store-card:nth-child(4) .store-title img{max-width:120px}
.store-cards#kr-store-cards .store-card:nth-child(5) .store-title img{max-width:160px}

.store-cards#jp-store-cards .store-card:nth-child(1) .store-title img{max-width:300px}
.store-cards#jp-store-cards .store-card:nth-child(2) .store-title img{max-width:190px}
.store-cards#jp-store-cards .store-card:nth-child(3) .store-title img{max-width:190px}
.store-cards#jp-store-cards .store-card:nth-child(4) .store-title img{max-width:120px}
.store-cards#jp-store-cards .store-card:nth-child(5) .store-title img{max-width:285px}

.store-cards#en-store-cards .store-card:nth-child(1) .store-title img{max-width:280px}
.store-cards#en-store-cards .store-card:nth-child(2) .store-title img{max-width:350px}
.store-cards#en-store-cards .store-card:nth-child(3) .store-title img{max-width:280px}
.store-cards#en-store-cards .store-card:nth-child(4) .store-title img{max-width:160px}
.store-cards#en-store-cards .store-card:nth-child(5) .store-title img{max-width:300px}

@media screen and (max-width: 450px) {
    .store-cards#en-store-cards .store-card:nth-child(1) .store-title img{max-width:80%}
    .store-cards#en-store-cards .store-card:nth-child(2) .store-title img{max-width:80%}
    .store-cards#en-store-cards .store-card:nth-child(3) .store-title img{max-width:80%}
    .store-cards#en-store-cards .store-card:nth-child(4) .store-title img{max-width:150px}
    .store-cards#en-store-cards .store-card:nth-child(5) .store-title img{max-width:80%}
}