﻿@media screen and (max-width: 1024px) {
	#bg {
        background: url(/img/20260210Event/main_bg_m.jpg) no-repeat center top;
        background-size: cover;
    }	
	img {
		max-width: 100%;
	}
	.section {
		/*min-height: 80%;*/
	}
	#home {
		height: 1300px;
	}
	#event1 {
        height: 1930px;
    }
	#event2 {
		height: 1000px;
	}
	#event3 {
        height: 1320px;
        padding-bottom: 130px;
    }
	.main {
		margin: 0 auto;
	}
	.slogan {
        width: 80%;
        margin-top: 78%;
        margin-bottom: 0;
    }
	.pop_btn.btn_event {
        font-size: 14px;
        position: absolute;
        top: 1230px;
    }	
	.updates {
		margin-top: 340px;
	}
		
	.item_left {
        left: 0;
        top: 0;
        width: 100%;
        text-align: center;
        background-size: 63% 100%;
        position: relative;
    }
	.item_right {
        right: 0;
        width: 100%;
        text-align: center;
        background-size: 63% 100%;
        margin: 30px 0 -40px 0;
        z-index: 0;
        position: relative;
    }
	
	.status {
        margin: 4% 0;
    }
	.steps p {
		font-size: 22px;
	}
	.user_info {
        top: 0;
        margin-bottom: 10px;
        position: relative;
    }
	p.update {
        width: 100%;
        text-align: right;
        padding: 0 20px 10px 0;
        right: 20px;
        top: 0px;
        position: relative;
    }
	.task_container {
        width: 100%;
        transform: scale(1);
        transform-origin: top;
    }
	.task_daily {
        width: 100%;
        height: 620px;
        max-width: 1055px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow-y: auto;
    }
	.task_content {
        width: 92%;
        max-width: 1043px;
        height: 150px;
        background: url(/img/20260210Event/event2/task_bg01_m.png) no-repeat center top;
        background-size: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
	.task_list.special {
		width: 100%;
	}
	.special .task_content {
        width: 92%;
        height: 150px;
        background: url(/img/20260210Event/event2/task_bg02_m.png) no-repeat center top;
        background-size: 100%;
        margin: 0 5px 10px 5px;
    }
	.item {
		width: calc(24% - 20px);
		padding: 0 10px;
	}
	.task_info {
		width: 55%;
	}
	.task_status {
        width: 20%;
        display: block;
    }
	.task_status.got {
        width: 20%;
        height: auto;
        background: none;
        position: relative;
    }
	.task_status p {
		font-size: 16px;
		font-weight: normal;
	}
	.task_content.on {
		filter: none;
		animation: none;
	}
	.special .item p, .special .task_count {
		color: #FFF !important;
	}
	.special h4 {
		color: #ffe0a4;
	}
	.task_content span {
    font-size: 100%;
    display: inline-block;
	}
	.agree {
        height: auto;
        margin: 0 0 15px 0;
    }
	.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;
	}
	.char {
		display: none;
	}
	.main_content {
		padding: 30px 0 20px;
	}
	.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: rgb(125 23 23 / 70%);
		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;
    }
	#event3 .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;
    }    
	.section {
		/*height: 100%;*/
	}
	.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/20260210Event/pop_frame_m.png) rgb(105 23 23 / 70%);
    }
	.popContent h2 {
        font-size: 34px;
        padding-top: 0;
    }
    /*----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;
    }
	.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;
	}
	.task_content, .special .task_content {
        height: 135px;
	}
	#event3 .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;
    }
}
