.secret-flex-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;

    width: 95%;
    max-width: 1600px;

    margin: 60px auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 3%;
    gap: 60px;
}

.img-frame {
    flex: 1 1 50%;
    width: 50%;
    box-sizing: border-box;

    /* background: #fdfaf5;
    padding: 15px; */
    border: 1px solid #D2C1A5;
    box-shadow: 8px 8px 0px #D2C1A5, 15px 15px 25px rgba(0, 0, 0, 0.15);
    /* transform: rotate(-1.5deg); */
    transition: transform 0.3s ease;
}

.img-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.img-wrapper {
    position: relative;
    line-height: 0;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    border: 1px solid #eee;

}

/* 右側文字框架 */
.secret-text-frame {
    flex: 1 1 50%;
    width: 50%;
    box-sizing: border-box;

    background: radial-gradient(circle, #F5F1E6 0%, #f4eee1 100%);
    padding: 10px 40px 30px 40px;
    border: 1px solid #D2C1A5;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 4px;

    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.secret-text-frame .content h2 {
    margin-top: 0 !important;
    padding-top: 0 !important;
    color: #5C4033;
    border-bottom: 2px solid #D2C1A5;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    text-align: left;
}

.secret-text-frame .content h3 {
    color: #5C4033;
    margin: 0 0 10px 0;
    padding-bottom: 0px;
    text-align: left;
}

/* --- 手機版排版修正 --- */
@media (max-width: 768px) {
    header {
        min-height: 15vh !important;
        padding-bottom: 15px !important;
        line-height: 0.8 !important;
    }

    header h1 {
        font-size: 1.2rem !important;
    }

    header p {
        font-size: 0.8rem !important;
    }

    .secret-flex-container {
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        gap: 30px;
    }

    .img-frame {
        width: 90%;
        transform: rotate(0deg);
        flex: none;
    }

    .secret-text-frame {
        width: 100%;
        padding: 25px;
        flex: none;
    }

    .secret-text-frame .content h2 {
        text-align: center;
    }
}