﻿@media screen and (max-width: 1024px) {
	body {
        background: url(/img/20250930Event/main_bg_m.jpg) no-repeat 10% 0%;
        background-size: cover;
    }	
	img {
			max-width: 100%;
	}
	#home {
		height: 1300px;
	}
	.main {
		margin: 0 auto;
	}
	.slogan {
        width: 80%;
        margin-top: 78%;
        margin-bottom: 0;
    }
	.pop_btn.btn_event {
        font-size: 14px;
        position: absolute;
        top: 1220px;
    }
	#event2 {
        padding-bottom: 130px;
    }	
	.updates {
		margin-top: 340px;
	}
	#event1 {
        height: 1820px;
    }	
	.item_left {
        left: 0;
        top: 0;
        width: 100%;
        text-align: center;
        background: url(/img/20250930Event/event1/gift01_bg.png) no-repeat center;
        background-size: 63% 100%;
        position: relative;
    }
	.item_right {
        right: 0;
        width: 100%;
        text-align: center;
        background: url(/img/20250930Event/event1/gift02_bg.png) no-repeat center 20px;
        background-size: 63% 100%;
        margin: -30px 0 -40px 0;
        z-index: 0;
        position: relative;
    }
	.status {
        margin: 4% 0;
    }
	.steps p {
		font-size: 22px;
	}
	.agree {
		height: auto;
	}
	.logo_btn {
		transform: scale(1.3);
        z-index: -1;
	}
	.logo_btn a {
		margin: 20px 0;
	}
	.wrap > p {
		font-size: 1.2em;
		width: 90%;
		text-align: center;
	}
	.event_container {
		width: calc(100% - 60px);
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
		align-items: center;
		margin: 0 auto;
	}
	.left_container {
		width: 100%;
	}
	.boxUID {
		height: auto;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}
	.boxUID h4 {
		font-size: 16px;
		margin: 0;
	}
	.boxAmount {
		width: 100%;
		height: auto;
		padding: 10px 0;
		background: rgba(37, 34, 72, .7);
		margin-bottom: 10px;
	}
	.boxAmount > div {
		margin: 15px 0;
	}
	.boxAmount span {
		display: inline-block;
		margin: 0 -2px;
	}
	.event_box {
        width: 100%;
        background: none;
        display: flex;
        justify-content: flex-start;
        height: auto;
        padding: 40px 0;
    }
	.box03 p {
		font-size: 1.4em;
		line-height: 1.5;
	}
	p.box_title {
		font-size: 2.8em;
		line-height: 1;
	}
	.box03 .amount  {
		transform: scale(1.3);
		transform-origin: top;
		margin-top: 10px;
	}
	.part1, .part2 {
		/*font-size: 1.2em;*/
		transform: scale(1.4);
		margin: 70px 0 10px;
	}
	.hr {
		display: none;
	}
	.box02 .table {
		margin-top: 5%;
	}
	.box02 .table th {
		line-height: 2;
		font-size: 2em;
	}
	.box02 .table td {
		font-size: 1.8em;
	}
	.item_icon {
		width: 55px;
	}
	.event_box.box02, .event_box.box03 {
		height: auto;
	}
	.event_box.box03 {
		transform-origin: top;
		height: 960px;
	}
	
	.gift {
        width: 80%;
        margin: 10px 0 0 0;
	}
	.box01 a.more, .box02 a.more, .box03 a.more {
        display: none;
    }
	#event2 .pop_btn.btn_event {
        top: 1290px;
    }
	.btn_event a {
		font-size: 1.2em;
	}
	
	.footerbox {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-evenly;
	}
	.footerbox > div {
		margin: 5px;
	}
	.copyright {
	    text-align: center;
	}
	.copyright p {
		text-align: left;
	}
		
}
@media screen and (max-width: 820px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }    
	.logo {
		width: 70%;
		margin-top: 0;
		margin-bottom: -12%;
	}
    .slogan {
        width: 80%;
        margin-top: 87%;
        margin-bottom: 2%;
    }
	.slogan img {
		width: 100%;
	}
    .game_link {
        display: none;
    }
    nav .game_link {
        display: block;
        right: 0;
        top: 0;
        margin: 90px auto;
        position: relative;
        transform: scale(2);
    }
	.pop {
        width: 90%;
        max-width: 720px;
        height: 830px;
        background: url(/img/20250930Event/pop_frame_m.png) rgb(21 33 69 / 70%);
    }
	.popContent h2 {
        font-size: 34px;
        padding-top: 0;
    }
    .popBtns {
        position: absolute;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .popMsgTitle {
        width: 90%;
        font-size: 24px;
        margin: 0 auto;
        text-align: center;
    }
    .popBtns button {
        font-size: 16px;
        padding: 12px 15px;
    }
    .btn_get_login.disabled {
        pointer-events: none;
    }
    
    /*----mobile menu----*/
    .nav_bg {
        display: block;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        background: rgba(0, 0, 0, .8);
        backdrop-filter: blur(3px);
        position: absolute;
    }
    .open_menu {
        border-radius: 0 50% 50% 0;
        display: inline-block;
        margin: 25px;
        margin-right: -3px;
        width: 56px;
        height: 49px;
        transform: rotate(0deg)scale(1.5);
        transition: .5s ease-in-out;
        z-index: 9;
        position: fixed;
    }
    nav.open li:hover {
    }
    span.btn {
        display: block;
        position: relative;
        margin-top: 13px;
        margin-left: -4px;
        transform: scale(.5);
    }
    .open_menu .btn span {
        display: block;
        position: absolute;
        height: 8px;
        width: 100%;
        background: #FFF;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .5s ease-in-out;
    }
    .open_menu .btn span:nth-child(1) {
        top: 0px;
        transform-origin: left center;
    }
    .open_menu .btn span:nth-child(2) {
        top: 18px;
        transform-origin: left center;
    }
    .open_menu .btn span:nth-child(3) {
        top: 36px;
        transform-origin: left center;
    }
    .open_menu.close .btn span:nth-child(1) {
        top: -3px;
        left: 8px;
        transform: rotate(45deg);
    }
    .open_menu.close .btn span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }
    .open_menu.close .btn span:nth-child(3) {
        top: 39px;
        left: 8px;
        transform: rotate(-45deg);
    }
    /*----nav----*/
    nav {
        left: -100%;
        width: 100%;
        /*max-width: 500px;*/
        height: 100%;
        transform: none;
        transition: .5s ease-in-out;
        overflow-y: auto;
        /* padding: 0 50px; */
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    nav.open {
        left: 0;
    }
    nav .logo {
        display: block;
        margin: 0 auto;
        margin-top: 120px;
        max-width: 50%;
    }
    nav .logo img {
        display: none;
    }
    nav ul {
        height: 40vh;
        font-size: 2.5em;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }
    nav li {
        display: block;
        width: 100%;
    }
    nav li a {
		font-family: Microsoft JhengHei;
        color: #FFF;
        line-height: 2em;
    }
	nav li a:hover, nav li a.active {
        transition: 0.3s all;
        text-shadow: 0 0 15px #ff4040, 0 0 30px rgb(235 119 119 / 50%);
    }
    .content_wrap {
        font-size: 1.3em;
        height: 620px;
        display: flex;
        flex-direction: column;
        justify-content: center; 
        position: relative; 
    }
	.content p, .content a  {
		font-size: 1.4rem;
		line-height: 1.5;
	}
	.btn_box .download {
		display: none;
	}
	.boxUID a {
		margin-left: 10px;
	}
	.section a {
		font-size: 1.2rem;
	}
	.item_left {
		background-size: 100%;
	}
	.btn_get {
		width: 50%;
	}
	.btn_get img {
		width: 100%;
	}
	.table span {
		display: none;
	}
	#event2 .pop_btn.btn_event {
        top: 1350px;
    }
	p.remark {
		width: 70%;
	}
	.copyright {
		max-width: 560px;
	}
    .copyright a, .copyright p, .grade li {
		font-size: 1.2rem;
		line-height: 1.5;
	}
	.grade {
		max-width: 560px;
	}
	.grade img {
		
	}
	

    /*----footer----*/
    footer .store {
        margin: 0 auto 30px;
    }
}
@media screen and (max-width: 780px) {
	.slogan img {
        width: 95%;
    }
	
}
@media screen and (max-width: 540px) {
    .slogan img {
        width: 95%;
    }
	
}
@media screen and (max-width: 480px) {

    /*----footer----*/
    footer {
        padding: 30px 15px 20px;
    }
}
