@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap');

/*-------------------- 全頁共用 --------------------*/
:root {
    --basic-txt: #ffffff;
    --main-color: #11d073;
    --sub-color: #f38292;
    --accent-color: #ffd93d;
    --content-p: calc(3vw + 42px);
    --col-p: clamp(8px, 1vw + 2px, 15px);
    --transition-com: all 0.25s ease;
}


/*-------------------- 標題字級 --------------------*/
h1 {
    font-family: 'Noto Sans TC', "微軟正黑體", "微软雅黑", sans-serif;
    display: inline-block;
    position: relative;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.2rem;
    padding-bottom: 0.5rem;
    z-index: 100;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--main-color);
    transform: scaleX(0);         
    transform-origin: center;      
    animation: extendLine 0.4s ease-out forwards; 
}

@keyframes extendLine {
    to {
        transform: scaleX(1);     
    }
}

.h2 {
    font-family: 'Noto Sans TC', "微軟正黑體", "微软雅黑", sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    position: relative;
    font-weight: 700;
    margin-bottom: 45px;
    animation: glow 2s ease-in-out infinite alternate;
    z-index: 100;
}

@keyframes glow {
    from {
        text-shadow:
            0 0 10px var(--main-color),
            0 0 20px var(--main-color);
    }

    to {
        text-shadow:
            0 0 20px var(--main-color),
            0 0 30px var(--main-color),
            0 0 40px var(--main-color);
    }
}

.h3 {
    font-size: 2.2rem;
    margin-bottom: clamp(1.3rem, 2vw + 1rem, 1.875rem);
}

.h6 {
    margin-bottom: clamp(1rem, 2vw + 1rem, 0.875rem);
}

img {
    max-width: 100%;
}


p{
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-top: 15px;
    font-weight: 400;
    line-height: 1.3rem;
}
p > br{
    display: none;
}


@media (max-width: 767px) {
    p > br{
    display: block;
}
}


/*-------------------- 按鈕 --------------------*/
.btn {
    font-size: 1.1rem;
    color: var(--basic-txt);
    border-radius: 100px;
    padding: 0.5rem 1.7rem;
    background: linear-gradient(135deg, var(--main-color), var(--main-color)) 0/200%;
    transition: .25s;
    animation: s 3s ease infinite;
}

.btn:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--sub-color), var(--accent-color)) 0/200%;
    transform: scale(0.97);
}

@keyframes s {
    50% {
        background-position: 100%;
    }
}

/*-------------------- BG --------------------*/

#wrapper {
    width: 100%;
    min-width: 100%;
    overflow-x: hidden;
    position: relative;
    /* z-index: 100;  */
}

#particles-js {
    position: absolute; 
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; 
    pointer-events: none; 
}


#concert_tour {
     min-height: auto; 
    overflow: visible;
    position: relative;
}

/* 使用偽元素放置背景圖片 */
#concert_tour::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://event.cdn-eztravel.com.tw/events/2026_SUN-YANZI/bg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

@media (max-width: 768px) {
    #concert_tour::before {
    background-image: url('https://event.cdn-eztravel.com.tw/events/2026_SUN-YANZI/bg_m.jpg');
}
}


/*-------------------- LINE開賣提醒 --------------------*/

/* LINE點我搶先登記開賣提醒 */
.line_remind {
    padding-block-start: calc(var(--col-p)*2);
}

/* 步驟流程 */
ul.flow-container {
    display: inline-flex;
    gap: calc(var(--col-p) * 2);
    margin-inline: auto;
    margin-block-start: 2rem;
    /* background: rgba(255, 255, 255, 0.1);     */
    background: #4e5722;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 65%;
    
}

.arrow-step {
    position: relative;
    width: calc((100% - (var(--col-p) * 2) * 2) / 3);
    flex-shrink: 0;
    font-size: 0.89rem;
    color: var(--basic-txt);
    padding: 15px 20px 25px;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.1rem;
    /* overflow: hidden; */
}

.arrow-step > h6 > i {
    display: inline;
    font-size: 1.35em;
    font-style: normal;
    margin-left: 0.1em;
    white-space: nowrap;
}


/* 箭頭用圖片 */
.arrow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(var(--col-p) * -1 - 18px);
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 101%;
    background: url('https://event.cdn-eztravel.com.tw/events/2026_SUN-YANZI/arrow.png') center / 100% 100% no-repeat;
    z-index: 2;
}

@media (max-width: 1400px) {
    .arrow-step > br {
            display: none;
        }
}


/* 手機版響應式 */
@media (max-width: 1200px) {
    ul.flow-container {
        display: inline-flex;
        gap: calc(var(--col-p) * 2);
        margin-inline: auto;
        margin-block-start: 2rem;
        /* background: rgba(255, 255, 255, 0.1);     */
        border-radius: 20px;
        overflow: visible;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        width: 100%;
        max-width:88%;
    }
}




@media (max-width: 767px) {

    ul.flow-container {
        flex-direction: column;
        align-items: stretch;
        border-radius: 15px;
        padding: 0;
        overflow: hidden;
        width: 100%;
        max-width: 90%;
    }

    .arrow-step {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
        padding: 25px 0;
        text-align: center;
        margin-bottom: 0;
    }

    /* 箭頭圖片，左右满版 */
    .arrow-step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -20px;
        width: 200%;
        height: 88%;
        background: url('https://event.cdn-eztravel.com.tw/events/2026_SUN-YANZI/arrow_m.png') center / contain no-repeat;
        background-size: 50% 100%;
        transform: translate(-50%, -50%) ;
        transform-origin: center;
        z-index: 2;
        margin-top: 34px;
        
    }
}


.btn .material-symbols-outlined {
    font-size: 1.1rem;      /* 與 .btn font-size 一致 */
    vertical-align: middle;
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    overflow: hidden;       /* 字型未載入時的文字不外溢 */
    line-height: 1;
}