* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
    background-color: #b1dfef; 
    background-image: url('../images/bg.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
}

/* 顯示與隱藏設定 (桌機與手機圖檔切換) */
.desktop-img { display: block; width: auto; margin: 0 auto; }
.mobile-img { display: none; width: auto; margin: 0 auto; }

/* 動態效果 - 由上而下 */
@keyframes slideDownFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-layer {
    opacity: 0;
    animation: slideDownFadeIn 0.8s ease-out forwards;
}

.layer-1 { animation-delay: 0.1s; }
.layer-2 { animation-delay: 0.3s; }
.layer-3 { animation-delay: 2.0s; }
.layer-4 { animation-delay: 2.3s; }
.layer-5 { animation-delay: 2.6s; }
.layer-6 { animation-delay: 2.9s; }

/* 內文 */
.intro {
    max-width: 1000px;
    margin: 10px auto;
    padding: 10px 20px;
    font-size: 1.3rem;
    text-align: left;
}

.speakers-container {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap; /* 強制不換行 */
    gap: 10px;
    margin: 0 auto 40px auto;
    width: 100%;
}

.speaker {
    flex: 1; /* 平均分配空間 */
    max-width: 255px;
    opacity: 0;
}

.speaker img {
    margin: 0 auto;
}

/* 講師動態：由上而下、由左至右順序 */
.animate-speaker {
    animation: slideDownFadeIn 1s ease-out forwards;
}
.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 0.9s; }
.delay-3 { animation-delay: 1.3s; }
.delay-4 { animation-delay: 1.7s; }

/* 場次報名：絕對置中 */
.venues-container {
    display: flex;
    justify-content: center; 
    gap: 20px; 
    margin: 0 auto 40px auto;
    max-width: 1200px;
}

.venue {
    flex: 1;
    max-width: 500px;
    padding: 0px 0px;
    text-align: center;
}

.venue-img {
    margin: 0 auto 20px auto;
    border-radius: 8px;
}

/* 按鈕 */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-left: 80px;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-glass-blue { 
    background: rgba(3, 140, 242, 1);
 }

.btn-glass-blue:hover { 
    background: rgba(3, 140, 242, 1); 
}

.btn-glass-peach { 
    background: rgba(230, 35, 95, 1); 
}

.btn-glass-peach:hover { 
    background: rgba(230, 35, 95, 1); 
}

.gift-container { 
    margin: 0 auto 40px auto; 
    text-align: center;
}

.gift-img {
    margin: 0 auto;
}

/* 注意事項：置中對齊 */
.notices {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    padding: 5px 20px 0px 20px;
}

.notices h3 {
    font-size: 1.5rem;
    color: #231815;
    margin-bottom: 5px;
/*    border-left: 5px solid #231815;*/
    padding-left: 10px;
}

.notices ul {
    list-style-type: none;
    padding-left: 0;
}

.notices li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    font-size: 1.3rem;
    color: #231815;
}

.notices li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #0056b3;
    font-weight: bold;
}


.footer-section {
    background: linear-gradient(to bottom, #1fb6d6, #9ed7ed);
    padding: 5px 20px 30px 20px;
    text-align: center;
    color: white;
}

.contact-info {
    font-size: 2rem;
    margin-bottom: 15px;
}

.phone-number {
    font-size: 4.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}

.organizers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.organizer-title { 
    font-size: 1.5rem;
    color: #231815;
    font-weight: bold; 
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.logos img {
    height: 65px;   
}

/* 手機版(RWD) */
@media (max-width: 768px) {
    .wrapper { padding: 0px 0px; }
    
    .desktop-img { display: none; }
    .mobile-img { 
        display: block; 
        margin: 0 auto; 
    }
    
    .intro {
        padding: 10px;
        font-size: 1.2rem;
        margin-top: -55px;
    }
    
    /* 手機版講者：兩個一列並置中 */
    .speakers-container {
        flex-wrap: wrap; /* 換行 */
        gap: 15px 10px;
    }
    
    .speaker {
        flex: 0 0 calc(50% - 10px); 
        max-width: 100%;
    }
    
    /* 手機版場次：垂直排列並置中 */
    .venues-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .venue {
        max-width: 100%;
        width: 100%;
        margin-top: -20px;
    }

    .venue-img {
        margin: 0 auto 5px auto;
    }
    
    /* 手機版按鈕 */
    .venue .btn-group {
        flex-direction: column;
        gap: 15px;
        animation: none; 
    }
    
    .btn {
        width: 80%;
        margin: 0 auto;
        padding: 15px;
        font-size: 2rem;
    }

    .btn-group {
         padding-left: 0px; 
    }

    .gift-container {
        margin: 0 auto 20px auto;
    }

    .notices {
        margin: 0 auto 25px auto;
        padding: 5px 15px 0px 15px;
    }

    .notices li {
        font-size: 1.2rem;
        color: #231815;
    }

    .footer-section { 
        padding: 20px 15px; 
    }

    .contact-info {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .phone-number { 
        font-size: 2.8rem; 
        display: block; 
        margin-top: -10px;
    }
    
    /* 手機版 Logo 左右水平排列 */
    .logos { 
        flex-direction: row; 
        gap: 15px; 
    }

    .logos img {
        height: 50px;
    }
}